Move `~/.stratagus` elsewhere?
Is it possible to define a custom location for ~/.stratagus? Personally, I prefer to keep my home directory as clean as possible. It looks like there's a -d flag that should do what I want, but all I see are messages related to not finding the game files. Am I missing something? Is there an environment variable I can set?
It's not possible to define a custom location for ~/.stratagus
it probably should go into ~/.config/stratagus, i guess
Bummer :(
Technically, if we're following proper XDG specifications, extracted game files should go in ~/.local/share/stratagus and any config files should go in ~/.config/stratagus. To be more correct, stratagus should look for $XDG_CONFIG_HOME and $XDG_DATA_HOME; falling back to the aforementioned directories if those variables are undefined.
thanks, the last time I checked how XDG specifies that was years ago and I had forgotten. It's only one place in the codebase, iirc, maybe I'll get to it sometime, or someone else will
Fixed in master. Data is now extracted to XDG_DATA_HOME and savegames and config files are stored in XDG_CONFIG_HOME