Corrupted save game file help?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
biwa0shi
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Feb 04, 2025 7:01 pm
Contact:

Corrupted save game file help?

Post by biwa0shi »

When trying to load my 500+ hour factory I get the following message:

Corrupt map: unknown entity prototype ID 41035. File has likely been corrupted due to failing hardware.

I can't load any of the autosaves either. Worse, my Steam cloud save was updated with the corrupted one, meaning I don't have the uncorrupted files anymore to play on other machines.

Since the error mentions hardware issues, I did extensive stability and memory testing and it came back negative, I have also removed the slight overclock I had and I still can't load it. None of my other games or programs are having issues.

I spent a lot of time in it, is there a way the file can be recovered so I can at least upload it to Steam in a working state? I know some of them can be recovered because I found it in this forum, but I havent really found the method. Can someone help out?
Attachments
factorio-current.log
(8.07 KiB) Downloaded 18 times
biwa0shi
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Feb 04, 2025 7:01 pm
Contact:

Re: Corrupted save game file help?

Post by biwa0shi »

trying to upload the save file again:

https://limewire.com/d/2a8103dd-ca7f-4e ... j-GdfK_xq0
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3950
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Corrupted save game file help?

Post by boskid »

I looked at this corrupted save file and it is indeed corrupted. One of the flow statistics for one of electric networks had an invalid record inside and looking at the save file it was a corruption in memory while the game was running because statistics were not saved in their usual order meaning that when new items were inserted into those statistics, they were not following their proper sorting order due to corruption that already happened.

With hex editor i did a tiny tweaks and got something that seems to be loading fine and passes consistency: https://drive.google.com/file/d/1C8wXRS ... sp=sharing
andyseemight
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Feb 06, 2025 9:54 am
Contact:

Re: Corrupted save game file help?

Post by andyseemight »

Wow boskid I am very impressed you were able to fix this! I've got a very similar problem that I have described in another thread! I just uploaded the saved game. Maybe not all hope is lost!
biwa0shi
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Feb 04, 2025 7:01 pm
Contact:

Re: Corrupted save game file help?

Post by biwa0shi »

Yes! It works! How did you figure it out? I will make sure to keep backups this time so I can expand in peace. And maybe take a closer look at my memory, is this RAM or VRAM?

Thanks again!
Post Reply

Return to “Technical Help”