Saves directory

Post all other topics which do not belong to any other category.
Post Reply
Mion
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Thu Dec 04, 2014 7:38 am
Contact:

Saves directory

Post by Mion »

Hello!
I have a question.

I play Factorio on several computers, therefore I constantly copy my saves from one computer to another.
But Dropbox is solution!

So my question is: how can I do so Factorio will take saves from folder which I will indicate?
For example: Let game take saves from /user/dropbox/factorio/saves.

I don't find this setting in config.ini and other Factorio files.
And this is not a solution to put Factorio folder into Dropbox folder :) .

Thanks!

Martc
Long Handed Inserter
Long Handed Inserter
Posts: 85
Joined: Wed May 21, 2014 8:20 am
Contact:

Re: Saves directory

Post by Martc »

You can use symbolic link to do that.
Just move saves to dropbox folder and create symbolic link in Factorio folder.

Symbolic link can be created in command line with mklink command (admin rights needed).
Here is guide how to make symbolic links
http://www.howtogeek.com/howto/16226/co ... s-or-linux

Mion
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Thu Dec 04, 2014 7:38 am
Contact:

Re: Saves directory

Post by Mion »

Martc wrote:You can use symbolic link to do that.
Just move saves to dropbox folder and create symbolic link in Factorio folder.

Symbolic link can be created in command line with mklink command (admin rights needed).
Here is guide how to make symbolic links
http://www.howtogeek.com/howto/16226/co ... s-or-linux
Thank you very much! It works well.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Saves directory

Post by ssilk »

Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Zenith
Inserter
Inserter
Posts: 20
Joined: Mon Jan 12, 2015 10:55 am
Contact:

Re: Saves directory

Post by Zenith »

Hi all,

Just my 2p worth.

I use a program called Junction Link Magic http://www.rekenwonder.com/linkmagic.htm. I know the command line isn't that hard to use, but this has a straight forward GUI for selecting the folders to create the link.

The process I follow is (on first PC):
  • Create a folder for your save files within the dropbox folder
  • Cut/Paste your save files from factorio into the new folder within dropbox (leaving the original folder empty)
  • Use Junction Link Magic to create a link between the save folder within factorio and the save folder within dropbox
  • Go to your factorio saves folder and check your save files have appeared
The process on other PCs is then:
  • Make sure dropbox is installed and working (duh)
  • Remove any save files from the factorio folder
  • Use Junction Link Magic to create a link between the save folder within factorio and the save folder within dropbox
  • Go to your factorio saves folder and check your save files have appeared
Now, whichever PC you are on each time you save your progress (including auto-saves) the files will be syncronised to dropbox and across any other PCs you have configured.

A quick tip however, when using each PC make sure dropbox is running and up to date before firing up Factorio and loading your game. This helps ensure you have the most recent version of your save games before you continue playing.

Hope that helps.

DISCLAIMER: If you break something, don't blame me. As with everything make sure you have backups before tinkering with your computer.

Thanks,

Zenith

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Saves directory

Post by ssilk »

You know, this is nothing else than a hardlink?

See also how to change the application directory otherwise: https://forums.factorio.com/wiki/inde ... _directory
And a more details doc: https://forums.factorio.com/wiki/inde ... _directory
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Zenith
Inserter
Inserter
Posts: 20
Joined: Mon Jan 12, 2015 10:55 am
Contact:

Re: Saves directory

Post by Zenith »

ssilk wrote:You know, this is nothing else than a hardlink?
Yeah I know for most people this is nothing new and something we all do (I've got lots of similar setups going to dropbox to synronise folders) but not everyone would have come across it before.

That's why i thought posting some simple instructions may help someone.

Cheers

Zenith

Mark100
Inserter
Inserter
Posts: 21
Joined: Mon May 18, 2015 2:37 am
Contact:

Re: Saves directory

Post by Mark100 »

In the Internet its stated that a symbolic link is something different then a hardlink.

And the junction Link Magic -program doesn't work for me, i can choose the files but the "create"-button is not active, i simply cannot create a SYM-link.

At least dropbox-installing worked.

I'm not familiar with all these programming things, is there a clear and simple solution to make a symlink ?
I tried to make one with the cmd-prompt(yes i opened it as a administrator) but i did not manage to make more then a syntax error.
Cannot imagine that it must be that difficult to make such a symlink.

Then i found a program named "link shell extension", but it needs the 2005 distribution pack SP1. I have 3 of them on my pc and i installed a 4th one. as i downloaded the link shell extension it told me still i need the 2005 and-so-one.

Any solution ?

EDIT: now i managed to enter a link without syntax-error in the cmd-window, but not it says: "the system cannot find the path you entered." But i entered the correct paths in both lines.

here is what i entered(I tried with another game because don't have factorio installed yet):

mklink /D "C: \Programme(x86)\Steam\steamapps\common\risingworld\Worlds" C:\Users\Markus\Dropbox

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: Saves directory

Post by Choumiko »

Mark100 wrote:mklink /D "C: \Programme(x86)\Steam\steamapps\common\risingworld\Worlds" C:\Users\Markus\Dropbox
Try C:\Program Files (x86) instead of the german version.

Mark100
Inserter
Inserter
Posts: 21
Joined: Mon May 18, 2015 2:37 am
Contact:

Re: Saves directory

Post by Mark100 »

Thanks for the hint but not working, tried with space and without.I checked again the path, but every letter is correct, no clue why it's not working.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Saves directory

Post by ssilk »

https://forums.factorio.com/forum/vie ... 281#p87281

This explains, how to use the config-path.cfg to do this.

Someone really should put that into the wiki. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Mark100
Inserter
Inserter
Posts: 21
Joined: Mon May 18, 2015 2:37 am
Contact:

Re: Saves directory

Post by Mark100 »

Thanks for the link but its for MAC, i'm on windows 7. And the poster says he's not sure if it works.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Saves directory

Post by ssilk »

config-path.cfg should be also available under windows.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Mark100
Inserter
Inserter
Posts: 21
Joined: Mon May 18, 2015 2:37 am
Contact:

Re: Saves directory

Post by Mark100 »

I don't understand what he is describing there. I'm not a computer expert and i don't know what to enter in the cmd and where to enter the path of my files. Is there nothing clear, a non-professor can understand also ?

Post Reply

Return to “General discussion”