Difference between revisions of "Talk:Options"

From NetHackWiki
Jump to navigation Jump to search
(subkeyvalue: Console or tiled?)
Line 18: Line 18:
  
 
Does anyone know something about that option? It isn't documented in the Guidebook. --[[User:217.80.113.242|217.80.113.242]] 17:47, 31 October 2007 (UTC)
 
Does anyone know something about that option? It isn't documented in the Guidebook. --[[User:217.80.113.242|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.--[[User:Ray Chason|Ray Chason]] 20:04, 31 October 2007 (UTC)

Revision as of 20:04, 31 October 2007

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)