Starting in level

Completed patches for Keen4.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Starting in level

Post by Bubzrulz »

Hi looking for a way to patch so u start in a level instead of a world map also is there a patch so that you finish the level and enter another one straight away bypassing world map .
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Keen starts game in Level X

Post by Nisaba »

If you are about to let Keen start the game in a certain level use this patch. But remember, after he finishes/exits this very level, he then will return to the worldmap.
let's assume you want Keen to start in level 1 this would be your code:

Code: Select all

# Keen starts game in Level 1
%patch $5CBB $7A68W $0001W
otherwise change the value 0001 into whatever level he should begin his journey. but remember: this code is written in Hex. so 10 in decimal is A in hexadecimal. 11 is B and so...
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Winning level goes to next level

Post by Nisaba »

concerning your second part of the question: do you want Keen to never visit the worldmap but instead move right into the next level every time he exits? in this case you can use this patch:

Code: Select all

#Winning level goes to next level 
%patch $6B1E $FF $06 $7A20W  $90 $90 $90 
%patch $6B31 $A1 $7A20W  $A3 $7A68W 
%patch $6B3D $EB $0A
there is only one blemish: Keen WILL go to the map however if he rescues a Council Member.
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

it is also possible to have just a certain defined level, in which Keen skips the levelmap and moves directly into the next level (Oracle Memeber included). all other levels should stay untouched by this and lead Keen back to the map.

Code: Select all

#Level 2 leads to level 3 instead of map 
%patch $6B25 $83 $3E $A7EDW  $03 $74 $06 $C7 $06 $7A68W  $FFFFW  $FF $06 
          $7A68W $B8 $000DW  $50 $9A $187409F1RL     $83 $C4 $02   $A1 $A7EDW 
             $A3 $A7C2W  $8B $1E $A7EDW  $D1 $E3 $C7 $87 $7A1EW  $0001W  $EB $46 
%patch $6AF0 $33
This code is for Level 2&3. but you can alter this if you wish. where it says "$02 $74", you can change the $02 to set the level that will cause Keen to move to the next one. For example, $05 is level 5 and $0A is level 10. The $74 is a jump condition.


ps.: there was a similar discussion in over here which might be interesting for you as well: keenmodding.org/viewtopic.php?t=1881
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: Winning level goes to next level

Post by Bubzrulz »

Nisaba wrote:concerning your second part of the question: do you want Keen to never visit the worldmap but instead move right into the next level every time he exits? in this case you can use this patch:

Code: Select all

#Winning level goes to next level 
%patch $6B1E $FF $06 $7A20W  $90 $90 $90 
%patch $6B31 $A1 $7A20W  $A3 $7A68W 
%patch $6B3D $EB $0A
there is only one blemish: Keen WILL go to the map however if he rescues a Council Member.



Did find this patch to get around the rescuing a council members

Code: Select all

#Disable level end type
%patch $FCFD  $01

#Disable EGAGRAPH check in Keen 4 (Frees 389 bytes at $3CF6)
%patch $3CE5 $90 $90

#Member collision; if Keen run oracle windows and transform = $037D0526RL
%patch $3CF6 $55 $8B $EC $56 $57 $8B $76 $06 $8B $7E $08 $83 $3D $02 $75 $0F
             $C7 $44 $1C $1F46W  $9A $0E8F0BA5RL     $9A $16540D59RL     $5F
             $5E $8B $E5 $5D $CB

#Use new collision
%patch $30E3C $037D0526RL #No collision
%patch $30E5A $037D0526RL #No collision
%patch $30E78 $037D0526RL #No collision
But it it disables the EGAGRAPH so if any other patch needs this the above won't work
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: Winning level goes to next level

Post by Bubzrulz »

Nisaba wrote:concerning your second part of the question: do you want Keen to never visit the worldmap but instead move right into the next level every time he exits? in this case you can use this patch:

Code: Select all

#Winning level goes to next level 
%patch $6B1E $FF $06 $7A20W  $90 $90 $90 
%patch $6B31 $A1 $7A20W  $A3 $7A68W 
%patch $6B3D $EB $0A
there is only one blemish: Keen WILL go to the map however if he rescues a Council Member.

this made keen do the 1st level 2 times then go to the next one
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Re: Winning level goes to next level

Post by Nisaba »

Bubzrulz wrote:this made keen do the 1st level 2 times then go to the next one
jipp... this is because you combined it with that "Keen starts game in Level X" Patch. If you don't want this effect, simply disable this patch and tweak the map into a real level. then keen starts in level 0 (the former worldmap) moves to level 1, then level 2 and throughout all your levels, one at the time.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Re: Winning level goes to next level

Post by Bubzrulz »

Nisaba wrote:
Bubzrulz wrote:this made keen do the 1st level 2 times then go to the next one
jipp... this is because you combined it with that "Keen starts game in Level X" Patch. If you don't want this effect, simply disable this patch and tweak the map into a real level. then keen starts in level 0 (the former worldmap) moves to level 1, then level 2 and throughout all your levels, one at the time.
Yes that makes sence
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

ok i cant get it working sadly
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

Bubzrulz wrote:ok i cant get it working sadly
what do you mean by "it"? the patch or the worldmap conversion?
Last edited by Nisaba on Sat Dec 24, 2016 12:50 am, edited 2 times in total.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

Nisaba wrote:
Bubzrulz wrote:ok i cant get it working sadly
what do you mean by "it"? the patch or the worldmap conversion?
i deleted the keen starts on level one patch and just left the other one and didnt work also i tryed making level 0 into a level and that just didnt work
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

ok, I see what you are up to. so there is a trick you should know. you wanna let Keen start in the last level of your mod. say there were 7 levels let him start in level 7. therefor use this patch:

Code: Select all

# Keen starts game in Level 7
%patch $5CBB $7A68W $0007W
he will then/afterwards move to level 1, 2, 3 and so on when also using this patch:

Code: Select all

#Winning level goes to next level 
%patch $6B1E $FF $06 $7A20W  $90 $90 $90 
%patch $6B31 $A1 $7A20W  $A3 $7A68W 
%patch $6B3D $EB $0A
Last edited by Nisaba on Sat Dec 24, 2016 12:53 am, edited 1 time in total.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

Nisaba wrote:ok, I see what you are up to. so there is a trick you should know. you wanna let Keen start in the last level of your mod. say there were 7 levels let him start in level 7. therefor use this patch:

Code: Select all

# Keen starts game in Level 1 
%patch $5CBB $7A68W $0001W
he will then move to level 1, 2, 3 and so on when also using this patch:
im trying to do away with map completly
User avatar
Nisaba
Posts: 320
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Post by Nisaba »

Bubzrulz wrote:im trying to do away with map completly
with or without the world map?
edited my previews post, check it.
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Post by Bubzrulz »

Nisaba wrote:
Bubzrulz wrote:im trying to do away with map completly
with or without the world map?
edited my previews post, check it.
no world map at all
Post Reply