Page 1 of 1

remove saveinfo.dat

Posted: Tue Sep 17, 2024 8:54 pm
by Strook
Hello!

I was wondering if it was possible to tell the save system to not generate the "saveinfo.dat" file. In my current game I don't need at all, and and its useless to me as I will only ever use the first slot

Thanks!

Re: remove saveinfo.dat

Posted: Tue Sep 17, 2024 9:59 pm
by Tony Li
Hi,

I recommend making your own saved game data storer class. Copy DiskSavedGameDataStorer.cs and just remove all of the stuff about saveinfo.dat.

Using your own saved game data storer class will also be good if you bring Squeakross to consoles, since you'll be able to add your console-specific code to it, too.

Re: remove saveinfo.dat

Posted: Wed Sep 18, 2024 9:25 am
by Strook
Hey, thanks for the answer that makes sense! I'll do those changes 👍


I'm using all the custom saver from the spirit and the mouse for PC and Consoles you helped me write back then :mrgreen: , so we're pretty much set for consoles!

Re: remove saveinfo.dat

Posted: Wed Sep 18, 2024 9:54 am
by Tony Li
Sounds good!