Much of the configuration in NetHackDS is managed through a file called ``defaults.nh'', present in the NetHackDS directory. This text file, which can be modified with a simple text editor, exposes a wide array of configurable settings. Here I will limit the discussion to major NetHack options relevant to NetHackDS, and NetHackDS-specific settings. The remaining options are documented on the NetHack website.
The general format of the configuration file is a set of directives and values, separated by an equals sign ('='). The directives may be one of:
OPTIONS | Game option directive, used to turn on or off various features.
MENUCOLOR |
Note, multiple copies of each directive may be present in the file, and are all honoured.
In the case of OPTIONS lines, multiple game options may be specified. Options are separated by commas, may be preceeded by an exclamation point ('!') to indicate negation, and for compound options (options which take an operand), the option name and value are separated by a colon (':') character. For example:
OPTIONS=autopickup,pickup_types:$,!menucolorsIn this case, we have three options defined. The first is a simple boolean option, the second is an option taking a value, in this case the string '$', and the third is a negated boolean option.