[Guide] How to create Gateway Cheat Codes

Discussion in '3DS - Tutorials' started by Localhorst86, Jan 18, 2016.

  1. McWhiters9511

    McWhiters9511 That's Rad Bro

    Member
    1,150
    580
    Mar 28, 2016
    United States
    Space
    Finally a place to learn. I can't find this stuff anywhere. Thanks for taking the time to make this.
     


  2. saburou

    saburou GBAtemp Regular

    Member
    206
    47
    Oct 13, 2015
    How to freeze specified address values?

    edit:sorry McWhiters9511. wrong reply.
     
    Last edited by saburou, Feb 24, 2017
    McWhiters9511 likes this.
  3. Localhorst86
    OP

    Localhorst86 GBAtemp Advanced Fan

    Member
    920
    471
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    You want to freeze a value at a specific address but you don't know that value, right? Only the address? Use the data register read codes to read the value and the data register write code to write it back to the same address.
     
  4. saburou

    saburou GBAtemp Regular

    Member
    206
    47
    Oct 13, 2015
    I tried already, not works.
    D3000000 00E493D4
    D9000000 00000000
    D6000000 00000000
    D2000000 00000000
    D3000000 00E493D8
    D9000000 00000000
    D6000000 00000000
    D2000000 00000000
    D3000000 00E494DC
    D9000000 00000000
    D6000000 00000000
    D2000000 00000000
     
  5. saburou

    saburou GBAtemp Regular

    Member
    206
    47
    Oct 13, 2015
    I noticed that this can not be successful.

    D3000000 XXXXXXXX <- 1
    D9000000 00000000 <- 2
    D6000000 00000000 <- 3
    1. Lets assume it is 0x64. AND IT IS NOT STATIC.
    2. Now, the value at the register is 0x64. But, the value at XXXXXXXX IS NOT STATIC so register value will change.
    3. Write the register value.
    The fact that the value of the register is the same as the value of the specified address means that when the value of that address changes in another way, the value of the register also changes. And we write that value, so we can not freeze the value.
     
    Last edited by saburou, Feb 25, 2017
  6. Localhorst86
    OP

    Localhorst86 GBAtemp Advanced Fan

    Member
    920
    471
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    You could try finding a blank address not used by the Game and use a button Combo to read from your source and write to that blank address, then use that as your permanent New source.
     
  7. dsrules

    dsrules GBAtemp Psycho!

    Member
    3,658
    508
    Sep 20, 2005
    copy the value from the address and write it back to the same address means it's doing nothing to it
     
  8. saburou

    saburou GBAtemp Regular

    Member
    206
    47
    Oct 13, 2015
    For my project, I have done make a code that load the specified address value and write that to another address. The value can be specified by the player himself, and 2000 or more exist. The written value must be frozen.
    To use blank address is nice idea. Thank you very much.
    But, yeah...:wacko:
     
  9. WoOzGaME

    WoOzGaME Member

    Newcomer
    43
    5
    Feb 24, 2017
    France
    Plz, create a gateway plugin for the Metroid Prime Federation Force game
     
  10. Nhills

    Nhills Member

    Newcomer
    10
    0
    Jun 4, 2017
    France
    Thank you !
     
  11. ThisisCanada

    ThisisCanada Newbie

    Newcomer
    5
    0
    Dec 28, 2016
    United States
    Hey, I was wondering if anyone would be able to help me out. Im trying to write a code that will give the value of FF to the addresses 30769157 through 30769181. The code I have written now seems to just change the value at 30769157.The way I was thinking the code would work is start at the offset 30769157, continue 48 addresses while writing a value of FF to them. Any help would be much appreciated, thank you.

    D3000000 30769157
    C0000000 0000002A
    20000000 000000FF
    D2000000 00000000
     
  12. Localhorst86
    OP

    Localhorst86 GBAtemp Advanced Fan

    Member
    920
    471
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    You set the offset to 0x30769157 then continue to write the value "FF" 0x2A (42) times to the same offset, you're forgetting to go to the next offset:

    Code:
    D3000000 30769157
    C0000000 0000002A
    20000000 000000FF
    DC000000 00000001 <--- you were missing this to tell the system to jump to the next offset now
    D2000000 00000000
     
    Last edited by Localhorst86, Aug 18, 2017
  13. NintendoGamer28

    NintendoGamer28 Advanced Member

    Newcomer
    97
    25
    Jan 15, 2017
    I need help with pointer in pointers please