#[0.15.0.30] Save corrupted, "bad read entry of ships/<file.json>"

18 messages · Page 1 of 1 (latest)

hollow socket
#

Playtime: 1d 1h 2m 57s

Trying to load the save file results in the game locking up at "loading files", have to force quit it. Closer investigation showed the file in question was either corrupt, empty or deleted. It did still show up in the .zip file, but I was unable to view or extract it.

I was able to recover the save by replacing the corrupt file with an intact one from a save 8 minutes earlier.

This is unfortunately all the information I can provide. It's not much, but maybe if it happens to someone else, they'll be able to add to it. The save file I've already tampered with to fix it, so it's not going to be helpful.

strange ravine
#

sorry about the bug, could you share the ship json file with us that you used to replace the broken one with?

hollow socket
#

Although I'm not certain if it'll shed any light. I have a sneaking suspicion (from having experienced corrupt save before, where the character file itself was cut off and missing rest of the code), that the corruption has something to do with either computer hitching slightly while saving, or alt-tabbing mid-save, or something else that's going on, unrelated to the actual game.

I'll be doing some testing in this regard in a bit.

strange ravine
#

interesting idea, are any other ships missing in the broken save compared to the last good one?

hollow socket
#

Not that I can tell. Aside from this, which I've heard is something I can safely ignore, I haven't really been getting any sort of errors, ship related or not.

#

I've got 173 hours on the game, and save corruption only happened twice. Once the character file wasn't complete and maybe a 1/3 of it was simply missing, and this time one ship file was empty/corrupted.

#

Messing around and saving repeatedly while taxing my system mid-save doesn't seem to be able to reproduce it.

strange ravine
#

I suspect something is corrupting the npc save data (similar to what your screenshot shows with the CO), and that later causes an error when the ship carrying that npc tries to save. I’m not sure what triggers it though, since neither the ships nor the npcs seem to have any player interaction beforehand.

Did you ever use any debug commands on that save? eg Prune?

hollow socket
#

I recall trying out Prune once to see what it does, but I'm going to be very unhelpful and say that I'm maybe 50/50 sure I tried it in a previous run

#

I tend to cull my saves and only keep about 5 latest (including a run start one), so there's no way to easily check

#

This is all further more unhelpful by that I'm playing with two mods, one that increases EVA inventory, and the other changes derelict spawn locations, so it's very well possible it's some unique set of circumstances that happen with either of these.

#

LIke I said before, I put this in moreso to see if anyone else with a cleaner install has ever encountered it, so far it seems like a unique issue.

hollow socket
#

Depending on how the game deals with despawning derelicts, one potential cause I can possibly think of is that the save happens right as a derelict is despawning, but the character file hasn't been updated yet to take the ship off the list.

#

But the timing on that would have to be ridiculously precise

#

If that's even how the game does this.