Cheat Codes AMS and Sx Os, Add and Request

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by matias3ds, Oct 8, 2018.

  1. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    Read the guide, it'll tell you the new code types and formats. It's here if you haven't seen it: https://sx.xecuter.com/download/cheathacker_guide.txt
     
    eco95 likes this.
  2. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    Are those addresses in the picture consistent? If you close the game and reboot the Switch, are they still at HEAP+0x1aaf6540?
     
  3. dsrules

    dsrules GBAtemp Guru

    Member
    9
    Sep 20, 2005
    all Switch games HEAP address are different on every boot due to ASLR
     
    Yami Anubis ZX and hrtbrkd like this.
  4. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    (Shhhh, I know, I'm trying to perform a teaching moment here, lol)
     
    hrtbrkd likes this.
  5. dsrules

    dsrules GBAtemp Guru

    Member
    9
    Sep 20, 2005
    hahaha the easiest might be to look for the HEAP + that is closest to the HP address, then search for that HEAP + in Main
     
    eco95 likes this.
  6. hrtbrkd

    hrtbrkd Member

    Newcomer
    2
    May 24, 2018
    United States
    really appreciate the education. lol i'm coming from a non ASLR days of codebreaker, gameshark, and action replay.
     
  7. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    Basically what @dsrules said. Find the address to the value for THAT play session. Let's take HEAP+0x1aaf6540. Look through MAIN and try to find an address in MAIN that goes to HEAP+0x1aaf6540. Likely you won't find it. BUT you may find one very close, like HEAP+0x1aaf6500, only 0x40 off. Let's pretend that was located at MAIN+0x00120ff0 In that case your code would be at [MAIN+0x00120ff0] + 0x40. With that we can make an SX code.

    If you don't find a close enough HEAP address in MAIN or the one you find doesn't end up leading to the same place when you reboot, then look for a close-by address in the HEAP. Then take that new found address and look in MAIN again for an address close to THAT one. Example:

    You find the close enough value (HEAP+0x1aaf6500) but the location is still in the heap at HEAP+0x100e240. So now you'll search MAIN for something close to that. Let's say you find a close value (HEAP+0x100e230) located at MAIN+0x00120ff0, only 0x10 off. So then your code would be this:
    [[MAIN+0x00120ff0] + 0x10] + 0x40.

    It's a cumbersome process but once you find a trail of HEAP+0xXXXXXXXX that leads back to a MAIN+XXXXXXXX address then your codes should work for anyone that wants to use them.
     
    eco95, trueicecold, cearp and 3 others like this.
  8. zelda51

    zelda51 Advanced Member

    Newcomer
    4
    Jan 8, 2011
    France
    cheat no work for me
     
  9. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    Works fine for me. You're following the directions on the SX Menu and pressing + after enabling the cheats to confirm the changes?
     
  10. zelda51

    zelda51 Advanced Member

    Newcomer
    4
    Jan 8, 2011
    France
    post to be dealated
     
    Last edited by zelda51, Oct 9, 2018
  11. zelda51

    zelda51 Advanced Member

    Newcomer
    4
    Jan 8, 2011
    France
    it works, it was my backup that was corrupt.
     
    Last edited by zelda51, Oct 9, 2018
  12. Rabita

    Rabita Member

    Newcomer
    3
    Jun 23, 2018
    Indonesia
    put credit on who found it atleast
     
    eco95 likes this.
  13. Reider91

    Reider91 Member

    Newcomer
    1
    Jul 10, 2018
    Germany
    Vote hrtbrkd for president!
     
    matias3ds likes this.
  14. Rabita

    Rabita Member

    Newcomer
    3
    Jun 23, 2018
    Indonesia
    @AnalogMan where do i go from this? Dragon quest builder hp is in HEAP+0x2254A358 (0x1A)
    Its lead me to MAIN+0x001A0766, how do i convert it to sx code
     

    Attached Files:

    eco95 likes this.
  15. LordApplz

    LordApplz Member

    Newcomer
    1
    Sep 22, 2018
    Norway
    How did you find out what main it goes too?
     
  16. Rabita

    Rabita Member

    Newcomer
    3
    Jun 23, 2018
    Indonesia
    i'm just following what @AnalogMan n @dsrules said, finding the nearest HEAP+ from that address which is HEAP+0xAIBCFF20, tapping that would lead me to MAIN+0x001A0760, then i find the value is in x06 so thats makes it MAIN+0x001A0766
     
    eco95 likes this.
  17. DaBlackDeath

    DaBlackDeath .::[ lone wolf ]::.

    Member
    8
    Dec 22, 2007
    Germany
    I would say something like this...
    Code:
    [Inf. Health]
    580f0000 001A0760
    780f0000 00000006
    640f0000 00000000 00000063
    
    Try it or wait for @AnalogMan
     
    matias3ds likes this.
  18. Rabita

    Rabita Member

    Newcomer
    3
    Jun 23, 2018
    Indonesia
    ye, alrd tried that, didnt work
     
    eco95 likes this.
  19. matias3ds
    OP

    matias3ds GBAtemp Maniac

    Member
    8
    Oct 25, 2017
    Argentina
    It would be great the .txt when some one find a cheat , so anyone can test it , and use it :-)
     
    ultimatepump likes this.
  20. dsrules

    dsrules GBAtemp Guru

    Member
    9
    Sep 20, 2005
    the problem is Switch games are all dynamic, even if someone finds a cheat, it can't be use because the next time the game boots up, the address will be different
     
    matias3ds likes this.
Loading...