From EDukeWiki
Jump to navigation Jump to search

setcfgname <cfg_name>

In principle this CON command is supposed to act just like the -cfg command line parameter, and specifies a custom config file name to use to store settings and gamevars in.

However, the fundamental issue with the command is that the startup window cannot possibly know which CFG to use before the CON code is parsed, hence it will always derive its data from eduke32.cfg in the base directory. Therefore, settings such as the rendermode, window resolution and fullscreen mode are never properly restored when the game is restarted.

One alternative is to use the -cfg parameter instead, which does not suffer from this problem.