don't click here

For anyone looking to restore HPZ

Discussion in 'Engineering & Reverse Engineering' started by Rika Chou, Feb 14, 2004.

  1. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    If your looking to restore HPZ in Sonic 2 final, you will need to know how to restore collision, among other things. Many people get confused and think that HPZ uses the same collision as OOZ, but this is not true. Thus making it hard to find the correct pointer. So to restore the collision data you will need to know where the pointer is, and you must change it to the correct location in the ROM. The pointer is located at offset 004A0C, and it points to offset 045A80. This offset that it points to is where the Offset index of level layouts is located. I hope this clears everything up.
     
  2. Mystical Ninja

    Mystical Ninja

    For old time's sake. Oldbie
    3,342
    5
    18
    New Castle, Delaware
    Nothing that concerns this place in the least.
    Very good info. This should be pinned.
     
  3. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    I concur.
     
  4. .hack//zero

    .hack//zero

    Member
    3,011
    4
    18
    Working on a vulkan game engine for fun. Learning Ray-Tracing.
    If anyone needs to restore the wave effects, the waterfalls, and the glowing orbs.

    Go to $425F4

    change

    140A 3364 150A 3364 0C0A 3364 to 1E0A 3364 1F0A 336A 0C0A 336A

    If have already got the tiles from beta to your hack. Just change 14 to 1E and 15 to 1F.

    Some of the Orbs will still look like crap, so you have to Sonic Sprite to change them. To make it easier for you I exported my version of them from Omega.

    Warning using this will mess up the looks of the rotating diamonds in Oil Ocean Zone.
     

    Attached Files:

  5. .hack//zero

    .hack//zero

    Member
    3,011
    4
    18
    Working on a vulkan game engine for fun. Learning Ray-Tracing.
    Here is HPZ's primary 16x16 collision index data. I would have put this on the last post, but I didn't make that version. Rika Chou got it for me.

    This is my version.

    *thinking* I should have known by the size of the HPZ beta's primary 16x16 collision index data was uncompressed by the size of it.

    Dirctions

    Open the rom.
    Goto $4A09-4A0B
    Type in 0004 3C10.
    Goto 43C10.
    Open HPZ_collision_com.
    Copy everything in it, and paste.
     

    Attached Files:

  6. Drakmyth

    Drakmyth

    Inspector Drakmyth Master at your service. Oldbie
    420
    0
    0
    In the void beneath the ancient maze...
    Sonic Eclipse 2, Return of the Hidden Palace, Unnamed Sonic 2 Hack
    Well, I have managed to almost completely restore HPZ. I have all the tiles & the glowing balls working. But I am having trouble with the sprites. I cannot seem to find the pointers for any of them. I am trying not to mess up OOZ either. I tried making a backup copy and then trying ZV's method to restore the waterfalls and glowballs but those bytes don't exist in the rom. I am so close. Any ideas?

    (Additional: If anyone wants a copy of my rom thus far then I'll post it.)

    [EDIT] Collision is working perfectly too. [/EDIT]
     
  7. .hack//zero

    .hack//zero

    Member
    3,011
    4
    18
    Working on a vulkan game engine for fun. Learning Ray-Tracing.
    Just do this, and it should work. If this doen't work. Then post the rom.

    Go to $425F4
    change
    14 to 1E

    Go $425F8
    change
    15 to 1F

    You can change 15 to 23 if you want the enemies from ARZ.
     
  8. Drakmyth

    Drakmyth

    Inspector Drakmyth Master at your service. Oldbie
    420
    0
    0
    In the void beneath the ancient maze...
    Sonic Eclipse 2, Return of the Hidden Palace, Unnamed Sonic 2 Hack
    Thanks alot. HPZ is 100% restored and OOZ is totally unaffected. Now a few enemies portations and a slight sprite edit and I'm ready to realease my next version. Thanks again.
     
  9. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    Okay, there is a mistake here. This pointer is for a Sonic 2 ROM that has been edited with ESE. Here are the correct locations for the pointer:

    Unedited S2 ROM: 004A09
    Edited with ESE ROM: 004A0C
     
  10. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    Im Writing a Guide on how to exactly do it easier then the way listed here. I will include the files for the art, and if the code for the hpz badniks doesn't exist I will include them too. This guide will be public in about a week.
     
  11. Sky Shark

    Sky Shark

    Member
    124
    0
    0
    Sonic 1 Rehash - I'm not saying its canned, I'm planning on some work on it this summer.
    So with this code we can actally complete HPZ ?Can you post a pic of what it looks like with the code enabled?
     
  12. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    One code isn't going to insert all the HPZ art, layout and enemies. This just replaces the collision since normally it is set to the OOZ collision.
     
  13. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    *Sign* Whatc Quickman Said is correct and its the code for badniks SSX. So when the code is inserted the art must be too. Also the tiles and the other object art would need implementing too. Once you understand hacking at a good level it gets Easy to restore levels from beta into Final.
     
  14. Sky Shark

    Sky Shark

    Member
    124
    0
    0
    Sonic 1 Rehash - I'm not saying its canned, I'm planning on some work on it this summer.
    I would like to see it with it completely restored becuase I can't hack a game to save my life.If someone has managed to restore HPZ to final, was there a boss in that data?
     
  15. Trigahd

    Trigahd

    I am your gahd!! Member
    1,523
    0
    0
    Somewhere in the skies
    Nothing worth mentioning
    I highly doubt it. Since there was nothing in the final version of Hidden Palace, there is probably no boss as well.
     
  16. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    How would a boss magically appear just from adding art, collision, layout and sprites? Things aren't just created magically by ROM fairies.
     
  17. Drakmyth

    Drakmyth

    Inspector Drakmyth Master at your service. Oldbie
    420
    0
    0
    In the void beneath the ancient maze...
    Sonic Eclipse 2, Return of the Hidden Palace, Unnamed Sonic 2 Hack
    <baby voice> But I like Rom faries. </baby voice?
     
  18. Sky Shark

    Sky Shark

    Member
    124
    0
    0
    Sonic 1 Rehash - I'm not saying its canned, I'm planning on some work on it this summer.
    Can someone show me a pic that shows the ruoogh area that the codes that I neede to change are?
     
  19. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    You already have the exact area you need to change; why do you need a picture?
     
  20. The Mighty Boosh

    The Mighty Boosh

    Stupid like a FOX! Member
    Could anyone tell me, in simple "this guy's never used hex in his life before" terms, how I would go about sorting the collision. I find this all so confusing.