gamedir GL extension error, inconsistent save location
Using the gamedir command in a config - even as the first line of quake.rc - somehow causes GL_CheckExtension to not return success for extensions that do work. This causes the menu (qcsrc/menu/xonotic/util.qc) to complain,
ERROR: Texture compression is required but not supported.
Expect visual problems.
Compressed (DDS) textures work fine despite this.
This error is avoided by using -game
on the cmdline instead of the gamedir
command. This also avoids executing quake.rc twice.
The description of the command appears to be incorrect, it says:
gamedir: changes active gamedir list (can take multiple arguments), not including base directory (example usage: gamedir ctf)
If the base dir is not included when doing gamedir foo
or -game foo
, files including config.cfg, darkplaces_history.txt and server.db are saved in foo, instead of in data. Files are still loaded from data when it isn't included in fs_gamedir. To get normal save behaviour while also loading content from a gamedir, the data base dir must be appended: gamedir foo data
or -game foo -game data
.