don't click here

Fall in a hole and don't die

Discussion in 'General Sonic Discussion' started by Ambil, May 1, 2008.

Thread Status:
Not open for further replies.
  1. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    Back in 2005, I remember saying S2 was built off S1, just by looking at level slots. Stuff like GHZ was slot 00 on both, etc.

    Now I know to hack level layout in both ROM and savestates, and I discovered one of the most bizarre programming holes in S2 SMS.

    After reviewing, by normal gameplay, all levels of S2, I realized there are no bottomless pits at all. There are spikes everywhere they should be, even in Sky High Zone.

    See, as example, this hacked savestate of Gimmick Mt. act 1. I remove all standard solid blocks from layout. If you fall to the bottom of the screen, you will find a surprise.

    Note: This package includes two savestates, ".s00" for MEKA and ".ss0" for Fusion. Savestates will only work if your ROM is named "Sonic the Hedgehog 2.sms".
     
  2. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    Nobody cares about my research, as usual. But I'm not out to let this go without giving results.

    [​IMG]
    Sonic is about to fall in the hole...

    [​IMG]
    And he finally falls. But he doesn't die?!

    [​IMG]
    The screen starts scrolling up instead.

    [​IMG]
    It stops scrolling at some point you can move Sonic horizontally -- though you can't see him, the camera moves.

    [​IMG]
    At certain point after moving Sonic, the camera scrolls up again...

    [​IMG]
    ...until a point you can't move anything more. Time for a restart.


    I repeat, this will _never_ happen in normal gameplay, since there are no bottomless pits.

    This is PROOF S2 wasn't made out of S1, and all the rest is bullshit.
     
  3. Yuzu

    Yuzu

    Member
    2,494
    33
    28
    Pretty good work, I guess GHZ was the first level to be programmed into the game. To tell the truth, I never thought Sonic 2 was built on Sonic 1, sure there isn't many differences, but what's the point in re-using an engine when you can build a better one?
     
  4. JoseTB

    JoseTB

    Tech Member
    717
    59
    28
    Well it's interesting, I don't think it's been mentioned before.

    But you know, programmers might felt like being creative and actually implemented that for S2 and everything. I'm guessing that wouldn't involve more work than, say, the spike bugfix on the genesis series.
     
  5. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    $$$

    Saving time and money by not programming a new engine, if you don't get it.
    Only some details have been changed in the engine (example: roll and jump faster).

    See above. This isn't the only difference -- I highly doubt programmers would waste time (and therefore I doubt Sega would waste money in programmers) just to delete the death by falling to pits, nor to delete the checkpoint monitor, nor to delete the shield monitor, nor to delete the island map, and the list keeps going on.

    Remember this game was developed MORE in the rush than its homologous for the Mega Drive: it was released only 10 months after Sonic 1.
     
  6. ICEknight

    ICEknight

    Researcher Researcher
    Makes sense, since only Sonic 1 was made by Ancient. Nice observation.
     
  7. nineko

    nineko

    I am the Holy Cat Tech Member
    6,191
    427
    63
    italy
    Sonic 1 and Sonic 2, however, share the complete set of sprites iirc, except for the sprites added in Sonic 2. They only have a slightly different palette.
     
  8. Overlord

    Overlord

    Now playable in Smash Bros Ultimate Moderator
    18,878
    731
    93
    Long-term happiness
    Nice work - I know I didn't check this out until now because of the hassle with fiddling with the savestate =P
     
  9. muteKi

    muteKi

    Fuck it Member
    7,654
    38
    28
    Right -- I only use Fusion.
     
  10. Ayla

    Ayla

    I shat on your desk ^^ Oldbie
    1,760
    0
    16
    West Linn, OR
    Hacking Contest, StH Overlooked, Personal Indie game
    I remember you talking about this in IRC the other day. Fascinating =)
     
  11. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    You want a Fusion savestate? You got it, in the first post.

    Anyways you can do this with the same method.
    1. Open a savestate your savestate in a hex editor.
    2. Go to offset $6E (in MEKA) or $40BD (in Fusion).
    3. Select a block of size $1000, cut it and paste it in a new file.
    4. In the new file, replace all instances of the default solid block (usually $29) with $FF (empty block)
    5. Insert the new $1000 file into the savestate file, in the same offset.
    6. Save the file.
    7. Turn power back on and... ENJOY!!!
    Code (Text):
    1. if(Ayla>=3)
    2.  Ayla=2.9999;

    Thanks to all of you for your comments.

    > Apart from this, just out of curiosity, look what I found hacking a Sonic 1 SMS savestate from Fusion.
    Offset $160.

    Code (Text):
    1. .x0x.|0|L|0|L|0|L|0|Lx0x........
    Steve Snake is obviously a turd. lololol
     
  12. Rolken

    Rolken

    Tech Member
    If you haven't seen it, you might be interested in this topic. Sonic 2 and Sonic&Tails 1/2 and Sonic Blast were all based on the same engine, being by the same developer (Aspect) as opposed to Sonic 1's developer (Ancient).

    Programming an almost identical engine from scratch is something that pretty much never happens unless there's a very compelling reason to do so, such as a radically different platform. Why burn time reprogramming the same things you've already done?

    edit: also Sonic 2 appeared to be the only game in which the map loading was completely stupid and had no concept of a level bottom, and would load whatever garbage it saw until it ran out of map space. That probably has something to do with your wandering around below the level shenanigans.
     
  13. Ambil

    Ambil

    I want that heinous hedgehog hammered! Member
    893
    0
    0
    Spain
    Why didn't you tell me before about that? :P I would never have imagined somebody would bother in creating full level maps of the so-hated game.

    These level layouts can now be imported into SonED2 using my method. Indeed, much better and useful than my block maps and block sheets (not released yet).

    Now I don't have to cry anymore for the work I lost in my original project to port this game as-is into the Mega Drive Sonic 1, thanks to this and Hayate's new utility.

    Well, makes sense that some of the levels have all their bottom line filled with spikes. Something I knew after creating my block maps... just wondered what would happen if reaching the end of a level that has no spikes.
     
Thread Status:
Not open for further replies.