don't click here

SADX/SA1 Hacking/Modding

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

  1. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Well, how about that! I'm actually more surprised it doesn't crash on the PC ver. You'd think they would clear it from memory when you exit the level.
     
  2. Dude

    Dude

    Tech Member
    3,138
    0
    16
    Southbridge, MA
    Random VR/AR trash
    Not quite, you see the dreamcast has very limited ram and the game's model files are seperate, therefore allowing them to load in smaller groups and be purged more often. Longer loading times but you can use less ram. However on the PC version, everything is bundled into sonic.exe and the available ram is astronomical compared to the DC version so there's no need to purge things in memory as frequently.
     
  3. Polygon Jim

    Polygon Jim

    Eternal Tech Member
    0
    3
    0
    across town from Hinchy
    All the bitches.
    Yeah, if I wanna get it working on the DC version I need to find were the game actually tells it to load the model. Also, the E3 version crashes 99% of the time when I exit the Super Sonic battle.
     
  4. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Most the addresses are only loaded when you're actually inside a level. That might be the reason. Ultimetaly, you could've forgotten to load the "sonic.exe" proccess in CE beforehand, but I highly doubt that.
     
  5. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Edit: Trainer moved to first post.
     
  6. Ravenfreak

    Ravenfreak

    2 Edgy 4 U Tech Member
    3,077
    176
    43
    O'Fallon Mo
    Sonic 1 Game Gear Disassembly
    This is very interesting. Sadly I only own the gamecube version, not the PC version, so I couldn't check this out. Other than that, nice finds. ^^
     
  7. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Argh! I collected 50 rings, and I became Super Sonic, while with the trainer running!

    Was this supposed to happen? :P The trainer crashes when I'm not inside a stage, though. Just pointing out. The app I was working on crashed the same way!
     
  8. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    I don't understand what you're talking about with the first part, and it works fine for me in and out of stages.
     
  9. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    I meant that Sonic's model changed to the Super Sonic one when I got 50 rings while testing your trainer. But, nevermind. I belive it was just coincidence, since I was running a instanse of CE and your trainer at the same time.

    The trainer definitely crashes when outside a level. Once again, I belive it happen because I'm running CE simultaneously with the trainer.
     
  10. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Did it show you a Microsoft .NET Framework error dialog when it crashed? If it does I would like the Exception Text section of the message.

    Edit: New video of Super Sonic in Windy Valley.
     
  11. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    The SADX hacking is evolving...

    I'm sure Dude will help me with the texture issues! =D

    Code (Text):
    1. ************** Texto de Exceção **************
    2. System.ArgumentOutOfRangeException: O valor '120' não é válido para 'Value'. 'Value' deve estar entre 'Minimum' e 'Maximum'.
    3. Nome do parâmetro: Value
    4.    em System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
    5.    em Trainer1.Form1.ReadTimer_Tick(Object sender, EventArgs e)
    6.    em System.Windows.Forms.Timer.OnTick(EventArgs e)
    7.    em System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    8.    em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Basically, it says: The value '120' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
     
  12. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    That's wierd. I wish it said which NumericUpDown control was out of range, but I suppose I could add checks for out of range values. In other news, I made a Wiki Article about the addresses in my table. Somebody needs to help me link it to The Main Article and make it look nicer.

    Edit: Duh, I made the max for Lives 99! You have 120 lives, so it crashes!
    Edit2: Fixed, redownload.
     
  13. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Your address table is definitely incredibly impressive! =D

    I'm trying to figure out how to make the game load the textures and model in the ram, though... Also, you have any ideas about how to load the Super Sonic shield?

    By the way, I did a little bit of fixing in the Super Sonic code now. I'll upload another video later.
     
  14. That is sweet! Finally, a playable SS in a 3D game!

    All we need now is the fixed textures, and maybe a blast attack with that blast aura.

    There could also be some kind of transformation animation, but it's nice as is!

    Great job!
     
  15. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    I have no idea. I would also like to know how to load the regular shields.
    Edit: Also, you kind of make it sound like you're the first person to put Super Sonic in SADX.
     
  16. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Hmm... You can toggle the shield on and off at will using the address pointer you found.

    Also, sorry if I made it sound like it to you. I wasn't my intention. I was just trying to help. I put together something interesting, based on YOUR findings. Remeber, people prise the creation, not the creator.

    I'll refrain from involving myself in this any further from now on. And by that I mean that, whatever I do, I'll keep to my own enjoyment.
     
  17. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    First, I'm talking about the visible shield, not the effect.
    And second, It's okay. I said myself it's better than I could do. I can't hack this game on my own. So if you can do better than me, go ahead.
     
  18. Tweaker

    Tweaker

    Banned
    12,387
    2
    0
    I don't see the point in that. This is a collaborative effort; as such, everybody plays a part in inevitably bringing a proper Super Sonic in SADX to fruition. There's no reason to be rash and withhold what you already started working on just because of a tiny misunderstanding.

    All MainMemory was concerned about was the wording of your description not mentioning his initial findings, which is a fair complaint—he deserves recognition for his work, just as you do for your own. I don't see what's so unreasonable about that.
     
  19. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    What Tweaker said. I posted my cheat table here because I wanted people to build off it. So far, you, me and Polygon Jim are the only ones I see doing that.
     
  20. Endri

    Endri

    Officer I don't have my drivers license with me. C Tech Member
    Must be a misunderstanding really, because, from his reply, I thought he didn't want any help at all.

    Anyway, video description updated.

    Now, more reasonable :P