Page 1 of 1

*[0.13.0] A bad save file as the default breaks loading UI

Posted: Tue Jun 28, 2016 7:21 pm
by testasdf
My computer shut down from overheating while autosaving. So I had a corrupted save file as the newest one. The next time I try to load a save file I got this:
factorio_2016-06-29_02-39-45.png
factorio_2016-06-29_02-39-45.png (1.23 MiB) Viewed 5137 times
Not a problem yet. But after I clicked OK and selected another save file:
factorio_2016-06-29_02-40-28.png
factorio_2016-06-29_02-40-28.png (1.38 MiB) Viewed 5137 times

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Tue Jun 28, 2016 7:26 pm
by kinnom
first of all, reinstall factorio with the installer

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Tue Jun 28, 2016 8:10 pm
by testasdf
It loads fine. And the problem is gone if the broken save is removed or there is a newer save.
Only some minor UI problem.

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Tue Jun 28, 2016 8:15 pm
by kinnom
It's better that you just reinstall factorio. I've had experience with damage from overheating.

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Tue Jun 28, 2016 8:26 pm
by testasdf
That reasoning isn't quite different from reinstalling the whole operating system because of this...
I have verified that no file has been changed, if that matters.

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Tue Jun 28, 2016 8:42 pm
by TruePikachu
This sort of issue will not be caused by how Factorio was installed or run, nor the exact contents of faulty savegames, but rather how well the UI code handles exceptional circumstances. Recall that much of it has been rewritten for 0.13.0, so there are several issues to be worked out still.

That said, it would be useful if you attached the savegame, as it appears to provide a 100% reproduction rate for causing an error which breaks the UI.

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Tue Jun 28, 2016 8:43 pm
by Loewchen
Please upload the save-file.

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Wed Jun 29, 2016 11:11 am
by testasdf
This forum doesn't let me upload an empty file, so this is my original broken save... To reproduce it you should modify the timestamp or remove other save files to make sure it is the newest.
Also, if I try to load this file, it gives two errors together.

I'm using Ubuntu 16.04 32 bit.

Re: [0.13.0] A bad save file as the default breaks loading UI

Posted: Sat Jul 02, 2016 12:40 am
by Loewchen
I can reproduce that (13.3):
  1. add a defect .zip file (just rename some text file) in the save folder
  2. go to load game
  3. get the error message
  4. go to other (working) save file
  5. see preview like in the picture above.

Re: *[0.13.0] A bad save file as the default breaks loading UI

Posted: Wed Jul 06, 2016 3:01 pm
by Rseding91
Fixed for 0.13.6.