Jump to content

Recommended Posts

41Sqn_Skipper
Posted

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.

  • 7 months later...
Posted (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 by super-truite
41Sqn_Skipper
Posted (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 by 41Sqn_Skipper
  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...