[1.1.30] Cant load Savegame - Bad Zip File

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.
Post Reply
Faulidenga
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Apr 09, 2020 1:16 pm
Contact:

[1.1.30] Cant load Savegame - Bad Zip File

Post by Faulidenga »

Hi, I´m playing Factorio for 2000+ hours and today I have witnessed my first Bug.
I have played earlier today without any negativ events. I saved the game and closed the program using the Exit button.
Some hours later i came home again, started my pc, started Factorio and wanted to load my save, but Factorio tells me:

Notice
[savegame location]/ZwölfterVersuch.zip failed: Bad zip file

So i cant open my savegame. The strange thing is, that i keep a duplicate of all my savefiles but I get the same error with both. The autosaves dont work too, same error.
Older savegames from previous games are working.

So i lost hundreds of hours of work :(

P.S.: I use the Upgraded Gas Generator mod. But i havent placed any mod entity in this savegame yet.
Attachments
factorio-current.log
(6.57 KiB) Downloaded 127 times
factorio-previous.log
(6.5 KiB) Downloaded 127 times
Zwölfter Versuch.zip
(49.63 MiB) Downloaded 143 times

Loewchen
Global Moderator
Global Moderator
Posts: 8284
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by Loewchen »

Some hardware of yours seems to be dying.

GrumpyJoe
Filter Inserter
Filter Inserter
Posts: 443
Joined: Fri Apr 06, 2018 7:10 pm
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by GrumpyJoe »

Faulidenga wrote:
Mon Apr 05, 2021 5:09 pm

Older savegames from previous games are working.

So i lost hundreds of hours of work :(
If the "older games" you tested have not autosaved while testing them, your auto save should have a working version from "zwölfter versuch"

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by ptx0 »

Loewchen wrote:
Mon Apr 05, 2021 5:16 pm
Some hardware of yours seems to be dying.
naw this is happening more frequently for me on 1.1.30 as well.

i've got non-blocking saves enabled. does the OP?

you could have asked a few questions instead of throwing out the vague "1/0 magic" BS excuses.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by posila »

ptx0 wrote:
Tue Apr 06, 2021 1:47 am
naw this is happening more frequently for me on 1.1.30 as well.
What do you mean by "this" - game saves without any apparent problem, but the produced ZIP file is from some point just zeroes? (In this particular case, 99.9% of the file are just zeroes)

Also, what do you mean by "more frequently"? Normal is that it doesn't happen ever. Do you experience this issue regularly? Since when?
ptx0 wrote:
Tue Apr 06, 2021 1:47 am
i've got non-blocking saves enabled. does the OP?
As can be seen from the logs OP provided, OP uses Windows build, which doesn't have non-blocking saving feature.
ptx0 wrote:
Tue Apr 06, 2021 1:47 am
you could have asked a few questions instead of throwing out the vague "1/0 magic" BS excuses.
What questions should we ask when someone experiences this issue?

User avatar
Impatient
Filter Inserter
Filter Inserter
Posts: 880
Joined: Sun Mar 20, 2016 2:51 am
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by Impatient »

Holly manoly! Does that mean savegames are not safe? I never experienced this bug, but I override my megabase save every time (vs creating a new one with ticking up postfixes).

I will switch to saving with ticking up postfixes for now, although this will cost a lot of disk space.

User avatar
Impatient
Filter Inserter
Filter Inserter
Posts: 880
Joined: Sun Mar 20, 2016 2:51 am
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by Impatient »

Looking at the op's log file, I see

Code: Select all

   0.001 Operating system: Windows 10 (version 2004) 
In my log file, it says (up to date win10)

Code: Select all

   0.002 Operating system: Windows 10 (build 19042) 
I am pointing this out, because I was thinking, that maybe the zip libraries, the OP's OS is using, are faulty or do not work well with factorio. @Faulidenga: Did you change anything with your OS (reinstall, up-/downgrade, install or remove applications) before that happened?

What zip library does Factorio use? It's own or some OS libraries?

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by posila »

Impatient wrote:
Tue Apr 06, 2021 11:42 am
What zip library does Factorio use? It's own or some OS libraries?
It's statically linked zlib

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.1.30] Cant load Savegame - Bad Zip File

Post by ptx0 »

posila wrote:
Tue Apr 06, 2021 11:03 am
ptx0 wrote:
Tue Apr 06, 2021 1:47 am
naw this is happening more frequently for me on 1.1.30 as well.
What do you mean by "this" - game saves without any apparent problem, but the produced ZIP file is from some point just zeroes? (In this particular case, 99.9% of the file are just zeroes)

Also, what do you mean by "more frequently"? Normal is that it doesn't happen ever. Do you experience this issue regularly? Since when?
ptx0 wrote:
Tue Apr 06, 2021 1:47 am
i've got non-blocking saves enabled. does the OP?
As can be seen from the logs OP provided, OP uses Windows build, which doesn't have non-blocking saving feature.
ptx0 wrote:
Tue Apr 06, 2021 1:47 am
you could have asked a few questions instead of throwing out the vague "1/0 magic" BS excuses.
What questions should we ask when someone experiences this issue?
anything that would help in getting a solution. as you've pointed out, they run Windows (is it WSL? native? i don't know how that stuff works.) and I run Linux, so asking me for questions on my issue is probably unhelpful here.

however, I didn't notice it before a fix for Steam + non-blocking saves went in during mid-to-late 1.1 releases. i never had this happen before that. and in my case, i have to wait a few moments after the save progress bar completes before doing anything.

it's possible they've quit the game before the save completes. that is totally possible here and it results in a corrupt zip file.

however, that still occurs even after the progress bar completes - i have to wait, to ensure the zip file works. sometimes i save it twice just to avoid the possibility of losing several hours of work.

after the third time, i set my number of autosaves to 99 and 1 minute interval.

Post Reply

Return to “Technical Help”