Modding, Mission Design, and Coding > Test Builds

JSON pilot files

(1/2) > >>

m!m:
Currently, FSO uses a binary file format for storing the pilot data. While this format is quite space efficient it is absolutely unreadable for someone without a hex editor. A while back I made some changes to the pilot code which made it possible to write the pilot data in the much more readable JSON format. That made it easier to debug issues but the code was not able to read this format when the game was started the next time. That is what these changes implement. The builds below are able to use JSON for loading and storing the pilot data. "Old" binary pilots will be converted when FSO is started for the first time so you will not lose any progress if you use these builds.

Test builds for all platforms: http://swc.fs2downloads.com/builds/test/jsonPilots/
Pull request with changes: https://github.com/scp-fs2open/fs2open.github.com/pull/1267

To test these builds all you have to do is run FSO with them and try some stuff that involves the pilot data like continuing a campaign. I want to make sure that the common operations definitely work before this gets merged into the master branch.

PIe:

--- Quote from: m!m on January 10, 2018, 04:19:52 am ---"Old" binary pilots will be converted when FSO is started for the first time so you will not lose any progress if you use these builds.

--- End quote ---
Does this mean that any campaign progress made with this build will be lost if I switch back to a regular one, ie I'll be back at the point where I switched builds?

m!m:
Yes, any progress made with these builds will not be saved in the old files.

tomimaki:
In normal build last played pilot is at the top. In this not.
Minor thing but I got used to it :P

Ok, now this is weird. I did few mission in main campaign on this build then switch back to normal build and I see these missions are done :confused:

m!m:

--- Quote from: tomimaki on January 11, 2018, 03:42:11 pm ---In normal build last played pilot is at the top. In this not.
Minor thing but I got used to it :P

--- End quote ---
I just checked and for me the last played pilot appears at the top of the list :doubt:

Navigation

[0] Message Index

[#] Next page

Go to full version