Scroll to navigation

chocolate-heretic(6) Games Manual chocolate-heretic(6)


chocolate-heretic - historically compatible Heretic engine


chocolate-heretic [OPTIONS]


Chocolate Heretic is a port of Raven Software's 1994 game "Heretic" that aims to behave as similar to the original DOS version of Heretic as possible.


Load main configuration from the specified file, instead of the default.
Load additional configuration from the specified file, instead of the default.
Load the specified PWAD files.
Specify an IWAD file to use.
Disable music.
Disable substitution music packs.
Disable sound effects.
Disable all sound output.
Take screenshots when F1 is pressed.
Load extra command line arguments from the given response file. Arguments read from the file will be inserted into the command line replacing this argument. A response file can also be loaded using the abbreviated syntax '@filename.rsp'.
Specify a path from which to load and save games. If the directory does not exist then it will automatically be created.
Print the program version and exit.


Start playing on episode n (1-4)
Load the game in savegame slot s.
Disable monsters.
Monsters respawn after being killed.
Set the game skill, 1-5 (1: easiest, 5: hardest). A skill of 0 disables all monsters.
Start a game immediately, warping to level ExMy.


Don't scale up the screen. Implies -window.
Double up the screen to 2x its normal size. Implies -window.
Double up the screen to 3x its normal size. Implies -window.
Specify the display number on which to show the screen.
Run in fullscreen mode.
Specify the dimensions of the window. Implies -window.
Specify the screen height, in pixels. Implies -window.
Disable blitting the screen.
Don't grab the mouse when running in windowed mode.
Disable the mouse.
Specify the screen width, in pixels. Implies -window.
Run in a window.


Automatically search the local LAN for a multiplayer server and join it.
Connect to a multiplayer server running on the given address.
Start a deathmatch game.
Reduce the resolution of the game by a factor of n, reducing the amount of network bandwidth needed.
Send n extra tics in every packet as insurance against dropped packets.
Autostart the netgame when n nodes (clients) have joined the server.
Use original network client sync code rather than the improved sync code.
Use the specified UDP port for communications, instead of the default (2342).
When running a server, don't register with the global master server. Implies -server.
Start a multiplayer server, listening for connections.
When starting a network server, specify a name for the server.
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.
For multiplayer games: exit each level after n minutes.


Equivalent to "-af <files> -as <files>".
Simulates the behavior of NWT's -af option, merging flats into the main IWAD directory. Multiple files may be specified.
Simulates the behavior of NWT's -as option, merging sprites into the main IWAD directory. Multiple files may be specified.
Load the given dehacked patch(es)
Select the Heretic version number that was used to generate the HHE patch to be loaded. Patches for each of the Vanilla Heretic versions (1.0, 1.2, 1.3) can be loaded, but the correct version number must be specified.
Simulates the behavior of deutex's -merge option, merging a PWAD into the main IWAD. Multiple files may be specified.
Disable auto-loading of .wad files.
Ignore cheats in dehacked files.
Simulates the behavior of NWT's -merge option. Multiple files may be specified.


Record or playback a demo without automatically quitting after either level exit or player respawn.
Record or playback a demo with high resolution turning.
Specify the demo buffer size (KiB)
Play back the demo named demo.lmp.
Record a demo named x.lmp.
Record a demo, loading from the given filename. Equivalent to -loadgame <savenum> -record <demofile>.
Smooth out low resolution turning when recording a demo.
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.
Play back the demo named demo.lmp, determining the framerate of the screen.


Specify 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).


[windows only] Save configuration data and savegames in c:\, allowing play from CD.
Read all MIDI files from loaded WAD files, dump an example substitution music config file to the specified filename and quit.
Specify the heap size, in MiB (default 16).
Use the OS's virtual memory subsystem to map WAD files directly into memory.
Allow artifacts to be used when the run key is held down.
If specified, don't show a GUI window for error messages when the game exits with an error.


To play, an IWAD file is needed. This is a large file containing all of the levels, graphics, sound effects, music and other material that make up the game. IWAD files are named according to the game; the standard names are:

Doom, Doom II, Final Doom
Heretic, Hexen and Strife (commercial Doom engine games).
Hacx and Chex Quest - more obscure games based on the Doom engine.
The Freedoom open content IWAD files.

The following directory paths are searched in order to find an IWAD:

Any IWAD files found in the current working directory will be used in preference to IWADs found in any other directories.
This environment variable can be set to contain a path to a single directory in which to look for IWAD files. This environment variable is supported by most Doom source ports.
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.
Writeable directory in the user's home directory. The path can be overridden using the XDG_DATA_HOME environment 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/doom is a standard path that is supported by most Doom source ports. These paths can be overridden using the XDG_DATA_DIRS environment variable (see the XDG Base Directory Specification).

The above can be overridden on a one-time basis by using the -iwad command 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.wad' will search the above paths for the file doom.wad to use.


This section describes environment variables that control Chocolate Heretic's behavior.

See the section, IWAD SEARCH PATHS above.
When running in PC speaker sound effect mode, this environment variable specifies a PC speaker driver to use for sound effect playback. Valid options are "Linux" for the Linux console mode driver, "BSD" for the NetBSD/OpenBSD PC speaker driver, and "SDL" for SDL-based emulated PC speaker playback (using the digital output).
When using OPL MIDI playback, this environment variable specifies an OPL backend driver to use. Valid options are "SDL" for an SDL-based software emulated OPL chip, "Linux" for the Linux hardware OPL driver, and "OpenBSD" for the OpenBSD/NetBSD hardware OPL driver.

Generally speaking, a real hardware OPL chip sounds better than software emulation; however, modern machines do not often include one. If present, it may still require extra work to set up and elevated security privileges to access.


The main configuration file for Chocolate Heretic. See heretic.cfg(5).
Extra configuration values that are specific to Chocolate Heretic and not present in Vanilla Heretic. See chocolate-heretic.cfg(5).


chocolate-doom(6), chocolate-hexen(6), chocolate-server(6), chocolate-setup(6)


Chocolate Heretic is part of the Chocolate Doom project, written and maintained by Simon Howard. It is based on the Heretic source code, released by Raven Software.


Copyright © id Software Inc. Copyright © Raven Software Inc. Copyright © 2005-2013 Simon Howard.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <>. There is NO WARRANTY, to the extent permitted by law.