Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Corrupted data.sav

A topic by desadesa created 81 days ago Views: 483 Replies: 6
Viewing posts 1 to 2

I had a power outage while playing and now my data.sav is corrupted, I lost all my achievements and progress but the save file still works. I have a backup from a couple of days ago.

Can I use that old data.sav to keep playing and not loose al progress or should I delete it and start over?

Saves aren't stored in 'data.sav' file, they are in separate files, so you can just delete 'data.sav' without losing progress, or try pressing "Regenerate data.sav" in settings

Yes I have the separate player save file but if I regenerate data.sav all objets, events and game settings seem to reset. The only thing I belive keep is my inventory, points and upgrades. Is it recommended to start all over again in this case?

When regenerating data.sav, all objects and events should not reset on any saves, the only thing that data.sav stores is game settings and data for creating new saves, so you probably just resetted objects and events on your save before, or there was an error loading objects from save caused by corrupted data.sav. But if your settings are fine and you can still change them you can probably just try replacing it with older data.sav instead of regenerating it

I have an older save from the dupe beta but replacing data.sav didn't fixed the issue, it only restores my settings and stats until that point promting me the message that the save was from a previous version. Maybe the save was corrupted because I didn't replaced or resetted objets/events on the latest save (That last save has an endelss string of NUL text).

Maybe the best thing will be to just play in the old save and lose several days of progress, better than starting over again. From now on I will do a backup of the save files just in case.

NUL bytes in the save file itself or just in its name in game? If in save file, then that probably isn't connected to data.sav, computer stores all writes to file in RAM first, and only then flushes them to disk to increase performance, when you had a power outage it didn't had enough time to write everything to disk and save file was left with only NUL bytes in it

Ah I see. Yes the file itself is NUL. Buying an UPS ASAP haha.