Page 1 of 1

Savegame compression algorithm?

Posted: Fri Feb 17, 2017 2:18 pm
by myrix
Hi,
could somebody please tell via what algorithm/library savegames (assignments.lz, galaxy.zlua) are compressed?

Wanted to see if a starting galaxy (in particular, star locations) can be modified by savegame editing, tried to enable hidden options listed in the README by creating *.bool file, but is seems that the Steam version does not allow that.

Re: Savegame compression algorithm?

Posted: Fri Feb 17, 2017 6:38 pm
by Arioch
You can use the "Inflate Save Files" option in the Developer Options menu.

Enabling Developer Options works the same in Steam as in the test version: place a show_hidden_options.bool file in the /Stars in Shadow/ directory, and restart the game. When in the Options menu, click on the window title (the text that says "Options") to toggle between the normal and developer options.

Re: Savegame compression algorithm?

Posted: Fri Feb 17, 2017 7:01 pm
by sven
myrix wrote:Wanted to see if a starting galaxy (in particular, star locations) can be modified by savegame editing, tried to enable hidden options listed in the README by creating *.bool file, but is seems that the Steam version does not allow that.


As Arioch says; this really should be working, even on Steam. The full filename needs to be 'show_hidden_options.bool'. But, if you can't get in that way, it should also be possible to edit the saved_options.lua file directly; and set options.inflate_save_files to true by hand.

(The compression algorithm is LZMA; but it doesn't include the standard 7zip headers, so unpacking the saves by hand would be a bit tricky.)

Re: Savegame compression algorithm?

Posted: Fri Feb 17, 2017 8:55 pm
by myrix
Arioch wrote:You can use the "Inflate Save Files" option in the Developer Options menu.

Enabling Developer Options works the same in Steam as in the test version: place a show_hidden_options.bool file in the /Stars in Shadow/ directory, and restart the game. When in the Options menu, click on the window title (the text that says "Options") to toggle between the normal and developer options.


sven wrote:As Arioch says; this really should be working, even on Steam.


Thank you very much, clicking on the Options window title was what I missed.