PATCH: One-button firing in Keen 1

Completed patches for Keen1.
Post Reply
User avatar
adurdin
Site Founder
Posts: 549
Joined: Fri Aug 29, 2003 11:27 pm
Location: Edinburgh, Scotland
Contact:

PATCH: One-button firing in Keen 1

Post by adurdin »

The following patch will make the status screen key Enter, and the key for shooting Space, as in Keen 4:

Code: Select all

%ext ck1
%version 1.31

# Change the controls to: Space, shoot; Enter, status.
%patch $1251  $48
%patch $7FA3  $48
%patch $3B23  $90 $90 $90 $90 $90 $90 $90 $80 $3E $65 $50 $00
%patch $3C4E  $90 $90 $90 $90 $90 $90 $90 $80 $3E $65 $50 $00
%patch $3DB9  $90 $90 $90 $90 $90 $90 $90 $80 $3E $65 $50 $00
%patch $3DCC  $90 $90
%patch $3E6D  $90 $90 $90 $90 $90 $90 $90 $80 $3E $65 $50 $00
%patch $3FFC  $90 $90 $90 $90 $90 $90 $90 $80 $3E $65 $50 $00
%patch $40AA  $90 $90 $90 $90 $90 $90 $90 $80 $3E $65 $50 $00

%end
If you want the controls to be something else, look up the scan codes in the table below for the keys you want, add $2C (44 decimal) to them, and replace the $48s (Enter) and $65s (Space) in the patch above with the new values.

Code: Select all

ESC         01    U            16   | or \      2B   F6          40
! or 1      02    I            17   Z           2C   F7          41
@ or 2      03    O            18   X           2D   F8          42
# or 3      04    P            19   C           2E   F9          43
$ or 4      05    { or [       1A   V           2F   F10         44
% or 5      06    } or ]       1B   B           30   NUMLOCK     45
^ or 6      07    ENTER        1C   N           31   SCROLL LOCK 46
& or 7      08    CTRL         1D   M           32   HOME or 7   47
* or 8      09    A            1E   < or ,      33   UP or 8     48
( or 9      0A    S            1F   > or .      34   PGUP or 9   49
) or 0      0B    D            20   ? or /      35   -           4A
_ or -      0C    F            21   RIGHT SHIFT 36   LEFT or 4   4B
+ or =      0D    G            22   PRTSC or *  37   5           4C
LEFT        0E    H            23   ALT         38   RIGHT or 6  4D
TAB         0F    J            24   SPACEBAR    39   +           4E
Q           10    K            25   CAPSLOCK    3A   END or 1    4F
W           11    L            26   F1          3B   DOWN or 2   50
E           12    : or ;       27   F2          3C   PGDN or 3   51
R           13    " or '       28   F3          3D   INS or 0    52
T           14      or `       29   F4          3E   DEL or .    53
Y           15    LEFT SHIFT   2A   F5          3F
Last edited by adurdin on Fri Jan 28, 2005 10:11 pm, edited 1 time in total.
Post Reply