Page 1 of 1

Game freezes and then crashes on Save

Posted: Thu Apr 14, 2016 7:00 am
by Wheerd
I have the following problem with the steam version of the game, without any mods installed:

After I have loaded a game, if I try to save, the game freezes. After a while, I get an error message box with:

Code: Select all

---------------------------
Error
---------------------------
boost::filesystem::read_symlink: The process cannot access the file because it is being used by another process: "C:/users
---------------------------
OK   
---------------------------
Saving works fine, if I have started a new game, but if the current game was loaded, it crashes like this reproduceably.
It maybe the case because my actual Users folder is on a different partition (D:), and C:\Users is only a symlink (NTFS Junnction) pointing to that folder.
I don't know if that causes problems, as it should be completely transparent to any prgrams accessing the path.

I have attached the log.

Re: Game freezes and then crashes on Save

Posted: Thu Apr 14, 2016 9:47 am
by Koub
viewtopic.php?f=48&t=20883&hilit=symlink
I think this will be useful for you.

Re: Game freezes and then crashes on Save

Posted: Thu Apr 14, 2016 4:13 pm
by Wheerd
Ah, thanks, using that I was able to fix it.

For anyone encountering the same problem:
I had to add the following as a lauch option in steam (Rickt click on Factorio -> Properties -> Set Launch Options):

Code: Select all

 --config "D:\users\wheerd\AppData\Roaming\Factorio\config\config.ini"
You will have to adapt the path to your absoulte User folder location.

Re: Game freezes and then crashes on Save

Posted: Thu Apr 14, 2016 5:26 pm
by Koub
Confirmed duplicate of 20883
[Koub] : moved topic to Duplicates.