Strange patch

Completed patches for Keen2.
Post Reply
User avatar
Flyingmouse
Posts: 104
Joined: Wed Aug 05, 2009 8:33 pm
Location: Procrastination

Strange patch

Post by Flyingmouse »

By randomly changing values in patches for Keen 2, I found this:

Code: Select all

%patch $34A5 $09 $00 
This makes a black box appear along the lower 32x16 area of the Vorticon sprite, which will randomly flash while the Vorticon is running.

Edit: I also found this:

Code: Select all

#Jumping scrubs!
%patch $42F6 $09 $00
#Pogo closes game.
%patch $5C32 $09 $00 
#Sprites mess up when moving
%patch $3535 $09 $00
#Weaponry A (The top-left level) closes game.
%patch $417C $09 $00
#Vorticon cannot be killed by Keen shot, but can be killed by Dead Keen?!
%patch $3F98 $09 $00 
User avatar
CommanderSpleen
Posts: 1017
Joined: Sun Aug 31, 2003 12:11 pm
Location: The Land of Sparkly Things
Contact:

Post by CommanderSpleen »

Code: Select all

#Vorticon cannot be killed by Keen shot, but can be killed by Dead Keen?!
%patch $3F98 $09 $00 
That's hilarious. Hmm, with some further patching to make another sprite spawn the flying dead Keen, it could be made into something amusing.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

I hereby dub the LeveLord Lite. (Or LLl)

Note however that dead Keen ends the level when offscreen.
KeenRush
Patch Maker
Posts: 1988
Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:

Post by KeenRush »

It's amazing how all sorts of strange behaviour can appear, instead of the game just crashing or not working.
User avatar
Flyingmouse
Posts: 104
Joined: Wed Aug 05, 2009 8:33 pm
Location: Procrastination

Post by Flyingmouse »

Now the scrub has weird powers activated when switching from left to up:

Code: Select all

#Action list for walker touching |_ corner, first 32 values
%patch $4300 $XX $00 
#00 freezes walker
#01 streches tiles, after interval of time quits game
#02 same as 01, but shorter
#03 kills keen
#04-06 win level
#07 leaves (but does not complete) level
#08 creates circle sprite, any key quits
#09 (no sound) instant effect of 07, (sound) creates weird text on top half of screen then exits level
#0A like 09, but on next level entered will mess up graphics for as long as the program is open
#0B illegal instruction error
#0C same as 00
#0D same as 03
#0E status box pops up, effect of 09 if a key is pressed
#0F similar to 0A
#10 same as 0E, but only blue and green keys appear
#11 same as 0B
#12&13 same as 01
#14 goes to title screen, any key has effect of 0B
#15 quits game normally
#16 same as 0B
#17 goes to map and plays normally, except keen is constantly going down
#18&19 same as 03
#1A words CTRL and ALT appear with a circle sprite, any key leaves level
#1B same as 07
#1C-1D same as 06
#1E same as 07
#1F same as 06
I didn't bother to list any more than 32, so there might be even weirder actions for other numbers.
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Post by Fleexy »

I get different results. Here is what I get:

$00 Freeze scrub
$01 Prints in DOS text garbage, makes tick sounds, quits
$02 Quits
$03 Normal death without 'flapping' animation or sound
$04 Wins level
$05 Wins level
$06 Wins level
$07 Exits to map
$08 Puts whirling cursor onscreen, freezes, ESC gives Windows error
$09 Same as $01, but goes to map instead of quitting
$0A Exits to map, turns that level's tiles into junk, if level entered again graphics junkified.
$0B Pauses for a second, then quits
$0C Freezes scrub
$0D Same as $03
$0E Pops up status screen, closing status quits the game
$0F Freezes, ESC goes to distorted map
$10 Freezes game, any key leaves level
$11 Exits game and gives Windows error
$12 Just quits game
$13 Quits game
$14 Quits to title screen, ESC triggers Windows error
$15 Screen goes black, freezes
$16 Exits game and gives Windows error
$17 Blinks to map, Keen stuck going down
$18 Goes to map, no death sequence, Keen loses life
$19 Same as $18
$1A Words CTRL and ALT appear, no cursor, any key exits to worldmap
$1B Number 6 on white background appears, any key exits to map
$1C Snaps to worldmap
$1D Same as $1C
$1E Same as $1C
$1F Same as $1C

Hmm.. maybe version discrepency? I use v1.31 of Keen 2.
Last edited by Fleexy on Thu Jan 21, 2010 8:09 pm, edited 1 time in total.
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Post by Fleexy »

2x range:

$20 Exits to map, no sound (I'm getting the feeling that 1C and above do this)
$21 Exits to map with normal sound, Keen loses life, stuck going up (no more 1C!)
$22 Normal death except for no 'flapping' animation or sound
$23 Same as $20 (oh no, not again!)
$24 Quits normally (phew)
$25 Graphics weird for split second, quits normally
$26 Puts vertical bars all over for a second, quits
$27 Quits, gives Windows error
$28 Puts whirling cursor on screen, freezes, any key quits
$29 Same as $27
$2A Quits normally
$2B Same as $22
$2C Quits normally
$2D Freezes for a second, then quits normally
$2E Screen goes black, freezes up
$2F Same as $2E

More coming soon!
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Post by Fleexy »

As I get higher, they get weirder (3x range)! Oh, sorry for post string, but I wanted to keep the ranges separate. Here we are:

$30 Draws one small black line for a second, then garbagifies screen with shrunk fonts and random tiles
$31 Freezes
$32 Same as $31
$33 Goes to map, all sprites from then on become inverted versions of random other sprites
$34 Quits normally
$35 Same as $33
$36 Same as $34
$37 Same as $33, but when entering another level, on same event (scrub turn |_ corner) shows DISK ERROR window and text, freezes
$38 Draws loads of random horizontal lines, then quits normally
$39 Same as $33, but when entering another level, on same event (scrub turn |_ corner) exits with Windows error
$3A Normal death sequence, but no 'flapping' animation or sound
$3B Does level exit fade to map, no sound
$3C Same as $31
$3D Freezes the scrub
$3E Same as $34
$3F Exits with Windows error

Funky. You just HAVE to try $30 and $37. What's the default anyway?
User avatar
Flyingmouse
Posts: 104
Joined: Wed Aug 05, 2009 8:33 pm
Location: Procrastination

Post by Flyingmouse »

Are you using sound? I noticed sound can make a large difference in what happens.

EDIT: As far as I'm aware, it looks like we have the same patches, just with different descriptions.

Another EDIT: 70-7F:

Code: Select all

#70 illegal instruction
#71 dies, no animation
#72 worldmap
#73 same as 71
#74 streches tiles with weird colors, quits game
#75 same as 70
#76 streches tiles and quits
#77 same as 70
#78 same as 74
#79 fades in and out constantly, all sprites gone, game stuck
#7A CRASH!
#7B camera stuck in one position, sprites (excluding keen) frozen
#7C freezes ALL sprites, if status menu used sprites will vanish, returning to title quits game
#7D freezes game, any key immediately exits game and returns to title-otherwise, no effects on future play
#7E same, but no key press
#7F inverts colors, brings up distorted disk error menu, ESC gives illegal instruction
User avatar
Deltamatic
Posts: 163
Joined: Tue Oct 06, 2009 5:33 am

Post by Deltamatic »

Code: Select all

#7B camera stuck in one position, sprites (excluding keen) frozen 
Any way to activate/undo this in-level?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Since he's jumping to a random piece of code, I shouldn't think so.
Post Reply