I've been working on fixing the save system to save and load both dust and trails.
There were two approaches to solving this problem. A quick hack or taking the time to restructure the internal code to save and load this date the 'correct' way. I chose the later (which also helps to explain the apparent lack of recent updates) which will make it easier to add new features to the save system in the future.
This upcoming change will also make the move to the UBOX file format make more sense as the new format will include 4 xml files in each UBOX files:
- objects.xml
- settings.xml
- trails.xml
- dust.xml
And settings will be moved from the objects.xml file to its own dedicated file.
Trails.xml will look something like this:
<?xml version="1.0"?>
<trails>
<trail>
<objectid>Earth</objectid>
<segment>
<pos>21836329.8534378;380717980.789773;-1354699.264725</pos>
<color>85;101;131;255</color>
<lastmod>1557435.6501121274</lastmod>
<length>3887.5794656008948</length>
</segment>
<segment>
<pos>21866874.4954487;380731709.444217;-1349333.14694793</pos>
<color>85;101;131;255</color>
<lastmod>1552252.2108246596</lastmod>
<length>3887.5794656008948</length>
</segment>
</trail>
</trails>
Thoughts, comments, suggestions?