Page 1 of 1
[0.15.37] Manually downgraded savefile is corrupted
Posted: Mon Nov 27, 2017 4:56 am
by somekittens
Followed rseding's advice here after downgrading to 0.15.37:
https://www.reddit.com/r/factorio/comme ... 8/dqdw5cz/
I was able to edit the bytes in level.dat and script.dat, save, and view the save file in Factorio. The Base Mod was highlighted as the wrong version (still showed 0.15.38). When I load the save file, Factorio crashes
Crash log:
https://gist.github.com/SomeKittens/05c ... d287944d10
(attaching relevant files in next post)
Re: [0.15.37] Manually downgraded savefile is corrupted
Posted: Mon Nov 27, 2017 5:03 am
by somekittens
(files attached)
Re: [0.15.37] Manually downgraded savefile is corrupted
Posted: Mon Nov 27, 2017 6:07 am
by AreYouScared
Do you happen to have a copy of the save before you edited it? I tried to put it back to 0.15.38 and it still crashes, maybe you edited a value wrong or somthing.
Re: [0.15.37] Manually downgraded savefile is corrupted
Posted: Mon Nov 27, 2017 6:31 am
by somekittens
Yup, here's the original. Hex files were edited in Sublime Text 2, if that helps. All I manually changed was the fifth byte (possible that some "helpful" feature changed other things)
Re: [0.15.37] Manually downgraded savefile is corrupted
Posted: Mon Nov 27, 2017 7:46 am
by chrisgbk
I was able to edit/load the original files in 0.15.37 just fine. Seems that the ones you uploaded are truncated - they are identical to my changed versions, up until the end, when they abruptly end, cutting off the end of the file. Approx 1KB of script.dat and approx 32KB of level.dat is missing.
Re: [0.15.37] Manually downgraded savefile is corrupted
Posted: Mon Nov 27, 2017 8:04 am
by posila
chrisgbk wrote:I was able to edit/load the original files in 0.15.37 just fine. Seems that the ones you uploaded are truncated - they are identical to my changed versions, up until the end, when they abruptly end, cutting off the end of the file. Approx 1KB of script.dat and approx 32KB of level.dat is missing.
Yeah, you are right, thanks for mentioning that.
Here is the working 0.15.37 save
Re: [0.15.37] Manually downgraded savefile is corrupted
Posted: Mon Nov 27, 2017 5:23 pm
by somekittens
chrisgbk wrote:I was able to edit/load the original files in 0.15.37 just fine. Seems that the ones you uploaded are truncated - they are identical to my changed versions, up until the end, when they abruptly end, cutting off the end of the file. Approx 1KB of script.dat and approx 32KB of level.dat is missing.
Good to know, thanks. That's what I get for hex editing via WinRAR.
posila wrote:chrisgbk wrote:I was able to edit/load the original files in 0.15.37 just fine. Seems that the ones you uploaded are truncated - they are identical to my changed versions, up until the end, when they abruptly end, cutting off the end of the file. Approx 1KB of script.dat and approx 32KB of level.dat is missing.
Yeah, you are right, thanks for mentioning that.
Here is the working 0.15.37 save
Thanks so much! We've put a bunch of time into this. Hard to understate my appreciation for your recovery!