Menu

Completed patches for Keen3.
Post Reply
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Menu

Post by levellord »

Here is how to patch all the stuff in the menu; window size, text, you name it.

Code: Select all

#Menu window
#menu pointer upwards speed
%patch $9C3C $01 $00
#Font character left behind by upward moving pointer
%patch $9C44 $20 $00
#Menu pointer downwards speed
%patch $9D1D $01 $00
#Font character left behind by downward moving pointer
%patch $9D25 $20 $00
#Menu box height in lines of text
%patch $9EF0 $0A $00
#Menu box width in letters
%patch $9EF4 $12 $00

#Text read from: [Text must end in $0A $00]
#Read from $19820, thus new game text read from $19820 + $2FB5
# = $1C7D5 $75 $2E for extra space; $4F $30 'deletes'
%patch $9F13 $B5 $2F #New Game
%patch $9F1B $C2 $2F #Continue Game
%patch $9F23 $D4 $2F #Story
%patch $9F2B $DE $2F #About Id
%patch $9F33 $EE $2F #High Scores
%patch $9F3B $FE $2F #Ordering info
%patch $9F43 $10 $30 #Previews!
%patch $9F4B $1E $30 #Restart demo [Uses 2 $0A $0A in text!]
%patch $9F53 $30 $30 #Use the
%patch $9F6B $39 $30 #Arrows [Using keyboard]
%patch $9F75 $40 $30 #Mouse [Using mouse]
%patch $9F7F $46 $30 #Joystick [Using joystick]

#Menu text
#The $00 ends the text sequence, the $0A moves down a line
%patch $1C7D5 "   New Game" $0A $00
%patch $1C7E2 "   Continue Game" $0A $00
%patch $1C7F4 "   Story" $0A $00
%patch $1C7FE "   About ID..." $0A $00
%patch $1C80E "   High Scores" $0A $00
%patch $1C81E "   Ordering Info" $0A $00
%patch $1C830 "   Previews!" $0A $00
%patch $1C83E "   Restart Demo" $0A $0A $00 #moves down two lines]
%patch $1C850 "Use the " $00
%patch $1C859 "arrows" $00
%patch $1C860 "mouse" $00
%patch $1C866 "joystick" $00
Enjoy!

User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Post by levellord »

To make it easier to change the length of the lines without having to alter where the text is read from, the following patch allows you to add or subtract letters without having to alter *any* 'text read from' lines. However, you cannot use more characters in this patch than there already are

Code: Select all

#Text read from: [Delete all lines but first]
#You do NOT need to alter this!
%patch $9F13 $75 $2E #New Game
%patch $9F1B $74 $2E #Continue Game
%patch $9F23 $74 $2E #Story
%patch $9F2B $74 $2E #About Id
%patch $9F33 $74 $2E #High Scores
%patch $9F3B $74 $2E #Ordering info
%patch $9F43 $74 $2E #Previews!
%patch $9F4B $74 $2E #Restart demo [Uses 2 $0A $0A in text!]
%patch $9F53 $74 $2E #Use the

#This part makes a lot of menu text, go wild!
%patch $1C695 "   New Game"  $0A
"   Continue Game" $0A
"   Story" $0A
"   About ID..." $0A
"   High Scores" $0A
"   Ordering Info" $0A
"   Previews!" $0A
"   Restart Demo" $0A $0A 
"Use the " $00
Whats so good about this? Well; you can add or subtract any text you want! We're using 'empty' space so your text can be very long. As an example:

Code: Select all

#Lookit the long text!
%patch $1C695 "   Start Mission"  $0A
"   Restore Saved Mission" $0A
"   Mission objective" $0A
"   Our Motto" $0A
"   The Keen List" $0A
"   Other Missions" $0A
"   About us" $0A
"   Close Window" $0A $0A 
"Use the " $00
[/code]

See? Endless oppurtunity!

Post Reply