[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,156
    581
    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
    207
    48
    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
    950
    486
    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
    207
    48
    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
    207
    48
    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
    950
    486
    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,806
    539
    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
    207
    48
    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
    950
    486
    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 GBAtemp Regular

    Member
    110
    25
    Jan 15, 2017
    I need help with pointer in pointers please
     
  14. AsPika2219

    AsPika2219 Pikachu going beach!

    Member
    1,214
    224
    Jun 17, 2010
    Malaysia
    Cats City
    Nice codes! Similar to Nintendo DS codes! Keep moving forward! :yay3ds:
     
  15. Smoker1

    Smoker1 GBAtemp Maniac

    Member
    1,229
    204
    Feb 17, 2015
    United States
    Carmichael, California
    Need help trying to get my head around finding Gauge Codes. Specifically, StarFox 64 3D Boost/Energy Codes. I have tried Searching myself a number of times with no Success.
     
  16. Haider Raza

    Haider Raza Alhumdulillah

    Member
    GBAtemp Patron
    Haider Raza is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    1,378
    254
    Jan 30, 2016
    Pakistan
    I'm looking for xenoblade codes.
     
  17. Anto726

    Anto726 Newbie

    Newcomer
    3
    1
    Nov 16, 2016
    Italy
    Thank you!
    I've learned a lot from this thread!
     
  18. shenlong02

    shenlong02 Newbie

    Newcomer
    3
    1
    Nov 23, 2017
    Taiwan
    Thank you!