Wikia

Wikihack

Custom map symbols

2,032pages on
this wiki
Talk0

The NetHack configuration file (.nethackrc on Unix, defaults.nh on MS-DOS and Windows including Windows CE, NetHack Defaults on Mac and BeOS, and NetHack.cnf on Amiga, Atari, OS/2 and VMS) provides several options to set custom map symbols.

The options Edit

The options take the form VARIABLE = number number number.... They are shown here in the form that gives the default IBMgraphics symbols when code page 437 is set.

BOULDER Edit

This option takes one number, to set the symbol for a boulder:

BOULDER = 039

The default appearance is `. This can also be set using OPTIONS=boulder:`.

GRAPHICS Edit

This option takes 92 numbers, to set the symbols for all fixed parts of the dungeon and certain special effects; that is, all symbols except for monsters and objects:

GRAPHICS = 032 179 196 218 191 192 217 197 193 194 \
           180 195 250 254 254 043 043 240 241 250 \
           176 177 060 062 060 062 095 124 092 035 \
           244 247 250 247 250 250 035 035 032 035 \
           247 094 094 094 094 094 094 094 094 094 \
           094 094 094 094 094 094 094 094 034 094 \
           094 094 094 179 196 092 047 042 033 041 \
           040 048 035 064 042 047 045 092 179 179 \
           092 045 047 047 045 092 179 032 179 092 \
           045 047

If you set GRAPHICS, you do not need to set DUNGEON, TRAPS, or EFFECTS.

The order of the symbols is as follows:

