I noticed that currently Trine 2 (and Trine 1 actually as well) places user game data into $HOME/.frozenbyte which clutters $HOME directory.
Current standard prescribes to place such files into designated locations, which are defined by XDG base directory specification: http://standards.freedesktop.org/basedi ... atest.html
Usually it's $HOME/.config and $HOME/.local/share
I.e. in this case it can be $HOME/.config/frozenbyte for configuration and $HOME/.local/share/frozenbyte for saves and etc. Exact location can be overriden with shell variables ($XDG_DATA_HOME and $XDG_CONFIG_HOME). See link above for more details on how to use that. This method helps keeping home directory clean and applications are expected to follow it.
[Linux] Please use XDG directory specification
Re: [Linux] Please use XDG directory specification
This is actually already planned for Trine 3 (thank you for your timely post though. I couldn't remember the XDG acronym the other day, so you saved me some time googling). Though we probably just use the data dir, as in Windows, as we don't currently have support for separate config dir (also, it's debatable whether for example binds are data or configuration, so I don't consider concept of separate configuration directory really that sensible anyway).
Though I'm sure once implemented, someone will come along and tell us we should have followed standard XYZ instead
.
-JLarja
Though I'm sure once implemented, someone will come along and tell us we should have followed standard XYZ instead

-JLarja
Re: [Linux] Please use XDG directory specification
fb_jlarja wrote:Though I'm sure once implemented, someone will come along and tell us we should have followed standard XYZ instead.
-JLarja
I think XDG standard is fairly sensible and is staying long term.

Re: [Linux] Please use XDG directory specification
fb_jlarja wrote:This is actually already planned for Trine 3
I tested Trine 3 (GOG release), and it still creates $HOME/.frozenbyte so it doesn't follow XDG spec yet.
Re: [Linux] Please use XDG directory specification
shmerl wrote:fb_jlarja wrote:This is actually already planned for Trine 3
I tested Trine 3 (GOG release), and it still creates $HOME/.frozenbyte so it doesn't follow XDG spec yet.
Yes, one of the less important features that still didn't make it. Sorry about that.
-JLarja
Who is online
Users browsing this forum: No registered users and 3 guests