Page 1 of 1

Crashing on loading all recent saves - latest build Steam

Posted: Wed Nov 10, 2021 7:08 pm
by oodle600
Hi all,

I appreciate you taking the time to look into this.

I was playing Factorio a few hours ago without any issue, upon trying to load my main game save now, the game crashes.
This is also applicable to all 3 of the autosaves.
I am able to load much older saves, but I would rather not lose 10+ hours of work.

What did you do?
Save the game manually and then close the game from the menu. Upon launching the game, I tried to 'continue' and the game crashed after the loading bar reached 100%.

What happened?
The game froze, then I heard the windows error noise, I Alt+Tabbed to the error and opened the log. I have since tried to reload the other autosaves but experienced the same outcome.

What did you expect to happen instead? It might be obvious to you, but do it anyway
I expected the game to load without any errors.

Am I correct to say this is the error?

Code: Select all

Stack trace logging done
  24.549 Error FourDirectionPointers.hpp:24: Wrong direction of FourDirectionPointers.
Any fix is appreciated, I don't mind getting technical :P

Please see below for links:
Factorio-Current.log - https://pastebin.com/pJW5gu1q
Main save - https://1drv.ms/u/s!App5vQ6hF76Rg17BuC7 ... w?e=QrdwDi

PC SPECS
OS & Game Storage - 1TB Samsung 970 EVO NVME M.2
Other Storage - N/A
RAM - 2* 16 GB 3200MHZ Corsair Vengeance Pro DDR4
CPU - AMD Ryzen 9 5900x - OC'd by Ryzen Master Auto Profile
GPU - Zotac GTX 1080ti (all drivers up to date)
PSU - N/A (750Watt)
CPU Cooler - Corsair H150i RGB Pro XT
Motherboard - Gigabyte Aorus AMD x570 PRO Motherboard

OS - Windows 10 Pro
Version - 21H1

Steam Factorio Build ID - 7662865


EDIT: This is with 0 mods installed but occurred after I used a cheat command to set the biters to peaceful

Re: Crashing on loading all recent saves - latest build Steam

Posted: Thu Nov 11, 2021 8:06 am
by boskid
This is not the game issue but rather a corrupted save file. The crash itself is quite obvious since it is trying to setup express-transport-belt at position {371.5, -128.5} which has direction of... NorthEast
100574.png
100574.png (365.08 KiB) Viewed 1021 times

Here is a fixed save file. I managed to fix it with hex editor by changing exactly 1 byte from a value of 0x11 into 0x00 (after repackaging the chunked level.dat into a one larger piece with some internal tools):
100574-Main1-fixed.zip
(28.83 MiB) Downloaded 87 times

Do you have any clues about what was happening here?

Re: Crashing on loading all recent saves - latest build Steam

Posted: Fri Nov 12, 2021 12:02 am
by oodle600
I have no clue, I have not even touched that area for well over 20 hours of game time.
Is there any other way I can help work out what would have caused this?

That transport belt is part of a system to get both transporter lanes full, just a laziness

EDIT!!!: I became so distracted trying to work out what happened I completely forgot to say THANK YOU!!!