Savegame compression algorithm?

General Stars in Shadow Discussion Forum
myrix
Posts: 2
Joined: Fri Feb 17, 2017 2:05 pm
Location: Russia

Savegame compression algorithm?

Postby myrix » Fri Feb 17, 2017 2:18 pm

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.

User avatar
Arioch
Posts: 1403
Joined: Sun Feb 01, 2015 12:56 am
Location: San Jose, California
Contact:

Re: Savegame compression algorithm?

Postby Arioch » Fri Feb 17, 2017 6:38 pm

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.

User avatar
sven
Site Admin
Posts: 1620
Joined: Sat Jan 31, 2015 10:24 pm
Location: British Columbia, Canada
Contact:

Re: Savegame compression algorithm?

Postby sven » Fri Feb 17, 2017 7:01 pm

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.)

myrix
Posts: 2
Joined: Fri Feb 17, 2017 2:05 pm
Location: Russia

Re: Savegame compression algorithm?

Postby myrix » Fri Feb 17, 2017 8:55 pm

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.


Return to “General Forum”

Who is online

Users browsing this forum: No registered users and 25 guests