santi871 / dcswaypointeditor Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Being able to re-order added waypoints would be good. Right now the only way is to select it, add it again in the order you want, then select the second one etc etc. Also the ability to edit already created waypoints (such as editing the SEQ, or ALT for example) would be awesome :)
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?
Ability to rename a profile.
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?
I can't find the buttons to export and import profiles.
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.
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
It would be nice if the import profile text box remembered the last file inputted so you could just hit OK instead of having to navigate to it
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!
Tesseract seems to be unable to decipher the coordinates, (even though they can be seen in plain text in the log), and does not pass the info the the program. I am running in admin mode, and have attached the debug info i could find.
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.
Hi,
it would be nice if you could support the German Language
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
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).
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. 👍
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.
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
Hi,
would be nice to select a Unit in Tacview and then take the coordinates to the tool.
Like the Title says.
Cycle through Stations while in Auto-Capturing.
And ADD the functionality to change Station with the "UPDATE" Button.
DCS Update to 2.5.6 has broken your very useful tool. Hope you can fix it.
When you let the v1.0.0 b1 first time set up wizard install DCS Bios it points to a DCS Flightpanels GitHub link which returns a 404.
Manually downloading DCS Bios from https://github.com/DCSFlightpanels/dcs-bios/releases/tag/0.7.35 seems to do the trick.
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:
At least on Syria map Quick Capture tool ignores attempts to capture sea coordinates.
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
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.
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.
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.
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
Shortcut for:
Motivation: I have multiple monitors (4k / 2k) and DCS really doesn't like alt-tabbing in this setup and of course efficiency/convenience.
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?
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.
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.
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.
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
trojan detected by microsoft built-in anti virus
your build https://github.com/Santi871/DCSWaypointEditor/releases/tag/v0.9.9b1
triggered anti virus on main exe after unzip (did not run it)
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.
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.
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?
A pop-up displays the following message and I'm unable to run the program: "Failed to execute script dcs_wp_editor"
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.
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
Any insight on the issue and possible fixes would be much appreciated.
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:
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.
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.
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
Excellent, it is very useful, the latest version, enter the seconds wrong, no matter what value is set, automatically enter other values.
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.
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.
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?
If the second Value is smaller as 6 sec. it skips it in the UFC.
I think it has something to do that it has to start with a "0" in the UFC
https://www.youtube.com/watch?v=IL2NkRsL7lo&feature=youtu.be
As said above, when clicking the radial button, it doesn't actually reflect you selecting it (it does however, select the aircraft)
Just a small bug I noticed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.