SADX/SA1 Hacking/Modding

Discussion in 'Engineering & Reverse Engineering' started by MainMemory, Aug 15, 2009.

  1. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    What Sonic Heroes codes are these, found by PolygonJim?

    <!--quoteo(post=340868:date=Aug 15 2009, 04:41 PM:name=MainMemory)--><div class='quotetop'>QUOTE (MainMemory @ Aug 15 2009, 04:41 PM) <a href="index.php?act=findpost&pid=340868">[​IMG]</a></div><div class='quotemain'><!--quotec--><a href="http://www.youtube.com/watch?v=MNporcIOKWs" target="_blank">The video uploaded!</a><!--QuoteEnd--></div><!--QuoteEEnd-->Did you use Cheat Engine to do this?

    I didn't know CE had an "if/else" statement to change certain addresses values if certain conditions are met.

    You forgot to make it change the currently playing music to 22, in order to load the SS boss fight music! :P
     
  2. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    No, no no. I just made it so you always turn into Super Sonic when you Jump and press the action button. I could also make him snowboard by the same method. A REAL Super Sonic transformation would take a lot more code changes.
    Edit: but I did use Cheat Engine's assembler to edit the code in RAM. It was a one byte change.
     
  3. Dude

    Dude

    Tech Member
    3,138
    0
    16
    Southbridge, MA
    Random VR/AR trash
    I've been messing with this too and I give you:
    <a href="http://www.youtube.com/watch?v=A2wap46P04c" target="_blank">Sonic vs. sonic 2 player mode</a>
     
  4. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    Cool, I need to show you Sonic the Terminator (aka Gamma w/ Sonic's model).
    Edit: Is there any way to make this go faster? It takes forever to convert videos to MPEG and upload.
     
  5. Dude

    Dude

    Tech Member
    3,138
    0
    16
    Southbridge, MA
    Random VR/AR trash
    <!--quoteo(post=340879:date=Aug 15 2009, 04:05 PM:name=MainMemory)--><div class='quotetop'>QUOTE (MainMemory @ Aug 15 2009, 04:05 PM) <a href="index.php?act=findpost&pid=340879">[​IMG]</a></div><div class='quotemain'><!--quotec-->Cool, I need to show you Sonic the Terminator (aka Gamma w/ Sonic's model).
    Edit: Is there any way to make this go faster? It takes forever to convert videos to MPEG and upload.<!--QuoteEnd--></div><!--QuoteEEnd-->

    You can't use straight AVI files on youtube?

    Personally I use movie maker to do a quick convert to wmv. It sucks I know but on youtube, quality doesn't matter that much and it takes a 200 mb file down to 2.5 mb
     
  6. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    A 1:12 video in AVI is 1GB, the same in MPEG is 318MB. I'll try WMV and see how that goes.
     
  7. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Holy crap! O_O

    Not even the 1 hour movies I download in the internet, in a 720p resolution are as big as 1GB. They're usually around 150/200MB. Oh well.

    Sonic and Sonic is cool by the way :P

    Also, MainMemory, can you slightly modify the code to make Super Sonic toggle if the rings counter condition is met? And make it change the music as well :specialed:
     
  8. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    Okay, WMV is 11MB and not that much worse. Thanks, Dude.
    Endri: First I would have to find some empty space to insert all that code.
    Okay, here's <a href="http://www.youtube.com/watch?v=ySf-_7JCiT4" target="_blank">Sonic the Terminator</a>.
     
  9. Sik

    Sik

    Sik is pronounced as "seek", not as "sick". Tech Member
    6,719
    0
    0
    being an asshole =P
    <!--quoteo(post=340889:date=Aug 15 2009, 05:27 PM:name=Endri)--><div class='quotetop'>QUOTE (Endri @ Aug 15 2009, 05:27 PM) <a href="index.php?act=findpost&pid=340889">[​IMG]</a></div><div class='quotemain'><!--quotec-->Holy crap! O_O

    Not even the 1 hour movies I download in the internet, in a 720p resolution are as big as 1GB. They're usually around 150/200MB. Oh well.<!--QuoteEnd--></div><!--QuoteEEnd-->Probably because those 1GB videos are uncompressed.
     
  10. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Oh my God! I saw something never seem before! Well, at least for me.

    I don't know if this is possible to normally die in the snowboarding section of Ice Cap, but, well, I switched to Super Sonic, and walked the mountain all the way back up. For my surprise, half the mountain was missing, and I wond up falling in a bottomless pit. When the game restarted, Sonic was riding a different board! It was a blue board with a snowflake simbol.

    Edit: It's not really a snowflake, but is something similar. Also, the board is entirely blue. Oh.
     
  11. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    There is a bottomless pit that you jump over at the end of the avalanche section, and I get the blue snowboard more often than the yellow one.
     
  12. PARASOL

    PARASOL

    Member
    <!--quoteo(post=340905:date=Aug 15 2009, 05:04 PM:name=Endri)--><div class='quotetop'>QUOTE (Endri @ Aug 15 2009, 05:04 PM) <a href="index.php?act=findpost&pid=340905">[​IMG]</a></div><div class='quotemain'><!--quotec-->Oh my God! I saw something never seem before! Well, at least for me.

    I don't know if this is possible to normally die in the snowboarding section of Ice Cap, but, well, I switched to Super Sonic, and walked the mountain all the way back up. For my surprise, half the mountain was missing, and I wond up falling in a bottomless pit. When the game restarted, Sonic was riding a different board! It was a blue board with a snowflake simbol.

    Edit: It's not really a snowflake, but is something similar. Also, the board is entirely blue. Oh.<!--QuoteEnd--></div><!--QuoteEEnd-->

    It's an easter egg. There's a yellow one and a blue one.

    Also, Picklepower, <a href="http://www.dreamcast.onlineconsoles.com/phpBB2/downloads_officialcontent.php" target="_blank">http://www.dreamcast.onlineconsoles.com/ph...cialcontent.php</a>

    All the official content including the christmas theme is in there.
     
  13. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Haha! "Sonic, the Terminator" is awesome!

    It's interesting that I get cycling between the blue and yellow board each time I die! :eng101:

    Also, MainMemory, what asm code you use in the memory to make the transformation possible?
     
  14. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    <!--quoteo(post=340845:date=Aug 15 2009, 01:44 PM:name=MainMemory)--><div class='quotetop'>QUOTE (MainMemory @ Aug 15 2009, 01:44 PM) <a href="index.php?act=findpost&pid=340845">[​IMG]</a></div><div class='quotemain'><!--quotec-->The code for Jump Cancel is at [...] 00492F68 in RAM.<!--QuoteEnd--></div><!--QuoteEEnd-->


    This one. I just changed 00492F6A from 12 (Falling) to 75 (Super Sonic Standing).

    Edit: or did you mean the model swap? that one is P1 Model Address = 0x03C56210.

    Edit edit: New Video: <a href="http://www.youtube.com/watch?v=QdxUO_rX-B0" target="_blank">Sonic is a ghost</a>!
     
  15. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Actually, I mean, how to make the transformation in realtime, when canceling a jump.
     
  16. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    Yeah, I just changed the code in my post. In sonic.exe you would change 92F6A to 4B. But without fighting Perfect Chaos first, this would just crash the game.

    <a href="http://www.youtube.com/watch?v=cGJUks9X82E&fmt=18" target="_blank">Snowboarding in Twinkle Cart!</a>

    I think maybe I should change the topic title.

    <a href="http://www.youtube.com/watch?v=Lvf7Ng40HH8" target="_blank">Fixed Camera</a>
     
  17. Dude

    Dude

    Tech Member
    3,138
    0
    16
    Southbridge, MA
    Random VR/AR trash
    Speaking of fixed cameras - if there is a camera conflict (eg: sonic is inside of more than one camera zone) the game will fix the camera until the camera zones stop fighting. I really should get around to making that camera tutorial.

    Also, I made a new 2p video

    <a href="http://www.youtube.com/watch?v=k0Mnyja7XAA" target="_blank">http://www.youtube.com/watch?v=k0Mnyja7XAA</a>
     
  18. Azu

    Azu

    I must be stupid. Member
    It doesn't work for me. All I see is ?? under value.
     
  19. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,609
    201
    43
    SonLVL
    What are the values of P1 Pointer 1 and P1 Pointer 2?
    Are you in a level?

    Edit: I should make a wiki article about the addresses in my table.
     
  20. Polygon Jim

    Polygon Jim

    Eternal Tech Member
    0
    0
    0
    across town from Hinchy
    All the bitches.
    So, I decided to stop being a ass, and actually do something useful.


    [​IMG]

    Found the action modifier in the DC version. Though any attempt at turning into Super Sonic seems to crash. So still working on that.