don't click here

Sonic Adventure 2 Hacking

Discussion in 'Engineering & Reverse Engineering' started by Turbohog, Feb 20, 2012.

  1. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,651
    218
    43
    SonLVL
    Make Grind Race work in 1P mode: at 518BFF change 0F 8E 0F FF FF FF to 90 90 90 90 90 90
     
  2. Lanzer

    Lanzer

    The saber calls for its master... Member
    6,845
    3
    18
    Glendale, AZ
    Living life.
    So Mainmemory, can I ask, is SA2 as hard as you thought it would be when it comes to hacking? I remember pre-PC release that you weren't very optimistic about pulling anything off in SA2.
     
  3. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,651
    218
    43
    SonLVL
    It's about as hard as I thought it would be pre-release: lots of simple code edits, no model edits whatsoever.
     
  4. BlazeHedgehog

    BlazeHedgehog

    A "Community Enigma"? Oldbie
    1,464
    6
    18
    So for somebody who has just gotten SA2 PC and has never used cheat engine, anyone want to provide a crash course and/or any other helpful information? Like, why don't we have a unified post with all the codes, etc.?
     
  5. flarn2006

    flarn2006

    Member
    280
    3
    18
    SA2 Cheat Table
    At the very end of the previous page he posted a link to that page.
    Also, if someone (probably MainMemory) figured out the model format for SADX, how much harder could it be for SA2? Though I don't know nearly as much about the SADX's model format as he does.
     
  6. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,651
    218
    43
    SonLVL
    I didn't figure out the model format, SANiK and co. did years ago with the documentation in the Dreamcast SDK, which also describes the model format SA2 primarily uses.
    However, while the SDK does tell you all the data formats, it does not tell you exactly how they should be processed, and as I have repeatedly said, the Chunk format SA2 uses is much more complicated than the Basic format SA1 uses.
    For example, Sonic's model makes use of a feature of the format which alllows you to save your position in a model's polygon list and resume from there in another model. So instead of each of the model parts having its own polygon lists, one model stores the polygons for several models. You may have noticed that Sonic's body is half missing in my model viewer. This is because it uses that feature, and I'm not implementing it properly, but I have no clue what exactly is wrong.

    As for the model format used in levels which is the main holdup on a level editor, I believe we currently know enough to render textureless colorless polygons from them. I've just been putting it off because it involves writing new model classes and rewriting parts of all of the existing tools.
     
  7. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,651
    218
    43
    SonLVL
  8. Joe T.E.

    Joe T.E.

    All life form data, successfully copied! Member
    142
    0
    0
    At my home in Florida
    Big the Cat in Sonic Generations, High-Res HUD for Sonic Lost World, Metal Sonic Lost World (Version 1.0,) Sonic Generations: Episode Metal (Version 3.0.)
    Awesome!

    Seeing as you haven't tested any of them yet, I decided to test the one that I've been looking forward to the most!

    [​IMG]
    Thus far, I can confirm that using Big's model in place of Eggman's model works in 2-player mode.

    [​IMG]
    He also works in the Single Player mode when Eggman doesn't have any upgrades (the game crashes if Eggman has all of his upgrades.)


    I'm assuming that either the Cannon upgrade, the Armor upgrade, or the laser upgrade are causing the crashes.

    Since it's possible to disable the graphics of those power-ups (via hex editing / ram editing) to make the Dark Chao Walker not crash, is there any way to do the same thing with the main Eggman model?

    P.S. - I'll try testing out some of the other models over the course of today. :D
     
  9. Graxer

    Graxer

    Member
    I know you say that you can't do anything about it if they don't work, but I was wondering how you even got the Sonic one that you showed working previously to work. For me the model changes but the textures go weird. I think it may be due to the fact that the texture files you are supplying are in PAK format, whereas they are in PRS format in my copy of SA2PC.
     
  10. SF94

    SF94

    Tech Member
    Make sure the .pak file is in the PRS folder; it needs to be in there for it to work. I use custom .pak files all the time, and it works perfectly fine.

    And yes, the prs files are there for everyone; that's just how it works. If you rename the PRS folder to something else, all the textures are the normal SA2B textures =P
     
  11. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,651
    218
    43
    SonLVL
    Also I tested Metal Sonic, and it seemed to work until I jumped.
     
  12. darkspines35

    darkspines35

    It's Easy Actually. No, seriously. Tech Member
    248
    0
    16
    .V.
    Sanik Adevnt Casters
    Well this is poop. My laptop's kinda dead for the moment, but I can say I'll try to get the ones not working to work. I won't be able to until at least the weekend sadly, but I'll see what I can do about them. Same goes for a fixed trial model.
     
  13. Graxer

    Graxer

    Member
    That works perfectly, thanks for your help!
     
  14. Azu

    Azu

    I must be stupid. Member
    Is there like a list of tools/hacks I can get to? Or am I gonna have to dig through this thread? Also, trying to use the cheat engine table but says it's not a valid table when trying to load the lua scripts. I'm using the sonic2app_decrypt.exe.
     
  15. darkspines35

    darkspines35

    It's Easy Actually. No, seriously. Tech Member
    248
    0
    16
    .V.
    Sanik Adevnt Casters
    So, uh, here's this. With a really crappy video to boot!
    http://www.youtube.com/watch?v=mG2D2_x6qEg
    Got my laptop fixed up today, so I'll be working on seeing what's up with those other characters.

    And I'll drop the DL link here as well though it's also in the video description :v:
     
  16. Aerosol

    Aerosol

    Not here. Moderator
    11,042
    417
    63
    Not where I want to be.
    Sonic (?): Coming summer of 2055...?
    I don't understand why you recorded on a stage where the camera is pulled so far out most of the time. Ah well.
     
  17. darkspines35

    darkspines35

    It's Easy Actually. No, seriously. Tech Member
    248
    0
    16
    .V.
    Sanik Adevnt Casters
    Because the game chugs horribly on my computer, and GHZ is the only level I can get decent running speed on (even then it's bad in several spots) The video itself had to be sped up... But you know, now that you mention it...I probably should have just used the Chao Garden, but I never thought about it :specialed:
     
  18. BlazeHedgehog

    BlazeHedgehog

    A "Community Enigma"? Oldbie
    1,464
    6
    18
    Um. Hm.

    [​IMG]

    Something's.... wrong. The files go in \Sonic Adventure 2\resource\gd_PC\, right?

    Edit: Okay, after validating my install so Steam would re-download the files I overwrote, it said it only had to replace 1 file. Given that my screenshot shows soap shoes textures on Sonic's wrist there, I think you might've packed the wrong texture file.
     
  19. Graxer

    Graxer

    Member
    Did you put the texture ".pak" file in the PRS folder? If you don't it wont work. I had the same problem with other models in this forum until I found that out.
     
  20. BlazeHedgehog

    BlazeHedgehog

    A "Community Enigma"? Oldbie
    1,464
    6
    18
    Aha! That fixed it!

    Edit:

    [​IMG]

    Yay