Taking a screenshot crashes the game with: Error: Error opening /usr/share/games/quake1/id1/quake00.tga: Permission denied Couldn't write config.cfg. uninstalling grabs! Also, when changing key configuration and then quiting the game: Couldn't write config.cfg. And when saving game state: Saving game to /usr/share/games/quake1/id1/s0.sav... ERROR: couldn't open. Reproducible: Always Steps to Reproduce: 1. emerge nprquake-sdl 2. start 3. try to save the game 4. try to take a screenshot (press F12) Expected Results: Config files, screenshots and save states should be saved like in other fps engines. ie. like darkplaces: ~ $ ls .darkplaces/id1/ benchmark.log qconsole.log s1.sav s4.sav screenshots config.cfg s0.sav s2.sav s5.sav ~ $ ls .darkplaces/hipnotic/ config.cfg I wonder how this got into stable with those issues?
Created attachment 147227 [details] nprquake-sdl-homedir-test.patch I used source from http://www.geocities.com/coolguywithgun/ -- there's a new render added and few small fixes. What works: * read/write to proper directory in users $HOME/.nprquake/ * Most Gentoo patches What is wrong: * GENTOO_LIBDIR and GENTOO_DATADIR - can't compile with those two. Compilation always dies.
Created attachment 147229 [details] nprquake-sdl-1-r1.ebuild Updated ebuild, but still not working.
Created attachment 147303 [details, diff] files/nprquake-sdl-save-in-home.patch
Created attachment 147304 [details] nprquake-sdl-1-r2.ebuild Works fine for me on two boxes, used the source from comment #1 with new render.
nprquake-sdl is gone.