4th difficulty in Keen 4-6?

Request patches for Keens 4-6.
User avatar
szemigi
Posts: 703
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

Alright, thanks for the tip. :)

levellass
Posts: 2997
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

This patch will be needed to give the Ultra Hard difficulty a shots number:

Code: Select all

#Allow 4 'number of shots given' options -Keen 4
%patch $CD69 $13D2W #Ammo sprites got
%patch $CFDE $13D2W #Ammo tiles got
%patch $30244 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

Code: Select all

#Allow 4 'number of shots given' options -Keen 5
%patch $C10A $12B2W #Ammo sprites got
%patch $C2F1 $12B2W #Ammo tiles got
%patch $315F2 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

Code: Select all

#Allow 4 'number of shots given' options -Keen 6
%patch $BF04 $124CW #Ammo sprites got
%patch $C0D8 $124CW #Ammo tiles got
%patch $31F7C $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

This alters the values of sprite ammo to make them different from tile ammo; notice you get a second list of shots to mess with and that it must be placed AFTER the above patches to avoid being overwritten:

Code: Select all

#Stunner sprites can give different ammo to tiles -Keen 4
%patch $CD69  $143CW #Ammo sprites got
%patch $302AE $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

#Stunner sprites can give different ammo to tiles -Keen 5
%patch $C10A  $1326W #Ammo sprites got
%patch $31668 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

#Stunner sprites can give different ammo to tiles -Keen 5
%patch $BF04  $12B4W #Ammo sprites got
%patch $31FE6 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

User avatar
szemigi
Posts: 703
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

Strange, the game crashed when I ran into the IF ammo sprite and the normal ammo sprite and I used the Keen 5 ones like this (as you said):

Code: Select all

#Allow 4 'number of shots given' options -Keen 5
%patch $C10A $12B2W #Ammo sprites got
%patch $C2F1 $12B2W #Ammo tiles got
%patch $315F2 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

#Stunner sprites can give different ammo to tiles -Keen 5
%patch $C10A  $1326W #Ammo sprites got
%patch $31668 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard
Correct me, because I may have misunderstood something (in this hot weather).

levellass
Posts: 2997
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

Strange, somehow the wrong patch address has been unnoticed on the wiki for some time. '$C10A' should be '$C114' This should fix it:

Code: Select all

#Allow 4 'number of shots given' options -Keen 5
%patch $C2F1 $12B2W #Ammo tiles got
%patch $315F2 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

#Stunner sprites can give different ammo to tiles -Keen 5
%patch $C114  $1326W #Ammo sprites got
%patch $31668 $0008W #Easy
              $0005W #Medium
              $0005W #Hard
              $0002W #Ultra Hard

User avatar
szemigi
Posts: 703
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

Levellass, I just realized that you forgot to mention that since the game cannot handle the fourth difficult, "interesting" things may happen.

The interesting thing (problem) I realized that when (no matter where in the game) I save on any difficulty, I load the game and the game says "Keen purposefully wanders through the Omegamatic". I found myself on the map. Kinda like a second New Game option feeling.
Then if I go to the main menu and wanna load the game (by pressing Y when the game says "YOU'RE ALREADY IN THE GAME"), the game quits with a sprite (that originally demands Keen's map and/or Keen's in-game left-facing sprite) cache error.

I would like somebody to help me to make the 4th difficulty patch work without busting up the loading/saving.

Post Reply