AlexAUT / Kroniax_Cpp

The official source of the game Kroniax
MIT License
19 stars 4 forks source link

Add support for user config in read-only installations of the data dir #18

Open akien-mga opened 9 years ago

akien-mga commented 9 years ago

If #16 is solved by making it possible to load the game data from a custom (read-only) directory, the user config and level parameters need to be written and loaded from a writeable path.

This would typically be in XDG_CONFIG_HOME, i.e. ~/.config/kroniax on Linux, and $APPDATA/kroniax on Windows.

I guess at least "arcade levellist.cfg" and "config.cfg" would have to be in a writeable directory.

AlexAUT commented 9 years ago

As described here: https://github.com/AlexAUT/Kroniax-Mapeditor/issues/2

But thanks for the feedback, I will take it into consideration when I pick up the project again