[0.13.x] NTFS junctions and saving
Posted: Tue Jul 12, 2016 1:50 pm
Unfortunately I'm unable to search (every time I go to page 2 it tells me I cannot search for a few minutes) so I cannot tell if this is an already-reported issue or not...
Essentially, Factorio does not like NTFS junctions. At all. If your save folder is within a junction location and you attempt to save than it will either hang the client immediately upon clicking the "Save" button or immediately upon completing the save (which, fortunately, completes without issue). Since it has hung the log file does not correctly update to reflect that an issue has occurred (though I will attach it anyway) Once it has hung in this manner the only way to close the client is to forcibly kill the task - no other method that I have tried has worked.
For example, I have Factorio installed to the actual location "G:\Games\Factorio". This is then mapped via a Directory Junction to "C:\Games\Factorio" (more specifically, "C:\Games" is a junction to "G:\Games"), since C is an SSD that's getting close to full (and Factorio doesn't really benefit from being on an SSD anyway). I have the client configured to store save games et-al in the install directory. If I run the game from "C:\Games\Factorio" than I experience the above save issue. Running it from "G:\Games\Factorio" works perfectly. Running via a shortcut will produce the issue only if the "Start in" directory is the junction.
Loading and actually playing the game appear to be unaffected, as do auto-saves. It's only when you attempt to manually save that an issue is encountered, and I have so far been able to reproduce this issue with every release of 0.13 (I haven't tried earlier).
PS A light-ish grey cursor on a medium grey background makes it very, very hard to see when attempting to navigate your edit box on these forums.
Essentially, Factorio does not like NTFS junctions. At all. If your save folder is within a junction location and you attempt to save than it will either hang the client immediately upon clicking the "Save" button or immediately upon completing the save (which, fortunately, completes without issue). Since it has hung the log file does not correctly update to reflect that an issue has occurred (though I will attach it anyway) Once it has hung in this manner the only way to close the client is to forcibly kill the task - no other method that I have tried has worked.
For example, I have Factorio installed to the actual location "G:\Games\Factorio". This is then mapped via a Directory Junction to "C:\Games\Factorio" (more specifically, "C:\Games" is a junction to "G:\Games"), since C is an SSD that's getting close to full (and Factorio doesn't really benefit from being on an SSD anyway). I have the client configured to store save games et-al in the install directory. If I run the game from "C:\Games\Factorio" than I experience the above save issue. Running it from "G:\Games\Factorio" works perfectly. Running via a shortcut will produce the issue only if the "Start in" directory is the junction.
Loading and actually playing the game appear to be unaffected, as do auto-saves. It's only when you attempt to manually save that an issue is encountered, and I have so far been able to reproduce this issue with every release of 0.13 (I haven't tried earlier).
PS A light-ish grey cursor on a medium grey background makes it very, very hard to see when attempting to navigate your edit box on these forums.