heretic.cfg(5)
π heretic.cfg(5) π
okay bestie, welcome to the File Formats Manual corner of the universe, where we're talking about heretic.cfg and it's genuinely iconic π
β¨ NAME β¨
heretic.cfg β the Crispy Heretic configuration file π¦
πΈ DESCRIPTION πΈ
heretic.cfg is the config file for crispy-heretic(6). All the options stored in here are literally the same ones that lived in the original DOS Vanilla Heretic. Everything Crispy-Heretic-specific and extra? That's not here, bestie β that goes in a whole separate config file called crispy-heretic.cfg. Two files, two vibes π
heretic.cfg normally chills in your home directory at ~/.local/share/crispy-heretic/heretic.cfg. You can override that path with the XDG_DATA_HOME environment variable (go read the XDG Base Directory Specification if you wanna get into it, iykyk).
And if you don't feel like hand-editing this thing? The crispy-heretic-setup(6) tool is right there with a simple front-end for editing heretic.cfg. Obsessed. π«Ά
π FILE FORMAT π
It's a plain-text file, periodt. It's just a list of configuration options and their values, separated by whitespace, one option per line. Options come in different types β an option can have an integer, a floating point, or a string value. If it's a string type, the value gets wrapped in quotes ("). No cap.
For example:
integer_value 1
integer_value2 1
floating_point_value 4.2
string_value "hello world"
Invalid lines or comments in the file just get ignored β but lowkey, please don't put them in there. The file gets rewritten from scratch every single time the game exits, so any invalid lines or comments you sneak in will be lost. gone. poof. π
Some options are used for keyboard key bindings. Those get stored as integer values holding the keyboard scan code of the key you're binding to. Boolean values are also stored as integers β a value of zero usually means "false", and a non-zero value means "true". that's the whole system, bestie, slay.
π CONFIGURATION VARIABLES π
okay this is the main character section, let's go π
mouse_sensitivityβ Mouse sensitivity. This value multiplies your input mouse movement to control how much the mouse actually does stuff. The "normal" maximum value you can get to through the in-game options menu is 9.
β οΈ A value of 31 or greater will cause the game to crash when entering the options menu. like, for real, don't.
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.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_flyupβ Keyboard key to fly upward.key_flydownβ Keyboard key to fly downwards.key_flycenterβ Keyboard key to center flying.key_lookupβ Keyboard key to look up.key_lookdownβ Keyboard key to look down.key_lookcenterβ Keyboard key to center the view.key_invleftβ Keyboard key to scroll left in the inventory.key_invrightβ Keyboard key to scroll right in the inventory.key_useartifactβ Keyboard key to use the current item in the inventory.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 makes the player strafe left or right instead. sneaky little switcheroo β¨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.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.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 π¦
and that's the whole page, bestie π₯° this lil writeup lives in the File Formats Manual section, filed under heretic.cfg(5) β same name up top, same name at the bottom, that's a full circle moment fr fr πβ¨
π¦ 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