don't click here

Mania Mod Loader

Discussion in 'Engineering & Reverse Engineering' started by MainMemory, Sep 1, 2017.

  1. WhoWhatWhenWhale

    WhoWhatWhenWhale

    Member
    5
    0
    1
    Do you think you could add Codenamegamma's partial Egg-Reverie Dashing fixes from his latest cheat-table to the "Super Forms Fly" cheat? It still crashes in certain levels, but it works in a few! If you want to wait until they fully fix it that'd be also understandable.
     
  2. Fred

    Fred

    Taking a break Oldbie
    1,563
    117
    43
    Portugal
    Sonic 3 Unlocked
    I mean, that's what I posted them here for. :v: I'll pass on the credit, though.
     
  3. Shade Vortex

    Shade Vortex

    The Black Vortex Member
    567
    40
    28
    USA, WA.
    Twitch Streams
    I don't usually boot the game from the mod loader, but when I do, my controller config seems to be messed up. Not sure if I'm the only one who experiences this- but my DS4 doesn't get picked up and the button config is off for the Xbone controller.

    Also, I'm gonna have to test out which code is causing this (I am using the updated Peel-Out code), but my controls were messed up specifically in the special stage, regardless of how I launched the game. Dpad right was jump and it was generally wonky. I have a lot of codes enabled so it'll take some doing to figure out which one caused this... lol
     
  4. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Whenever I try booting directly to a gameplay scene, it assigns my P1 controls to P2.
     
  5. Mr. Fox

    Mr. Fox

    Member
    559
    9
    18
    A few more ideas:
    - Disable the speed increase in Blue Spheres. (You could find the speed variable and then find out what writes there and NOP that bit of code.)
    - Stop the big rings from being grayed out until you finish the game. (Seems like the rings are being disabled when you exit the stage, regardless of your results, could also help to check out the "completed the game" flag.)
    - Knuckles & Tails and/or Sonic & Knuckles mode. (Not sure how the character slots are handled in this game but the coding for AI Tails and Knuckles is definitely there.)
    - Don't lose rings on hit.
     
  6. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Disable the speed increase in Blue Spheres: already done for the next release, and a few extra variations for people interested in that sort of thing.
    Stop the big rings from being grayed out: I wouldn't even know where to begin to search for that.
    Knuckles & Tails and/or Sonic & Knuckles mode: you can already force that with "P2 Always X" codes.
    Don't lose rings on hit: I've got one where you ignore damage entirely, but I can certainly make one where you get knocked back without losing anything, or one where you only lose a shield but never rings, or one where rings fly out but the counter doesn't actually decrease.
     
  7. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    It's that time again: new cheat codes!
    http://youtu.be/iLZwkkI1GQw
    • Super Sonic Uses Sonic's Sprites
    • Disable HUD
    • Special Stage: Grass Has No Effect
    • Special Stage: Start At Mach 3
    • Special Stage: Don't Lose Rings With Time
    • Bonus Stage: Only Need One Sphere
    • Bonus Stage: Always Get Gold Medal
    • Bonus Stage: Never Speed Up
    • Bonus Stage: Remove Speed Cap
    • Bonus Stage: Speed Up Twice As Quickly
    • Bonus Stage: Start At Max Speed
    • Bonus Stage: Start At Double Max Speed
     
  8. Josh

    Josh

    Oldbie
    2,123
    1,087
    93
    USA
    Sweet, thank you! I think I'll go for that "Always Gold Medals" cheat. I got them all on the Switch version, and while I don't mind playing them again, getting all the rings just makes them tedious.
     
  9. MissingNoGuy

    MissingNoGuy

    Sounds totally automated. Member
    Awesome work as usual MainMemory! Gonna use that Gold Medal cheat cause some of those Bonus Stages are sadistic.
     
  10. My one suggestion: Change the Infinite Rings to 50 instead of 999. If it's set to 999, it gives you an extra life every single time you get a ring, and it's obnoxious.

    Code (Text):
    1.   <Code name="P1 Infinite Rings">
    2.     <CodeLine>
    3.       <Type>write16</Type>
    4.       <Address>00A4D784</Address>
    5.       <Value>50</Value>
    6.       <ValueType>decimal</ValueType>
    7.     </CodeLine>
    8.   </Code>
    9.   <Code name="P2 Infinite Rings">
    10.     <CodeLine>
    11.       <Type>write16</Type>
    12.       <Address>00A4DBDC</Address>
    13.       <Value>50</Value>
    14.       <ValueType>decimal</ValueType>
    15.     </CodeLine>
    16.   </Code>
     
  11. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Not every time, just the first three after you start a stage or lose your rings.
     
  12. codenamegamma

    codenamegamma

    Tech Member
    73
    1
    8
    gets annoying though, for me even without losing rings it will keep going off just about every time you gain rings. i'll eventually just figure out a disable for the 1up sound.
     
  13. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Two new codes by request:
    • Disable Super Peel-Out Animation
    • Don't Get Extra Life From Rings
     
  14. Fenrir

    Fenrir

    Eh. Member
    How about making Sonic and Tails able to break Knuckles-only blocks? Also if there's any way to apply gamma's fix for the game crashing when Egg Reverie dashes in flight that'd be swell.
     
  15. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    New codes:
    • Fix For ERZ Super Sonic Abilities
      Probably different from codenamegamma's fix, but it prevents crashes all the same.
    • Super Forms Can Fly
      Now takes you out of flying state when you lose Super status.
    • Super Dash Costs No Rings
    • Anyone Can Break Breakable Walls By Touching Them
    • Disable Time Over
      The timer just stops at 9:59.
    • 15 Minute Time Limit
     
  16. codenamegamma

    codenamegamma

    Tech Member
    73
    1
    8
    well, you did manage to fix it. the 2nd round of patches i learned basically did nothing but i didn't know because i didn't have time to investigate it further or even try it without it before the releases. turns out it wasn't doing anything because it was loading addresses to other addresses that only get populated AFTER going to the egg reverie stage and change each time the game is ran.

    for the sake of completeness and sharing here is the code i got for disabling the cooldown between dashes.

    Code (Text):
    1.  
    2. aobscanmodule(DisEReverieDash,SonicMania.exe,C7 86 EC 01 00 00 3C 00 00 00)
    3. registersymbol(DisEReverieDash)
    4. DisEReverieDash:
    5.   db C7 86 EC 01 00 00 00 00 00 00
    6.  
    7. [DISABLE]
    8. DisEReverieDash:
    9.   db C7 86 EC 01 00 00 3C 00 00 00
    10. unregistersymbol(DisEReverieDash)
    11.  
    as can be seen here.
    http://www.youtube.com/watch?v=q6nwDrvM4sg

    let me know if you would be interested in taking a look at my Debug Hijacking method there's a lot of work to do there but while I've learned a lot about in-game objects some real disassembly is needed to actually get it to inject the proper params so it won't crash with (almost) every object you try and spawn.
     
  17. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    Yeah, I figured that instruction was for the delay since it was right next to the other stuff, I just didn't think to make a code of it.

    I suppose I could look at the debug stuff for you.
     
  18. Techokami

    Techokami

    For use only on NTSC Genesis systems Researcher
    1,373
    81
    28
    HoleNet!
    Sonic Worlds Next
    Out of curiousity, does this prevent being able to use the online leaderboards when cheats are active? Because it'd be kind of a shitty thing to let people cheat on the leaderboards... :/
     
  19. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,735
    334
    63
    SonLVL
    For one thing, not all codes are harmful to leaderboards. For another thing, even if I did disable leaderboards while codes were on, people would just use codenamegamma's cheat table, or build their own version of the mod loader. For the third thing, I wouldn't know how to disable the leaderboard even if I wanted to.
     
  20. Josh

    Josh

    Oldbie
    2,123
    1,087
    93
    USA
    Yeah, the leaderboard is pretty much a lost cause on the PC version, anyway.