41Sqn_Skipper Posted April 18, 2020 Posted April 18, 2020 I'm currently working on some projects that would require to parse the *.mission file and provides a DOM like interface. First step is reading some information out of the file (e.g. list of aircraft), next step is editing some simple values (e.g. skill level, skin) and ultimately I want to create and remove entries (e.g. create or remove aircraft and waypoints) Just wondering if there's already a library available that can do that or if I should start coding myself.
super-truite Posted December 11, 2020 Posted December 11, 2020 (edited) I am also interested. I have already something but too ugly to share ?. I wanted to come back to it and think more about the architecture for it to be usable for something else than my basic use cases (mainly replacing stuff). It could be used to make a mission editor with Ctr+z and other stuff for instance ?. If you want we can discuss it and see if the workload can be splitted. edit: @41Sqn_Skipper, just saw that your message is quite old. Did you develop something already ? edit: found this: it might do the trick Edited December 13, 2020 by super-truite
41Sqn_Skipper Posted December 14, 2020 Author Posted December 14, 2020 (edited) On 12/11/2020 at 10:02 PM, super-truite said: edit: @41Sqn_Skipper, just saw that your message is quite old. Did you develop something already ? I started something in C# based on the Java code available here: https://github.com/eriklupander/bos-missionbuilder/tree/master/src/main/java/se/lu/bos/misgen/model The code is from the discontinued "mission builder": I realized it was to much work to support all the different types in the mission file, so I ended up writing a totally generic class in a few minutes that would parse and write the content of the file without knowing what lines actually contained. Wasn't really useful for anything but very simple changes. Edited December 14, 2020 by 41Sqn_Skipper 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now