Unable to load save: Corrupt map: unknown quality prototype ID 9

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.
aikisori
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Dec 29, 2025 9:07 pm
Contact:

Unable to load save: Corrupt map: unknown quality prototype ID 9

Post by aikisori »

Booted the game to play today, and the game says this message:
Corrupt map: unknown quality prototype ID 9. File has likely been corrupted due to failing hardware.
Well, the game was actually correct. I ran memtest86 and it showed 106 errors. I figured that the memory was unstable because when I lowered the frequency to 3200 mhz ands ran the test again, it passed with no errors.
However, I am now left with this issue: my last manual save, along with the 3 autosaves are all corrupted. The last save I have is the ¨first trip¨ that is automatically generated, from 10 hours of gameplay ago.
Is there any way I can repair my save or should I just bite the bullet and lose my progress? Anyway, the file is attached.
Attachments
Space Age, Mods, Railworld, 10x.zip
(21.33 MiB) Downloaded 7 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4359
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Unable to load save: Corrupt map: unknown quality prototype ID 9

Post by boskid »

That looks like a bitflip, one of items on a transport line (i was not checking which one) was corrupted as it had quality "9" saved. Happy new year.
Attachments
132222-Space Age, Mods, Railworld, 10x_fixed.zip
(18.21 MiB) Downloaded 4 times
aikisori
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Dec 29, 2025 9:07 pm
Contact:

Re: Unable to load save: Corrupt map: unknown quality prototype ID 9

Post by aikisori »

Thank you very much, happy new year for you too!
eugenekay
Filter Inserter
Filter Inserter
Posts: 915
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Unable to load save: Corrupt map: unknown quality prototype ID 9

Post by eugenekay »

If the only corruption is a Quality ID being bit-flipped (as in this case), you can solve the issue by installing the Infinite Quality Tiers mod (which makes all Quality IDs valid) and re-saving the game. Then Load the game without the Infinite Quality mod and it will "migrate" all of the Items/Entities with invalid Quality IDs away. I was able to fix your Save using this method (no Hex-editing required!)

Depending upon the type of Corruption encountered it is likely-possible that you will have unknown item prototypes as well. This can (theoretically) be resolved by adding in a lot of dummy items in a mod, but I have not tried it yet.

Good Luck!
Post Reply

Return to “Technical Help”