default.cfg(5)

πŸ“¦ version 6.0, in debian bookworm, ubuntu jammy, ubuntu noble

✨ 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 is 9.
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, range 0-15.
  • music_volume β€” Volume of in-game music, range 0-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 of 20 or greater, the player will always run, even if use_joystick is 0.
  • screenblocks β€” Screen size, range 3-11. A value of 11 gives a full-screen view with the status bar not displayed. A value of 10 gives 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 of 1 enables PC speaker sound effects, while a value in the range 2-9 enables 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 range 1-4 gives 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