Coder Social home page Coder Social logo

dcswaypointeditor's People

Contributors

mrburtyyy avatar ryanhulsker avatar santi871 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dcswaypointeditor's Issues

Not detecting DCS Bios

I tried to start up the program but the initial screen is not detecting my DCS Bios which is in D:\Program Files\DCS-BIOS\dcs-bios-hub.exe
Is this because my DCS Bios is not where expected, the C:/ Drive?

Suggestion: Export coordinates in various formats

Hello!
Great program. I have a suggestion for something that can be handy:

Would it be possible to add the various coordinates formats when exporting coordinates? This for example for mission designers to be able to populate mission briefs with coordinates gathered from the this program?

Not working for F-18 since update

Looks like they changed the JDAM/JSOW step function so it seems like that may have broken the macro that enters the coords into the plane. Can you take a look.

Coordinates

Hi Santi,

It's there a way to enter an other format into you dcs waypoint editor?

I would like to enter the precise format red on map just as it is into the hornet système.

Take care

Capture coords from unit info position.

When in F10 you click on unit, in bottom left of screen we get detailed info about unit: Name/ precise coordinates, altitude. This info is more precise than trying to hover mouse over unit. Is it possible to add some Option/Radio button like "Quick capture" but lets say "Unit capture" that will parse coords and altitude from bottom left window? Thanks!

Feature Request-Import WP from CSV or TXT fil

It would be great if you could import a number of waypoints from another course. e.g CSV or Txt file.

I use combatflite for mission design and I can export waypoints into an excel document. Being able to then import in from here would be great.

German Language not supportet

Hi,

it would be nice if you could support the German Language
Screen_190610_114954

Log:
2019-06-10 11:48:02,353:gui: DEBUG - Attempting to capture map coords
2019-06-10 11:48:02,671:gui: ERROR - Failed to parse captured text
Traceback (most recent call last):
File "src\gui.py", line 404, in input_parsed_coords
position, elevation = self.parse_map_coords_string(captured_coords)
File "src\gui.py", line 395, in parse_map_coords_string
raise ValueError("Unable to parse elevation: " + elevation)
ValueError: Unable to parse elevation: 343FuB
2019-06-10 11:48:10,586:gui: DEBUG - Event: mgrs
2019-06-10 11:48:10,586:gui: DEBUG - Values: {'profileSelector': '', 'activesList': [], 'baseSelector': '', 'msnName': '', 'WP': True, 'MSN': False, 0: False, 1: False, 2: False, 3: False, 4: False, 'sequence': 'None', 'latDeg': '', 'latMin': '', 'latSec': '', 'lonDeg': '', 'lonMin': '', 'lonSec': '', 'elevFeet': '', 'elevMeters': '', 'mgrs': '', 5: True, 6: False, 7: False, 8: False, 9: False}
2019-06-10 11:48:10,586:gui: ERROR - Failed to decode MGRS: exceptions must derive from BaseException

[SUGGESTION] Clone, Rename, otherwise edit created profiles

I've been using a "standard" set of waypoints (Typically has a home plate, bulls, other common waypoints that I always use) and I noticed you can't really clone or copy WP's to new profiles. I figured the "Save as" would let me save it as a new profile, but that doesn't work. I tried to export the profile and edit the .LUA file's name so when I re-imported it, it'd change, but when attempting to import it the program crashes (I can upload the error here if you would like).

Low FPS results in missing/skipping inputs

Not necessarily an issue with your coding, but my potato computer, when getting pretty bad FPS in MP (We're talking like 15) can run so slow that the DCS BIOS commands are coming in too quickly for the screens to keep up. This resulted in the program missing the first button press to go to the Waypoint Data page in the F-18. I noticed sometimes it would make it to that screen, but then the PRECISE mode click wasn't registered.

Adding the ability to decrease the input speed of the program might work to alleviate this issue on my potato. Even if it's slower, it's still 20x faster than me typing them in by hand. 👍

F/A-18C SLAM compatibility

I think that the steps to PP these missiles are the same as for JDAMs, but only sometimes it allows me to load one station depending on the weapons config, and mostly if I load both kind of weapons together. Could you take a look to fix this compatibility?

Maybe an easy workaround to include coordinates for all PP weapons would be to enter manually the TGT UFC, that is only one manual step more than the current required MSN page.

Thanks in advance.

Just Wondering if this is still supported?? have issues capturing Coords from F10map

So yeah is this still being worked or did 2.7 screw it all. It sends data to the plane no problem if i create a profile etc - but i cannot get it to read coords from the F10map - it just sits there capturing but not actually getting any data in

I think i have it setup correctly i did have to edit the saved games folder form DCS to DCS.openbeta for the install to work - but i did change it back as when i started the game DCS created another Saved Games Folder called "DCS" and i wasnt going to do all my settings again so i edited it back to DCS - as there are also all my other mods in the original DCS folder (i deleted the one that had been created of course) - but yeah the game works the MOD opens it reads the tesseract, it will transfer to the AC -
But it will not capture from the map when i follow the instructions it just hangs,,.......

I could be doing something wrong but its not likely it is pretty simple to use, would appreciate any help if there is anyone out there that knows.

I was going to add i have an ACER 32" curved monitor as my primary and a second one of these as my Secondary.
I run the game on the Primary and launch the Mod on the secondary, not sure if this effects it reading the map on primary, but i have also dragged the MOD to primary and alt tabbed to run it. Maybe its the screen resolution 2560/1440 i dont know.

Thx

F-14 data entry: Delay after CAP Drum Select and always start with "CLEAR"

I have experienced an issue where occasionally the waypoint entry sequence ends up corrupt or with wrong INS alignment after completion. Also when in flight thus is almost always guaranteed to go haywire. It seems that there might be two issues worth looking at:

  • when watching the keys being pressed in the RIO cockpit, it seems that the very first point"s coordinates are not preceded by a press of the "CLEAR" key. AFAIK, this might lead to problems with data entry corruption in the F-14
  • it might also help for stability if there is a small pause placed after after selecting "TAC Data" on the CAP drum and before the actual coordinate entry sequence starts. I have noticed different outcomes in the F-14 depending on whether i manually pre-select TAC Data on the DRUM or deliberately leave it in another position before starting Aircraft Data Entry in the DCS WptEditor.

Aircraft not Accepting inputs

So I am sure this is me but I have reloaded it twice and the aircraft doesn't seem to be doing anything when I import. The program becomes unavailable for a minute and then comes back but nothing gets entered. I feel like it is a DCS_Bios issue but I don't know how to trouble shoot
log.txt

F10 Map Quick Capture Malfunction

Testing with DCS 2.7.2.7910 and WP Editor 1.0.0.1b? "Capture from DCS F10 Map" does function as the guide docs describe; however the Quick Capture feature functions in an identical manner. Quick Capture does not sequentially and automatically add WPs as they are triggered by the assigned hotkey. Manually "Add"ing a captured WP toggles off both capture features. A work-around would be to assign a hotkey to the "Add" button so that WPs could be added sequentially by toggling the Capture feature on, capturing a WP, then adding the captured WP to the profile with the Add hotkey, rinse and repeat as desired.

Appreciate your continued support of this very useful tool.

Never mind, I guess. Figured out that Quick Capture does indeed function as advertised, BUT only if the profile has at least one WP and that WP is highlighted by mouse-click before starting the capture procedure. My experience at least. Then everything works splendidly. Perhaps update User Guide docs.

[SUGGESTION] JDAM/JSOW Stations mode

With the update to the OB, the fundamental method that is used to enter targeting information into the Pre planned screen changed. It's now per station instead of one big list of 6 PP coords. Suggestion that you throw in a setting that asks "how many stations loaded" and perhaps some method of how many weapons are on those stations, then the program could hit the station cycle key after hammering in the MS1 and/or MS2 for that station.

v1.0.0 b1: F/A-18C button sequence is incorrect

Both the waypoint and JDAM mission input sequences for F/A-18C are doing something strange, I don't think they even interact with the right displays in the latest version. Tried with the latest BIOS.

Running DCS open beta - Unable to Capture F10 Waypoint - Capture failure Error

I just tried to install this tool but I am unable to capture waypoints from the F10 Map.

installed the ocr software no errors
installed the bios no errors
using two monitor setup with 4k
open mission editor | click Alt Y - (Ndd - mm - ss.ss Edd - mm - ss.ss format )
click ctl+shft+t - capture turns on
Hover over spot on map | click spot just to make sure it is in the right spot
click ctl+t
Failure to capture coordinate error appears.

Anything that I am doing wrong? I have not tried to Import anything yet.
Thanks Falcon

[FEATURE] Shortcuts

Shortcut for:

  • End capture.
  • Enter coordinates to plane.
  • Clear all WPs.
  • Quick save profile - to a default quick save file.

Motivation: I have multiple monitors (4k / 2k) and DCS really doesn't like alt-tabbing in this setup and of course efficiency/convenience.

Where is dcs_wp_editor.exe?

I have downloaded the latest zip file for this program and it does not seem to contain the file "dcs_wp_editor.exe". Is it in an older version which I no longer have?

v1.0.0 b1: Updater wants to downgrade to v0.9.9 b2

When running the first time set up wizard it prompts the user to 'update' to v0.9.9 b2. If you click "no" you simply are prompted with v1.0.0 b1, if you click "yes" you're directed to the GitHub's release page with v1.0.0 b1 on top. Bet a lot of people will be confused by this.

Suggestion: Not working with Helios

I finally got the program to work, but not with Helios. Helios uses two screens, the first for the HUD and the second for the cockpit. With Helios on, the program does not enter the coordinates at all. With Helios off and only using one screen, everything works. So as a suggestion, please try it with Helios.

AV8B Harrier Edit function

Could there be an option to not ADD new waypoints in Harrier ( now it goes: add waypoint->77->that creates realistically next waypoint) but EDIT/OVERRIDE them in order?
It make a lot of confusion in combined flights when first waypoint of harrier flight is eight in a row :) (for example)

