don't click here

For anyone looking to restore HPZ

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

  1. Miles3298

    Miles3298

    Member
    581
    19
    18
    restoring collision:

    Open a hex editor.

    Go to 004A09.

    Type 04, move to next byte, type 3C, move to next byte, type 10.

    Open a second hex editor, and look on dot hacks post for hiddenpalace_collision_com.dat (or something).

    Open up that file in the second hex editor. Copy everything in it.

    Close the second editor unless you may need to copy it again.

    Go to the one with your ROM opened in it.

    Go to 043C10.

    Paste the copied collision data at that exact address, overwriting, not inserting.

    And to get tiles, here's a "lazy way" to do it in SonEd.

    Open the ROM you are hacking Hidden Palace back to.

    Read data>ROM>all>Hidden Palace act 1.

    Now, get a savestate of you playing the Beta Hidden Palace.

    Load the savestate in SonEd.

    Read data>Savestate>All

    Write data>ROM>all>Hidden Palace act1

    Save>ROM

    Edit: Er, why does the background scroll up a bit after entering the level? :blink:
     
  2. The Mighty Boosh

    The Mighty Boosh

    Stupid like a FOX! Member
    Thank you, you've been a big help.
     
  3. Skaarg

    Skaarg

    Member
    3,683
    0
    16
    For some reason when I did that I did exactly what you said, and when I got to the last step I get one of those errors where the program must close, it doesn't give a reason.

    Edit: I tried this in 2 different versions of Soned.
     
  4. Miles3298

    Miles3298

    Member
    581
    19
    18
    Trying in 2 versions means what when you said that in the edit? That it won't work in both or it worked in the second one you tried?

    EDIT: Nevermind, I think I may know what hit it... check back in these instructions again to see what I said wrong. <_<

    Change the underlined to:

    Read Data>Savestate>8x8 tiles

    Read Data>Savestate>16x16 tiles

    Read Data>Savestate>128x128 tiles.


    [crappy theory]That's why it crashed, but I'd expect it to say something about not yet implemented if the computer is good enough.[/crappy theory]

    But it should work then.
     
  5. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    When I was half way through copying and pasting the .dat file I got the error too. I was using Hex Workshop, latest version. It also closed when I was trying to restore collision.
     
  6. Skaarg

    Skaarg

    Member
    3,683
    0
    16
    I tried it in the newest and the version of soned before that. None of them worked. :blink:
     
  7. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    New problem. I did everything in this pinned topic, but I think the collision data's still a bit wonky as Sonic is falling through the floor. Could anyone post the offsets and data I need to change, or what they think I've done wrong? This would be very helpfull indeed.
     
  8. Miles3298

    Miles3298

    Member
    581
    19
    18
    Weird...

    You already have the bloody offsets given, why should we type it all again? I made it as easy as typing text could get it. =P But anyways, the offset for where collision needs to point to is 043C10. Paste the copied collision data at that offset. And at the pointer for the collision (004A09) is simpler to change than my lightbulbs, just type 04 in 004A00, type 3C in 004A01, and you should know what the next byte is, and what to type. (byte 004A02 and type 10).

    Oh, and the SonEd part, I have no idea what make it crash other than it being a hell.
     
  9. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    I've done all that three times. Methinks I'll download a new S2 Rom. Thanks for the help anyway.

    EDIT (in responce to GenoFox//.hack's post below): I did not use ESE and I tried both offsets. I only used ESE after I was sure the level was there to change the level select screen.

    Another Reply Edit (Even though he prolly won't see this):

    No.
     
  10. Miles3298

    Miles3298

    Member
    581
    19
    18
    Don't mess it up the least bit though, you might program the all-new hang at title card feature that's 75% off original price. I can make a mostly clean one for you but the in-tile orbs will still be crap (I don't know how to make new ones, I suck at level arting anyway) and the background will scroll up a bit.

    EDIT: Wait, did you ever use Esrael Sonic Editor? That can move the collision pointer to, uh, I don't remember really, but check Rika's first post in the topic to see which one is the pointer. Silly me.

    :Reply to editreply (what?): Using the editor without using the editor isn't possible, look: "I did not use ESE <snip> I only used ESE <insert scissors here>"... But anyway, did you migrate the levels with ese which "you didn't use"?
     
  11. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    I never replied to this, so sorry for bumping.

    I didn't use ESE before trying to restore HPZ. I did use ESE to change the level select, and I didn't migrate the levels.
     
  12. Miles3298

    Miles3298

    Member
    581
    19
    18
    Then, they must have been moved to the end of the ROM already but the offset stayed the same... I'll upload the best one I attempt to restore in a clean Sonic 2 ROM with collision restored and all, but you'll have to restore the in-tile orbs, make it so the background doesn't scroll upwards at start and port the enemies yourself.

    RE-EDIT: Download taken down due to ..
    1. Ripway being a hell
    2. It was unfinished
    3. I felt like editing a post
     
  13. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    Thanks alot GenoFox. Would you mind if I used that in a hack?
     
  14. Miles3298

    Miles3298

    Member
    581
    19
    18
    Use it without even giving credit if you like.
     
  15. Korou Tenshi

    Korou Tenshi

    Member
    442
    3
    18
    UK
    Hey, none of these methods seem to fully restore HPZ for me. I still need backgrounds, water effects, glowing orbs, and many other things. I'll upload the ROM so you guys can tell me what's wrong with it.
     

    Attached Files:

  16. Tweaker

    Tweaker

    Banned
    12,387
    2
    0
    I don't really want to download that... But what have you restored so far? Remember, you have to port the 8x8, 16x16 and 128x128 blocks from the beta and import them into the final. Once they are in the ROM and in the right format, you have to update the main level load block and pattern load cues to load the correct art and mappings. As for the glowing orbs, you need to import the art for the glowing orbs and update the animated pattern load cues. As for enemies, you have to port the programming. There is a text file somewhere that explains what to do.
     
  17. 3588897

    3588897

    Pending Member
    30
    0
    0
    Sonic 2 Redone
    I've got a question and sorry if this is off topic. But anyways is there a way to access this version of HPZ in Sonic Mega Collection Plus? If so do you think you could tell me? And sorry if this is a bump I just want to play HPZ without taking up my computers memory.
     
  18. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    Uh, do you have a game genie? No? No.
     
  19. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    You can play it using an emulator on the PC, DC, PS2, or Xbox. Your choice.

    You cannot play a functional HPZ on SMC+ because S2 final doesn't contain all the required data.
     
  20. muteKi

    muteKi

    Fuck it Member
    7,845
    131
    43
    Is the non-functional one on the final accessable from SMC?