Addon

Addon solves “alt” problem, removes borders, cropping duplicated stroke, making game fullscreen, makes it safe to press any keys, prevent changing language layout, gives possibility to assign hotkeys for numpad+5 key, NumLock, CapsLock and WinKey etc.

Important: do not use NumLock for ‘battle’ actions, it could be have a delay!

Guide for mangclient_sdl.exe

1) download AutoHotkey https://autohotkey.com/ – its free program
2) addon file already exist in Tangaria client folder; it’s called tangaria-addon.ahk
3) if you wish, you could customize addon option – edit it in Notepad, like common text file
4) run addon file as ‘administrator’ (create shortcut to the file on desktop and choose in file prorerties ‘run as administrator’)
5) run game (mangclient_sdl.exe) and use MMB+LMB* to activate addon in active window, MMB+RMB to deactivate. 
*L/RMB –  left/right mouse button; MMB – middle mouse button.


Guide for mangclient.exe

  1. edit your mangband.ini file to have right amount of strokes for messages window. The easiest way is to use my config (to download: RMB* -> ‘save link as…’). Don’t forget to put your login/password there.
  2. (OPTIONAL) you could download blind-friendly big font files 16X24TX and 21X31TG ; put them to folder PWMAngband\lib\fonts . To used them, edit config and replace stroke Font=16X24X.FON with Font=16X24TX.FON in term 0 and put 21X31TG.FON to term 1. If this fonts would be too big for you, later on you could download other sizes there 

Now you could download addon itself:

1) download AutoHotkey https://autohotkey.com/ – its free program
2) download addon http://tangar.info/wp-content/uploads/games/pwmangband/pwmangbandV1-0.ahk // to download: RMB* -> ‘save link as…’
3) customize addon option – to hide or not to hide top stoke in game window (edit file it in Notepad, like common text file)
4) run addon file as ‘administrator’ (create shortcut to the file on desktop and choose in file prorerties ‘run as administrator’.
5) run game and use MMB+LMB* to activate addon in active window, MMB+RMB to deactivate. 
*L/RMB –  left/right mouse button. MMB – middle mouse button; 

And the last one: protect mangband.ini file (RMB -> ‘read only’) for writing cause there is a bug which augment number of rows in client every time when you use addon. So you should to lock this file after you arranged everything.


p.s.
If PWMangband would be updated – you have to edit pwmangbandV1-0.ahk file and change there version (al line 31); either way it won’t ‘cut’ header. I update it by myself in most cases, so most probably you won’t need to do anything.

To report typo, error or make suggestion: select text and press Ctrl+Enter.