heretic.cfg(5)

πŸ“¦
version 3.1.1 Β· 3 versions
, in fedora 43, fedora 44, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– heretic.cfg(5) β€” the File Formats Manual page, but make it cute πŸ’–

okay bestie, buckle up, because we're about to talk about heretic.cfg β€” the config file for chocolate-heretic(6). it lives in the File Formats Manual section of the man pages, and honestly? it's giving "quietly running your entire gaming setup behind the scenes." πŸŽ€


✨ NAME ✨

heretic.cfg β€” the Chocolate Heretic configuration file. that's it, that's the name, she's simple and she's iconic πŸ’…


🌸 DESCRIPTION 🌸

so heretic.cfg is the configuration file for chocolate-heretic(6). the options it stores are literally the same ones the original DOS Vanilla Heretic stored β€” no cap, same energy, just a glow-up. 🌈

the extra Chocolate Heretic–specific stuff? that lives in a whole separate config file, chocolate-heretic.cfg. two files, two vibes, one very organized queen. πŸ‘‘

normally heretic.cfg hangs out in your home directory like:

~/.local/share/chocolate-heretic/heretic.cfg

but the path can be overridden with the XDG_DATA_HOME environment variable (iykyk, it's the XDG Base Directory Specification doing its thing). ✨

and if editing config files by hand isn't your moment, the chocolate-heretic-setup(6) tool is a super simple front-end for editing heretic.cfg. bestie behaviour, honestly. 🫢


πŸ¦‹ FILE FORMAT πŸ¦‹

it's a plain-text file. nothing fancy, nothing scary. it's just a list of configuration options and their values, separated by whitespace, with each option chilling on its own 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 ("). 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 get ignored β€” but lowkey, 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 snuck in are just... gone. πŸ’€

some options are for keyboard key bindings, and those get stored as integer values containing the keyboard scan code of the key you're binding. boolean values are also stored as integers, where zero usually means "false" and a non-zero value means "true." simple as that. ⭐


πŸ‘‘ CONFIGURATION VARIABLES πŸ‘‘

here's the whole squad, one by one:

  • mouse_sensitivity β€” mouse sensitivity. this value multiplies your input mouse movement to control how much moving the mouse actually does. the "normal" maximum value you can pick through the in-game options menu is 9.
⚠️ a value of 31 or greater will cause the game to crash when you enter the options menu. not a vibe. do not do this. 😭
  • 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_strafeleft β€” keyboard key to strafe left.
  • key_straferight β€” keyboard key to strafe right.
  • 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. ✨
  • key_speed β€” keyboard key to make the player run.
  • 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. iconic loophole honestly.
  • 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 🌈

go read these next, bestie, they're all connected:


and that's the whole page, gorgeous. this little love letter to heretic.cfg ships with Chocolate Doom 3.1.1 and it's dated 2017-11-30. go forth, tweak your gamma, bind your keys, and do not β€” I repeat, do not β€” set mouse_sensitivity to 31. mwah πŸ’‹πŸŽ€