I've been trying to ask around on Discord and google this for about an hour now, but to no real help so far.
I played a online map a few days ago and the server was running 0.17.79, (I was running latest experimental just before which were 0.18.31 at the time) and I know that if I downgrade the game version my current bp library will be unusable.
So I made a backup copy of my bp file, and put it in another directory.
So I wanted to go back to latest experimental, which had in the meanwhile been upgraded to 0.18.32.
But my blueprints didn't show up, so I thought I might have to begin from 0.18.31 and then restore my save.
So if I go back to 0.18.31 and restore the backup it works fine.
But if I upgrade to 0.18.32 afterwards the library isn't showing up at all.
I do really like my library, and I'd really like it back. What could be the issue?
The backup file does work as it should, as far as I know.
[SOLVED][0.18.32] Blueprint library restoration?
[SOLVED][0.18.32] Blueprint library restoration?
Last edited by OlaEli on Thu Jun 18, 2020 6:09 pm, edited 3 times in total.
Re: Blueprint library restoration?
Hm, I know there have been issues with the file blueprint-storage.dat in the past, when downgrading and upgrading again. Though haveing a backup usually solves all the problems.
I had a look in the factorio user directory and found some places that could affect the bp-storage.
I had a look in the factorio user directory and found some places that could affect the bp-storage.
- In the file blueprint-storage.dat itself, there seems to be a list of migration scripts the storage has to be run through to be usable in a version. But I don't see anything for a version later than 0.17.something. So strike this one from the list.
- In the file config.ini there is the option disable-blueprint-storage, but which usually is commented out and mostlikely defaults to false anyways, unless something messed up your config.
- A bit more likely option is enable-blueprint-storage-cloud-sync. If that is true, then maybe you get an empty storage synced into your folder, which was created when you downgraded factorio? I don't really know.
- And in player-data.json there is the porperty last-played-version. If that got messed up, it maybe has some effect on factorios willingness to accept a certain storage file.
Re: Blueprint library restoration?
Thanks for the information!
I will test it out when I get home tonight.
I will test it out when I get home tonight.
Re: Blueprint library restoration?
You were right about the cloud sync!Impatient wrote: ↑Wed Jun 17, 2020 10:25 pm Hm, I know there have been issues with the file blueprint-storage.dat in the past, when downgrading and upgrading again. Though haveing a backup usually solves all the problems.
I had a look in the factorio user directory and found some places that could affect the bp-storage.
I don't have any speculations beyond that.
- In the file blueprint-storage.dat itself, there seems to be a list of migration scripts the storage has to be run through to be usable in a version. But I don't see anything for a version later than 0.17.something. So strike this one from the list.
- In the file config.ini there is the option disable-blueprint-storage, but which usually is commented out and mostlikely defaults to false anyways, unless something messed up your config.
- A bit more likely option is enable-blueprint-storage-cloud-sync. If that is true, then maybe you get an empty storage synced into your folder, which was created when you downgraded factorio? I don't really know.
- And in player-data.json there is the porperty last-played-version. If that got messed up, it maybe has some effect on factorios willingness to accept a certain storage file.
I got it up and running again, just by disabling cloud sync.
Thanks alot!
Re: Blueprint library restoration?
Hey! Cool! And thanks for your feedback. Makes this thread a resource of knowledge. You could mark this topic as solved, by putting [SOLVED] in the thread title (by editing the title of your first post), like here ( viewtopic.php?f=25&t=86060 ).
Re: Blueprint library restoration?
Thanks for the guidance! I do very rarely have problems with Factorio, so I'm not an experienced user of the forum.Impatient wrote: ↑Thu Jun 18, 2020 5:57 pm Hey! Cool! And thanks for your feedback. Makes this thread a resource of knowledge. You could mark this topic as solved, by putting [SOLVED] in the thread title (by editing the title of your first post), like here ( viewtopic.php?f=25&t=86060 ).
Re: [SOLVED][0.18.32] Blueprint library restoration?
This thread helped me a lot. I had a problem restoring my blueprint library (blueprint-storage.dat) from a backup after I've deleted it for testing stuff.
nb: I had my blueprints still available even after deleting the file, I had to delete all books/blueprints from the ingame menu to get it empty.
After restoring the file from my backup it was still empty. This trick does it for me:
nb: Maybe it's enough to turn the setting off and on again (with confirm in between), to mark the local file for "please upload to cloud".
Thanks @OlaEli @Impatient for your posts
nb: I had my blueprints still available even after deleting the file, I had to delete all books/blueprints from the ingame menu to get it empty.
After restoring the file from my backup it was still empty. This trick does it for me:
- Restore your blueprint-storage.dat
- Start the game
- Empty the checkbox "Enable blueprint library Cloud Sync" (Settings -> Other")
- Load a save, make sure you library is back
- Return back to main menu (stop playing)
- Now you can enable the cloud sync feature again (checkbox "Enable blueprint library Cloud Sync")
nb: Maybe it's enough to turn the setting off and on again (with confirm in between), to mark the local file for "please upload to cloud".
Thanks @OlaEli @Impatient for your posts
- Twisted_Code
- Long Handed Inserter
- Posts: 91
- Joined: Sat Jun 06, 2015 1:15 am
- Contact:
Re: [SOLVED][0.18.32] Blueprint library restoration?
I was also having trouble restoring a blueprint library backup I had.Yenz wrote: ↑Thu Mar 25, 2021 11:13 am This thread helped me a lot. I had a problem restoring my blueprint library (blueprint-storage.dat) from a backup after I've deleted it for testing stuff.
nb: I had my blueprints still available even after deleting the file, I had to delete all books/blueprints from the ingame menu to get it empty.
After restoring the file from my backup it was still empty. This trick does it for me:Screenshot 2021-03-25 120550.png
- Restore your blueprint-storage.dat
- Start the game
- Empty the checkbox "Enable blueprint library Cloud Sync" (Settings -> Other")
- Load a save, make sure you library is back
- Return back to main menu (stop playing)
- Now you can enable the cloud sync feature again (checkbox "Enable blueprint library Cloud Sync")
nb: Maybe it's enough to turn the setting off and on again (with confirm in between), to mark the local file for "please upload to cloud".
Thanks @OlaEli @Impatient for your posts
This post helped me greatly, and I think I understand what's going on (I think this setting controls whether the game reads the blueprints from %APPDATA%\Factorio or directly from Steam's "remote"/cloud folder for the game), but I'm still confused by the overall behavior.
Here's the process I initially went through, and my assumptions along the way:
- I down-dated (opposite of update) the game to version 1.0, got the error about not being able to read the blueprint storage, so it renamed the unreadable storage "blueprint-storage-backup" as usual. This was placed in %APPDATA%, adjacent to blueprint-storage.dat, implying I would just need to copy the backup back into place, in that same folder
- I updated the game back to the original version (1.1.59, specifically). Figuring nothing would be wrong, I removed blueprint-storage.dat and renamed (yes, RENAMED) "blueprint-storage-backup.dat" > "blueprint-storage.dat"
- I spent the next hour or 2 trying to troubleshoot why, despite my restored blueprint-storage.dat clearly having over a megabyte of data in it... the game was saying my blueprint library was empty.
- I eventually happened upon this thread and followed the steps above.
PS:
@Yenz: what does "nb:" stand for?
How to report bugs effectively (archived version)because everyone should know this.
The game's tech tree, a visual reference guide.
The game's tech tree, a visual reference guide.
Re: [SOLVED][0.18.32] Blueprint library restoration?
nota bene: note well; note
- Twisted_Code
- Long Handed Inserter
- Posts: 91
- Joined: Sat Jun 06, 2015 1:15 am
- Contact:
Re: [SOLVED][0.18.32] Blueprint library restoration?
for some reason I did not recognize the abbreviation, though I have come across the phrase before. Thank you for the clarification!
How to report bugs effectively (archived version)because everyone should know this.
The game's tech tree, a visual reference guide.
The game's tech tree, a visual reference guide.