Page 1 of 1

[Linux] Changing the save folder ☸

Posted: Tue Jun 24, 2014 5:24 pm
by FactoCheat
Hello

Actually the game is saving into the 'saves' folder of the game folder
You should put this folder into the user folder (~/.factorio/saves or something like that)

Why this modification should be implemented ?
- Your saves is no longer dependent of the game folder, but the linux user folder (for exemple in windows saves files are in user folder/roaming/factorio/saves)
- Factorio will be more "linux compliant" (it is a common habit for linux games/softwares to put their config/save into the user folder, their is lots of good reasons for that)
- Nobody making bad assuming will lose their saves : Ideleted the factorio folder of the last version with my saves in it, assuming it was like most other linux games

In case my suggestion doesn't interest the game developers : no problem, i'll make a symbolic link into the game pointing on my user folder ;-)

I'm a linux developper and I really enjoy your game ! (fun; smart and every logical details are very well handled)

Continue your great job !

Re: [Linux] Changing the save folder

Posted: Wed Jun 25, 2014 9:15 am
by bulldog98
I also think that's the way to go, maybe the same should be done for mods.

Re: [Linux] Changing the save folder

Posted: Wed Jun 25, 2014 2:06 pm
by sillyfly
I haven't checked, but presumably changing the value in config-path.cfg before first running the game would accomplish that?
I think it is like that because the linux version has no installer, although I'm not sure.

Re: [Linux] Changing the save folder

Posted: Thu Jun 26, 2014 7:39 pm
by MF-
sillyfly wrote:I haven't checked, but presumably changing the value in config-path.cfg before first running the game would accomplish that?
I think it is like that because the linux version has no installer, although I'm not sure.
Installer? on linux? why?? :D

I would expect boost:filesystem to be able to expand "~/.factorio/saves"

Re: [Linux] Changing the save folder

Posted: Thu Jun 26, 2014 10:16 pm
by starxplor
I like the saves as part of game path for any standalone game. This way I can keep a game on a removable drive and the saves go with the game anywhere I take it.

Re: [Linux] Changing the save folder

Posted: Fri Jun 27, 2014 5:49 am
by MF-
hmm.. Good point as well.
(Strangely, I am somewhat surprised that linux users might want to do that)

Re: [Linux] Changing the save folder

Posted: Fri Jun 27, 2014 11:48 am
by ssilk

Re: [Linux] Changing the save folder

Posted: Fri Jun 27, 2014 2:48 pm
by MF-
The OSX chapter would work the same way for Linux too.

There is a slight downside to this approach, though.
"ln -s ~/.factorio" actually creates a link "hardcoded to your username" (/home/username/.factorio)
If the instance is shared between two system users, it won't work.

Also, there is no difference in difficulty between "edit a save path in a config" and "symlink the save dir into desired location"
Both are configuration changes. Using this way thus doesn't help.

Re: [Linux] Changing the save folder

Posted: Sat Jun 28, 2014 6:43 am
by MF-
I just learned about https://forums.factorio.com/forum/vie ... php?t=4581
Is this config option broken on linux?

If not, the only other issue is the absence of a non-zip version that would have the config enabled by default
(Which is sometimes considered more user friendly that editing a text file.. strange)

Suggestionsummary

Posted: Thu Jul 24, 2014 1:54 pm
by ssilk
As admin/computer owner (on Linux) I want to have the saves in the user-folder.
Generally make it easier to change the game-folder (this is currently a bit complicated).

Acceptance criteria:
- easy changing and administration of save-/mods- and other user relevant data destination.