Patch:Joystick

From KeenWiki
Jump to navigation Jump to search

This page contains patches relating to the joystick as a form of game input, like the keyboard. It does not contain patches relating to the joystick tile in Keen 1, which is a Ship Part.


Keen Vorticons Joystick detection text

This text appears at the very start of Keen Vorticons, when the game is detecting its running environment. On modern systems this phase does not last long. A different text appears if a joystick is not detected.

Keen

#Keen 1 :
%patch $130B  [$1F05W] #Text called from
%patch $14F55 "Joystick detected" $00
%patch $131C  [$1F17W] #Text called from
%patch $14F67 "Joystick not detected" $00

#Keen 2 :
%patch $12C5  [$22C3W] #Text called from
%patch $19A43 "Joystick detected" $00
%patch $12D6  [$22D5W] #Text called from
%patch $19A55 "Joystick not detected" $00

#Keen 3 :
%patch $1264  [$23BFW] #Text called from
%patch $1BBDF "Joystick detected" $00
%patch $1274  [$23D1W] #Text called from
%patch $1BBF1 "Joystick not detected" $00


Joystick Configuration Window

The Joystick Configuration Window is a window in Keen Vorticons that allows the player to change how the joystick controls what actions. It is one of the configuration options in the Vorticon series.


Disable

This disables the ability of the player to change the joystick controls. The player can change the controls by loading the game directly (Unless it has been so heavily patched that this is impossible.) Alternatively controls can be set by the modder or copied from a clean version of the game (By copying the CTLPANEL.CKx file.) The main effect of this patch is to free up a large amount of space for other patches.

Disable Joystick Window

#Disable Joystick Window, Keen 1: (Free $4FA9-$51F9)
%patch $0D06 $EB $24

#Disable Joystick Window, Keen 2: (Free $157C-$17CC)
%patch $0D06 $EB $24

#Disable Joystick Window, Keen 3: (Free $153A-$1781)
%patch $0D5B $EB $25


Window setup

These patches affect the window itself and the text that appears in it.

Keen

#Keen 1 :
%patch $4FB5  [$0009W] #Height
%patch $4FB9  [$001CW] #Width
%patch $5009  [$2559W] #Text called from
%patch $5012  [$2574W] #Text called from
%patch $501B  [$258FW] #Text called from
%patch $5024  [$25AAW] #Text called from
%patch $502D  [$25B7W] #Text called from
%patch $50E0  [$25D2W] #Text called from
%patch $50E9  [$25F0W] #Text called from
%patch $50F2  [$25FEW] #Text called from

%patch $155A9 "  Joystick Configuration" $0A $00
%patch $155C4 "  ----------------------" $0A $00
%patch $155DF "Hold the joystick in the" $0A $00
%patch $155FA "upper left" $0A $00
%patch $15607 "corner and press button 1:" $00
%patch $15622 $0A $0A "Hold the joystick in the" $0A $00
%patch $15640 "lower right" $0A $00
%patch $1564E "corner and press button 1:" $00


#Keen 2 :
%patch $1588  [$0009W] #Height
%patch $158C  [$001CW] #Width
%patch $15DC  [$24B9W] #Text called from
%patch $15E5  [$24D4W] #Text called from
%patch $15EE  [$24EFW] #Text called from
%patch $15F7  [$250AW] #Text called from
%patch $1600  [$2517W] #Text called from
%patch $16B3  [$2532W] #Text called from
%patch $16BC  [$2550W] #Text called from
%patch $16C5  [$255EW] #Text called from

%patch $19C39 "  Joystick Configuration" $0A $00
%patch $19C54 "  ----------------------" $0A $00
%patch $19C6F "Hold the joystick in the" $0A $00
%patch $19C8A "upper left" $0A $00
%patch $19C97 "corner and press button 1:" $00
%patch $19CB2 $0A $0A "Hold the joystick in the" $0A $00
%patch $19CD0 "lower right" $0A $00
%patch $19CDE "corner and press button 1:" $00


#Keen 3 :
%patch $1546  [$0009W] #Height
%patch $154A  [$001CW] #Width
%patch $1599  [$25B5W] #Text called from
%patch $15A1  [$25D0W] #Text called from
%patch $15A9  [$25EBW] #Text called from
%patch $15B1  [$2606W] #Text called from
%patch $15B9  [$2613W] #Text called from
%patch $1669  [$262EW] #Text called from
%patch $1671  [$264CW] #Text called from
%patch $1679  [$265AW] #Text called from

%patch $1BDD5 "  Joystick Configuration" $0A $00
%patch $1BDF0 "  ----------------------" $0A $00
%patch $1BE0B "Hold the joystick in the" $0A $00
%patch $1BE26 "upper left" $0A $00
%patch $1BE33 "corner and press button 1:" $00
%patch $1BE4E $0A $0A "Hold the joystick in the" $0A $00
%patch $1BE6C "lower right" $0A $00
%patch $1BE7A "corner and press button 1:" $00