Primary Zelda Hacking

Oracles Hacking => Progress => Topic started by: Lin on October 21, 2010, 06:58:33 AM



Title: ZOLE 1.11 - Transition Editor
Post by: Lin on October 21, 2010, 06:58:33 AM
Yes, it's been needed for a while, and since I needed it pretty badly in my hack, I decided to take a look at it and found it pretty fast. Note that these room transitions are for palette changes only, not, for example, going into the Maku Tree map. Here's what the editor window looks like.

(http://img811.imageshack.us/img811/8466/zole21.png)

It's already done. The map shown there is the first graveyard map you encounter. All you have to do is set a map and the direction you enter the map to set the transition and it's all good. The old palette fades into the new one properly.

~Lin


Title: Re: ZOLE 1.2 - Transition Editor
Post by: Lin on October 21, 2010, 07:44:33 AM
Actually, I found out there's other data between the transitions I purposely skipped, but it turns out they play an important role on how the palette changes. I gotta add editing for those and then it'll be done.

EDIT: I added the editing ability, and although I labeled the 4 new values as "unknown", I have an idea of what two of them do. For example, if you want the palette change to fade into the palette of the map below you, you add a palette on that map (the one you're going down into), and make sure Unknown1 is 30 and Unknown2 is 90. If you're going up, the values will be 90 and 30. Pretty funky. I have no idea what the other unknowns do.

EDIT2: The unknown values might be pointer sets. The first one is what it will go into and the second is what you're coming from.

EDIT3: Assembly has shown in fact that the unknown values are both pointers.


Title: Re: ZOLE 1.2 - Transition Editor
Post by: Lin on October 21, 2010, 09:06:35 AM
Okay, so the editor is finally done. The game actually uses pointers to the palettes, but I made it so ZOLE loops through each original palette and compares addresses until it finds suitable ones. It actually works great.

(http://img2.imageshack.us/img2/8782/zole23.png)

I know the from is 16 and technically should be 45, but the game has it loading palette 10 because they're the exact same.