When in game, open the "Otions" menu, you can change some settings, as Shaders on/off, Sound Sampling, etc. Some of them don't get saved/preserved when you exit the game, specifically the ones that should get saved in ~/sauerbraten/init.cfg, while the ones that get saved are the ones on ~/sauerbraten/config.cfg (both configs files get saved on exit). Talking upstream with the lead developer of SAUERBRATEN we realized that the way gentoo launches the game is not the way that should be done. Gentoo install adds "sauerbraten_client-bin" to KDE/GNOME menu, and I was explained that the right way of launching the game was using "sauerbraten_unix". Plus Gentoo install adds some symplinks in ~/.sauerbraten that shouldn't be there, but we associated as the way sauerbraten is launched in Gentoo, wich upstream thinks is not correct. Reproducible: Always Steps to Reproduce: 1.Launch the game 2.Go to menu : Options->GFX->shaders (change them on or off) 3.Quit the game Actual Results: The shaders config don't get saved Expected Results: All configs should be saved when quiting the game There is a workaround for this, by launching the game in a terminal via "sauerbraten_client-bin -r". (notice the aditional parameter "-r"). It is not the proper way to do it, but at leats fixes the issues of configs don't geting saved. ----------------------------------------------------------------------- This additional comments are the actual conversation with the lead programmer of SAURBRATEN (eithrul) with me (Colo) and another Gentoo and Sauerbraten user (tenshi): Colo 23:57:20 by the way, there is a know bug about settings not getting saved in sauer for linux? eihrul 23:57:38 Colo: settings save under linux just fine Colo 23:58:15 some of them don't get saved, couldn't figured out why yet eihrul 23:58:44 which ones? Colo 23:58:50 for example audio sampling, have it on 22050 as per default, wanna set it to 44100, and can't tenshi 00:00:08 colo, use the "-r" option :P Colo 00:00:26 for launching? what this option do? Colo 00:04:09 wow, thnx it worked tenshi!!!! tenshi 00:05:57 it restores the HARDwARE settings, which have been changed in-game eihrul 00:06:01 if you are using the sauerbraten_unix script this is automatic Colo 00:08:47 ups, my gentoo install put the sauerbraten_client-bin in the kde menu,in fatc that file isn't in my PATH, is something to download by hand? or should be in the default sauer install? eihrul 00:09:42 eh then the gentoo thing did it entirely wrong if you download the sauerbraten package eihrul 00:10:04 there is a sauerbraten_unix script that is run that sets some options like a per-user home directory and also the -r flag and such :P eihrul 00:23:54 Colo: tell them they should no longer be copying or symlinking anything into the user's home directory, but should be using the sauerbraten_unix script which sets up sauerbraten to automatically write things to the user's home directory as necessary
Created attachment 162989 [details, diff] patch on sauerbraten wrapper patches sauerbraten_unix to be gentoo friendly
Created attachment 162990 [details, diff] patch for ebuild ebuild using bundled unix wrapper file instead of gentoo one
Ok solution seems more dificult then i thought, now it is acting same as before. This could be fixed by copying all datafiles to $HOME/.sauerbraten/ or installing them to VAR and allowing their access for everyone...
Created attachment 162997 [details] patch for sauerbraten ebuild this version is using correctly whole wrapper so it should be easy to create some stuff in user homedir :]
Created attachment 162998 [details, diff] patch on sauerbraten wrapper (to filesdir) creates enviroment for enabling placement of binary elswhere in system than date files
Created attachment 166901 [details, diff] updated patch on sauerbraten ebuild Well now it works on amd64 :]
Fix applied to the tree. Now you are able to have your own personal sauerbraten configs :} Maps still not working as they are CANTFIX due to insane overhead to make it work. (hey at least the game is not crashing you are just not able to save the edited map :D)