[16.22] Loading blueprint storage failed after downgrading

Bugs that are actually features.
mafisch3
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Feb 02, 2018 11:45 pm
Contact:

[16.22] Loading blueprint storage failed after downgrading

Post by mafisch3 »

Today i did a downgrade from latest Experimental Release 16.22 to 16.21 to be able to play on a multiplayer server. As soon as i did load the multiplayer map (no mods, then running on 16.21) i got the following error:
FailedToLoadBlueprintLibrary.PNG
FailedToLoadBlueprintLibrary.PNG (78.65 KiB) Viewed 1941 times
After this error my blueprint library was completely empty, but luckily it was backuped to blueprint-storage-backup.dat (i had to rename the file extension to txt to upload it here).
blueprint-storage-backup.txt
(2.96 MiB) Downloaded 118 times
To restore the blueprint library i tried the following steps:
1. Restore the blueprint-library.dat by first removing the original and renaming the backup to the originals name, start a 16.22 singleplayer game, default settings
2. Restore as described, starting a game with 16.21 singleplayer game
3. Restore as described, starting a singleplayer game with 16.20
4. Restore as described, starting a multiplayer game with 16.22
All these steps always ended with the warning and no blueprint library available. In the log the following warning is logged (whole log until warning):
factorio-current.log
(4.17 KiB) Downloaded 108 times
Warning BlueprintShelf.cpp:599: Loading blueprint storage failed: Map version 8224.8208.8214-8193 cannot be loaded because it's higher than the game version

Even with the highest currently available version 16.22 i can't the blueprint library anymore. I sent the blueprint-storage-backup.dat to a friend who tried to load it, he also could not load it. Beside the warning and the missing library the game works as usual.
Is there a way i can restore the attached blueprint library? It's was quite some work to bring it together.
orzelek
Smart Inserter
Smart Inserter
Posts: 3928
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [16.22] Loading blueprint storage failed after downgrading

Post by orzelek »

Downgrading of the game version is not supported for save files so I'm guessing it also doesn't work for blueprint storage.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16102
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.22] Loading blueprint storage failed after downgrading

Post by Rseding91 »

orzelek wrote:Downgrading of the game version is not supported for save files so I'm guessing it also doesn't work for blueprint storage.
Correct. Additionally your blueprint-storage.dat file is completely broken. Did you open it in notepad and re-save it as plain text? Because looking at the contents it's beyond fixing. Sorry about that.
If you want to get ahold of me I'm almost always on Discord.
mafisch3
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Feb 02, 2018 11:45 pm
Contact:

Re: [16.22] Loading blueprint storage failed after downgrading

Post by mafisch3 »

Thank you for the fast answers.
To the first answer: As i already wrote in the first post, I tried to load the restored backup with 16.22, which is not a downgrade anymore, and it still did not work.
The file i did upload was never manually manipulated by me. What exactly of the content is broken? If it is broken, why is Factorio displaying me a error message indicating that the version is wrong and not that the file is broken?
It's quite a difficult file format which seems to serialize every position in the blueprints together with repeated version information and a item to ansi-code mapping. As i could not find any human readable information inside the file, like in xml or json format, it will be impossible to me to somehow fix it and i did not and i will not try to change it manually.
Due to the file format i can't change and the backup made which does not work i did this post with the hope to get some help to restore my blueprint library, but apparently it won't be possible.

Maybe changing the file format or a version based folder structure, especially in the experimental build releases, could prevent such problems. According to the short answers i'll try to rebuild my blueprint library from save files. As this is not seen as a bug you may close the thread.
Post Reply

Return to “Not a bug”