Creating an AutoExec.cfg file for DooM

1ManArmY

Golden Member
Mar 7, 2003
1,333
0
0
If I recall back in my Quake III days while the game was initializing it stated that the AutoExec.cfg file loaded. I am not seeing that notification while Doom III boots up. I copied my DoomConfig and renamed it to AutoExec.cfg. Maybe I need to drop the .cfg??


Your thoughts please.
 

1ManArmY

Golden Member
Mar 7, 2003
1,333
0
0
yes it does but I customized an AutoExec.cfg to load on top of the doom config so the changes that I made to image_useCache and image_CacheMinK arent reset each time doom loads.
 

mb

Lifer
Jun 27, 2004
10,233
2
71
If you put it in your base folder, and made sure it's not "autoexec.cfg.txt" then it will work.
 

1ManArmY

Golden Member
Mar 7, 2003
1,333
0
0
it is in the base folder save as AutoExec.cfg but it doesn't seem to load because none of the keys I binded to F10 are working i.e com_showFPS 1

do I need to rename the file to autoexec.cfg ??? autoexec ???

right now it is not a text file.

Do I need to insert a exec command in the doomconfig file????
 

mb

Lifer
Jun 27, 2004
10,233
2
71
I'm unclear of something.. did you try to set more than one command to F10?
 

mb

Lifer
Jun 27, 2004
10,233
2
71
Originally posted by: 1ManArmY
it is in the base folder save as AutoExec.cfg but it doesn't seem to load because none of the keys I binded to F10 are working i.e com_showFPS 1

do I need to rename the file to autoexec.cfg ??? autoexec ???

right now it is not a text file.

Do I need to insert a exec command in the doomconfig file????

Mine is named autoexec.cfg and I didn't have to use any commands to make it work.

Question: how did you create the file? Did you use notepad and do save as? If so, did you change the "Save as type"?
 

Vad3r

Senior member
Nov 25, 2000
274
0
0
AutoExec.cfg <--just curious, did u use CAPS like u have here, if so make it "autoexec.cfg"

Right click on the AutoExec.cfg, rename to autoexec.cfg. This will make it a .cfg file for sure.

Doom automatically loads DoomConfig.cfg
This is correct, while I haven't checked the one for Doom3, I'm fairly certain it's like the rest of their games. "Doomconfig.cfg" first sentance will be something like "This file was created by Doom3, do not edit".
In fact, if u deleted this file, Doom3 would simply make a new one next time it's launched. The purpose of autoexec is to make any changes you wish, binds, video settings,....

So DoomConfig.cfg loads first, "autoexec.cfg" loads up 2nd. So it over-rides any settings from doomconfig.cfg.

Doom 3 Guide will help out with any commands you want to add but aren't sure how they should look.

Start your file like this -

//Weapons

bind bind x "_impulse2" <-----this would be shotgun

//Video tweaks

r_gamma 1.5 <---default is 1

and so on, you'll find anything you want to tweak/bind on that site. The "//" just tells doom3, "don't read this line".
Make your shotgun bound to key "M" or something, launch game, if M selects shotgun, you know you have it right.
 

1ManArmY

Golden Member
Mar 7, 2003
1,333
0
0
still not working after I renamed AutoExec.cf to autoexec.cfg-states it is a cfg file and not a text file

I am trying to bind
bind "NUM" "com_showFPS 1" (NumLock key)
bind "*" "com_showFPS 0"

to turn on FPS within the game when I'm not running FRAPS. Ioriginal had "com_showFPS 1" bound to the F10 but that screws up my screen shots while using FRAPS.

Also I tried to bind the w key for the shotgun. I inserted the command as such below, no response probably because my autoexec.cfg file is not loading. I did not start the file with //weapons
bind "8" "_impulse7"
bind "9" "_impulse8"
bind "w" "_impulse2"

Should I start all over and if so how did you originally create the autoexec.cfg file?