Sonic Generations Hacking (and More!)

Discussion in 'Engineering & Reverse Engineering' started by Andrew75, Jun 23, 2011.

  1. Chaos Hedgie

    Chaos Hedgie

    It ain't ever my business, though Oldbie
    EDIT: Whoops forgot I posted this earlier...trash this
     
  2. Caped Baldy

    Caped Baldy

    Member
    1
    0
    0
    Anyone know how to switch models i.e. swapping Classic Sonic out with Shadow?
     
  3. QuirkyKirk

    QuirkyKirk

    Member
    4
    0
    0
    The SCHG for Generations should help.
    Though for your specific question and example, Shadow's model files are in the BB2 folder, stored in shadow.ar.00. Classic Sonic's are in BB3, stored in SonicClassic.ar.00 and SonicClassic.ar.01. It should be a matter of just swapping them out once you have them unpacked and put into a modloader folder.
    Even as a fellow trial member, I can offer you some advice to avoid wasting any precious trial posts on questions that are easily answered.
    Lurk more often, and remember to check the SCHG for the game you want to mod. Also, search the topic to see if your question's already answered.
     
  4. Chaos Hedgie

    Chaos Hedgie

    It ain't ever my business, though Oldbie
    http://www.youtube.com/watch?v=tzh2d7bRZLs

    Any clue on how to do this? I've been searching the topic and I haven't found any luck. Any way to force the Super Sonic skill into boss fights?
     
  5. Hello, sorry if a bit of a bad bump, but I was wondering if there's anyway to uncap the framerate in Generations? I wanted to try seeing if the game could run 144fps without a whole lot of issues after being able to do it in Lost World. Has anyone even attempted it? All I found was one YouTube video that actually just has the game running at 72fps but doubled when video rendering.
    Is there even anything that can be hex edited regarding the framerate?
     
  6. So today I decided to try and see if I could port Unleashed's score/rank/HUD system into Generations, but looking into the exe file left me so lost and confused that I felt I was in over my head due to having no reverse engineering experience and minimal C++ experience. I'm not sure where to even begin with this because there's just so much code that I can't make heads or tails of.
     
  7. Skyth

    Skyth

    Member
    16
    3
    3
    Yes, it is possible.

    This is the address of FPS value in the executable: 0x12FA938 (19900728 in decimal)
    It's a float, so for example, for 120 FPS you have to replace it with 00 00 F0 42
    Be careful though, when you increase it to, like, 120 FPS, a ridiculous amount of input delay comes into play.
     
  8. thank you! I tried this out and it worked, although I wouldn't really call it input delay (except for the menus, they are super laggy), it's more like the controller input is completely ignored at what seems to be random. I wonder what causes that issue?
     
  9. McAleeCh

    McAleeCh

    Oldbie
    984
    12
    18
    Picked up Generations cheap on the Steam Summer Sale - I already owned the 360 version from back when it released, but am aware there've been some interesting mods for the PC version and was hoping to check them out. Know I'm well behind on this, so thought I'd pop in here with a couple of questions for those already in the know mods-wise:

    • Anyone know if there's a list/repository of available Generations mods? I'm aware of the Unleashed Project, but not much else, though I also vaguely remember there being some sort of 'fixed' Classic Sonic physics mod at some point...? Any quality-of-life/bug-fixing mods would be a must too, if they exist.
    • As for using said mods - is there a mod loader akin to Sonic Adventure DX/Sonic Adventure 2/Sonic R etc, or are mods installed/handled in a different manner?
    Thanks in advance to anyone who can help point me in the right direction. Sorry for being a bit of a newb about this - it's my own fault for waiting years to get the PC version and having to play catch-up, haha...!
     
  10. Covarr

    Covarr

    Sentient Cash Register Member
    4,233
    1
    18
    Trapped in my own thoughts.
    Two stageplays, a screenplay, and an album
    Sonic GMI is gonna be your best friend for running mods.

    This Steam guide has a pretty substantial list of worthwhile mods of various sorts.
     
  11. McAleeCh

    McAleeCh

    Oldbie
    984
    12
    18
    Ah, perfect - will investigate those as soon as I'm able. Thanks for your help! = )
     
  12. Blue Spikeball

    Blue Spikeball

    Member
    590
    25
    28
    That's a really good list. Unfortunately, some of the links are dead. Here are alternate links I found:
    Game Land
    Unleashed Jumpball

    Sadly, I couldn't find any mirrors for the following mods:
    Emerald Coast by Gold Tex
    Spiral Reed Lightfields by Smashnic11

    Does anyone have these?
     
  13. Murasaki Fox

    Murasaki Fox

    Member
    23
    0
    0
    'ey folks. Steve Taylor (from Sonic Islands) and I are trying to create a resource of Generations models and animations converted to FBX format. We know the process decently well at this point (although the hkxcmd bit is always tricky! :P), but we don't appear to have a working version of the .model import script for Max, nor does the Sonic GLVL utility appear to preserve skeletons when converting to FBX.

    Can anyone point us to a functional version?
     
  14. Dario FF

    Dario FF

    Tech Support Hotline Tech Member
    Wouldn't it be better to just use modelfbx instead? Or did it not work properly for you?
     
  15. Murasaki Fox

    Murasaki Fox

    Member
    23
    0
    0
    It didn't include the skeleton. It's possible that we just did it wrong, though. Does it require the .skl.hkx file to be present?
     
  16. Dario FF

    Dario FF

    Tech Support Hotline Tech Member
    Type both the .model and the .skl.hkx file as parameters and it should rig it.

    Code (Text):
    1.  
    2. Usage: modelfbx [mesh.model] [skeleton.skl.hkx] [animation.anm.hkx] [output.fbx]
    3.  - First 3 parameters can be in any order. You can omit any parameter for excluding elements from the output.
    4.  
    The skeleton data inside the .model files aren't the real skeletons but rather the binding pose matrices used for skinning IIRC, so recreating skeletons from those is not completely accurate when it comes to animation playback. That's why the tool asks for the skeleton hkx file.
     
  17. Murasaki Fox

    Murasaki Fox

    Member
    23
    0
    0
    It worked! Turns out the issue was a typo, but seeing it written like this helped us figure out where the issue was. xD

    Thanks for your help! One more question if you don't mind - is hkxcmd still the best way to mass-convert animations?
     
  18. Andrew75

    Andrew75

    Technical Artist Member
    1,949
    19
    18
    Project AXSX(Sonic Xtreme) + Misc Projects
    At one point I had all the models and assets ripped from the game, and burned everything to a Blueray disk along with a lot of handy tools. and that disk got corrupted over time. and I lost all the assets.
    I'm wondering if anyone has them all tucked away anywhere if they would be willing to share them back to me at some point for preservation purposes. (We can discuss in Private message)
     
  19. SuperSnoopy

    SuperSnoopy

    I like Sonic Advance Member
    766
    30
    28
    France
    Learning how to draw, studying Japanese
    Not really what you asked for, but:

    That can happen?
    That's kinda worrisome, I got a bunch of shit burned into disks I wouldn't wanna see disappear.
     
  20. XRick

    XRick

    Member
    As far as I know, Discs lose quality over time. You'd better not assume they'll be eternal.