4th difficulty in Keen 4-6?

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

4th difficulty in Keen 4-6?

Post by szemigi »

Is it possible to patch an 'EXTRA HARD' difficulty for:

- the status screen (text would be something like 'KEENISH' or 'ULTIMATE' difficulty - it's 8 chars)
- in the main menu's difficulty options (easy game, normal game, hard game, AND ultimate game for example)?

If so, tell me.


Request:
In ultimate mode, Keen would jump lower than in hard mode.

And this patch would remove the 2nd Joystick option in the main menu (since there's only 'Joystick 1')
User avatar
Fleexy
Site Admin
Posts: 490
Joined: Fri Dec 12, 2008 1:33 am
Location: Bloogton Tower

Re: 4th difficulty in Keen 4-6?

Post by Fleexy »

Should be pretty straightforward if sourcemodding, but sounds very tough with patching.
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

Levellass will tell me, okay?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

Well I've been working on an 'ultra easy' difficulty, but that uses a whole different batch file. Let's see...

This is the basic patch that lets you select a fourth difficulty option in the menu. Here it's the same as hard mode (And the difficulty in the screen is blank.) What happens next depends on exactly what you want this mode to do. Things like spawning more enemies will require a redo of the sprite spawning code, top to bottom. Things like some tiles killing Keen on ultra mode or a time limit for levels or changed scores and stuff are simpler. But this will probably involve a lot of aptching either way. (This took most of a day to figure out so far.)

Code: Select all

#Make debug menu difficulty menu
%patch $1FBEA $1F6B0004RL
%patch $1F6B4 $0008W $0000W $000CW $0000W $0000W $1F79RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F7C6 $0001W $0000W $0031W $4280W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F7A8 $426AW
%patch $1F7BA $4276W
%patch $34F90 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTIMATE GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1C976 $62
%patch $1C930 $2F
%patch $1C962 $C7 $06 $414AW  $0004W  $5D $CB
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

Well, this 4th difficulty would be like an ultra hard mode, where Keen cannot use pogo and all the Keen 4,5,6 enemies (easy, normal, hard) that can be shot and dies permanently (for example Blooglet, Bounder, Sparky, etc.) will resurrect (like the nightmare difficult in Doom).

I want this patch for Keen 4-6.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

Hmmmn, tricky but doable I think. I'll attack it in steps when I have the time. First thing to do is a version for Keen 4, since I only did the test for Keen 6.

Code: Select all

#New difficulty setting -Keen 4
#Make debug menu difficulty menu
%patch $1FD8A $1F850004RL
%patch $1F854 $0008W $0000W $0059W $0000W $0000W $1F93RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F966 $0001W $0000W $0016W $4806W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F948 $47F0W
%patch $1F95A $47FCW
%patch $33656 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1CD08 $63
%patch $1CCC1 $2F
%patch $1CCF3 $C7 $06 $474AW  $0004W  $5D $CB

Code: Select all

#New difficulty setting -Keen 6
#Make debug menu difficulty menu
%patch $1FBEA $1F6B0004RL
%patch $1F6B4 $0008W $0000W $000CW $0000W $0000W $1F79RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F7C6 $0001W $0000W $0016W $4280W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F7A8 $426AW
%patch $1F7BA $4276W
%patch $34F90 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1C976 $62
%patch $1C930 $2F
%patch $1C962 $C7 $06 $414AW  $0004W  $5D $CB
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

Next a quite simple addition, we make it so that Keen cannot pogo in Ultra Hard difficulty. This just adapts the 'Can't pogo without an item' patch from the Keen Wiki:

Code: Select all

#New difficulty setting -Keen 4
#Make debug menu difficulty menu
%patch $1FD8A $1F850004RL
%patch $1F854 $0008W $0000W $0059W $0000W $0000W $1F93RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F966 $0001W $0000W $0016W $4806W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F948 $47F0W
%patch $1F95A $47FCW
%patch $33656 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1CD08 $63
%patch $1CCC1 $2F
%patch $1CCF3 $C7 $06 $474AW  $0004W  $5D $CB

#Rewrite HandleInput to not pogo on Ultra Hard difficulty
%patch $8B43 $3B
%patch $8B3C $42
%patch $8B75 $75 $06 $C7 $06 $C5BFW  $0000W  $5D $CB $83 $3E $C5CFW  $00 $75
             $0A $83 $3E $3BD6W  $00 $75 $03 $E9 $008BW  $83 $3E $A7C6W  $00
             $74 $1D $83 $3E $A7C8W  $00 $74 $16 $C7 $06 $C5C1W  $0001W  $33
             $C0 $A3 $C5C3W  $A3 $C5C7W  $A3 $C5C5W  $A3 $C5C9W  $5D $CB $33
             $C0 $A3 $C5BFW  $A3 $C5C1W  $83 $3E $A7C6W  $00 $74 $08 $C7 $06
             $C5C9W  $0001W  $EB $08 $33 $C0 $A3 $C5C7W  $A3 $C5C9W  $83 $3E
             $A7C8W  $00 $74 $22 $83 $3E $7A6CW  $04 $74 $19 $83 $3E $A7F1W
             $08 $7F $0C $A1 $A7F1W  $03 $06 $A54CW  $A3 $A7F1W  $5D $CB $C7
             $06 $C5C5W  $0001W  $5D $CB $83 $3E $A7F1W  $00 $74 $08 $C7 $06
             $C5C5W  $0001W  $EB $08 $33 $C0 $A3 $C5C3W  $A3 $C5C5W  $C7 $06
             $A7F1W  $0000W  $5D $CB $A1 $A7C6W  $A3 $C5C9W  $A1 $A7C8W  $83
             $3E $7A6CW  $04 $74 $03 $A3 $C5C5W  $A0 $94 $03 $B4 $00 $D1 $E0
             $8B $D8 $8B $87 $C647W  $A3 $C5C1W  $33 $C0 $83 $3E $C5C9W  $00
             $75 $03 $A3 $C5C7W  $83 $3E $C5C5W  $00 $75 $03 $A3 $C5C3W  $83
             $3E $C5C1W  $00 $75 $03 $A3 $C5BFW  $5D $CB

Code: Select all

#New difficulty setting -Keen 6
#Make debug menu difficulty menu
%patch $1FBEA $1F6B0004RL
%patch $1F6B4 $0008W $0000W $000CW $0000W $0000W $1F79RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F7C6 $0001W $0000W $0016W $4280W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F7A8 $426AW
%patch $1F7BA $4276W
%patch $34F90 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1C976 $62
%patch $1C930 $2F
%patch $1C962 $C7 $06 $414AW  $0004W  $5D $CB

#Rewrite HandleInput to not pogo on ultra hard difficulty
%patch $8927 $3B
%patch $8920 $42
%patch $8959 $75 $06 $C7 $06 $C74DW  $0000W  $5D $CB $83 $3E $C75DW  $00 $75
             $0A $83 $3E $35D6W  $00 $75 $03 $E9 $008BW  $83 $3E $A954W  $00
             $74 $1D $83 $3E $A956W  $00 $74 $16 $C7 $06 $C74FW  $0001W  $33
             $C0 $A3 $C751W  $A3 $C755W  $A3 $C753W  $A3 $C757W  $5D $CB $33
             $C0 $A3 $C74DW  $A3 $C74FW  $83 $3E $A954W  $00 $74 $08 $C7 $06
             $C757W  $0001W  $EB $08 $33 $C0 $A3 $C755W  $A3 $C757W  $83 $3E
             $A956W  $00 $74 $22 $83 $3E $75A8W  $04 $74 $19 $83 $3E $A97FW
             $08 $7F $0C $A1 $A97FW  $03 $06 $A6DAW  $A3 $A97FW  $5D $CB $C7
             $06 $C753W  $0001W  $5D $CB $83 $3E $A97FW  $00 $74 $08 $C7 $06
             $C753W  $0001W  $EB $08 $33 $C0 $A3 $C751W  $A3 $C753W  $C7 $06
             $A97FW  $0000W  $5D $CB $A1 $A954W  $A3 $C757W  $A1 $A956W  $83
             $3E $75A8W  $04 $74 $03 $A3 $C753W  $A0 $DA $02 $B4 $00 $D1 $E0
             $8B $D8 $8B $87 $C7D5W  $A3 $C74FW  $33 $C0 $83 $3E $C757W  $00
             $75 $03 $A3 $C755W  $83 $3E $C753W  $00 $75 $03 $A3 $C751W  $83
             $3E $C74FW  $00 $75 $03 $A3 $C74DW  $5D $CB

Now this stun-recovery thing; how long do you want enemies to take before getting back up? (The easiest thing to do too is an instant recovery, not a 'waking up' thing like the Blue Bird or Arachnut does.)
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

'No pogo in ultra hard mode' will be enough.
Last edited by szemigi on Wed Jul 18, 2018 3:47 pm, edited 4 times in total.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

You want it for all three games huh? Could take some work.

This adds the difficulty to the status window:

Code: Select all

#New difficulty setting -Keen 4
#Make debug menu difficulty menu
%patch $1FD8A $1F850004RL
%patch $1F854 $0008W $0000W $0059W $0000W $0000W $1F93RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F966 $0001W $0000W $0016W $4806W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F948 $47F0W
%patch $1F95A $47FCW
%patch $33656 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1CD08 $63
%patch $1CCC1 $2F
%patch $1CCF3 $C7 $06 $474AW  $0004W  $5D $CB

#Rewrite HandleInput to not pogo on Ultra Hard difficulty
%patch $8B43 $3B
%patch $8B3C $42
%patch $8B75 $75 $06 $C7 $06 $C5BFW  $0000W  $5D $CB $83 $3E $C5CFW  $00 $75
             $0A $83 $3E $3BD6W  $00 $75 $03 $E9 $008BW  $83 $3E $A7C6W  $00
             $74 $1D $83 $3E $A7C8W  $00 $74 $16 $C7 $06 $C5C1W  $0001W  $33
             $C0 $A3 $C5C3W  $A3 $C5C7W  $A3 $C5C5W  $A3 $C5C9W  $5D $CB $33
             $C0 $A3 $C5BFW  $A3 $C5C1W  $83 $3E $A7C6W  $00 $74 $08 $C7 $06
             $C5C9W  $0001W  $EB $08 $33 $C0 $A3 $C5C7W  $A3 $C5C9W  $83 $3E
             $A7C8W  $00 $74 $22 $83 $3E $7A6CW  $04 $74 $19 $83 $3E $A7F1W
             $08 $7F $0C $A1 $A7F1W  $03 $06 $A54CW  $A3 $A7F1W  $5D $CB $C7
             $06 $C5C5W  $0001W  $5D $CB $83 $3E $A7F1W  $00 $74 $08 $C7 $06
             $C5C5W  $0001W  $EB $08 $33 $C0 $A3 $C5C3W  $A3 $C5C5W  $C7 $06
             $A7F1W  $0000W  $5D $CB $A1 $A7C6W  $A3 $C5C9W  $A1 $A7C8W  $83
             $3E $7A6CW  $04 $74 $03 $A3 $C5C5W  $A0 $94 $03 $B4 $00 $D1 $E0
             $8B $D8 $8B $87 $C647W  $A3 $C5C1W  $33 $C0 $83 $3E $C5C9W  $00
             $75 $03 $A3 $C5C7W  $83 $3E $C5C5W  $00 $75 $03 $A3 $C5C3W  $83
             $3E $C5C1W  $00 $75 $03 $A3 $C5BFW  $5D $CB
             
#Status screen has four difficulties
%patch $2F590 "Ultra Hard" $00
%patch $7ED3 $0F $3D $0002W  $74 $0F $3D $0003W  $74 $0F $B8 $0720W  $EB $0D
             $B8 $063AW  $EB $08 $B8 $063FW  $EB $03 $B8 $0646W  $50 $9A
         $19310EBDRL     $83 $C4 $02 $EB $0D

Code: Select all

#New difficulty setting -Keen 6
#Make debug menu difficulty menu
%patch $1FBEA $1F6B0004RL
%patch $1F6B4 $0008W $0000W $000CW $0000W $0000W $1F79RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F7C6 $0001W $0000W $0016W $4280W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F7A8 $426AW
%patch $1F7BA $4276W
%patch $34F90 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1C976 $62
%patch $1C930 $2F
%patch $1C962 $C7 $06 $414AW  $0004W  $5D $CB

#Rewrite HandleInput to not pogo on ultra hard difficulty
%patch $8927 $3B
%patch $8920 $42
%patch $8959 $75 $06 $C7 $06 $C74DW  $0000W  $5D $CB $83 $3E $C75DW  $00 $75
             $0A $83 $3E $35D6W  $00 $75 $03 $E9 $008BW  $83 $3E $A954W  $00
             $74 $1D $83 $3E $A956W  $00 $74 $16 $C7 $06 $C74FW  $0001W  $33
             $C0 $A3 $C751W  $A3 $C755W  $A3 $C753W  $A3 $C757W  $5D $CB $33
             $C0 $A3 $C74DW  $A3 $C74FW  $83 $3E $A954W  $00 $74 $08 $C7 $06
             $C757W  $0001W  $EB $08 $33 $C0 $A3 $C755W  $A3 $C757W  $83 $3E
             $A956W  $00 $74 $22 $83 $3E $75A8W  $04 $74 $19 $83 $3E $A97FW
             $08 $7F $0C $A1 $A97FW  $03 $06 $A6DAW  $A3 $A97FW  $5D $CB $C7
             $06 $C753W  $0001W  $5D $CB $83 $3E $A97FW  $00 $74 $08 $C7 $06
             $C753W  $0001W  $EB $08 $33 $C0 $A3 $C751W  $A3 $C753W  $C7 $06
             $A97FW  $0000W  $5D $CB $A1 $A954W  $A3 $C757W  $A1 $A956W  $83
             $3E $75A8W  $04 $74 $03 $A3 $C753W  $A0 $DA $02 $B4 $00 $D1 $E0
             $8B $D8 $8B $87 $C7D5W  $A3 $C74FW  $33 $C0 $83 $3E $C757W  $00
             $75 $03 $A3 $C755W  $83 $3E $C753W  $00 $75 $03 $A3 $C751W  $83
             $3E $C74FW  $00 $75 $03 $A3 $C74DW  $5D $CB
             
#Status screen has four difficulties
%patch $314EC "Ultra Hard" $00
%patch $7C03 $0F $3D $0002W  $74 $0F $3D $0003W  $74 $0F $B8 $07BCW  $EB $0D
             $B8 $05AAW  $EB $08 $B8 $05AFW  $EB $03 $B8 $05B6W  $50 $9A
         $18F80EBDRL     $83 $C4 $02 $EB $0D
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

Ok, this is the difficulty patches for all galaxy games up to the Status Window thing:

Code: Select all

#New difficulty setting -Keen 4
#Make debug menu difficulty menu
%patch $1FD8A $1F850004RL
%patch $1F854 $0008W $0000W $0059W $0000W $0000W $1F93RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F966 $0001W $0000W $0016W $4806W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F948 $47F0W
%patch $1F95A $47FCW
%patch $33656 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1CD08 $63
%patch $1CCC1 $2F
%patch $1CCF3 $C7 $06 $474AW  $0004W  $5D $CB

#Rewrite HandleInput to not pogo on Ultra Hard difficulty
%patch $8B43 $3B
%patch $8B3C $42
%patch $8B75 $75 $06 $C7 $06 $C5BFW  $0000W  $5D $CB $83 $3E $C5CFW  $00 $75
             $0A $83 $3E $3BD6W  $00 $75 $03 $E9 $008BW  $83 $3E $A7C6W  $00
             $74 $1D $83 $3E $A7C8W  $00 $74 $16 $C7 $06 $C5C1W  $0001W  $33
             $C0 $A3 $C5C3W  $A3 $C5C7W  $A3 $C5C5W  $A3 $C5C9W  $5D $CB $33
             $C0 $A3 $C5BFW  $A3 $C5C1W  $83 $3E $A7C6W  $00 $74 $08 $C7 $06
             $C5C9W  $0001W  $EB $08 $33 $C0 $A3 $C5C7W  $A3 $C5C9W  $83 $3E
             $A7C8W  $00 $74 $22 $83 $3E $7A6CW  $04 $74 $19 $83 $3E $A7F1W
             $08 $7F $0C $A1 $A7F1W  $03 $06 $A54CW  $A3 $A7F1W  $5D $CB $C7
             $06 $C5C5W  $0001W  $5D $CB $83 $3E $A7F1W  $00 $74 $08 $C7 $06
             $C5C5W  $0001W  $EB $08 $33 $C0 $A3 $C5C3W  $A3 $C5C5W  $C7 $06
             $A7F1W  $0000W  $5D $CB $A1 $A7C6W  $A3 $C5C9W  $A1 $A7C8W  $83
             $3E $7A6CW  $04 $74 $03 $A3 $C5C5W  $A0 $94 $03 $B4 $00 $D1 $E0
             $8B $D8 $8B $87 $C647W  $A3 $C5C1W  $33 $C0 $83 $3E $C5C9W  $00
             $75 $03 $A3 $C5C7W  $83 $3E $C5C5W  $00 $75 $03 $A3 $C5C3W  $83
             $3E $C5C1W  $00 $75 $03 $A3 $C5BFW  $5D $CB
             
#Status screen has four difficulties
%patch $2F590 "Ultra Hard" $00
%patch $7ED3 $0F $3D $0002W  $74 $0F $3D $0003W  $74 $0F $B8 $0720W  $EB $0D
             $B8 $063AW  $EB $08 $B8 $063FW  $EB $03 $B8 $0646W  $50 $9A
         $19310EBDRL     $83 $C4 $02 $EB $0D

Code: Select all

#New difficulty setting -Keen 5
#Make debug menu difficulty menu
%patch $20C1A $206E0004RL
%patch $206E4 0008W $0000W $0044W $0000W $0000W $207CRW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $207F6 $0001W $0000W $0016W $3E0FW $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $207D8 $3DF9W
%patch $207EA $3E05W
%patch $3412F "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1DCA4 $60
%patch $1DC5E $2F
%patch $1DC90 $C7 $06 $3D66W  $0004W  $5D $CB

#Rewrite HandleInput to not pogo on ultra hard difficulty
%patch $8ABF $3B
%patch $8AB8 $42
%patch $8AF1 $75 $06 $C7 $06 $BC27W  $0000W  $5D $CB $83 $3E $BC37W  $00 $75
             $0A $83 $3E $332CW  $00 $75 $03 $E9 $008BW  $83 $3E $9E2EW  $00
             $74 $1D $83 $3E $9E30W  $00 $74 $16 $C7 $06 $BC29W  $0001W  $33
             $C0 $A3 $BC2BW  $A3 $BC2FW  $A3 $BC2DW  $A3 $BC31W  $5D $CB $33
             $C0 $A3 $BC27W  $A3 $BC29W  $83 $3E $9E2EW  $00 $74 $08 $C7 $06
             $BC31W  $0001W  $EB $08 $33 $C0 $A3 $BC2FW  $A3 $BC31W  $83 $3E
             $9E30W  $00 $74 $22 $83 $3E $6F6CW  $04 $74 $19 $83 $3E $9E59W
             $08 $7F $0C $A1 $9E59W  $03 $06 $9BB4W  $A3 $9E59W  $5D $CB $C7
             $06 $BC2DW  $0001W  $5D $CB $83 $3E $9E59W  $00 $74 $08 $C7 $06
             $BC2DW  $0001W  $EB $08 $33 $C0 $A3 $BC2BW  $A3 $BC2DW  $C7 $06
             $9E59W  $0000W  $5D $CB $A1 $9E2EW  $A3 $BC31W  $A1 $9E30W  $83
             $3E $6F6CW  $04 $74 $03 $A3 $BC2DW  $A0 $38 $03 $B4 $00 $D1 $E0
             $8B $D8 $8B $87 $BCAFW  $A3 $BC29W  $33 $C0 $83 $3E $BC31W  $00
             $75 $03 $A3 $BC2FW  $83 $3E $BC2DW  $00 $75 $03 $A3 $BC2BW  $83
             $3E $BC29W  $00 $75 $03 $A3 $BC27W  $5D $CB

#Status screen has four difficulties
%patch $30B21 "Ultra Hard" $00
%patch $7E9E $0F $3D $0002W  $74 $0F $3D $0003W  $74 $0F $B8 $07E1W  $EB $0D
             $B8 $05B6W  $EB $08 $B8 $05BBW  $EB $03 $B8 $05C2W  $50 $9A
         $1A2B0EBBRL     $83 $C4 $02 $EB $0D

Code: Select all

#New difficulty setting -Keen 6
#Make debug menu difficulty menu
%patch $1FBEA $1F6B0004RL
%patch $1F6B4 $0008W $0000W $000CW $0000W $0000W $1F79RW $00000000L   $0001W $0000W $0000W

#New difficulty option
%patch $1F7C6 $0001W $0000W $0016W $4280W $0004W $00000000L  $0000W $0000W
              $0000W $0000W $0000W $0000W $0000W $00000000L  $0000W $0000W

#Menu texts
%patch $1F7A8 $426AW
%patch $1F7BA $4276W
%patch $34F90 "EASY GAME" $00
              "NORMAL GAME" $00
              "HARD GAME" $00
              "ULTRA HARD GAME" $00

#Rearrange difficulty selection code to include a 4th option
%patch $1C976 $62
%patch $1C930 $2F
%patch $1C962 $C7 $06 $414AW  $0004W  $5D $CB

#Rewrite HandleInput to not pogo on ultra hard difficulty
%patch $8927 $3B
%patch $8920 $42
%patch $8959 $75 $06 $C7 $06 $C74DW  $0000W  $5D $CB $83 $3E $C75DW  $00 $75
             $0A $83 $3E $35D6W  $00 $75 $03 $E9 $008BW  $83 $3E $A954W  $00
             $74 $1D $83 $3E $A956W  $00 $74 $16 $C7 $06 $C74FW  $0001W  $33
             $C0 $A3 $C751W  $A3 $C755W  $A3 $C753W  $A3 $C757W  $5D $CB $33
             $C0 $A3 $C74DW  $A3 $C74FW  $83 $3E $A954W  $00 $74 $08 $C7 $06
             $C757W  $0001W  $EB $08 $33 $C0 $A3 $C755W  $A3 $C757W  $83 $3E
             $A956W  $00 $74 $22 $83 $3E $75A8W  $04 $74 $19 $83 $3E $A97FW
             $08 $7F $0C $A1 $A97FW  $03 $06 $A6DAW  $A3 $A97FW  $5D $CB $C7
             $06 $C753W  $0001W  $5D $CB $83 $3E $A97FW  $00 $74 $08 $C7 $06
             $C753W  $0001W  $EB $08 $33 $C0 $A3 $C751W  $A3 $C753W  $C7 $06
             $A97FW  $0000W  $5D $CB $A1 $A954W  $A3 $C757W  $A1 $A956W  $83
             $3E $75A8W  $04 $74 $03 $A3 $C753W  $A0 $DA $02 $B4 $00 $D1 $E0
             $8B $D8 $8B $87 $C7D5W  $A3 $C74FW  $33 $C0 $83 $3E $C757W  $00
             $75 $03 $A3 $C755W  $83 $3E $C753W  $00 $75 $03 $A3 $C751W  $83
             $3E $C74FW  $00 $75 $03 $A3 $C74DW  $5D $CB
             
#Status screen has four difficulties
%patch $314EC "Ultra Hard" $00
%patch $7C03 $0F $3D $0002W  $74 $0F $3D $0003W  $74 $0F $B8 $07BCW  $EB $0D
             $B8 $05AAW  $EB $08 $B8 $05AFW  $EB $03 $B8 $05B6W  $50 $9A
         $18F80EBDRL     $83 $C4 $02 $EB $0D
Wodd
Posts: 27
Joined: Sun Aug 13, 2017 3:37 am

Re: 4th difficulty in Keen 4-6?

Post by Wodd »

Commander Genius also has difficulties in addition to the standard Easy, Normal, and Hard. You night look into that game. It is also available for multiple platforms.
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

Thanks Lass! You don't know how thankful I am that this extra difficulty was even possible quickly.

Anyway, scroll down and read my other requests you haven't posted on.
Wodd
Posts: 27
Joined: Sun Aug 13, 2017 3:37 am

Re: 4th difficulty in Keen 4-6?

Post by Wodd »

wrote:Well, this 4th difficulty would be like an ultra hard mode, where Keen cannot use pogo and all the Keen 4,5,6 enemies (easy, normal, hard) that can be shot and dies permanently (for example Blooglet, Bounder, Sparky, etc.) will resurrect (like the nightmare difficult in Doom).
That sounds akin to Chex Quest’s super slimy! difficulty, in which the enemies respawn. That does include boss monsters (examples: the flembomination and Lord Snotfolus).
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: 4th difficulty in Keen 4-6?

Post by szemigi »

Well, Lass, in the meantime I changed my mind:
I say the 'no pogo in ultra hard mode' will be enough as I don't want to make my mod unplayable with enemy recovering and things like that. (It would be like Doom's nightmare difficulty, which I don't want for my mod like I said.)

A little request: In ultra hard mode, the IF ammo ammount is only 2. (In easy 8, in normal and hard 5, in ultra hard 2.)
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: 4th difficulty in Keen 4-6?

Post by levellass »

The problem with the IF ammo is that it just makes the regular ammo sprite, so if I change that then it will change the regular ammo sprite too. (But NOT the ammo TILES) This might not be a problem if you don't put in many ammo sprites anyway.
Post Reply