Difference between revisions of "Talk:Options"

From NetHackWiki
Jump to navigation Jump to search
m (Oh noes, it's a Debianism. Whatever shall we do?)
(Missing options: new section)
Line 25: Line 25:
 
* '''/etc/nethack/nethackrc''' for system-wide settings on [[unix]]-like OS's, and '''~/.nethackrc''' for individual users to override those settings.
 
* '''/etc/nethack/nethackrc''' for system-wide settings on [[unix]]-like OS's, and '''~/.nethackrc''' for individual users to override those settings.
 
But that seems to be a Debian-specific thing; vanilla NetHack compiled from source definitely doesn't do this. --[[User:Paxed|paxed]] 16:51, 14 August 2008 (UTC)
 
But that seems to be a Debian-specific thing; vanilla NetHack compiled from source definitely doesn't do this. --[[User:Paxed|paxed]] 16:51, 14 August 2008 (UTC)
 +
 +
== Missing options ==
 +
 +
The following options are missing from the article:
 +
*Atari specific: font_message, font_map, font_status, font_menu, font_text, scroll_margin, ascii_map, align_message, align_status, vary_msgcount
 +
*Win32 specific: font_menu (font_size_menu), font_status (font_size_status), font_message (font_size_message), font_text (font_size_text), scroll_amount, scroll_margin, map_mode, hilite_pet, align_message, vary_msgcount
 +
 +
The following aren't used with <tt>OPTIONS=</tt>, instead they're used like <tt>SOUNDDIR=/home/nick/nethacksounds/</tt>:
 +
*SOUND, SOUNDDIR
 +
*QtNetHack specific: QT_FONTSIZE, QT_COMPACT, QT_TILEHEIGHT, QT_TILEWIDTH
 +
*Amiga specific: FONT, PATH, DEPTH, DRIPENS, SCREENMODE, MSGPENS, TEXTPENS, MENUPENS, STATUSPENS, OTHERPENS, PENS, FGPENS, BGPENS
 +
*Others: HACKDIR, LEVELDIR (or LEVELS), SAVEDIR, BONESDIR, DATADIR, SCOREDIR, LOCKDIR, CONFIGDIR, TROUBLEDIR, RAMDISK, SAVE
 +
 +
--[[User:Paxed|paxed]] 17:03, 29 November 2008 (UTC)

Revision as of 17:03, 29 November 2008

Should the options be listed in alphabetical order, or first split into booleans and compound options? (I know they're listed with booleans first in the game, but IMO that's a misfeature :) --Paxed 16:51, 3 October 2006 (UTC)

Alphabetical order seems more useful. That's how the guidebook lists them. --Jayt 21:37, 3 October 2006 (UTC)

subkeyvalue

In the standard defaults.nh in the windows binary download, you can find an option called subkeyvalue. The numbers are ASCII codes (decimal).

# Finnish keyboards might need these modifications uncommented. 
# For  \, @, $, [, |
#OPTIONS=subkeyvalue:171/92
#OPTIONS=subkeyvalue:178/64
#OPTIONS=subkeyvalue:180/36
#OPTIONS=subkeyvalue:184/91
#OPTIONS=subkeyvalue:188/124

I wanted to substitute y with z because I've got an German keyboard layout (QERTZ). I tried

OPTIONS=subkeyvalue:121/122
OPTIONS=subkeyvalue:122/121

but it doesn't work.

Does anyone know something about that option? It isn't documented in the Guidebook. --217.80.113.242 17:47, 31 October 2007 (UTC)

I just took a peek at the source code and I can't see why it wouldn't work, provided you're using the console version. I don't think it works with the tiled version. Key processing is wonky on Windows console programs and the subkeyvalue option was meant to fix that; see nhraykey.dll and W343-4 for a brief description of the issues.--Ray Chason 20:04, 31 October 2007 (UTC)

Distro-specific stuff

Someone added this:

  • /etc/nethack/nethackrc for system-wide settings on unix-like OS's, and ~/.nethackrc for individual users to override those settings.

But that seems to be a Debian-specific thing; vanilla NetHack compiled from source definitely doesn't do this. --paxed 16:51, 14 August 2008 (UTC)

Missing options

The following options are missing from the article:

  • Atari specific: font_message, font_map, font_status, font_menu, font_text, scroll_margin, ascii_map, align_message, align_status, vary_msgcount
  • Win32 specific: font_menu (font_size_menu), font_status (font_size_status), font_message (font_size_message), font_text (font_size_text), scroll_amount, scroll_margin, map_mode, hilite_pet, align_message, vary_msgcount

The following aren't used with OPTIONS=, instead they're used like SOUNDDIR=/home/nick/nethacksounds/:

  • SOUND, SOUNDDIR
  • QtNetHack specific: QT_FONTSIZE, QT_COMPACT, QT_TILEHEIGHT, QT_TILEWIDTH
  • Amiga specific: FONT, PATH, DEPTH, DRIPENS, SCREENMODE, MSGPENS, TEXTPENS, MENUPENS, STATUSPENS, OTHERPENS, PENS, FGPENS, BGPENS
  • Others: HACKDIR, LEVELDIR (or LEVELS), SAVEDIR, BONESDIR, DATADIR, SCOREDIR, LOCKDIR, CONFIGDIR, TROUBLEDIR, RAMDISK, SAVE

--paxed 17:03, 29 November 2008 (UTC)