PATCH: Change the stuff c + t + space gives Keen

Completed patches for Keen1.
Post Reply
KeenRush
Patch Maker
Posts: 1988
Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:

PATCH: Change the stuff c + t + space gives Keen

Post by KeenRush »

Needed this thing in my mod, so I tried searching it, even found it pretty quickly. :)

Anyways.
As you know, if you press c + t + space cheat in Keen 1 the game sets your ammo to 100.
With this patch you can change the amount of ammo it sets to ammo.

Edit: Now you can also take all Keen's keycards and pogo stick. :)

Code: Select all

# Set Keen's pogo to zero (take Keen's pogo). Use $01 if you want it to give Keen pogo.
%patch $DFD $00

# When using c + t + space cheat in Keen 1, set Keen's ammo to 1234.
%patch $E03 $D2 $04

# Set all Keen's keycards to zero. Use $01 if you want to give Keen all the keycards.
%patch $E11 $00
Last edited by KeenRush on Mon Apr 19, 2004 4:14 am, edited 2 times in total.
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Post by levellord »

Cool! Can you control wether it gives you keycards or a pogo stick?
KeenRush
Patch Maker
Posts: 1988
Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:

Post by KeenRush »

Hmmm, I'll check soon! :)

Edit: Hit some. I'll edit the main post.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Long time, no edit huh? Full details:

Code: Select all

#Disable CTSpace cheat:
%patch $0DB0 $C3

#What Keen's ammo is set to with CTSpace ($64 = 100)
%patch $E03 $64 $00
#Don't affect Keen's ammo
%patch $0DFF $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90

#CTSpace cheat loses Keen his pogo (Use $01 to give)
%patch $0DFD $00 $00 
#Don't affect Keen's pogo
%patch $0DF9 $90 $90 $90 $90 $90 $90

#CTSpace sets all Keen's keycards to zero 
%patch $E11 $00 
#Cheat doesn't affect his keycards
%patch $0E10 $90 $90 $90

And some pointless text editing:

Code: Select all

#CTSpace textbox:
%patch $0DC8 $04 $00 #Height [In lines of text]
%patch $0DCC $1A $00 #Width [in letters]

#Text read from: [13050 + value = location]
#[$BF $23 has 228 chars free space!]
%patch $0DD6 $9E $1D #First line
%patch $0DDF $B5 $1D #Second line
%patch $0DE8 $D1 $1D #Third line
%patch $0DF1 $E9 $1D #Forth line

#CTSpace text:
%patch $198C6 "You are now cheating!" $0A $00
%patch $198DD "You just got all the" $0A $00
%patch $198F3 "Key cards, and lots of" $0A $00
%patch $1990B "ray gun charges." $00
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

I have developed a general patch structure for the CTSpace cheat, that allows you to change not only how much of something the cheat gives, but also *what*

As in the first post above, a value of zero will take something. Yes you can use this to skip levels by making them done.

Code: Select all

#What CTSpace cheat gives Keen:
%patch $0E01 $C8 $AA $64 $00 #Ammo (100)
%patch $0DFB $9A $AA $01 $00 #Pogo (0 to steal pogo)
%patch $0E0F $9E $AA $01 $00 #ALL keys (0 to steal all keys) 

#What the first byte affects:
$94: Joystick  $96: Vaccum      $98: Whiskey  $9A: Pogo       
$9C: Battery   $9E: All cards   $A0; Red card $A2: Green card 
$A4: Blue card $A6: Level 1     $A8: Level 2  $AA: Level 3
$AC: Level 4   $AE: Level 5     $B0: Level 6  $B2: Level 7
$B4: Level 8   $B6: Level 9     $B8: Level 10 $BA: Level 11
$BC: Level 12  $BE: Level 13    $C0: Level 14 $C2: Level 15
$C4: Level 16  $C6: Lives       $C8: Ammo     $CA: Points
$CC: Points * 65536
I hope this makes for some inventive uses of this cheat, especially since it can be reconfigured to a single key activation (E.g., you could make it so that pressing space converts Keen's pogo into 100 ammo, letting him defend himself, but stopping him getting up high.)

Enjoy!
Post Reply