Fleexy's Funky Findings [scrub]

Completed patches for Keen2.
Post Reply
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Fleexy's Funky Findings [scrub]

Post by Fleexy »

Inspired by Flyingmouse's start on it.

These are different things that can happen when a scrub turns a |_ corner. Just put one of these into the XX in this patch.

%patch $4300 $XX $00

Here we go... (some of these are really weird and funky):

$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
$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
$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
$40 Quits
$41 Quits
$42 Quits with Windows error
$43 Same as $42
$44 Must be default, turns the corner normally
$45 Quits
$46 Screen goes black, freezes
$47 Pauses for a second, quits
$48 TANTALUSFIRE sounds, all sprites removed
$49 Normal death except for no 'flapping' animation and sound
$4A Freezes
$4B Prints:
Planet Earth. H
and then 'Vorts and not evil' Vorticon elder speech, not contained in a window, ENTER wins level
$4C Level turned to random tiles, sound of Earth exploding plays, Keen sent to world map
$4D Same as $42
$4E All sprites removed, pauses for a second, Keen sent to map
$4F Same as $4E
$50 All sprites removed, pauses for a second, Keen sent to map
$51 Quits
$52 Plays ending sequence IN THE LEVEL (!), Keen returned to map
$53 Prints random window characters, keeps printing ending sequence text over itself in the upper left corner, snow part of ending sequence plays, Keen returned to map
$54 Does some messed up ending sequence stuff in the level, Keen returned to map
$55 Puts up garbagified version of the endtext screen, sends Keen to map, graphics junked
$56 Keen sent to map
$57 Freezes scrub
$58 Quits
$59 Quits
$5A Quits
$5B Sends Keen to map
$5C Same as $5B
$5D Same as $5B
$5E Same as $5B
$5F Normal death except for no 'flapping' animation or sound, beeps on Quit to DOS
$60 All sprites removed, freezes, any key quits
$61 Quits
$62 Quits
$63 Keen loses life, returned to map
$64 Shakes screen, "OOPS!" box, Keen returned to map
$65 Instant return to map
$66 Same as $65
$67 Plays 'plummet' sound, instant return to map
$68 Freezes
$69 Same as $63
$6A Quits
$6B Quits
$6C Quits
$6D Same as $63
$6E Same as $63
$6F Does level exit fade and returns to map
$70 Exits with Windows error
$71 Quits
$72 Quits
$73 Exits to map, Keen loses life
$74 Quits
$75 Same as $70
$76 Quits
$77 Pauses, quits
$78 Same as $77
$79 Loops in fading
$7A Same as $70
$7B Deactivates all sprites except Keen (even Keen's shots are frozen as soon as fired), camera frozen
$7C Freezes all animating things (even tiles), however their entities still move, Windows error eventually
$7D Freezes, any key exits to title
$7E Fades to title screen
$7F Messes up colors, freezes, shows black area and distorted cursor, any key gives Windows error, crosslinks highscore file with "CK2", any program run between this time and restart gives Windows error on start
$80 Freezes
$81 If occurs offscreen scrub keeps going, if onscreen then enter Weaponry A (Hmm... maybe levellass could do something here...)
$82 Exits with Windows error
$83 Re-enters level, if you go to the map even in a different game a garbage level will be entered
$84 Same as $82
$85 Same as $82
$86 If offscreen, nothing, if onscreen same as $82
$87 Garbage characters printed, enter name prompt, after answered freezes
$88 Freezes
$89 Closes game, shows black 'Finished - KEEN2' box
$8A Returns to map
$8B Treats current level as LEVEL90.CK2 and restarts KEEN2 program, new game makes black map, Keen is right over the level he last entered
$8C Fades into the same spot in same level, freezes, any key does $8B
$8D Prints cursor, freezes, ENTER has effect of load game, ESC from loadgame goes to title treating current level as LEVEL90, new game goes to spot above level previously entered, which is mysteriously won.
$8E Shows cont. game box, ESC treats current level as LEVEL90, quits to title, newgame = level won. Number wins level
$8F Quits, FINSHED screen contains jumbled version of current level
$90 Previews text, level won
$91 Puts title bitmap, menu picture, and help bitmap in the level, camera put at the upper left corner, if you get Keen into this area the camera will follow Keen again
$92 Quits, FINISHED screen is a distorted version of level
$93 Sends Keen to map, some garbage next to Keen
$94 Sends Keen to map
$95 Puts up 'Overwrite game position?' prompt, either choice puts up game saved notice, any key wins level
$96 If offscreen, nothing, if onscreen pops up continue game box, any number shows 'not saved yet' window, ESC sends Keen to map
$97 Freezes scrub
$98 Shows TSR error message
$99 Freezes
$9A Garbage goes by, Keen sent to distorted map, everything exept sprites messed up
$9B Prints garbage at top, freezes
$9C APOGEE sequence treating current level as LEVEL90, Keen sent to map
$9D Keen sent to map, loses life
$9E Same as $9D
$9F Windows FATAL EXCEPTION 06 (no levellord, that would NOT be funny)

I'll update this when I do more experimentation. Now I won't flood the other thread with post strings. I wouldn't try any unlisted bytes yet, as you would probably want my computer to be messed up than yours.
Last edited by Fleexy on Sun Jan 24, 2010 12:44 am, edited 1 time in total.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

This is caused by jumps to random bits of code; if you knew what you were doing you could do a lot more. As it is, I believe we have a new contestant for CrAzY pAtChEr.
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Post by Fleexy »

I REALLY want to be a CrAzY pAtChEr.

Oh, did 70-9F, got a lot of funky stuff and two things that mess up the actual system for a while (!)

Do not try 7F or 9F at home unless you like dealing with messed-up memory or blue screen errors. Levellord don't even think about it.
Draik
Posts: 117
Joined: Sat Jul 26, 2008 8:52 am
Contact:

Post by Draik »

Man, why aren't you using DOSBox like a sane person?
lemm
Posts: 554
Joined: Sun Jul 05, 2009 12:32 pm

Post by lemm »

That is true, you really should contain it within an emulator.
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Post by Fleexy »

Draik wrote:Man, why aren't you using DOSBox like a sane person?
Yes, that would be helpful for keeping the effects inside the emulator, but I would like to find out what it does in a native environment.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Why? The only difference is when things go wrong, and you can seriously damage your system.
User avatar
ckguy
Posts: 465
Joined: Tue Oct 14, 2003 11:20 am
Location: Wakefield, RI, US
Contact:

Post by ckguy »

Also, I'm pretty sure the percentage of people with computers that can run Keen natively is getting pretty small. This is gradually becoming less and less practical of information.
User avatar
Flyingmouse
Posts: 104
Joined: Wed Aug 05, 2009 8:33 pm
Location: Procrastination

Post by Flyingmouse »

Final Edit: A through F completed:

Code: Select all

#A0 kicked out of level, weird white-yellow tile appears for 
very short while
#A1-A8 Keen dies
#A9 Kicked out of level
#AA ...what? Weird red line animation, keen gets kicked out 
of level after a while, and graphics messed up for rest of the 
game? This is getting weird...
#AB Instant exit from program
#AC Kicked out of level, always facing down
#AD Error message
#AE Freezes scrub
#AF stretchy-tile effect seen in $01, quits
#B0 Locks up game
#B1 Stretch tile effect, exit
#B2 Stretch tile effect with red pixels, exit
#B3 Illegal instruction
#B4 BAM! Exit
#B5 Illegal instruction
#B6 Scrub freezes; on program exit, Null Pointer Assignment 
is given on order screen
#B7 Stretch tile effect, exit
#B8 Scrub freezes, possible effects on game speed?
#B9 Scrub freezes
#BA Illegal instruction
#BB Stretch tile effect
#BC Illegal instruction
#BD Illegal instruction
#BE Illegal instruction
#BF Illegal instruction
#C0 Scrub freezes, about 2/3 of the screen is messed up
#C1 Stretch tile effect
#C2 Kicked out of level, life lost, Keen disappears, arrow 
keys have VERY strange effect on screen, most levels entered 
give garbage level, some levels give LEVEL01.CK2 instead
#C3 Scrub freezes
#C4 Scrub freezes
#C5 Illegal instruction
#C6 stretch tile effect
#C7 BAM! Exit
#C8 Red stretch tile effect
#C9 Illegal instruction
#CA How to explain... exits level without life lost, reenters 
level immediately, exits level with life lost; finally, the game 
exits in similar method to the stretch tile effect exit.
#CB Red stretch tile effect
#CC Kicked out of level, no life lost
#CD Immediate death
#CE Red stretch tile effect
#CF Red stretch tile effect
#D0 Stretch tile effect
#D1 Red stretch tile effect
#D2 Stretch tile effect
#D3 Red stretch tile effect
#D4 Scrub freezes
#D5 Illegal instruction
#D6 Stretch tile effect
#D7 Scrub freezes
#D8 Illegal instruction
#D9 CRASH!
#DA Exits to title screen, any key but ESC shoots to brown 
screen, ESC skips brown screen, both then give illegal 
instruction
#DB Stretch tile effect
#DC Illegal instruction
#DD Stretch tile effect
#DE Lower two rows of pixels on all tiles glitch, illegal 
instruction
#DF Lowest row of pixels on all tiles glitch, buzzing sound, 
illegal instruction
#E0 Lower two rows of pixels on all tiles glitch, CRASH!
#E1 Lower two rows of pixels on all tiles glitch, illegal 
instruction after about 1.5 seconds
#E2 Lower two rows of pixels on all tiles glitch, illegal 
instruction
#E3 Lower two rows of pixels on all tiles glitch, illegal 
instruction
#E4 Lower two rows of pixels on all tiles (excluding top two 
tile rows) glitch, illegal instruction
#E5 Lower two rows of pixels on all tiles (excluding top two 
tile rows) glitch, illegal instruction
#E6 Lower two rows of pixels on all tiles (excluding top two 
tile rows) glitch, illegal instruction
#E7 Lower two rows of pixels on all tiles (excluding top four 
tile rows) glitch, CRASH!
#E8 Lower two rows of pixels on all tiles (excluding top four 
tile rows) glitch, illegal instruction
#E9 Lower two rows of pixels on all tiles (excluding top six 
tile rows) glitch, illegal instruction
#EA Lower two rows of pixels on all tiles (excluding top six 
tile rows) glitch, illegal instruction
#EB Lower two rows of pixels on all tiles (excluding top six 
tile rows) glitch, CRASH!
#EC Lower two rows of pixels on all tiles (excluding top six 
tile rows) glitch, illegal instruction
#ED Lower two rows of pixels on all tiles (excluding top six 
tile rows) glitch, illegal instruction
#EE Lower two rows of pixels on all tiles (excluding top six 
tile rows) glitch, illegal instruction
#EF Lower two rows of pixels on all tiles (excluding top eight 
tile rows) glitch, illegal instruction
#F0 Lower two rows of pixels on all tiles (excluding top six 
tile rows) glitch, illegal instruction upon key press
#F1 Red stretch tile effect
#F2 Lower two rows of pixels on all tiles (excluding top ten 
tile rows) glitch, illegal instruction
#F3 Lower two rows of pixels on all tiles (excluding top ten 
tile rows) glitch, illegal instruction
#F4 Lower three rows of pixels on all tiles (excluding top ten 
tile rows) glitch, illegal instruction
#F5 Lower three rows of pixels on bottom three tile rows 
glitch, illegal instruction
#F6 Lower three rows of pixels on bottom three tile rows 
glitch, illegal instruction
#F7 Lower three rows of pixels on bottom three tile rows 
glitch, illegal instruction
#F8 Lower three rows of pixels on bottom two tile rows 
glitch, illegal instruction
#F9 Crash, .5 seconds later illegal instruction
#FA Crash, .5 seconds later illegal instruction
#FB Distorted stretch tile effect
#FC Lower two rows of pixels on top three tile rows glitch, 
illegal instruction
#FD Distorted stretch tile effect
#FE Red stretch tile effect
#FF Red stretch tile effect
May have subtle differences on other computers, as I'm using Windows XP.
Post Reply