MickeyKnox Posted June 12, 2018 Report Share Posted June 12, 2018 (edited) I found these instructions: https://github.com/0ad/0ad/blob/master/binaries/data/config/default.cfg I created a file ~/.config/0ad/config/local.cfg with this content: windowed = true That was ingnored; the game was still in fullscreen. I then found, that in my environment there is no XDG_CONFIG_HOME variable, so I set it to ~/.config. This is the console output, when I run the game now: CreateDirectories: failed to mkdir ~/.config/0ad/logs (mode 448) file_system.cpp(158): Function call failed: return value was -110300 (Insufficient access rights to open file) debug.cpp(189): Unable to open crashlog.txt for writing (please ensure the log directory is writable) Unable to open crashlog.txt for writing (please ensure the log directory is writable) Location: debug.cpp:189 (debug_WriteCrashlog) Call stack: (0x9da59e) /snap/0ad/18/binaries/system/pyrogenesis() [0x9da59e] (0x976fc9) /snap/0ad/18/binaries/system/pyrogenesis() [0x976fc9] (0x977395) /snap/0ad/18/binaries/system/pyrogenesis() [0x977395] (0x978a31) /snap/0ad/18/binaries/system/pyrogenesis() [0x978a31] (0x9773a2) /snap/0ad/18/binaries/system/pyrogenesis() [0x9773a2] (0x977718) /snap/0ad/18/binaries/system/pyrogenesis() [0x977718] (0x97d70f) /snap/0ad/18/binaries/system/pyrogenesis() [0x97d70f] (0x97dc40) /snap/0ad/18/binaries/system/pyrogenesis() [0x97dc40] (0x68c858) /snap/0ad/18/binaries/system/pyrogenesis() [0x68c858] (0x432677) /snap/0ad/18/binaries/system/pyrogenesis() [0x432677] (0x422447) /snap/0ad/18/binaries/system/pyrogenesis() [0x422447] (0x7f6e82d6c830) /snap/0ad/18/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f6e82d6c830] (0x4303b9) /snap/0ad/18/binaries/system/pyrogenesis() [0x4303b9] errno = 0 (?) OS error = ? (C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit? Edited June 12, 2018 by MickeyKnox Quote Link to comment Share on other sites More sharing options...
elexis Posted June 12, 2018 Report Share Posted June 12, 2018 There is a setting in the ingame options menu as well, so you shouldn't have to modify the config by hand. That should™ complain if it can't read or write to the config file. (There is also user.cfg which might contain the setting too.) 6 minutes ago, MickeyKnox said: CreateDirectories: failed to mkdir ~/.config/0ad/logs (mode 448) file_system.cpp(158): Function call failed: return value was -110300 (Insufficient access rights to open file) Well that says it all, no? Check with which user you run pyrogenesis and which users can read and write to the directory it complains about. Quote Link to comment Share on other sites More sharing options...
MickeyKnox Posted June 12, 2018 Author Report Share Posted June 12, 2018 (edited) Thanks for the prompt answer. I found the windowed mode option in the game options, don't know how I missed that before. I guess I was only looking in the Graphics Settings column :/ I created the config directories with my user and as such, my user has permissions for these directories. And of course, I run 0ad with my user. I don't know, with which user pyrogenesis runs. However, the windowed mode option works perfectly well for me. Edited June 12, 2018 by MickeyKnox 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.