Savedata corrupted



On 0.e-3 vanilla on windows 10… This is a real bummer since this was one of the coolest games ive played till now but oh well… I did not change my settings around I did not upgrade nor downgrade the game I did not do anything weird I just started the game one day and bam

The first error disppears upon deleting the file mentioned in the error, but I have no idea how to fix the second one. Is this salvageable?

Log of the second error:

01:08:45.828 ERROR : (error message will follow backtrace)
  #0
    (dbghelp: @0x620ab6[cataclysm-tiles.exe+0x220ab6]), 
    (libbacktrace: Z21debug_write_backtraceRSo+0x56@0x620ab6),
    (libbacktrace: 0x620ab6    [unknown src]:0    [unknown func]),
  #1
    (dbghelp: @0x62154a[cataclysm-tiles.exe+0x22154a]), 
    (libbacktrace: Z8DebugLog10DebugLevel10DebugClass+0x34a@0x62154a),
    (libbacktrace: 0x62154a    [unknown src]:0    [unknown func]),
  #2
    (dbghelp: @0x624496[cataclysm-tiles.exe+0x224496]), 
    (libbacktrace: Z12realDebugmsgPKcS0_S0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x76@0x624496),
    (libbacktrace: 0x624496    [unknown src]:0    [unknown func]),
  #3
    (dbghelp: IMG_LoadWEBP_RW+0x11aae5@0x125eb35[cataclysm-tiles.exe+0xe5eb35]), 
    (libbacktrace: Z12realDebugmsgIJEEvPKcS1_S1_S1_DpOT_+0x35@0x125eb35),
    (libbacktrace: 0x125eb35    [unknown src]:0    [unknown func]),
  #4
    (dbghelp: @0xe159a8[cataclysm-tiles.exe+0xa159a8]), 
    (libbacktrace: ZN6submap4loadER6JsonInRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x8b8@0xe159a8),
    (libbacktrace: 0xe159a8    [unknown src]:0    [unknown func]),
  #5
    (dbghelp: @0x9fe754[cataclysm-tiles.exe+0x5fe754]), 
    (libbacktrace: ZN9mapbuffer11deserializeER6JsonIn+0x4c4@0x9fe754),
    (libbacktrace: 0x9fe754    [unknown src]:0    [unknown func]),
  #6
    (dbghelp: @0x527743[cataclysm-tiles.exe+0x127743]), 
    (libbacktrace: ZNSt17_Function_handlerIFvRSiEZ28read_from_file_optional_jsonRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt8functionIFvR6JsonInEEEUlS0_E_E9_M_invokeERKSt9_Any_dataS0_+0x23@0x527743),
    (libbacktrace: 0x527743    [unknown src]:0    [unknown func]),
  #7
    (dbghelp: @0x52bc63[cataclysm-tiles.exe+0x12bc63]), 
    (libbacktrace: Z14read_from_fileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt8functionIFvRSiEE+0x143@0x52bc63),
    (libbacktrace: 0x52bc63    [unknown src]:0    [unknown func]),
  #8
    (dbghelp: @0x52bf91[cataclysm-tiles.exe+0x12bf91]), 
    (libbacktrace: Z28read_from_file_optional_jsonRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt8functionIFvR6JsonInEE+0x61@0x52bf91),
    (libbacktrace: 0x52bf91    [unknown src]:0    [unknown func]),
  #9
    (dbghelp: @0x9fac4e[cataclysm-tiles.exe+0x5fac4e]), 
    (libbacktrace: ZN9mapbuffer19unserialize_submapsERK8tripoint+0x6ce@0x9fac4e),
    (libbacktrace: 0x9fac4e    [unknown src]:0    [unknown func]),
  #10
    (dbghelp: @0x9ff66b[cataclysm-tiles.exe+0x5ff66b]), 
    (libbacktrace: ZN9mapbuffer13lookup_submapERK8tripoint+0x18b@0x9ff66b),
    (libbacktrace: 0x9ff66b    [unknown src]:0    [unknown func]),
  #11
    (dbghelp: @0x9ac0e2[cataclysm-tiles.exe+0x5ac0e2]), 
    (libbacktrace: ZN3map5loadnERK8tripointb+0x242@0x9ac0e2),
    (libbacktrace: 0x9ac0e2    [unknown src]:0    [unknown func]),
  #12
    (dbghelp: @0x9babad[cataclysm-tiles.exe+0x5babad]), 
    (libbacktrace: ZN3map4loadERK8tripointb+0xdd@0x9babad),
    (libbacktrace: 0x9babad    [unknown src]:0    [unknown func]),
  #13
    (dbghelp: @0xded5b6[cataclysm-tiles.exe+0x9ed5b6]), 
    (libbacktrace: ZN4game11unserializeERSi+0x436@0xded5b6),
    (libbacktrace: 0xded5b6    [unknown src]:0    [unknown func]),
  #14
    (dbghelp: @0x52bc63[cataclysm-tiles.exe+0x12bc63]), 
    (libbacktrace: Z14read_from_fileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt8functionIFvRSiEE+0x143@0x52bc63),
    (libbacktrace: 0x52bc63    [unknown src]:0    [unknown func]),
  #15
    (dbghelp: @0x721753[cataclysm-tiles.exe+0x321753]), 
    (libbacktrace: ZN4game4loadERK6save_t+0xa43@0x721753),
    (libbacktrace: 0x721753    [unknown src]:0    [unknown func]),
  #16
    (dbghelp: @0x9904ba[cataclysm-tiles.exe+0x5904ba]), 
    (libbacktrace: ZN9main_menu18load_character_tabEb+0x14da@0x9904ba),
    (libbacktrace: 0x9904ba    [unknown src]:0    [unknown func]),
  #17
    (dbghelp: @0x99408a[cataclysm-tiles.exe+0x59408a]), 
    (libbacktrace: ZN9main_menu14opening_screenEv+0xd6a@0x99408a),
    (libbacktrace: 0x99408a    [unknown src]:0    [unknown func]),
  #18
    (dbghelp: IMG_LoadWEBP_RW+0x67ac1b@0x17bec6b[cataclysm-tiles.exe+0x13bec6b]), 
    (libbacktrace: main+0x151b@0x17bec6b),
    (libbacktrace: 0x17bec6b    [unknown src]:0    [unknown func]),
  #19
    (dbghelp: @0x4013ed[cataclysm-tiles.exe+0x13ed]), 
    (libbacktrace: _tmainCRTStartup+0x23d@0x4013ed),
    (libbacktrace: 0x4013ed    /home/narc/src/mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-5.4.0.build_/mingw-w64-v5.0.2/mingw-w64-crt/crt/crtexe.c:336    __tmainCRTStartup),
  #20
    (dbghelp: @0x4014fb[cataclysm-tiles.exe+0x14fb]), 
    (libbacktrace: WinMainCRTStartup+0x1b@0x4014fb),
    (libbacktrace: 0x4014fb    /home/narc/src/mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-5.4.0.build_/mingw-w64-v5.0.2/mingw-w64-crt/crt/crtexe.c:186    WinMainCRTStartup),
  #21
    (dbghelp: BaseThreadInitThunk+0x14@0x7ffe3c187034[KERNEL32.DLL+0x17034]), 
    (backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
    (backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
  #22
    (dbghelp: RtlUserThreadStart+0x21@0x7ffe3da42651[ntdll.dll+0x52651]), 
    (backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
    (backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
Backtrace emission took 1 seconds.
src/savegame_json.cpp:3870 [void submap::load(JsonIn&, const string&, int)] Mapbuffer terrain data is corrupt, expected string or array.

Hm, it might be. I don’t want to give you wrong hope, but from what I can see there was only some corruption in the map data, your character might still be fine.

If you can pack that save up as a zip or rar or 7z file and upload it somewhere (google drive, dropbox) I could take a closer look.
Alternatively - if you’d prefer it - I could send you my email adress in a private message on this forum and you could email me the file directly (I’m taking a snack break for about an hour, so it might take until after that to get back to you).

Its okay. I was asking for a simple solution I could do myself I dont want to bother anyone.
Also thinking back on it Ill take this as an opportunity to upgrade to 0.f and as redemption for this one time I savescummed

I’d honestly wish to have a simple solution to offer, but I’ve never run into this specific case before, so I don’t know how to fix it.
On the other hand, it would mean that if you’d “bother me” with your save, I might not only get it fixed, but it could help me understand what happened or at least how to fix it if it happens again in the future…

That’s fine as well :slightly_smiling_face: .
Save scumming could have caused something like this (in extreme cases), but is generally unlikely, especially if it happened further back.

1 Like

Yea it did happened futher back and I doubt its the reason.
My main guess is my laptop ran out of battery or something. It does that a lot… Im like pretty sure i never shut down the system/closed the game while it was saving tho but i may be mistaken
If you really wanna look into it heres the savedata:

1 Like

Thank you for the save file.

So, the good news first: It looks like your (most important) character save file is undamaged.

The bad news:
This is how one of the damaged files looks like if opened in a hex editor…:

All the “00” should actually be other data, but it failed to write it to your drive.
Depending on where your base (or part of it) was/were, it might not have survived this.

And now the even worse part: There are many possible reasons for this to have happened. The worst of it would be hardware failure (as I sadly had to experience personally).
However, it could be something else too. Running out of memory or (unlikely) disk space, a virus-protection software that went on a rampage, memory violation (should produce a blue screen or at least a crash), an unlucky operating system update or hiccup, a software/game failure (possible, but unlikely), as well as a power outage or - as you written - running out of battery (not even necessarily during a save).

As for fixing it or generally preventing it from happening again, there isn’t really anything I can suggest.
You could, to rule out a hardware failure, test your computer’s RAM (for example with memtest), the drive (chkdsk) and CPU (I don’t know any specific, good test for this).
I also suggest to make backups of your most important data as soon as possible, just in case (and generally a good practice).
Other than that, keep an eye out for text documents or other files that are unexpectedly filled with what looks to be whitespace characters.

On a lighter note, should you decide to “save” your save, you can delete all the files that got corrupted.
You could find all of them by searching the files for 00 bytes in a hex editor, but since I’ve already have the save, I went ahead and gathered a list of them:

List of corrupted files
  • Furman\#U2FzaGE=.ano.json ← This file defined for which overmap extras to set auto-notes. You will have to define them again, if you had some specific settings.
  • Furman\uistate.json

  • Furman\maps\0.4.0\18.148.0.map
  • Furman\maps\0.4.0\18.149.0.map
  • Furman\maps\0.4.0\18.150.0.map
  • Furman\maps\0.4.0\18.151.0.map
  • Furman\maps\0.4.0\19.146.0.map
  • Furman\maps\0.4.0\19.147.0.map
  • Furman\maps\0.4.0\19.148.0.map
  • Furman\maps\0.4.0\19.149.0.map
  • Furman\maps\0.4.0\19.150.0.map
  • Furman\maps\0.4.0\19.151.0.map
  • Furman\maps\0.4.0\20.146.0.map
  • Furman\maps\0.4.0\20.147.0.map
  • Furman\maps\0.4.0\20.148.0.map
  • Furman\maps\0.4.0\20.149.0.map
  • Furman\maps\0.4.0\20.150.0.map
  • Furman\maps\0.4.0\20.151.0.map
  • Furman\maps\0.4.0\21.146.0.map
  • Furman\maps\0.4.0\21.147.0.map
  • Furman\maps\0.4.0\21.148.0.map
  • Furman\maps\0.4.0\21.149.0.map
  • Furman\maps\0.4.0\21.150.0.map
  • Furman\maps\0.4.0\21.151.0.map
  • Furman\maps\0.4.0\22.146.0.map
  • Furman\maps\0.4.0\22.147.0.map
  • Furman\maps\0.4.0\22.148.0.map
  • Furman\maps\0.4.0\22.149.0.map
  • Furman\maps\0.4.0\22.150.0.map
  • Furman\maps\0.4.0\22.151.0.map

  • Furman\maps\0.4.1\19.148.1.map
  • Furman\maps\0.4.1\19.149.1.map
  • Furman\maps\0.4.1\19.150.1.map
  • Furman\maps\0.4.1\20.148.1.map
  • Furman\maps\0.4.1\20.149.1.map
  • Furman\maps\0.4.1\20.150.1.map
  • Furman\maps\0.4.1\21.148.1.map
  • Furman\maps\0.4.1\21.149.1.map
  • Furman\maps\0.4.1\21.150.1.map

  • Furman\maps\0.4.-1\19.148.-1.map
  • Furman\maps\0.4.-1\19.149.-1.map
  • Furman\maps\0.4.-1\19.150.-1.map
  • Furman\maps\0.4.-1\20.148.-1.map
  • Furman\maps\0.4.-1\20.149.-1.map
  • Furman\maps\0.4.-1\20.150.-1.map
  • Furman\maps\0.4.-1\21.148.-1.map
  • Furman\maps\0.4.-1\21.149.-1.map
  • Furman\maps\0.4.-1\21.150.-1.map

  • The whole folder Furman\maps\0.4.2

If you don’t want to go through all of this and still get a working save back, I can zip it up and send/upload it for you.

Based on my calculations, this unfortunately represent the exact area where your character currently is (and I assume it is in your base). This includes the basement (-1), the ground floor (0) and two floors up (1 & 2).
If you have a backup of the files listed above (maybe Windows stored it and you can restore a “previous version”), you could just overwrite them instead of deleting them, preventing you from loosing everything (and also prevent you from standing in a room full of zombies once you load the save).

I will check my hardware just in case but I never noticed anything weird so I doubt its fsult of the hardware specially since these days ive been using it for college assignments and never noticed anything weird
Doubt its because of the game too since I did not notice snything weird

Even if the map is completely damaged, I would really like to get the character back because at this point I just want the memorial that gets created when the character dies because I like to collect those, so I will delete those files get her dead and go on with my life xD.
Tysm for everything!

1 Like

Yeah, I do understand that desire well, I also have my collection of characters in different game versions, both alive and dead…

Even though it really sucks to end a play through this way, I do hope that you are now able to enjoy the 0.F version to it’s full extent :grinning_face_with_smiling_eyes: .