strife.cfg(5)

πŸ“¦ version 6.0, in ubuntu noble

πŸ’– strife.cfg β€” bestie's guide to the Crispy Strife config file πŸ’–

okay so sit DOWN because this is literally the file that remembers everything about how you like your Strife πŸŽ€ it's the strife.cfg manual page, from the File Formats Manual crew, and I'm about to make it make sense. no cap.


✨ NAME ✨

strife.cfg β€” the Crispy Strife configuration file, aka the little text file holding your whole vibe πŸ’…


🌸 DESCRIPTION 🌸

So. strife.cfg is the configuration file for crispy-strife(6). Every config option tucked inside it is the exact same set of options the original DOS Vanilla Strife stored β€” like, same energy, same options, periodt. And the extra Crispy Strife-specific options? Those don't live here, bestie. They live in a totally separate config file called crispy-strife.cfg. Two files, two jobs. πŸ¦‹

Normally strife.cfg chills in your home directory at ~/.local/share/crispy-strife/strife.cfg. But if you want to relocate it, you can override that path with the XDG_DATA_HOME environment variable (see the XDG Base Directory Specification, iykyk). πŸ“

And if hand-editing text files isn't your main character era, the crispy-strife-setup(6) tool is a simple-to-use front-end for editing strife.cfg. Use it. It's giving convenience. ✨


🧚 FILE FORMAT 🧚

It's a plain-text file, okay? Nothing fancy. It's just a list of configuration options and their values, separated by whitespace, with each option living on its own separate line. πŸ“

Options come in different types β€” an option can have an integer value, a floating point value, or a string value. And if it's a string? The value gets wrapped in quotes ("). no exceptions, that's just the rule. πŸ’…

For example, look at this beauty:

integer_value                1
integer_value2               1
floating_point_value         4.2
string_value                 "hello world"

Now here's the tea. β˜• Invalid lines or comments in the file get ignored β€” but lowkey don't put them in there anyway. Why? Because the file is rewritten from scratch every single time the game exits. So any invalid lines or comments you snuck in? Gone. Lost. Deleted. It's giving vaporized. 😭

Some options are for keyboard key bindings, and those get stored as integer values containing the keyboard scan code of the key to be bound. And booleans? Also stored as integers, where a value of zero usually means "false" and a non-zero value means "true". yes bestie, everything is numbers. slay. πŸ”₯


πŸ‘‘ CONFIGURATION VARIABLES πŸ‘‘

This is the big one. Every option, listed, adored. Let's go. πŸ’œ

  • mouse_sensitivity β€” Mouse sensitivity! This value multiplies your input mouse movement to control how much moving the mouse actually does. The "normal" maximum value available through the in-game options menu is 9. And a value of 31 or greater will cause the game to crash when entering the options menu. πŸ’€ so like, 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. 🎡
  • show_talk β€” If non-zero, dialogue text is displayed over characters' pictures when engaging actors who have voices.
  • voice_volume β€” Volume of voice sound effects, 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_useHealth β€” Keyboard key to use health.
  • key_invquery β€” Keyboard key to query inventory.
  • key_mission β€” Keyboard key to display mission objective.
  • key_invPop β€” Keyboard key to display inventory popup.
  • key_invKey β€” Keyboard key to display keys popup.
  • key_invHome β€” Keyboard key to jump to start of inventory.
  • key_invEnd β€” Keyboard key to jump to end of inventory.
  • key_invLeft β€” Keyboard key to scroll left in the inventory.
  • key_invRight β€” Keyboard key to scroll right in the inventory.
  • key_invUse β€” Keyboard key to use inventory item.
  • key_invDrop β€” Keyboard key to drop an inventory item.
  • key_lookUp β€” Keyboard key to look up.
  • key_lookDown β€” Keyboard key to look down.
  • 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_jump β€” Mouse button to jump.
  • 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 behaviour honestly.
  • joyb_jump β€” Joystick virtual button that makes the player jump.
  • screensize β€” 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. β˜€οΈ
  • back_flat β€” Name of background flat used by view border.
  • nickname β€” Multiplayer nickname (?). yes bestie even the original manual is unsure, that question mark is canon, I don't make the rules πŸ™ˆ
  • 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.
  • comport β€” Serial port number to use for SERSETUP.EXE (unused).

🫢 SEE ALSO 🫢

Go read these next, they're all part of the family:


and that's the whole page, bestie πŸ’– that was strife.cfg(5) from the File Formats Manual, and yeah β€” the page foots itself with strife.cfg(5) again because it's just that committed to the bit. mwah. πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from