[Linux] Changing the save folder ☸

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Post Reply
FactoCheat
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Jun 24, 2014 4:17 pm
Contact:

[Linux] Changing the save folder ☸

Post 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 !

bulldog98
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Tue Apr 08, 2014 6:40 am
Contact:

Re: [Linux] Changing the save folder

Post by bulldog98 »

I also think that's the way to go, maybe the same should be done for mods.

sillyfly
Smart Inserter
Smart Inserter
Posts: 1099
Joined: Sun May 04, 2014 11:29 am
Contact:

Re: [Linux] Changing the save folder

Post 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.

MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [Linux] Changing the save folder

Post 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"

starxplor
Fast Inserter
Fast Inserter
Posts: 164
Joined: Sun May 18, 2014 11:25 pm
Contact:

Re: [Linux] Changing the save folder

Post 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.

MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [Linux] Changing the save folder

Post by MF- »

hmm.. Good point as well.
(Strangely, I am somewhat surprised that linux users might want to do that)

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

Re: [Linux] Changing the save folder

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...

MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [Linux] Changing the save folder

Post 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.

MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [Linux] Changing the save folder

Post 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)

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

Suggestionsummary

Post 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.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Implemented Suggestions”