OpenArena/engine

couldn't exec autoexec.cfg

suijingfeng opened this issue · 3 comments

command line show couldn't exec autoexec.cfg

Creating a blank file called autoexec.cfg in your homedir/OpenArena/baseoa may work?

Yes, It work. but I don't know what it is and what it is used for. if no use, may I comment the following code?
Cbuf_ExecuteText(EXEC_NOW, "exec autoexec.cfg\n");
Cbuf_Execute();

After reading the source code, i think it is use for store the automated executed command for user configuration. as the default.cfg. I close this issue

IIRC, default.cfg is a different thing (that contains the default key bindings use at the time of a "clean" install). Autoexec.cfg is indeed an optional user-defined configuration file which can be used to enter commands that will be automatically executed on startup.