Cheat Code to NTR Plugin?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by n0ke, Jan 18, 2016.

  1. n0ke
    OP

    n0ke Member

    Newcomer
    17
    6
    Dec 25, 2015
    Gambia, The
    hey,

    Can I convert my Cheat Codes into a NTR Plugin?
     
  2. ElyosOfTheAbyss

    ElyosOfTheAbyss GBAtemp Addict

    Member
    2,213
    1,715
    Aug 20, 2015
    You can convert some gateshark cheats to NTR yes
     
    Alex3dss and n0ke like this.
  3. n0ke
    OP

    n0ke Member

    Newcomer
    17
    6
    Dec 25, 2015
    Gambia, The
    How?
     
  4. kbmarinha

    kbmarinha GBAtemp Advanced Fan

    Member
    664
    194
    May 21, 2009
    Brazil
    Do you mind to share with us how to do it, good sir?
     
  5. imthe666st

    imthe666st Felyne Hunter

    Member
    355
    166
    Aug 16, 2015
    Germany
    ><HFB>
    Doesn't GateShark and NTR use memory the same way? In Hyrule Warriors the GateShark cheats had the same offsets then NTR. I'm not sure how it handles with other games.
     
  6. PandaMayFire

    PandaMayFire GBAtemp Regular

    Member
    287
    86
    Jan 24, 2015
    United States
    So we can convert Gateshark codes to an NTR cheat plugin? Would someone mind linking a tutorial or briefly explaining how to do this? I would love to have more codes for Super Mystery Dungeon without using my Gateway card.
     
  7. imthe666st

    imthe666st Felyne Hunter

    Member
    355
    166
    Aug 16, 2015
    Germany
    ><HFB>
    If you have a gateway card, could you quickly test something for me? Could you tell me ANY of the codes you're using? I'll quickly try to convert this to NTR ( best would be the held money )
     
  8. DesuIsSparta

    DesuIsSparta GBAtemp Advanced Fan

    Member
    540
    174
    Oct 13, 2015
    United States
    Weaboo land
    You can't always convert the codes, but most of the time just adding the last memory address range start to the original code pointer will work.

    Example:
    - Gameshark = 0x002bEcDD
    - NTR Range = 0x40000000
    - Result = 0x402becdd

    That's if you're lucky, though. Most of the time it doesn't work in my experience
     
  9. xenoxc

    xenoxc Newbie

    Newcomer
    9
    3
    May 21, 2012
    Thailand
    Thanks a lot

    Where can i search for the "Last Memory Address Range" ?
     
  10. imthe666st

    imthe666st Felyne Hunter

    Member
    355
    166
    Aug 16, 2015
    Germany
    ><HFB>
    Start the NTR debugger, list all the processes and do: "memlayout(pid=0x[and here the pid])" without the [] .
     
  11. 3DSPoet

    3DSPoet GBAtemp Fan

    Member
    370
    206
    Dec 9, 2015
    United States
    Um...isn't the game memory range usually 14 rather than 40? Every code I've searched on NTR debugger thus far has resided at 0x14000000

    So the code you referenced, I would think, would be 0x142BECDD
     
  12. xenoxc

    xenoxc Newbie

    Newcomer
    9
    3
    May 21, 2012
    Thailand
    Thank you very much
    but
    Can you explain in details ?
    or can you create the NTR Debugger guide for dummies ?
     
  13. 3DSPoet

    3DSPoet GBAtemp Fan

    Member
    370
    206
    Dec 9, 2015
    United States
    Once you've connected the debugger, connected to it, found your process, then do this /\ to list all the memory areas you can access. The area for the game memory has been the 14 one every time I've tried. :D
     
  14. DesuIsSparta

    DesuIsSparta GBAtemp Advanced Fan

    Member
    540
    174
    Oct 13, 2015
    United States
    Weaboo land
    Sorry that's what I meant, 0x14 not 0x40
     
  15. imthe666st

    imthe666st Felyne Hunter

    Member
    355
    166
    Aug 16, 2015
    Germany
    ><HFB>
    Although i'm pretty bad at explaining things simple, I'll give it a try.

    So, if you started NTR you can press X+Y to open the menu. Now enable the debugger with the second option. If that's done go to your PC and start your NTR Debugger, ( or any fork you like )

    I created a fork 2 days ago to make life a bit simpler. Just start it, enter the 3ds Ip, list all the processes and enter the pid. Then you can click memlayout and it should show you all the memregions.
    https://github.com/imthe666st/NTRClient/releases/tag/v0.1-alpha-pre-release

    Please note, that this is just a prerelease I did now. This fork might still be buggy, but it makes stuff easier with NTR debugger

    EDIT: Something I should add. Using NTR debugger might take 2 or 3 tries to connect.

    EDIT2: For the fork, actually, don't use it. I left some debug stuff in there that propably makes it impossible to connect, since I made the ip static to 192.168.0.11, because I am a bit lazy, I'll quickly update the file.

    EDIT3: Updated the file.
     
    Last edited by imthe666st, Feb 8, 2016
  16. imthe666st

    imthe666st Felyne Hunter

    Member
    355
    166
    Aug 16, 2015
    Germany
    ><HFB>
    I just checked some of my games, and Terraria doesn't have 0x14000000 as last memregion. The last memregion is 0x10002000:
    Code:
    valid memregions:
    00100000 - 00847fff , size: 00748000
    08000000 - 0dffffff , size: 06000000
    0ffc0000 - 10000fff , size: 00041000
    10002000 - 10002fff , size: 00001000
    end of memlayout.
    
     
  17. 3DSPoet

    3DSPoet GBAtemp Fan

    Member
    370
    206
    Dec 9, 2015
    United States
    That's "probably" the correct region. All you can really do is try a couple of ram dumps and search for values.