1. David13

    David13 GBAtemp Regular
    Member

    Joined:
    May 23, 2017
    Messages:
    129
    Country:
    France
    .
     
    Last edited by David13, Jan 27, 2018
  2. Localhorst86

    OP Localhorst86 Robert'); DROP TABLE members;--
    Member

    Joined:
    Jul 17, 2014
    Messages:
    2,377
    Country:
    Germany
    That, I do not know. The Gateway Cheat menu had this nice cheat finder mode that allowed us to do all these operations on the device with a simple button combo.

    I guess you need to use an NTR debugger, but I know less about this than even he strategies of finding addresses.
     
  3. David13
    This message by David13 has been removed from public view by porkiewpyne, Jan 28, 2018.
    Jan 5, 2018
  4. Bluespheal

    Bluespheal GBAtemp Regular
    Member

    Joined:
    Sep 5, 2016
    Messages:
    285
    Country:
    Mexico
    Hey there, this is a SUPER useful guide definitely the best I've read in all the internet, this has allowed me to make some pretty sweet codes I plan to release soon-ish, I was gonna ask something, but upon writing my question, the answer slowly came to me, again, super useful tutorial and thread in general!
     
    David13 likes this.
  5. Localhorst86

    OP Localhorst86 Robert'); DROP TABLE members;--
    Member

    Joined:
    Jul 17, 2014
    Messages:
    2,377
    Country:
    Germany
    Great to hear that this guide was useful for you. :)

    Gesendet von meinem Mi A1 mit Tapatalk
     
    David13 likes this.
  6. Vidness

    Vidness Member
    Newcomer

    Joined:
    Mar 15, 2009
    Messages:
    42
    Country:
    United States
    By chance is there a way to write what's in one register to the location of what's in another register?
     
  7. Localhorst86

    OP Localhorst86 Robert'); DROP TABLE members;--
    Member

    Joined:
    Jul 17, 2014
    Messages:
    2,377
    Country:
    Germany
    I think so.
    Go to the offset that contains your value and load the value into the value register using D9/DA/DB codes.
    Go to the offset that contains your address and load that address into the offset register using DC codes.
    Then, all you should need to do is write the value from the register the the current offset using D6/D7/D8
     
    Vidness and alexander1970 like this.
  8. Vidness

    Vidness Member
    Newcomer

    Joined:
    Mar 15, 2009
    Messages:
    42
    Country:
    United States
    Hmmm! I like the sound of it! But I can't find any documentation on the D* codes. Might I get an example?
     
  9. G1ZM02K

    G1ZM02K Newbie
    Newcomer

    Joined:
    Jan 28, 2019
    Messages:
    1
    Country:
    United Kingdom
    Here's an example from one of the cheat tests I was doing on Beyond the Labyrinth (Labyrinth no Kanata).

    DD000000 00004020 : if zR+L is pressed
    D3000000 080921A0 : offset1=80921A0
    C0000000 00000005 : loop 5 times
    D9000000 00000000 : data1=[offset1] (32bit read)
    DC000000 00000004 : offset1=offset1+4
    D6000000 00000000 : [offset1]=data1 (32bit write)
    DC000000 00000048 : offset1=offset1+48
    D2000000 00000000 : end all


    It basically takes the MaxHealth value from 80921A0 and writes it to the CurHealth value at 80921A4 (+4) then jumps to the next character (+48) and does the same for all five party members.

    If the register is encased in [square brackets] then we don't take the value written in the register (e.g. 80921A0 = 80921A0) but instead take the value from the memory location referenced by the address instead (e.g. [80921A0] = 03FF) - I hope that makes sense.

    There's more documentation for the AR codes over on Nanquitas' CTRPlugin Framework Wiki (Google: Nanquitas Action Replay Codes) or over on the Nintendo Forumotion subforum (Google: Action Replay Code Examples) - I can't post links so...

    I've attached plaintext versions of both sites code lists for ease of reference.
     

    Attached Files:

    Last edited by G1ZM02K, Mar 4, 2020
    Vidness likes this.
  10. Localhorst86

    OP Localhorst86 Robert'); DROP TABLE members;--
    Member

    Joined:
    Jul 17, 2014
    Messages:
    2,377
    Country:
    Germany
    I made a small mistake in my reply. You'll need to use the BXXXXXXX 00000000 code type to load the offset register, not DC.
    B6/7/8/9/A/B are for reading/writing the data register.

    quick example what a code section might look like (not a full code, nor taken from an actual code - just a quick mockup of the concept):
    D3000000 00001122 - set current offset to 0x1122

    D9000000 00000000 - read the 32bit value from the current offset (0x1122) and store it in the data register - let's assume this was 0xDEADBEEF

    D3000000 00002233 - set current offset to 0x2233

    B0000000 00000000 - read the 32bit value from the current offset (0x2233) and store it as the new current offset - let's assume this was 0x44332211

    D6000000 00000000 - write the current value stored in the data register (0xDEADBEEF) to the current offset address (0x44332211)

    quick disclaimer: I have not dabbled in pointers myself, the information above is based solely on the description of the code types. I might have misinterpreted those and haven't actually tested this - since I haven't used cheats or even the gateway card in ages. Think of it more as a theory :D
     
    Last edited by Localhorst86, Mar 4, 2020
  11. Hotaru_Sakura

    Hotaru_Sakura Newbie
    Newcomer

    Joined:
    May 2, 2020
    Messages:
    3
    Country:
    United States
    So my 3DS is out of commission, and I don't have the money to fix it. As such, I've been using Citra for my games. One game (Harvest Moon The Tale of Two Towns) has a system that isn't exactly friendly... a freshness system along with a star level system for items. So an item can be 2.5 stars, and either "Super Fresh", "Fairly Fresh", "Not So Fresh", "Getting Bad", and "It's Rotten...". Since I don't exactly have the Gateway Cheat Menu, is there another way, or another program, I can use to find what I need to to make a cheat for that?
     
  12. Localhorst86

    OP Localhorst86 Robert'); DROP TABLE members;--
    Member

    Joined:
    Jul 17, 2014
    Messages:
    2,377
    Country:
    Germany
    when using citra, you should be able to monitor the memory and find cheats that way:

    https://community.citra-emu.org/t/how-to-get-cheats-in-citra-3ds-emulator/979
     
  13. smoothie_time

    smoothie_time Newbie
    Newcomer

    Joined:
    Sep 12, 2020
    Messages:
    5
    Country:
    United States
    This is very helpful, thanks
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - [Guide], Gateway, create