Uncatched Sprite

Request patches for Keens 4-6.
Post Reply
User avatar
Bubzrulz
Posts: 208
Joined: Thu Dec 22, 2016 12:37 pm
Location: N.S.W AUSTRAILA

Uncatched Sprite

Post by Bubzrulz »

so i need to know how to patch a Uncatched Sprite in


Ive made this patch now just need the abovefor it to work without licks being in a level

Code: Select all

#Sprites spawned from egg
%patch $100D7 $213EW #Big shell
%patch $10171 $215CW #Left shell fragment
%patch $101AD $217AW #Right shell fragment
%patch $101E9 $2198W #Up shell fragment
%patch $10135 $3002W #Licks   

so i found these patches on http://levellord.rewound.net

Code: Select all

 
patch $30702 $D5 $01 #Lick Cache start
%patch $3074C $E3 $01 #Lick cache end
 
How do i used them with the modified egg patch
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Uncatched Sprite

Post by levellass »

This is a very tricky thing to do.

Since you're altering the Egg you want to alter the *Egg's* cache. We can find this on the Keen Wiki's 'All Patches' section under 'Egg': http://www.shikadi.net/keenwiki/Category:All_patches -> http://www.shikadi.net/keenwiki/Patch:Egg -> 'Sprite animations'

Code: Select all

#Cache
%patch $30718 $016AW #Egg Cache start
%patch $30762 $016EW #Egg cache end

What we'd want to do is make the END of the Egg cache the same as the end of the LICK cache so that eggs save ALL the animations inbetween. THIS IS A VERY BAD THING TO DO. You need so many animations the game crashes because 'Out of memory'. If you are messing with caches it is always better just to alter the animations right next to the regular ones. (Such as adding the Blue Bird ones to the Egg.) For this sort of patch you are making it is terrible.

The easiest thing to do would just be to always have a Lick in the Egg levels, then you don't need to patch anything. It's not that hard to remember and not that much trouble in the game.

This patch however links the Lick and Egg, it's a little tricky to explain how it works, but it basically tells the game to load the Lick's cache as well when an Egg is created:

Code: Select all

#Eggs also cache the Lick:
%patch $EB19 $EB $21
Post Reply