chocolate-strife(6)
๐ chocolate-strife(6) โ Games Manual ๐
okay bestie, welcome to the chocolate-strife manual page. yes it's chocolate-strife from the Games Manual, and yes we're doing this whole thing together. grab a snack. ๐
โจ NAME โจ
chocolate-strife โ a historically compatible Strife engine. it's giving accuracy, it's giving preservation, it's giving we love you Rogue Entertainment. ๐ซถ
โจ SYNOPSIS โจ
chocolate-strife [options]
โจ DESCRIPTION โจ
so. Chocolate Strife is an accurate and complete recreation of Rogue Entertainment's Strife: Quest for the Sigil. no cap. it was built over more than two years of reverse engineering effort โ and the actual original programmers of the game gave it their blessing. ๐ญ๐ the whole lore drop is in the โHISTORYโ section below, keep scrolling bestie.
๐ GENERAL OPTIONS ๐
-configfile โ load your main configuration from the file you specify, instead of the default one. main character config energy.-devparmโ developer mode. heads up: this implies-nograph. ๐ง-extraconfigfile โ load additional configuration from the specified file, instead of the default. the lil bonus config.-filefile ... โ load the PWAD files you list. every argument after this one gets treated as a PWAD file nameโฆ until one of them starts with a dash, or you run out of arguments. ๐๏ธ-iwadfile โ specify which IWAD file to use.-nographโ disable the graphical introduction sequence. skip the cutscene, we're busy.-nomusicโ disable music. ๐ตโ-nomusicpacksโ disable substitution music packs.-nosfxโ disable sound effects.-nosoundโ disable all sound output. total silence arc.-novoiceโ disable voice dialog and show the dialog as text instead โ even ifvoices.wadcan be found. ๐-responsefile โ load extra command-line arguments from the given response file. the arguments get read out of the file and inserted into the command line, replacing this argument. you can also load a response file with the abbreviated syntax@file.rsp. cute, right?-savedirdirectory โ pick a path to load and save games from. if that directory doesn't exist, it gets created automatically. โจ-versionโ print the program version and exit. bye bestie. ๐
๐ฎ GAME START OPTIONS ๐ฎ
-fastโ monsters move faster. good luck, soldier. ๐๐จ-loadgames โ load the game in slot s.-nomonstersโ disable monsters. peaceful era. ๐๏ธ-randomโ items respawn at random locations. ๐ฒ-respawnโ respawn monsters after they are killed. they're not gone, they're just rebooting.-skillskill โ set the game skill,1-5(1: easiest, 5: hardest). a skill of0disables all monsters. choose your fighter. ๐ช-turbox โ turbo mode! the player's speed gets multiplied by x%. if you don't specify x, it defaults to200. values are rounded up to10and down to400.-warpx โ start a game immediately, warping straight to level x. no menu, just vibes. ๐
๐ฅ๏ธ DISPLAY OPTIONS ๐ฅ๏ธ
-1โ don't scale up the screen. implies-window.-2โ double up the screen to 2x its normal size. implies-window.-3โ double up the screen to 3x its normal size. implies-window. (yes, it says "double" for the 3 one. that's what it says, bestie, we're just reporting the news. ๐)-displayx โ specify the display number on which to show the screen.-fullscreenโ run in fullscreen mode. immerse yourself. ๐-geometryWxH โ specify the dimensions of the window. implies-window.-heightH โ specify the screen height, in pixels. implies-window.-noblitโ disable blitting the screen.-nodrawโ disable rendering the screen entirely. nothing to see here fr.-nograbmouseโ don't grab the mouse when running in windowed mode.-nomouseโ disable the mouse. ๐ญโ-widthW โ specify the screen width, in pixels. implies-window.-windowโ run in a window. cozy mode. ๐ช
๐ NETWORKING OPTIONS ๐
-altdeathโ start a deathmatch game. weapons do not stay in place, and all items respawn after30seconds. chaos, but scheduled.-autojoinโ automatically search the local LAN for a multiplayer server and join it. social butterfly behavior. ๐ฆ-avgโ Austin Virtual Gaming: end levels after20minutes.-connectaddress โ connect to a multiplayer server running on the given address. ๐-dedicatedโ start a dedicated server: it routes packets but doesn't participate in the game itself. it's the friend who's just there to support you. ๐ซถ-dupn โ reduce the resolution of the game by a factor of n, which reduces the amount of network bandwidth needed.-extraticsn โ send n extra tics in every packet as insurance against dropped packets. safety net, periodt.-leftโ run as the left screen in three screen mode.-localsearchโ search the local LAN for running servers. ๐-nodesn โ autostart the netgame when n nodes (clients) have joined the server.-oldsyncโ use the original network client sync code rather than the improved sync code. vintage, as requested.-portn โ use the specified UDP port for communications, instead of the default (2342).-privateserverโ when running a server, don't register with the global master server. implies-server. ๐คซ-queryaddress โ query the status of the server running on the given IP address.-rightโ run as the right screen in three screen mode.-searchโ query the Internet master server for a global list of active servers. ๐-serverโ start a multiplayer server, listening for connections.-servernamename โ when starting a network server, specify a name for the server. name your child. ๐ผ-solo-netโ start the game playing as though in a netgame with a single player. this can also be used to play back single player netgame demos.-timern โ for multiplayer games: exit each level after n minutes. โฐ
๐ DEHACKED AND WAD MERGING ๐
-aafile ... โ equivalent to-af <files> -as <files>. two birds, one flag.-affile ... โ simulates the behavior of NWT's-afoption, merging flats into the main IWAD directory. multiple files may be specified.-asfile ... โ simulates the behavior of NWT's-asoption, merging sprites into the main IWAD directory. multiple files may be specified.-dehfile ... โ load the given dehacked patch(es). ๐ฉน-mergefile ... โ simulates the behavior of deutex's-mergeoption, merging a PWAD into the main IWAD. multiple files may be specified.-noautoloadโ disable auto-loading of.wadfiles. no surprise wads. ๐-nocheatsโ ignore cheats in dehacked files. no freebies.-nwtmergefile ... โ simulates the behavior of NWT's-mergeoption. multiple files may be specified.
๐ผ DEMO OPTIONS ๐ผ
-maxdemosize โ specify the demo buffer size (KiB).-playdemodemo โ play back the demo named demo.lmp.-recordx โ record a demo named x.lmp. ๐ฅ-solo-netโ play back a demo recorded in a netgame with a single player.-strictdemosโ when recording or playing back demos, disable any extensions of the vanilla demo format: record demos as vanilla would do, and play back demos as vanilla would do. purity check passed. โจ-timedemodemo โ play back the demo named demo.lmp, determining the framerate of the screen. benchmark girlies rise. ๐
๐งฉ COMPATIBILITY ๐งฉ
-donutx y โ use the specified magic values when emulating behavior caused by memory overruns from improperly constructed donuts. in Vanilla Strife this can differ depending on the operating system. if you don't specify this option, the default is to emulate the behavior when running under Windows 98. ๐ฉ (yes this is real, no I'm not joking)-gameversionversion โ emulate a specific version of Strife. valid values are"1.2"and"1.31".-setmemversion โ specify the DOS version to emulate for NULL pointer dereference emulation. supported versions are:dos622,dos71,dosbox. the default is to emulate DOS 7.1 (Windows 98).-spechitn โ use the specified magic value when emulating spechit overruns.
๐ OBSCURE AND LESS-USED OPTIONS ๐
-cdromโ [windows only] save configuration data and savegames inc:\strife.cd, allowing play from CD. ๐ฟ-dumpsubstconfigfile โ read all MIDI files from the loaded WAD files, dump an example substitution music config file to the specified file, and quit.-flipโ flip player gun sprites (broken). โ ๏ธ it literally says broken, bestie. we don't make the rules.-mbmb โ specify the heap size, in MiB.-mmapโ use the OS's virtual memory subsystem to map WAD files directly into memory. ๐ง-noguiโ if specified, don't show a GUI window for error messages when the game exits with an error.-workโ set Rogue playtesting mode (god mode; no cliping mode toggled by backspace). yes, "cliping". we keep it exactly as written. ๐ ๏ธ
๐ IWAD SEARCH PATHS ๐
to play, you need an IWAD file. it's a big file holding all the levels, graphics, sound effects, music and other material that makes up the game. IWAD files are named according to the game; the standard names are:
doom.wad,doom1.wad,doom2.wad,tnt.wad,plutonia.wadโ Doom, Doom II, Final Doomheretic.wad,hexen.wad,strife.wadโ Heretic, Hexen and Strife (the commercial Doom engine games)hacx.wad,chex.wadโ Hacx and Chex Quest โ the more obscure games based on the Doom enginefreedm.wad,freedoom1.wad,freedoom2.wadโ the Freedoom open content IWAD files ๐
๐บ๏ธ The Search Order ๐บ๏ธ
the following directory paths are searched in order to find an IWAD:
- Current working directory โ any IWAD files found in the current working directory will be used in preference to IWADs found in any other directories. first come, first served.
DOOMWADDIRโ this environment variable can be set to contain a path to a single directory in which to look for IWAD files. it's supported by most Doom source ports, so it's basically the people's choice.DOOMWADPATHโ this environment variable, if set, can contain a colon-separated list of directories in which to look for IWAD files โ or alternatively, full paths to specific IWAD files.$HOME/.local/share/games/doomโ a writeable directory in the user's home directory. the path can be overridden using theXDG_DATA_HOMEenvironment variable (see the XDG Base Directory Specification). ๐/usr/local/share/doom/usr/local/share/games/doom/usr/share/doom/usr/share/games/doomโ system-wide locations that can be accessed by all users. the path/usr/share/games/doomis a standard path that is supported by most Doom source ports. these paths can be overridden using theXDG_DATA_DIRSenvironment variable (see the XDG Base Directory Specification). ๐
๐ก the above can be overridden on a one-time basis by using the-iwadcommand line parameter to provide the path to an IWAD file to use. this parameter can also be used to specify the name of a particular IWAD to use from one of the above paths. for example,-iwad doom.wadwill search the above paths for the filedoom.wadto use. โจ
okay that's it for this part, but we're not done yet โ more is coming, so don't go anywhere bestie ๐ซถ
๐ฟ ENVIRONMENT ๐ฟ
okay bestie so this section is all about the environment variables that control how Chocolate Strife behaves. think of them as the little settings you whisper into the machine before it even starts up ๐
DOOMWADDIR ๐ธ
DOOMWADPATH ๐ธ
yeah these two? already covered up in the โIWAD SEARCH PATHSโ section above, so scroll up if you missed it, no cap โจ
PCSOUND_DRIVER ๐
when you're running in PC speaker sound effect mode, this env var tells Chocolate Strife which PC speaker driver to use for sound effect playback. the valid options are:
Linuxโ for the Linux console mode driver ๐งBSDโ for the NetBSD/OpenBSD PC speaker driver ๐ฆSDLโ for SDL-based emulated PC speaker playback (using the digital output) ๐ฎ
OPL_DRIVER ๐
when you're using OPL MIDI playback, this env var picks which OPL backend driver to use. valid options are:
SDLโ an SDL-based software emulated OPL chipLinuxโ the Linux hardware OPL driverOpenBSDโ the OpenBSD/NetBSD hardware OPL driver
ngl, generally speaking a real hardware OPL chip sounds better than software emulation ๐ but likeโฆ modern machines do not often include one. and even if you have one, it may still require extra work to set up and elevated security privileges to access ๐ญ it's giving high-maintenance, honestly.
๐ FILES ๐
$HOME/.local/share/chocolate-doom/strife.cfgโ the main configuration file for Chocolate Strife. seestrife.cfg(5)โจ$HOME/.local/share/chocolate-doom/chocolate-strife.cfgโ extra configuration values that are specific to Chocolate Strife and not present in Vanilla Strife. seechocolate-strife.cfg(5)๐
๐ SEE ALSO ๐
chocolate-doom(6), chocolate-server(6), chocolate-setup(6)
go read those too, bestie, they're iconic ๐ซถ
๐ HISTORY ๐
okay this part is lowkey heartbreaking. the source code for Strife was lost ๐ญ which means โ unlike the code for all the other commercial games using the Doom engine โ it cannot be released. the only access we have to the code is the binary executable file.
so what did they do? they brought in reverse engineering tools to disassemble and decompile the executables, cross-referenced those against the Linux Doom and DOS Heretic sources, and then painstakingly combed over everything multiple times, instruction by instruction, to make sure the resulting Chocolate-Doom-based executable is as close as possible to the original. the dedication?? the commitment?? main character energy fr fr ๐
โ๏ธ LEGALITY โ๏ธ
so, the tea: reverse engineering is a protected activity so long as the original code is not used directly in the product. because of the vast amount of information lost through the process of compilation, and the need to refactor large portions of code in order to eliminate non-portable idioms or to adapt them properly to Chocolate Doom's framework, the resulting code behaves the same, but is not the same code โจ
plus, James Monroe and John Carmack have both stated that they have no objections to the project. because they are the original authors of the code, and neither Rogue nor their publisher, Velocity, Inc., exist any longer as legal entities, this is effectively legal permission ๐
so likeโฆ we're good. legally. slay ๐
๐ BUGS ๐
Chocolate Strife is almost, but not entirely, perfect at recreating the behavior of Vanilla Strife. so if you notice any discrepancies between this executable and the vanilla DOS program, help us out by reporting them ๐
BUT โ and this is important, bestie โ
do not report any glitch that you can replicate in the vanilla EXE as a bug. ๐ซ
the whole point of Chocolate Strife, like Chocolate Doom before it, is to be as bug-compatible with the original game as possible. also be aware that some glitches are impossible to compatibly recreate, and wherever that's the case, Chocolate Strife has erred on the side of not crashing the program โ for example by initializing pointers to NULL rather than using them without setting a value first ๐ซถ
๐ซถ AUTHORS ๐ซถ
Chocolate Strife is part of the Chocolate Doom project ๐ It was reverse engineered from the DOS versions of Strife by James Haley and Samuel Villarreal. Chocolate Doom was written and maintained by Simon Howard, and is based on the LinuxDoom source code released by Id Software โญ
ยฉ๏ธ COPYRIGHT ยฉ๏ธ
Copyright ยฉ id Software Inc. Copyright ยฉ 2005-2013 Simon Howard, James Haley, Samuel Villarreal.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
okay that's the whole page bestie, you made it to the end ๐ this one's from Chocolate Doom 3.1.1, dated 2018-01-15, and it's the chocolate-strife(6) manpage. go forth and play some Strife, you absolute icon ๐๐โจ
๐ฆ where this page comes from
- fedora 43: chocolate-doom 3.1.1-1.fc43 ยท GPL-2.0-or-later
- fedora 44: chocolate-doom 3.1.1-1.fc44 ยท GPL-2.0-or-later
- nixpkgs unstable: chocolate-doom 3.1.1
- ubuntu resolute: chocolate-doom 3.1.1-1 ยท GPL-2.0-or-later
- ubuntu stonking: chocolate-doom 3.1.1-1 ยท 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