Configuration file

The Doom configuration file is a text file which holds settings set by setup.exe and from inside the Doom menus. The file is normally named default.cfg, but the "-config" command line parameter can be used to specify an alternate file to use.

The file takes the format of a list of configuration settings, with each line of the form:



Settings

 * mouse_sensitivity: Numerical value storing the value of the mouse sensitivity setting. The default value is "5".
 * sfx_volume: The volume of sound effects, ranging from 0-15. The default is 8.
 * music_volume: The volume of the background music, ranging from 0-15. The default is 8.
 * show_messages: This is a boolean value which controls whether messages are displayed in the heads up display. The default is 1 (on)
 * key_right
 * key_left
 * key_up
 * key_down
 * key_strafeleft
 * key_straferight
 * key_fire
 * key_use
 * key_speed
 * use_mouse
 * mouseb_fire
 * mouseb_strafe
 * mouseb_forward
 * use_joystick
 * joyb_fire
 * joyb_use
 * joyb_speed
 * joyb_strafe
 * screenblocks: Controls the screensize, ranging from 3-11. A value of 10 gives a fullscreen window with the status bar, while 11 gives fullscreen without status bar.  The default value is 9.
 * detailLevel: Boolean value which controls the resolution of the screen. The logic here is inverted: 0 is high resolution, while 1 is low resolution.
 * snd_channels: The number of sound channels to use. The default is 3.
 * use_gamma: Gamma correction setting. This ranges from 0-4, with 0 representing no gamma correction, while 4 gives maximum gamma correction.  The default value is 0.
 * chatmacro0: Multiplayer chat macro sent when alt+0 is pressed.
 * chatmacro1: Multiplayer chat macro sent when alt+1 is pressed.
 * chatmacro2: Multiplayer chat macro sent when alt+2 is pressed.
 * chatmacro3: Multiplayer chat macro sent when alt+3 is pressed.
 * chatmacro4: Multiplayer chat macro sent when alt+4 is pressed.
 * chatmacro5: Multiplayer chat macro sent when alt+5 is pressed.
 * chatmacro6: Multiplayer chat macro sent when alt+6 is pressed.
 * chatmacro7: Multiplayer chat macro sent when alt+7 is pressed.
 * chatmacro8: Multiplayer chat macro sent when alt+8 is pressed.
 * chatmacro9: Multiplayer chat macro sent when alt+9 is pressed.