Page 1 of 1

[Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Wed May 31, 2017 11:00 am
by lyoneel
Hi, i prefer tu use linux all the time, but sometimes i have to go to game launcher (Windows),
when i change the OS, open factorio, i open my blueprint library and all my books are duplicated, is annoying because has the same name and same everything, at least will be useful to add a (2) or something to book name to avoid any error deleting the duplicates.

ty.

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Wed May 31, 2017 5:13 pm
by VFaalcatnodriiro
Yeah, same here....

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Wed May 31, 2017 5:50 pm
by TruePikachu
If someone can upload their `blueprint-storage.dat` file, that might help.

Is this with Steam or standalone?

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Wed May 31, 2017 7:37 pm
by VFaalcatnodriiro
I already deleted the duplicates -.-

On Windows 10: Steam.
On Linux: Standalone.

Will provide the file(s) when it happens again.

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Thu Jun 01, 2017 2:22 pm
by kovarex
Hello, can you provide the log? How do you share the blueprint books? Steam?

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Thu Jun 01, 2017 2:24 pm
by lyoneel
TruePikachu wrote:If someone can upload their `blueprint-storage.dat` file, that might help.

Is this with Steam or standalone?

Sorry about delay, steam in both OSes

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Thu Jun 01, 2017 2:30 pm
by lyoneel
kovarex wrote:Hello, can you provide the log? How do you share the blueprint books? Steam?
idk how really works the BP sharing, context:

- Server Linux headless, lastest experimental.
- I use the clients in different OSes thought steam.
- There is no user interaction in BPs, no string import.
- Vanilla, no mods installed.

im gonna get the logs, ill send you today or tomorrow.

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Thu Jun 01, 2017 4:13 pm
by lyoneel
lyoneel wrote:
kovarex wrote:Hello, can you provide the log? How do you share the blueprint books? Steam?
idk how really works the BP sharing, context:

- Server Linux headless, lastest experimental.
- I use the clients in different OSes thought steam.
- There is no user interaction in BPs, no string import.
- Vanilla, no mods installed.

im gonna get the logs, ill send you today or tomorrow.
Details:
- I already have a "clean" BP from duplicates from linux client yesterday, and i add a "z" prefix.
- I update factorio to 0.15.17 today, start server
- Connect from windows OS, and i got this:
Windows screenshot
Server log
Windows client log
linux screenshot
Server log
Continue in next post exceeds limit (60k)

Re: [0.15.x] Duplicate blueprint when using game different OSes

Posted: Thu Jun 01, 2017 4:14 pm
by lyoneel
Linux client log
TY for [ spoiler ] edition/fix, first time :D

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Mon Jun 05, 2017 10:12 am
by _Peter_
I use factorio on Ubuntu 16.04 Steam and on another computer on Ubuntu 14.04 Steam.

I have the same duplication issues. In the blueprint library equal blueprints appear. If I want to "achieve" this manually, I cannot, because I get the error message "Cannot export blueprint. An identical blueprint already exists."

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Wed Jun 14, 2017 2:33 pm
by sesurb
I go between 2 different computers and this happens to me. I will sometimes get 4 or 5 different copies of a blueprint. In my case both are Windows 10 but may be slightly different versions. I think, not positive though that it may be duplicated when I open a different save on one of these computers. It has been getting out of hand lately and but I have been switching computers, saves and creating blueprints from other save files for my new game.

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Wed Jun 21, 2017 8:00 am
by _Peter_
This post is for my blueprint-storage.dat - to see how I generated this situation, please read my "workflow" in viewtopic.php?f=7&t=50015

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Wed Jun 28, 2017 6:41 am
by Hottemax
sesurb wrote:I go between 2 different computers and this happens to me. I will sometimes get 4 or 5 different copies of a blueprint. In my case both are Windows 10 but may be slightly different versions. I think, not positive though that it may be duplicated when I open a different save on one of these computers. It has been getting out of hand lately and but I have been switching computers, saves and creating blueprints from other save files for my new game.
Confirmed, I have the same issue (Factorio 0.15.23, Windows 10 on both machines, synced over Steam cloud, single player only). Blueprints are duplicated after loading the cloud save on machine 2 after finishing a session on machine 1.

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Sun Jul 02, 2017 4:45 pm
by necrobraska
Hottemax wrote:
sesurb wrote:I go between 2 different computers and this happens to me. I will sometimes get 4 or 5 different copies of a blueprint. In my case both are Windows 10 but may be slightly different versions. I think, not positive though that it may be duplicated when I open a different save on one of these computers. It has been getting out of hand lately and but I have been switching computers, saves and creating blueprints from other save files for my new game.
Confirmed, I have the same issue (Factorio 0.15.23, Windows 10 on both machines, synced over Steam cloud, single player only). Blueprints are duplicated after loading the cloud save on machine 2 after finishing a session on machine 1.
Confirmed, seems to be related to steam sync of saves when saves originate from different machines, both my blueprint books and/or blueprints inside of books duplicate. I play on a windows 10 desktop, and windows 10 pro laptop.

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Mon Jul 03, 2017 4:20 pm
by Oxyd
Can one of you please post the exact steps needed to reproduce this? Just enabling Steam Sync and loading the same save on a different machine doesn't duplicate anything for me. Neither does manually copying the save, and neither does connecting to the same server from two different clients.

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Tue Jul 04, 2017 12:32 pm
by kovarex
Thanks for the report, the issue is fixed for the next version.

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Thu Jul 06, 2017 6:55 pm
by necrobraska
Awesome job, i missed the connection that you release patches more often then i switch machines. Time to check this out.

Thanks!

Re: [Oxyd] [0.15.x] Duplicate blueprint when using game different OSes

Posted: Thu Jul 06, 2017 8:39 pm
by dgw
This was making me crazy, but I never made the connection either. Also explains why it stopped happening as often (I've been more consistent about running Factorio on the same PC, using Steam streaming when needed). Thanks!