I'd gladly contribute for this feature to be available.

[REQUEST] Add the F-16C Viper

Please add the F-16C Viper. From the user's perspective it doesn't look terribly difficult in terms of button sequences, a lot less complex than the Hornet for sure.

EDIT:

I'm sorry, I should add that I'm aware you still can't enter new waypoints in the Viper. However, when the user creates an FP with e.g. 20 WPs at the spawn point, it's perfectly possible to alter the coordinates of any of the 20 WPs.

Regards,
Oliver

0.9.9 b1 F10 Capture Failure

Hey Santi, looks like in the latest beta build the OCR capture from the F10 map isn't working. I tried a whole onslaught of things up to reinstalling the OCR software, running the program as admin/not as admin (same with DCS) to make sure it wasn't just me.

After backdating to the previous version (v0.9.6-beta-1) it worked fine.

Edit 1: I did need to run DCS:WE as admin, however that might just be down to me having DCS running as admin.

F-16 waypoint conversion bug

When converting seconds to decimal lat and long the editor does not put a 0 after numbers with 2 decimal places.
This messes up the rest of the sequence.
e.g. 28.2 seconds=0.47 the editor only enters 2 numbers while the plane requires 3 (0.470).
Can work around for now by changing last decimal by 1 (28.1) to get a 3 decimal place conversion.

Where is the .exe?

I've looked in every folder for the .exe file needed to run this software, but I'm having no luck. Am I overlooking something?

Fatal error detected

A pop-up displays the following message and I'm unable to run the program: "Failed to execute script dcs_wp_editor"

Quick Capture Hotkey Non-Functioning

I am able to get Quick Capture to work only by clicking the program GUI Quick Capture button. Assigned hotkey does activate the GUI Quick Capture button, but subsequent capturing does not occur. Program behaves as though the Quick Capture hotkey functions identically to the WP Capture hotkey.

I am convinced Capture issues stem from problems with Quick Capture hotkey failure.

DCS Open Beta F-18 - Failed to Capture

Continuing to get errors like this on multiple versions of the waypoint editor:

[PREFERENCES]
grace_period = 5
button_release_short_delay = 0.2
button_release_medium_delay = 0.5
tesseract_path = D:/Data/Applications/Tesseract/tesseract.exe
dcs_path = C:/Users/Graig/Saved Games/DCS.openbeta/
db_name = profiles_new.db
capture_key = 1
quick_capture_hotkey = ctrl+shift+t
enter_aircraft_hotkey =
log_raw_tesseract_output = false
save_debug_images = false


Program version: v0.9.9b2

