default.cfg(5)
β¨ NAME β¨
hey bestie, meet default.cfg β it's the configuration file for crispy-doom(6), and it hangs out in the File Formats Manual (section 5, iykyk). π
π DESCRIPTION π
okay so default.cfg is the config file for crispy-doom(6). The options it stores are literally the exact same ones the original DOS Vanilla Doom stored β no cap, same energy, same list. πΉοΈ
The extra Crispy Doomβspecific options? Those do NOT live here. They're chilling in a whole separate config file called crispy-doom.cfg. Two files, two vibes. π
Normally default.cfg lives in your home directory, at:
~/.local/share/crispy-doom/default.cfg
You can override that path with the XDG_DATA_HOME environment variable (see the XDG Base Directory Specification, the blueprint of it all). πΈ
And if hand-editing a config file isn't your main character era, the crispy-doom-setup(6) tool is a simple-to-use front-end for editing default.cfg. Slay. β¨
π¦ FILE FORMAT π¦
So the file is a plain-text file. It's a list of configuration options and their values, separated by whitespace, with each option sitting on its own separate line. π§
Options have different types β an option can be an integer, a floating point, or a string value. If it's a string type, the value gets surrounded by quotes ("). Periodt.
For example:
integer_value 1
integer_value2 1
floating_point_value 4.2
string_value "hello world"
Invalid lines or comments in the file will be ignored β but bestie, it is advisable not to put them in the file at all. The file gets rewritten from scratch every single time the game exits, so any invalid lines or comments you sneak in there will be lost. π
heads up: the game literally rewrites this file on every exit. Your cute little # comments? Gone. Poof. π
Some options are used for keyboard key bindings β those get stored as integer values containing the keyboard scan code of the key you're binding to. Boolean values are also stored as integers, where a value of zero usually means "false" and a non-zero value means "true". π
π CONFIGURATION VARIABLES π
mouse_sensitivityβ Mouse sensitivity. This value multiplies your input mouse movement to control the effect of moving the mouse. The "normal" maximum value available for this through the in-game options menu is9.
not me warning you: a value of 31 or greater will cause the game to crash when entering the options menu. π please do not.
mouse_sensitivity_x2β Horizontal mouse sensitivity (strafe).mouse_sensitivity_yβ Vertical mouse sensitivity.sfx_volumeβ Volume of sound effects, range0-15.music_volumeβ Volume of in-game music, range0-15.show_messagesβ If non-zero, messages are displayed on the heads-up display in the game ("picked up a clip", etc). If zero, these messages are not displayed.key_rightβ Keyboard key to turn right.key_leftβ Keyboard key to turn left.key_upβ Keyboard key to move forward.key_downβ Keyboard key to move backward.key_alt_upβ Keyboard key to move forward (alternative).key_alt_downβ Keyboard key to move backward (alternative).key_strafeleftβ Keyboard key to strafe left.key_alt_strafeleftβ Keyboard key to strafe left (alternative).key_straferightβ Keyboard key to strafe right.key_alt_straferightβ Keyboard key to strafe right (alternative).key_fireβ Keyboard key to fire the currently selected weapon.key_useβ Keyboard key to "use" an object, eg. a door or switch.key_strafeβ Keyboard key to turn on strafing. When held down, pressing the key to turn left or right causes the player to strafe left or right instead.key_speedβ Keyboard key to make the player run.key_demospeedβ Keyboard key to fast-forward through a demo.use_mouseβ If non-zero, mouse input is enabled. If zero, mouse input is disabled.mouseb_fireβ Mouse button to fire the currently selected weapon.mouseb_strafeβ Mouse button to turn on strafing. When held down, the player will strafe left and right instead of turning left and right.mouseb_forwardβ Mouse button to move forward.mouseb_speedβ Mouse button to turn on running. When held down, the player will run while moving.mouseb_mouselookβ Mouse button to enable free looking.mouseb_reverseβ Quick 180Β° reverse.use_joystickβ If non-zero, joystick input is enabled.joyb_fireβ Joystick virtual button that fires the current weapon.joyb_strafeβ Joystick virtual button that makes the player strafe while held down.joyb_useβ Joystick virtual button to "use" an object, eg. a door or switch.joyb_speedβ Joystick virtual button that makes the player run while held down. If this has a value of20or greater, the player will always run, even ifuse_joystickis0.screenblocksβ Screen size, range3-11. A value of11gives a full-screen view with the status bar not displayed. A value of10gives a full-screen view with the status bar displayed.detaillevelβ Screen detail. Zero gives normal "high detail" mode, while a non-zero value gives "low detail" mode.snd_channelsβ Number of sounds that will be played simultaneously.snd_musicdeviceβ Music output device. A non-zero value gives MIDI sound output, while a value of zero disables music.snd_sfxdeviceβ Sound effects device. A value of zero disables in-game sound effects, a value of1enables PC speaker sound effects, while a value in the range2-9enables the "normal" digital sound effects.snd_sbportβ SoundBlaster I/O port. Unused.snd_sbirqβ SoundBlaster IRQ. Unused.snd_sbdmaβ SoundBlaster DMA channel. Unused.snd_mportβ Output port to use for OPL MIDI playback. Unused.usegammaβ Gamma correction level. A value of zero disables gamma correction, while a value in the range1-4gives increasing levels of gamma correction.chatmacro0β Multiplayer chat macro: message to send when alt+0 is pressed.chatmacro1β Multiplayer chat macro: message to send when alt+1 is pressed.chatmacro2β Multiplayer chat macro: message to send when alt+2 is pressed.chatmacro3β Multiplayer chat macro: message to send when alt+3 is pressed.chatmacro4β Multiplayer chat macro: message to send when alt+4 is pressed.chatmacro5β Multiplayer chat macro: message to send when alt+5 is pressed.chatmacro6β Multiplayer chat macro: message to send when alt+6 is pressed.chatmacro7β Multiplayer chat macro: message to send when alt+7 is pressed.chatmacro8β Multiplayer chat macro: message to send when alt+8 is pressed.chatmacro9β Multiplayer chat macro: message to send when alt+9 is pressed.
π SEE ALSO π
go read these next, bestie, they're the whole friend group:
and that's the whole page, fr fr. this was default.cfg(5) from the File Formats Manual β no date on this one, just the classic file-formats energy. mwah, go forth and configure. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- debian bookworm: crispy-doom 5.12.0-1 Β· GPL-2.0-or-later
- ubuntu jammy: crispy-doom 5.11.1-1 Β· GPL-2.0-or-later
- ubuntu noble: crispy-doom 6.0-2build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms