Home - refracta/NetHack-Webtiles GitHub Wiki
Space(' ') + Chat: Public Chat
F8: Terminal toggle
F9/F10: Zoom tile
F12 / ESC
Focus/Defocus chat input
'<', '>'
Scroll webtile menu
Pinch Zoom / Swipe Scroll
WebRC is RC syntax used to control web functions.
It always starts with #$
#$ DEFAULT_TILE_NAME = <TileName>
<TileName>: Absurd-64x64, DawnHack-32x32, Geoduck-30x50, NetHack-32x32, NethackModern-128x128, Nevanda-32x32, Nevanda-64x64
#$ CUSTOM_TILE_FILE_PATH = <TILE URL>
// Access-Control-Allow-Origin * needed
#$ CUSTOM_TILE_DATA = {"tileWidth": <tileWidth>, "tileHeight": <tileHeight>, "tileName": "User Tile Name", imageWidth: <tileImageWidth>, imageHeight: <tileImageHeight>}
Button lines are supported from 1 to 10.
It is drawn from the top of the button line with a large number.
#name|NAME => Display: NAME, Function: Send key ['#', 'n', 'a', 'm', 'e']
Below is an example.
#$ MOBILE_BUTTON_LINE10=%KEY%|Key %KEY_ENTER%|KEt [13]|Etr [27]|ESC [32]|SPA [8]|BSP O @ %ROOM_CHAT%|RChat %PUBLIC_CHAT%|PChat %CLEAR_CHAT%|ClrChat Sy|Save #quit[13]|qui #conduct[13]|cdt
#$ MOBILE_BUTTON_LINE9=# #force[13]|foc #untrap[13]|utr #loot[13]|lot #kick[13]|kic #jump[13]|jmp #sit[13]|sit #invoke[13]|ivk #rub[13]|rub #wipe[13]|wip #pray[13]|pry #offer[13]|ofr #monster[13]|mon #ride[13]|rid #turn[13]|tun #adjust[13]*|adj #name[13]*|nam #dip[13]*|dip #enhance[13]|enh #twoweaphon[13]|twp
#$ MOBILE_BUTTON_LINE8=7|↖️ 8|↑ 9|↗️ w W T R x A P d D E
#$ MOBILE_BUTTON_LINE7=4|← .|. 6|→ c o e a r q z Z f Q t ; :
#$ MOBILE_BUTTON_LINE6=1|↙️ 2|↓ 3|↘️ i , C p _ n20s [16]|msg [24]|att [1]|rep
\\\r
: Enter
\\\
: Space character in button name, #force[13]:THIS\\\ IS\\\ FORCE\\\ BUTTON
=> THIS IS FORCE BUTTON
[KeyCode]
: Send the key corresponding to the keycode
[27]
: ESC, [32]
: Space, [13]
: Enter, [16]
: Message history, [24]
: Character stats, [8]
: Backspace, [1]
: Repeat key
%ROOM_CHAT%
: Toggle room chat input
%PUBLIC_CHAT%
: Toggle public chat input
%CLEAR_CHAT%
: Clear chat history
%KEY%
: Toggle key input
%KEY_ENTER%
: %KEY% + Enter
#$ EXPERIMENTAL_FONT_PATCH = true
Change the font with Nanum Gothic Coding.
#$ PIN_TERMINAL = true

Always pin the terminal window on top.
#$ FORCE_TERMINAL_KEY = true
Ignores the remapping of the webtiles menu key.
#$ EXPERIMENTAL_ARROW_KEY_SUPPORT = hjklyubn
#$ EXPERIMENTAL_ARROW_KEY_SUPPORT = number_pad
Map the arrow keys to hjkl or 2468. This feature is experimental.