2021-01-25 13:08:14,856:db: DEBUG - Connected to database
2021-01-25 13:08:14,867:gui: INFO - Tesseract path is: D:/Data/Applications/Tesseract/tesseract.exe
2021-01-25 13:08:15,986:gui: INFO - Tesseract version is: 5.0.0-alpha.20201127
2021-01-25 13:08:15,986:gui: DEBUG - Creating GUI
2021-01-25 13:08:19,741:gui: DEBUG - Event: capture
2021-01-25 13:08:19,742:gui: DEBUG - Values: {'profileSelector': '', 'activesList': [], 0: None, 'baseSelector': '', 'msnName': '', 'WP': True, 'MSN': False, 'FP': False, 'ST': False, 'IP': False, 'DP': False, 'HA': False, 'HB': False, 'sequence': 'None', 'latDeg': '', 'latMin': '', 'latSec': '', 'lonDeg': '', 'lonMin': '', 'lonSec': '', 'elevFeet': '', 'elevMeters': '', 'mgrs': '', 'hornet': True, 'harrier': False, 'mirage': False, 'tomcat': False, 'warthog': False}
2021-01-25 13:08:21,936:gui: DEBUG - Attempting to capture map coords
2021-01-25 13:08:22,247:gui: DEBUG - Looking for map on screen 1
2021-01-25 13:08:22,512:gui: DEBUG - Minval: -0.4580914080142975 Maxval: 0.5928191542625427 Minloc: (1425, 958) Maxloc: (12, 0)
2021-01-25 13:08:22,512:gui: DEBUG - Raise exception (could not find the map anywhere i guess)
2021-01-25 13:08:22,512:gui: ERROR - Failed to parse captured text
Traceback (most recent call last):
File "src\gui.py", line 657, in input_parsed_coords
File "src\gui.py", line 546, in capture_map_coords
ValueError: F10 map not found

  • I am using DD,MM,SS.SS
  • I have updated and reinstalled DCS BIOS and the waypoint editor
  • I have repaired DCS

Any insight on the issue and possible fixes would be much appreciated.

VR Support

I believe DCS Waypoint Editor doesn't work with VR right now unless I'm mistaken. It sounded like the problem with it was that the location of the coordinates on screen is varying because the head position could be moving around.

I think this could be resolved a few ways:

  1. Scan the full display on button press and look for the menu bar top left corner pixel by color search, then extract a fixed area based on that pixel location.

  2. Have a different bind key for capture by VR. This key would use the center of the view which would be pointed at the coords and capture a rectangular area around that.

I think maybe the resolution of the text might be a problem for the ocr, but i'm not sure on that. Maybe we'd have to use VR zoom to zoom in real quick on the number.

This would be awesome to have as a lot of users are using VR.

Sort of a fork

Hi there,
I've grabbed the sources and made a VERY HACKY repo over at:
https://github.com/kostex/DCS_Waypoint_Editor

I did not touch the waypoint functionality but I've changed the MSN functionality.
I've ripped out transferring multiple missions/stations/weapons to gain the functionality of using this tool for all supporting weapons.
Now only the selected MSN coordinate in the Editor can be sent to the DCS current station/weapon/mission!
So you select the weapon/station/mission in DCS and let the Editor fill in 1 coordinate/elevation at a time.

Furthermore you can now use DCS in windowed mode and grab coordinates! There's a checkbox for selecting fullscreen mode or not.

Only tested with the F/A-18

Problem when entering seconds

Excellent, it is very useful, the latest version, enter the seconds wrong, no matter what value is set, automatically enter other values.

Confirmed works with VR

I successfully utilized this with VR active. I followed all instructions given in the 'How To' with success. I was able to navigate to the 'data' folder that is unzipped with the program. I opened the PG.JSON, saved as and edited with my own desired preset waypoints that populated in the waypoint editor program. I did this as they are native to google maps output. It was a simple copy paste. I did not change the F18 coordinate type and left at its default upon start-up. After coordinates were entered I swapped between DMS and DDS with 100% accuracy from the waypoint editor program. Thank you @Santi871 and other contributors for making this. My next test is to build a flight in combat flight and export the .json file to the 'data' folder location.

[SUGGESTION]: Use GeoJSON format for import/exports

I love all the tools and applications people develop for DCS. The only problem is that everyone wants to use their own proprietary file-format making exports between the various problem a pain.

There is a format developed specifically for sharing map data, called GeoJSON and it is not too far off from what I see in the cauc.json/pg.json. I would strongly suggest to use this format instead, as this format is supported also in a lot of more professional applications (like Google Earth). There are also libraries for converting between GeoJSON and other well-known formats, like KML/KMZ both for JavaScript, Python and most other popular languages, making the use of programs like DCSWaypointEditor as part of a workflow much more efficient.

v1.0.0 b1: F-16C button sequence is incorrect

The input button sequence is incorrect. The first WP L/L are OK but then it switches to the elevation where it tries to enter the next coordinates at which point the whole sequence goes wrong.

I can record it on Twitch to show you. Let me know?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.