SymbolNumberAppearance
dark part of a room032(blank)
vertical wall179
horizontal wall196
top left corner218
top right corner191
bottom left corner192
bottom right corner217
cross wall197
T up wall193
T down wall194
T left wall180
T right wall195
doorway250·
vertical open door254
horizontal open door254
vertical closed door043+
horizontal closed door043+
iron bars240
tree241±
floor of room250·
dark corridor176
lit corridor177
staircase up060<
staircase down062>
ladder up060<
ladder down062>
altar095_
grave124|
throne092\
sink035#
fountain244
pool247
ice250·
lava247
vertical open drawbridge250·
horizontal open drawbridge250·
vertical closed drawbridge035#
horizontal closed drawbridge035#
air032(blank)
cloud035#
water247
arrow trap094^
dart trap094^
falling rock trap094^
squeaky board094^
bear trap094^
land mine094^
rolling boulder trap094^
sleeping gas trap094^
rust trap094^
fire trap094^
pit094^
spiked pit094^
hole094^
trap door094^
teleportation trap094^
level teleporter094^
magic portal094^
web034"
statue trap094^
magic trap094^
anti-magic field094^
polymorph trap094^
vertical beam179
horizontal beam196
left-slanting beam092\
right-slanting beam047/
digging beam042*
camera flash beam033!
boomerang left041)
boomerang right040(
shield effect 10480
shield effect 2035#
shield effect 3064@
shield effect 4042*
swallow top left047/
swallow top center045-
swallow top right092\
swallow middle left179
swallow middle right179
swallow bottom left092\
swallow bottom center045-
swallow bottom right047/
explosion top left047/
explosion top center045-
explosion top right092\
explosion center left179
explosion center032(blank)
explosion center right179
explosion bottom left092\
explosion bottom center045-
explosion bottom right047/

DUNGEON Edit

This option takes 41 numbers, to set the symbols for all fixed parts of the dungeon except for traps:

DUNGEON = 032 179 196 218 191 192 217 197 193 194 \
          180 195 250 254 254 043 043 240 241 250 \
          176 177 060 062 060 062 095 124 092 035 \
          244 247 250 247 250 250 035 035 032 035 \
          247

These are the same as the first 41 numbers in GRAPHICS; consequently, if you set GRAPHICS, you do not need to set DUNGEON.

The configuration file has a commented-out version of DUNGEON that is claimed to set the default IBMgraphics; in fact, it differs from the above in that it sets stairs to 243 and 242, appearing as ≤ and ≥.

The order of the symbols is as follows:

SymbolNumberAppearance
dark part of a room032(blank)
vertical wall179
horizontal wall196
top left corner218
top right corner191
bottom left corner192
bottom right corner217
cross wall197
T up wall193
T down wall194
T left wall180
T right wall195
doorway250·
vertical open door254
horizontal open door254
vertical closed door043+
horizontal closed door043+
iron bars240
tree241±
floor of room250·
dark corridor176
lit corridor177
staircase up060<
staircase down062>
ladder up060<
ladder down062>
altar095_
grave124|
throne092\
sink035#
fountain244
pool247
ice250·
lava247
vertical open drawbridge250·
horizontal open drawbridge250·
vertical closed drawbridge035#
horizontal closed drawbridge035#
air032(blank)
cloud035#
water247

TRAPS Edit

This option takes 22 numbers, to set the symbols for all traps:

TRAPS = 094 094 094 094 094 094 094 094 094 094 \
        094 094 094 094 094 094 094 034 094 094 \
        094 094

These are the same as the 42nd through 63rd numbers in GRAPHICS; consequently, if you set GRAPHICS, you do not need to set TRAPS.

The order of the symbols is as follows:

SymbolNumberAppearance
arrow trap094^
dart trap094^
falling rock trap094^
squeaky board094^
bear trap094^
land mine094^
rolling boulder trap094^
sleeping gas trap094^
rust trap094^
fire trap094^
pit094^
spiked pit094^
hole094^
trap door094^
teleportation trap094^
level teleporter094^
magic portal094^
web034"
statue trap094^
magic trap094^
anti-magic field094^
polymorph trap094^

EFFECTS Edit

This option takes 29 numbers, to set the symbols for special effects:

EFFECTS = 179 196 092 047 042 033 041 040 048 035 \
          064 042 047 045 092 179 179 092 045 047 \
          047 045 092 179 032 179 092 045 047

These are the same as the 64th through 92nd numbers in GRAPHICS; consequently, if you set GRAPHICS, you do not need to set EFFECTS.

The order of the symbols is as follows:

SymbolNumberAppearance
vertical beam179
horizontal beam196
left-slanting beam092\
right-slanting beam047/
digging beam042*
camera flash beam033!
boomerang left041)
boomerang right040(
shield effect 10480
shield effect 2035#
shield effect 3064@
shield effect 4042*
swallow top left047/
swallow top center045-
swallow top right092\
swallow middle left179
swallow middle right179
swallow bottom left092\
swallow bottom center045-
swallow bottom right047/
explosion top left047/
explosion top center045-
explosion top right092\
explosion center left179
explosion center032(blank)
explosion center right179
explosion bottom left092\
explosion bottom center045-
explosion bottom right047/

OBJECTS Edit

This option takes 17 numbers, to set the symbols for objects:

OBJECTS = 093 041 091 061 034 040 037 033 063 043 \
          047 036 042 096 048 095 046

The order of the symbols is as follows:

SymbolNumberAppearance
Invalid object093]
Weapon041)
Armor091[
Ring061=
Amulet034"
Tool040(
Food037%
Potion033!
Scroll063?
Spellbook043+
Wand047/
Gold036$
Gem042*
Boulder096`
Ball0480
Chain095_
Venom046.

MONSTERS Edit

This option takes 60 numbers, to set the symbols for monsters:

MONSTERS = 097 098 099 100 101 102 103 104 105 106 \
           107 108 109 110 111 112 113 114 115 116 \
           117 118 119 120 121 122 065 066 067 068 \
           069 070 071 072 000 074 075 076 077 078 \
           079 080 081 082 083 084 085 086 087 088 \
           089 090 064 032 039 038 059 058 126 093

The order of the symbols is as follows:

SymbolNumberAppearance
ant097a
blob098b
cockatrice099c
dog100d
eye101e
feline102f
gremlin103g
humanoid104h
imp105i
jelly106j
kobold107k
leprechaun108l
mimic109m
nymph110n
orc111o
piercer112p
quadruped113q
rodent114r
spider115s
trapper116t
unicorn117u
vortex118v
worm119w
xan120x
light121y
zruty122z
angel065A
bat066B
centaur067C
dragon068D
elemental069E
fungus070F
gnome071G
giant072H
(unused)  
jabberwock074J
Kop075K
lich076L
mummy077M
naga078N
ogre079O
pudding080P
quantum mechanic081Q
rust monster082R
snake083S
troll084T
umber hulk085U
vampire086V
wraith087W
xorn088X
yeti089Y
zombie090Z
human064@
ghost032(blank)
golem039'
demon038&
lizard059;
eel058:
worm tail126~
mimic093]

WARNINGS Edit

This option takes six numbers, to set the symbols for warnings:

WARNINGS = 048 049 050 051 052 053

The order of the symbols is as follows:

SymbolNumberAppearance
Level 0 warning0480
Level 1 warning0491
Level 2 warning0502
Level 3 warning0513
Level 4 warning0524
Level 5 warning0535

Numbers and their appearances Edit

To use these options, it is necessary to know which number will appear as which symbol.

Printable ASCII (032-126) Edit

The printable ASCII symbols will appear the same on nearly all platforms.

CodeAppearance
032(blank)
033!
034"
035#
036$
037%
038&
039'
040(
041)
042*
043+
044,
045-
046.
047/
0480
0491
0502
0513
0524
0535
0546
0557
0568
0579
058:
059;
060<
061=
062>
063?
064@
065A
066B
067C
068D
069E
070F
071G
072H
073I
074J
075K
076L
077M
078N
079O
080P
081Q
082R
083S
084T
085U
086V
087W
088X
089Y
090Z
091[
092\
093]
094^
095_
096`
097a
098b
099c
100d
101e
102f
103g
104h
105i
106j
107k
108l
109m
110n
111o
112p
113q
114r
115s
116t
117u
118v
119w
120x
121y
122z
123{
124|
125}
126~

001 through 031 and 127 Edit

The table given here is correct for most MS-DOS, Windows, and OS/2 users. It may also work on the Linux console, depending on the configured font. Some of these may display incorrectly because they are interpreted as control codes; in particular, 008, 009, 010, 013, and 027 will frequently give strange results instead of the symbols shown here.

The Rogue level uses a few of these symbols when IBMgraphics is in effect (and is not configurable); these are indicated in boldface.

CodeAppearance
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021§
022
023
024
025
026
027
028
029
030
031
127

Symbols common to PC code pages Edit

These symbols are present in most PC code pages and can be used with consistent results regardless of the locale. Again, this works for MS-DOS, Windows and OS/2 users, and possibly players using the Linux console.

In particular, code pages 437, 737, 775, 850, 852, 855, 857, 860, 861, 862, 863, 865, 866, and 869 all share these symbols.

Symbols used in IBMgraphics are in boldface.

CodeAppearance
176
177
178
179
180
185
186
187
188
191
192
193
194
195
196
197
200
201
202
203
204
205
206
217
218
219
220
223
254
255(blank)

Symbols that vary among PC code pages Edit

These symbols may be used, but may vary in appearance depending on the computer's locale settings.

Again, this table is for MS-DOS, Windows, and OS/2, and for the Linux console if an appropriate font is set.

Symbols used in IBMgraphics are in boldface.

Code437737775850852855857860861862863865866869
128ÇΑĆÇÇђÇÇÇאÇÇА 
129üΒüüüЂüüüבüüБ 
130éΓéééѓéééגééВ 
131âΔāââЃâââדââГ 
132äΕäääёäãäהÂäД 
133àΖģàůЁàààוààЕ 
134åΗååćєåÁåזåЖΆ
135çΘćççЄçççחççЗ 
136êΙłêłѕêêêטêêИ·
137ëΚēëëЅëÊëיëëЙ¬
138èΛŖèŐіèèèךèèК¦
139ïΜŗïőІïÍÐכïïЛ
140îΝīîîїîÔðלîîМ
141ìΞŹìŹЇıìÞםìНΈ
142ÄΟÄÄÄјÄÃÄמÀÄО
143ÅΠÅÅĆЈÅÂÅן§ÅПΉ
144ÉΡÉÉÉљÉÉÉנÉÉРΊ
145æΣææĹЉæÀæסÈæСΪ
146ÆΤÆÆĺњÆÈÆעÊÆТΌ
147ôΥōôôЊôôôףôôУ 
148öΦöööћöõöפËöФ 
149òΧĢòĽЋòòþץÏòХΎ
150ûΨ¢ûľќûÚûצûûЦΫ
151ùΩŚùŚЌùùÝקùùЧ©
152ÿαśÿśўİÌýר¤ÿШΏ
153ÖβÖÖÖЎÖÕÖשÔÖЩ²
154ÜγÜÜÜџÜÜÜתÜÜЪ³
155¢δøøŤЏø¢ø¢¢øЫά
156£ε££ťю££££££Ь£
157¥ζØØŁЮØÙØ¥ÙØЭέ
158η×××ъŞÛЮή
159ƒθ¤ƒčЪşÓƒƒƒƒЯί
160áιĀááаáááá¦áаϊ
161íκĪííАíííí´íбΐ
162óλóóóбóóóóóóвό
163úμŻúúБúúúúúúгύ
164ñνżñĄцññÁñ¨ñдΑ
165ÑξźÑąЦÑÑÍѸÑеΒ
166ªοªŽдЪӪ³ªжΓ
167ºπ¦ºžДğºÚº¯ºзΔ
168¿ρ©¿Ęе¿¿¿¿Î¿иΕ
169σ®®ęЕ®ÒйΖ
170¬ς¬¬¬ф¬¬¬¬¬¬кΗ
171½τ½½źФ½½½½½½л½
172¼υ¼¼Čг¼¼¼¼¼¼мΘ
173¡φŁ¡şГ¡¡¡¡¾¡нΙ
174«χ««««««««««о«
175»ψ»»»»»»»»»¤п»
181ĄÁÁхÁΚ
182ČÂÂХÂΛ
183ĘÀĚиÀΜ
184Ė©ŞИ©Ν
189Į¢Żй¢Ξ
190Š¥żЙ¥Ο
198ŲãĂкãΠ
199ŪÃăКÃΡ
207Ž¤¤¤¤Σ
208ąðđлºΤ
209čÐĐЛªΥ
210ęÊĎмÊΦ
211ėËËМËΧ
212įÈďнÈΨ
213šıŇН  Ω
214ųÍÍоÍα
215ūÎÎОÎβ
216žÏěпÏγ
221¦ŢП¦δ
222ÌŮяÌε
224αωÓÓÓЯÓαααααрζ
225ßάßßßрßßßßßßсη
226ΓέŌÔÔРÔΓΓΓΓΓтθ
227πήŃÒŃсÒπππππуι
228ΣϊõõńСõΣΣΣΣΣфκ
229σίÕÕňтÕσσσσσхλ
230µόµµŠТµµµµµµцμ
231τύńþšу  τττττчν
232ΦϋĶÞŔУ×ΦΦΦΦΦшξ
233ΘώķÚÚжÚΘΘΘΘΘщο
234ΩΆĻÛŕЖÛΩΩΩΩΩъπ
235δΈļÙŰвÙδδδδδыρ
236ΉņýýВìьσ
237φΊĒÝÝьÿφφφφφэς
238εΌŅ¯ţЬ¯εεεεεюτ
239Ύ´´´я΄
240Ώ-----Ё-
241±±±±˝ы±±±±±±ё±
242˛Ы  Єυ
243¾¾ˇз¾єφ
244Ϊ˘ЗЇχ
245Ϋ§§§ш§ї§
246÷÷÷÷÷Ш÷÷÷÷÷÷Ўψ
247¸¸э¸ў΅
248°°°°°Э°°°°°°°°
249¨¨щ¨¨
250····˙Щ·······ω
251¹¹űч¹ϋ
252³³ŘЧ³ΰ
253²²²²ř§²²²²²²¤ώ

Around Wikia's network

Random Wiki