Page 1 of 1

Level.dat currupted?

Posted: Fri Dec 25, 2015 10:21 pm
by Ash6390
A couple of days ago I was playing Factorio normally and having a lot of fun. When done I saved the world, back to the main menu and clicked the Quit button. My computer crashed, I had to go out anyway so I just went out and thought: let's hope nothing too drastic happened. When I came back to my computer and tried booting up my world it didn't show up in the list, so I went in my Factorio folder and found the zip was corrupted. I tried fixing it, eventually it opened up, but now I found that my level.dat is corrupt, when I try to unzip it 7-Zip tells me: "CRC not correct" or something like that. I attached the ZIP so that you guys can check. I had over 31 hours of play time on that world and would be really sad if it's gone.

Sincerely, Ash

(Here's the world download: https://www.dropbox.com/s/xn05rmuuu4p2l19/SV1.zip?dl=0 )

Oh yes, when I try to open the world in factorio it throws this log:

Code: Select all

0.003 2015-12-26 15:30:41; Factorio 0.12.20 (Build 17489, win64)
   0.003 Operating system: Windows 10 
   0.003 Program arguments: "C:\Program Files\Factorio\bin\x64\Factorio.exe" 
   0.004 Read data path: C:/Program Files/Factorio/data
   0.004 Write data path: C:/Users/Famiglia/AppData/Roaming/Factorio
   0.004 Binaries path: C:/Program Files/Factorio/bin
   0.031 Available display adapters: 1
   0.031  [0]: \\.\DISPLAY1 - AMD Radeon HD 5450 {0x8000005, [0,0], 1920x1080, 32bit, 60Hz}
   0.032 Create display on adapter 0. Size 1280x720 at position [310, 162]. Monitor 0
   0.545 Initialised OpenGL:[0] AMD Radeon HD 5450; driver: 4.5.13399 Compatibility Profile Context 15.201.1151.0
   0.605 Desktop composition is active.
   0.605 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 20%] [Screen: 0]
   0.692 Loading mod core 0.0.0 (data.lua)
   0.698 Loading mod base 0.12.20 (data.lua)
   1.762 Initial atlas bitmap size is 16384
   1.768 Created atlas bitmap 16384x5504
  37.180 Info Updater.cpp:752: Downloading https://www.factorio.com/updater/get-available-versions?username=Ash6390&token=<private>&apiVersion=2
  38.720 0 packages available to download (experimental updates disabled).
  38.801 Factorio initialised
 188.291 Loading map C:/Users\Famiglia\AppData\Roaming\Factorio\saves\SV1 - Fixed.zip
 188.369 Info Scenario.cpp:123: Map version 0.12.20-1
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-s8xnhp\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-s8xnhp\src\util\logger.cpp (284): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-s8xnhp\src\util\logger.cpp (338): Logger::logStacktrace
c:\cygwin64\tmp\factorio-s8xnhp\src\util\crashhandler.cpp (81): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-s8xnhp\src\util\crashhandler.cpp (90): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD955502CE)
00007FFD955502CE (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD98788A12)
00007FFD98788A12 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD98773FE6)
00007FFD98773FE6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD987863BD)
00007FFD987863BD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD98703C00)
00007FFD98703C00 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD987854CA)
00007FFD987854CA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-s8xnhp\src\map\tile.cpp (233): Tile::load
c:\cygwin64\tmp\factorio-s8xnhp\src\surface\chunk.cpp (286): Chunk::load
c:\cygwin64\tmp\factorio-s8xnhp\src\surface\surface.cpp (497): Surface::load
c:\cygwin64\tmp\factorio-s8xnhp\src\map\map.cpp (491): Map::Map
c:\cygwin64\tmp\factorio-s8xnhp\src\scenario\scenario.cpp (132): Scenario::loadFactory
c:\cygwin64\tmp\factorio-s8xnhp\src\scenario\parallelscenarioloader.cpp (66): ParallelScenarioLoader::doLoad
c:\boost_1_58_0\boost\thread\detail\thread.hpp (117): boost::detail::thread_data<boost::_bi::bind_t<void,void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManager * __ptr64,bool),boost::_bi::list6<boost::_bi::value<ParallelScenarioLoader * __ptr64>,boost::_bi::value<MapDeserialiser * __ptr64>,boost::_bi::value<enum InputType>,boost::_bi::value<InputHandler * __ptr64>,boost::_bi::value<MultiplayerManager * __ptr64>,boost::_bi::value<bool> > > >::run
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF7DF50C923)
00007FF7DF50C923 (Factorio): (filename not available): boost::`anonymous namespace'::thread_start_function
f:\dd\vctools\crt\crtw32\startup\threadex.c (376): _callthreadstartex
f:\dd\vctools\crt\crtw32\startup\threadex.c (354): _threadstartex
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD97EA2D92)
00007FFD97EA2D92 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD986F9F64)
00007FFD986F9F64 (ntdll): (filename not available): RtlUserThreadStart
 192.540 Error Util.cpp:63: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 6:16 am
by kinnom
crashing computers can do stuff like that :( at least you can still use autosaves

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 10:36 am
by Ash6390
kinnom wrote:crashing computers can do stuff like that :( at least you can still use autosaves
I had autosaves disabled because I was playing with a friend of mine and it crashed every time it saved :(

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 10:56 am
by prg
Ash6390 wrote:I had autosaves disabled because I was playing with a friend of mine and it crashed every time it saved :(
Where's your bug report about that?

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 12:59 pm
by Ash6390
prg wrote:
Ash6390 wrote:I had autosaves disabled because I was playing with a friend of mine and it crashed every time it saved :(
Where's your bug report about that?
I actually didn't make one, thanks for the reminder. I'll work on it.

EDIT: I lied, I turned it off because it was kicking my friend every time it saved, it didn't crash :P.

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 1:51 pm
by kinnom
still a bug

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 1:53 pm
by Ash6390
kinnom wrote:still a bug
Mmh, I'll test if it still happens and if it does I'll make a bug report about it.

EDIT: Yep, it doesn't happen anymore, I'm dumb. But we are going in another direction here, what about my world, has anyone tried fixing it? :-(

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 3:20 pm
by prg
Ah, the latest edit to your first post now shows a crash when loading the save. That's a bug and should be reported. The game must not crash no matter how badly corrupted the file is. And who knows, maybe after that crash is fixed (part of) the map might become usable again. Anyway your best bet for having someone fix the save is to ask the devs since they're the only ones who know anything about the level.dat format.

Re: Level.dat currupted?

Posted: Sat Dec 26, 2015 6:13 pm
by Ash6390
prg wrote:Ah, the latest edit to your first post now shows a crash when loading the save. That's a bug and should be reported. The game must not crash no matter how badly corrupted the file is. And who knows, maybe after that crash is fixed (part of) the map might become usable again. Anyway your best bet for having someone fix the save is to ask the devs since they're the only ones who know anything about the level.dat format.
Oh ok, thanks for clearing this up a little, I'll report it.

Oh yes, where can I go to contact the devs, IF I can? EDIT:Found it.

Re: Level.dat currupted?

Posted: Fri Jan 22, 2016 11:36 pm
by CmdrKeen
about half of level.dat is missing from the save file. it's gone.