Talk:Custom map symbols (historic)

From NetHackWiki
Revision as of 18:25, 17 December 2011 by Blackcustard (talk | contribs) (default GRAPHICS config.s)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

default GRAPHICS config.s

I compiled a modified form of display.c and was able to extract Nethack's default entries for the showsyms array, which is what you are setting with GRAPHICS. I have the defaults for DEC graphics, IBM graphics, and what Nethack calls ASCII, which is what you get with neither DEC nor IBM on (calling it ASCII is an abuse but w.e.). Il'd like to add them to the wiki, but maybe someone else could look at them first? Make sure I'm on the right track?

DEC and IBM graphics are just preconfigured values for GRAPHICS, i.e. for this array. When you turn one of those on or off it overwrites the array and any entry you've made for GRAPHICS (until you reload the game). I tested that my entries for the DEC set were correct by verifying that the level did not change when I activated DEC graphics. I've also confirmed that my entry for IBM graphics is identical to the one on the page, minus the leading zeros.

The advantage to listing these defaults is that you can start with DEC or IBM or what Nethack calls ASCII (it's what you get without DEC or IBM on), and then make just the changes you want.

Entries:

ASCII GRAPHICS: 32 124 45 45 45 45 45 45 45 45 124 124 46 45 124 43 43 35 35 46 35 35 60 62 60 62 95 124 92 35 123 125 46 125 46 46 35 35 32 35 125 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 34 94 94 94 94 124 45 92 47 42 33 41 40 48 35 64 42 47 45 92 124 124 92 45 47 47 45 92 124 32 124 92 45 47

IBM GRAPHICS: 32 179 196 218 191 192 217 197 193 194 180 195 250 254 254 43 43 240 241 250 176 177 60 62 60 62 95 124 92 35 244 247 250 247 250 250 35 35 32 35 247 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 34 94 94 94 94 179 196 92 47 42 33 41 40 48 35 64 42 47 45 92 179 179 92 45 47 47 45 92 179 32 179 92 45 47

DEC GRAPHICS: 32 248 241 236 235 237 234 238 246 247 245 244 254 225 225 43 43 251 231 254 35 35 60 62 249 250 95 124 92 35 123 224 254 224 254 254 35 35 32 35 224 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 34 94 94 94 94 248 241 92 47 42 33 41 40 48 35 64 42 47 239 92 248 248 92 243 47 47 239 92 248 32 248 92 243 47


Gonna do some more testing later, but I might as well put this here for now.

Blackcustard 18:25, 17 December 2011 (UTC)