kbdhackfile for Night Stalker

Posted on April 15, 2019
Tags: other

On a Mac laptop keyboard, without a numeric keypad, the default jzIntv keybindings are not great for playing games like Night Stalker or Cloudy Mountain, where you use the keypad to shoot.

Luckily, jzIntv has a mechanism for customizing the keybindings, called kbdhackfile. So, I wrote a kbdhackfile that makes playing Night Stalker more intuitive:

MAP 3
UP     PD0L_KP2
DOWN   PD0L_KP8
LEFT   PD0L_KP4
RIGHT  PD0L_KP6

You use the arrow keys to move, as normal, but the kbdhackfile makes it possible to shoot by holding down the Command key and pressing an arrow key.

It’s necessary to specify the path to the kbdhackfile on the jzIntv command line, so I made an alias:

alias jz="jzintv -z3 --kbdhackfile=$HOME/intv/kbdhackfile.txt"