Closed ghost closed 6 years ago
Check in $HOME/.local/share/openjk/
You can configure this with fs_homepath, or build a portable version (with preprocessor switch via cmake)
Are you saying your settings aren't saved, or you can't find where they're saved?
The .cfg files seem to be saved in the folder you've mentioned, HOWEVER, I still cannot make the changes in the Controls and Video section persistent. They get reset once I leave the settings window.
EDIT: Now I noticed that some of the changes got saved. However, there are still some issues. If, say, I set crouch to the "MOUSE 2" button, after I restart the game it seems that both the default and custom values are loaded - I can crouch with both "c" (the default) and "MOUSE 2". If try to use backspace to delete any buttons attached to it and then set only "MOUSE 2", the setting resets after game restart.
What does it actually do? It just goes back to the main screen with nothing happening on windows..
Defaults are always loaded initially:
exec default.cfg or mpdefault.cfg -- this file exists in the assets you cant remove it. unbindall exec openjk.cfg or openjk_sp.cfg -- your autogen'd file. exec autoexec.cfg -- a custom file to exec after autogen.
I think the commits mentioned should fix this so closing this. Feel free to reopen if it's still an issue.
Whenever I try changing the keyboard controls or the video settings the changes never get saved. I've also tried /writeconfig test.cfg, but the configuration is nowhere to be found.
At first, I thought that this could be a permission issue, so I chmod'ed the base directory to 777, but that didn't help. Any ideas?