1# NetHack 3.7 config.nh $NHDT-Date: 1596498144 2020/08/03 23:42:24 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.4 $ 2# Copyright (c) 2016 by Pasi Kallinen 3# NetHack may be freely redistributed. See license for details. 4# Sample config file for NetHack 3.6 5# 6# A '#' at the beginning of a line means the rest of the line is a comment. 7# 8# Some options must be set in this file, other options can be toggled while 9# playing. 10# 11# Copy the contents of this file into 12# * defaults.nh, same folder as xnethack.exe or xnethackW.exe (DOS, Windows) 13# * ~/.xnethackrc (Unix, linux, Mac OS X) 14# * "NetHack Defaults" on pre-OSX Mac and BeOS 15# * NetHack.cnf on Amiga, Atari, OS/2, and VMS 16# 17# To change the configuration, comment out the unwanted lines, and 18# uncomment the configuration you want. 19# 20# There are two types of options, boolean and compound options. 21# Boolean options toggle a setting on or off, while compound options 22# take more diverse values. 23# Prefix a boolean option with 'no' or '!' to turn it off. 24# For compound options, the option name and value are separated by a colon. 25# 26# Some options are persistent, and apply only to new games. 27# 28# For more information about the options, see the Guidebook. 29 30 31# Set your character's name. 32#OPTIONS=name:Janet 33 34# Set your character's role, race, gender, and alignment 35#OPTIONS=role:Valkyrie, race:Human, gender:female, align:lawful 36 37# Set the default dog, cat, and horse names, and your fruit 38#OPTIONS=dogname:Fido 39#OPTIONS=catname:Morris 40#OPTIONS=horsename:Silver 41#OPTIONS=fruit:guava 42 43# Turn on autopickup, and set object types which are picked up automatically 44# Both are persistent. 45#OPTIONS=autopickup,pickup_types:$"=/!?+ 46# Automatically pick up items you threw. Persistent. 47#OPTIONS=pickup_thrown 48# When you pick up an item that would exceed this encumbrance 49# level (Unencumbered, Burdened, streSsed, straiNed, overTaxed, 50# or overLoaded), you will be asked if you want to continue. Persistent. 51#OPTIONS=pickup_burden:u 52 53 54# Enable messages about what your character hears 55#OPTIONS=acoustics 56 57# Causes NetHack's top level command loop to treat two character sequence 58# "ESC c" as M-c, for terminals or emulators which send "ESC c" when Alt+c 59# is pressed. 60#OPTIONS=altmeta 61 62# NetHack should display an ascii character map if it can. 63#OPTIONS=ascii_map 64 65# Automatically describe the terrain under cursor when asked to 66# get a location on the map. 67#OPTIONS=autodescribe 68 69# Automatically dig if walking into a wall and you're wielding a digging 70# implement or can otherwise dig through the wall. 71#OPTIONS=autodig 72 73# Automatically try to open doors when walking into them 74#OPTIONS=autoopen 75 76# Let NetHack fill your quiver or make ready some suitable weapon, 77# when firing with empty quiver or nothing at the ready. 78#OPTIONS=autoquiver 79 80# Conduct/Role-playing: blind from birth or "zen" 81#OPTIONS=blind 82# Conduct/Role-playing: starts with no worn armor. 83# Wearing any armor will make you lose this conduct 84#OPTIONS=nudist 85 86# Disable loading and saving of bones files 87#OPTIONS=!bones 88 89# Save game state after each level change, for possible recovery 90# after program crash 91#OPTIONS=checkpoint 92 93# Allows looking at things on the screen by navigating the mouse 94# over them and clicking the right mouse button 95#OPTIONS=clicklook 96 97# Show assistance when you mistype a command 98#OPTIONS=cmdassist 99 100# Display color if possible for different monsters, objects, 101# and dungeon features 102#OPTIONS=color 103 104# Have user confirm attacks on pets, shopkeepers, and other 105# peaceable creatures (default on). 106#OPTIONS=confirm 107 108# Highlight out-of-sight room floors with different color or glyph 109#OPTIONS=dark_room 110 111# Controls what information the program reveals when the game ends. 112#OPTIONS=disclose:+i +a +v +g +c +o 113 114# NetHack should pass eight-bit character values straight through 115# to your terminal (default off). 116#OPTIONS=eight_bit_tty 117 118# Change the extended commands interface to pop-up a menu of 119# available commands. 120#OPTIONS=extmenu 121 122# Objects will try to keep their inventory letters 123#OPTIONS=fixinv 124 125# Try and display on the entire screen rather than in a window. 126#OPTIONS=fullscreen 127 128# If more information is available for an object looked at with 129# the '/' command, ask if you want to see it (default on). 130#OPTIONS=help 131 132# Hilight pets with a heart symbol (Windows, X11), or inverse attribute (TTY) 133#OPTIONS=hilite_pet 134 135# Visually distinguish piles of objects from individual objects 136#OPTIONS=hilite_pile 137 138# Always show the "uncursed" for inventory objects. Useful for MENUCOLORs 139#OPTIONS=implicit_uncursed 140 141# Do not show the legacy intro text at game start 142#OPTIONS=!legacy 143 144# Show lit corridors differently 145#OPTIONS=lit_corridor 146 147# Use the old 'a', 'b', and 'c' keyboard shortcuts when looting, 148# rather than the mnemonics 'o', 'i', and 'b' (default off). 149#OPTIONS=lootabc 150 151# Don't deliver email in-game 152#OPTIONS=!mail 153 154# Mention in the message line when walking at a wall. Useful for blind players. 155#OPTIONS=mention_walls 156 157# How menus are shown. Values are 'traditional', 'combination', 158# 'full', or 'partial' 159#OPTIONS=menustyle:full 160 161# Set menu accelerator keys 162#OPTIONS=menu_deselect_all:- 163#OPTIONS=menu_deselect_page:\ 164#OPTIONS=menu_first_page:^ 165#OPTIONS=menu_invert_all:@ 166#OPTIONS=menu_invert_page:~ 167#OPTIONS=menu_last_page:| 168#OPTIONS=menu_next_page:> 169#OPTIONS=menu_previous_page:< 170#OPTIONS=menu_search:: 171#OPTIONS=menu_select_all:. 172#OPTIONS=menu_select_page:, 173 174# Controls how the headings in a menu are highlighted. 175# Values are 'none', 'bold', 'dim', 'underline', 'blink', or 'inverse'. 176# Default is 'inverse' 177#OPTIONS=menu_headings:inverse 178 179# Show object symbols in menus in the item class lines where that object symbol 180# acts as an accelerator key to select items of that class. 181#OPTIONS=menu_objsyms 182 183# Do not clear the screen before drawing menus, and align menus to right 184#OPTIONS=menu_overlay 185 186# Set the number of messages saved into message history (^P -command) 187#OPTIONS=msghistory:50 188 189# Allows you to change the way recalled messages are displayed. 190# The possible values are: 191# 's' single message (default; only choice prior to 3.4.0) 192# 'c' combination, two messages as `single', then as `full' 193# 'f' full window, oldest message first 194# 'r' full window reversed, newest message first 195# Default is 's'. TTY only. 196#OPTIONS=msg_window:s 197 198# Allow use of the mouse for input and travel. 199#OPTIONS=mouse_support 200 201# Read the NetHack news file, if present (default on). 202#OPTIONS=news 203 204# Send padding nulls to the terminal (default on). 205#OPTIONS=null 206 207# Use number pad or vi-keys for movement? 208# number_pad option can have an optional value of 0 (off), 1 (on), 209# or 2 (on,legacy-mode) which causes 5='g', alt-5='G', alt-0='I' 210# -1 (use vi-keys, but swap z and y, for qwertz keyboards) 211#OPTIONS=number_pad:2 212 213# Set the order in which item classes appear in your inventory 214#OPTIONS=packorder:")[%?+/=!(*0_` 215 216# A space separated list of specific situations where alternate 217# prompting is desired. The default is paranoid_confirmation:pray. 218#OPTIONS=paranoid_confirmation:confirm quit die bones attack pray remove 219 220# Always show the inventory window? X11 and Windows GUI only. 221#OPTIONS=perm_invent 222 223# Specify the type of your initial pet, if you are playing a character class 224# that uses multiple types of pets; or choose to have no initial pet at all. 225# Possible values are "cat", "dog", "horse", and "none". 226#OPTIONS=pettype:cat 227 228# Threshold when item pile under you is shown in a popup list. Persistent. 229#OPTIONS=pile_limit:5 230 231# Game mode 232# Values are 'normal', 'explore', or 'debug'. 233#OPTIONS=playmode:normal 234 235# Preload tiles into memory. MSDOS only. 236#OPTIONS=preload_tiles 237 238# When wielding a weapon, move your previous weapon to other hand 239#OPTIONS=pushweapon 240 241# Space key acts as a wait. 242#OPTIONS=rest_on_space 243 244# Controls the amount of screen updating for the map window when engaged 245# in multi-turn movement. Possible values are 'teleport', 'run', 'walk', 246# or 'crawl'. Default is 'run'. 247#OPTIONS=runmode:run 248 249# Ask if you really want to hit your pet 250#OPTIONS=safe_pet 251 252# Perform extra data checking. Wizard-mode only. 253#OPTIONS=sanity_check 254 255# Display a menu of existing saved games for the player to choose from 256# at game startup, if it can. Not all ports support this option. 257#OPTIONS=selectsaved 258 259# Which parts of the score file to show at end of game 260#OPTIONS=scores:10 top/2 around/own 261 262# Do not show experience points in the status line 263#OPTIONS=!showexp 264 265# Show your own symbol with the symbol of your race 266# eg. 'G' if you're a gnome, 'h' if dwarf, etc. 267#OPTIONS=showrace 268 269# Show score on the status line 270#OPTIONS=showscore 271 272# Suppress terminal beeps. Default on. 273#OPTIONS=silent 274 275# Controls the sorting behavior of the pickup lists for inventory. 276# Possible values are 'full', 'loot', and 'none'. 277#OPTIONS=sortloot:full 278 279# Sort the pack contents by type when displaying inventory (default on). 280#OPTIONS=sortpack 281 282# Disable sparkly magic resistance animation effect 283#OPTIONS=!sparkle 284 285# Boldface monsters and --More-- (default off). 286#OPTIONS=standout 287 288# NetHack version level to suppress alert notification messages 289# about feature changes for that and prior versions. 290#OPTIONS=suppress_alert:3.6.0 291 292# Show current turn in the status line 293#OPTIONS=time 294 295# When pausing momentarily for display effect, such as with explosions and 296# moving objects, use a timer rather than sending extra characters to the 297# screen. TTY only. 298#OPTIONS=timed_delay 299 300# Draw a tombstone graphic upon your death (default on). 301#OPTIONS=tombstone 302 303# Do not show top ten list in a separate window. Windows GUI only. 304#OPTIONS=!toptenwin 305 306# Enable travel (_) command. 307#OPTIONS=travel 308 309# Use the dark gray color 310#OPTIONS=use_darkgray 311 312# Use inverse text attribute in eg. menu titles 313#OPTIONS=use_inverse 314 315# Display this number of messages at a time in the message window. 316# WinCE, Windows GUI, and GEM only. 317#OPTIONS=vary_msgcount:3 318 319# Be less verbose with the messages 320#OPTIONS=!verbose 321 322# Set the color palette for PC systems using NO_TERMS (MS-DOS only). 323# The order of colors is red, green, brown, blue, magenta, cyan, 324# bright.white, bright.red, bright.green, yellow, bright.blue, 325# bright.magenta, and bright.cyan. 326#OPTIONS=videocolors:4-2-6-1-5-3-15-12-10-14-9-13-11 327 328# Gray shades to map to black-gray-white. possible values are 'dark', 329# 'normal', and 'light'. MS-DOS only. 330#OPTIONS=videoshades:normal-normal-normal 331 332# When using '/' or ';' commands with autodescribe-option on, display 333# coordinates after the description. Possible values are 'compass', 334# 'map', 'screen', or 'none' 335#OPTIONS=whatis_coord:map 336 337# Windowing system to use, such as 'tty' or 'x11'. 338#OPTIONS=windowtype:tty 339 340# NetHack port should wrap long lines of text if they don't fit in 341# the visible area of the window. 342# WinCE only. 343#OPTIONS=wraptext 344 345 346 347# How the map window is shown? Windows GUI only. 348# possible map_mode options include: tiles, ascii4x6, 349# ascii6x8, ascii8x8, ascii16x8, ascii7x12, ascii8x12, ascii16x12, 350# ascii12x16, ascii10x18, fit_to_screen, ascii_fit_to_screen, 351# tiles_fit_to_screen 352#OPTIONS=map_mode:tiles 353 354# Define alternative file for the files, and the tile size 355#OPTIONS=tile_file:C:\absurd64.bmp 356#OPTIONS=tile_width:64,tile_height:64 357 358# When does the map window scroll? Windows GUI only. 359#OPTIONS=scroll_margin:5 360 361# Message window settings. Windows GUI only. 362#OPTIONS=font_message:Arial,font_size_message:9,align_message:top 363 364# Menu settings. Windows GUI only. 365#OPTIONS=font_menu:Arial,font_size_menu:9 366 367# Text settings. Windows GUI only. 368#OPTIONS=font_text:Courier New,font_size_text:9 369 370# Status window settings. Windows GUI only. 371#OPTIONS=font_status:Courier New,font_size_status:9 372 373# No startup splash screen. Windows GUI only. 374#OPTIONS=!splash_screen 375 376# How does NetHack prompt for character creation. Windows GUI only. 377#OPTIONS=player_selection:prompts 378 379# NetHack should pop up dialog boxes for input. 380# Windows GUI only. 381#OPTIONS=popup_dialog 382 383# Status/message window colors. Windows GUI only. 384# Possible color options include: 385# six digit hexadecimal RGB color value ("#8F8F8F"), black, red, green, brown, 386# blue, magenta, cyan, gray (or grey), orange, brightgreen, yellow, brightblue, 387# brightmagenta, brightcyan, white, trueblack, purple, silver, maroon, fuchsia, 388# lime, olive, navy, teal, aqua, activeborder, activecaption, appworkspace, 389# background, btnface, btnshadow, btntext, captiontext, graytext, highlight, 390# highlighttext, inactiveborder, inactivecaption, menu, menutext, scrollbar, 391# window, windowframe, windowtext. 392# windowcolors:<window> <text_color>/<background_color> 393#OPTIONS=windowcolors:status windowtext/window message windowtext/window 394 395# HACKDIR is the default location for everything. 396# Note: On Windows HACKDIR defaults to the location of the xNetHack.exe or 397# xNetHackw.exe file so setting HACKDIR below to override that is not usually 398# necessary or recommended. 399#HACKDIR=c:\games\nethack 400 401# The location that level files in progress are stored 402# (default=HACKDIR, writable) 403#LEVELDIR=c:\nethack\levels 404 405# The location where saved games are kept (default=HACKDIR, writable) 406#SAVEDIR=c:\nethack\save 407 408# The location that bones files are kept (default=HACKDIR, writable) 409#BONESDIR=c:\nethack\save 410 411# The location that file synchronization locks are stored 412# (default=HACKDIR, writable) 413#LOCKDIR=c:\nethack\levels 414 415# The location that a record of game aborts and self-diagnosed game problems 416# is kept (default=HACKDIR, writable) 417#TROUBLEDIR=c:\nethack\trouble 418 419# Finnish keyboards might need these modifications uncommented. Windows GUI. 420# For \, @, $, [, | 421#OPTIONS=subkeyvalue:171/92 422#OPTIONS=subkeyvalue:178/64 423#OPTIONS=subkeyvalue:180/36 424#OPTIONS=subkeyvalue:184/91 425#OPTIONS=subkeyvalue:188/124 426 427# Some versions of Windows allow you to adjust the win32 console port 428# colors using R-G-B settings. 429#OPTIONS=palette:black-0-0-0 430#OPTIONS=palette:red-210-0-0 431#OPTIONS=palette:green-80-200-0 432#OPTIONS=palette:brown-180-100-0 433#OPTIONS=palette:blue-0-0-200 434#OPTIONS=palette:magenta-128-0-128 435#OPTIONS=palette:cyan-50-180-180 436#OPTIONS=palette:gray-192-192-192 437#OPTIONS=palette:dark gray-100-100-100 438#OPTIONS=palette:orange-255-128-0 439#OPTIONS=palette:bright green-0-255-0 440#OPTIONS=palette:yellow-255-255-0 441#OPTIONS=palette:bright blue-100-100-240 442#OPTIONS=palette:bright magenta-255-0-255 443#OPTIONS=palette:bright cyan-0-255-255 444#OPTIONS=palette:white-255-255-255 445 446 447 448# Set exceptions to the pickup_types option. You can use multiple exceptions. 449# First character must be '<' (autopick) or '>' (don't autopick), followed 450# by a regular expression. 451# Always autopickup any type of arrow 452#AUTOPICKUP_EXCEPTION="<arrow" 453# Never autopickup any corpse 454#AUTOPICKUP_EXCEPTION=">corpse" 455# Never autopickup any known cursed items 456#AUTOPICKUP_EXCEPTION="> cursed" 457 458 459# Change the way messages are shown in the top status line. 460# You can use multiple MSGTYPE lines. 461# Format is MSGTYPE=type "regular expression" 462# Where type is one of 'show', 'hide', 'stop', or 'norep' 463# Always prompt for more after becoming hungry. 464#MSGTYPE=stop "You feel hungry." 465# Never show any displacing your pet messages. 466#MSGTYPE=hide "You displaced .*" 467# Don't repeat message when seeing same items on the floor 468#MSGTYPE=norep "You see here a *" 469#MSGTYPE=norep "You see here an *" 470 471 472# Highlight menu lines with different colors. You need to define the colors 473# with MENUCOLOR lines. Only for TTY and Windows GUI. 474# Toggle menucolor use on or off 475#OPTIONS=menucolors 476# Define color used for a certain menu line. Format is 477# MENUCOLOR="regular expression"=color 478# or 479# MENUCOLOR="regular expression"=color&attribute 480# Show all blessed items in green 481#MENUCOLOR=" blessed " = green 482# Show all holy water in green 483#MENUCOLOR=" holy " = green 484# Show all cursed items in red 485#MENUCOLOR=" cursed " = red 486# Show all unholy water in red 487#MENUCOLOR=" unholy " = red 488# Show all cursed worn items in orange and underlined 489#MENUCOLOR=" cursed .* (being worn)" = orange&underline 490 491 492# Use the IBM character set rather than just plain ascii characters 493# for tty window-port. 494#OPTIONS=symset:IBMGraphics_2 495 496# Override one or more symbols in the symbols files. 497# See the Guidebook for the symbol names. 498# Set boulder symbol to '0' 499#SYMBOLS=S_boulder:0 500# or 501#OPTIONS=S_boulder:0 502 503# Load DEC text characters display symbols. Deprecated. 504#OPTIONS=DECgraphics 505# Load IBM text characters display symbols. Deprecated. 506#OPTIONS=IBMgraphics 507# Set the character symbol used for boulders. Deprecated. 508#OPTION=boulder:0 509 510 511# Wizard-mode extra items, in a text file containing item names, 512# one per line, up to a maximum of 128 lines. Each line is processed 513# by the function that handles wishing. 514#WIZKIT=~/wizkit.txt 515 516 517# User sounds 518# Define the directory that contains the sound files 519#SOUNDDIR=C:\nethack\sounds\ 520# Define a sound mapping 521# SOUND=MESG "pattern" file volume 522#SOUND=MESG "KAABLAMM" explosion.wav 100 523 524 525# Turn on all status hilites. 526#OPTIONS=statushilites 527# Use highlighting in the status lines when it changes? 528#OPTIONS=hilite_status:hitpoints/30%/bright-magenta/normal 529 530