Application directory/Changing the save directory: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(added where I found my win/steam save directory)
(Why were we teaching people how to make symlinks?)
Tag: New redirect
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
#REDIRECT[[Application_directory]]
{{sublinks}}
 
New: See basically this thread: http://www.factorioforums.com/forum/viewtopic.php?f=49&t=12460
 
By default the save location is at this path:
 
* Windows (Zip file): <code><install directory>\saves</code>
* Windows (Installer): <code>C:\Users\<username>\AppData\factorio\saves</code>
* Windows (Steam): <code>C:\Users\<username>\AppData\Roaming\factorio\saves</code>
* OSX: <code>~/Library/"Application Support"/factorio/saves</code>
* Linux: ~/.factorio/saves
 
 
To store just your saves in something like Dropbox, do the following while the game isn't running:
 
# Move your saves to the new location
# Remove the existing saves directory
# Make a symlink to the new saves directory
 
 
For our examples I'll assume I've created a directory in my Dropbox named factorio and created another directory inside that called saves:
 
* Windows: <code>D:\Dropbox\factorio\saves</code>
* OSX: <code>~/Dropbox/factorio/saves</code>
 
===Windows:===
# Open a command prompt as administrator: <code>Start Menu->All Programs->Accessories->Right-click on Command Prompt and select Run as Administrator</code>
# Change to the factorio directory: <code>cd \<install directory></code> or <code>cd \Users\<username>\AppData\factorio</code>
# Make the link: <code>mklink /D saves D:\Dropbox\factorio\saves</code>
# If done correctly, should look like this: <code>05/06/2014  07:57 PM    <SYMLINKD>    saves [d:\Dropbox\factorio\saves]</code>
 
Another method is a program called Junction Link. See this thread: http://www.factorioforums.com/forum/viewtopic.php?f=5&t=8026&p=67220#p67192
 
===OSX:===
# Open Terminal
# Change to the directory: <code>cd ~/Library/"Application Support"/factorio/"</code>
# Create the symlink: <code>ln -s ~/Dropbox/factorio/saves</code>
# If done correctly, <code>ls -alF</code> should show something like: <code>lrwxr-xr-x  1 username  staff      37 May  6 17:40 saves -> /Users/username/Dropbox/factorio/saves</code>
 
== More tips ==
''' Don't load the same save on two different computers at the same time '''
 
Dropbox will generate a sync error and create alternate files, other sync programs may have different behaviors.
 
http://www.factorioforums.com/forum/viewtopic.php?f=49&t=4581

Latest revision as of 18:15, 14 June 2019