1. Fishguy6564

    OP Fishguy6564 Member
    Newcomer

    Joined:
    Apr 24, 2014
    Messages:
    37
    Country:
    United States
    I have noticed that there is a lack of information on how to make assembly based cheat codes for 3DS. Due to this inconvenience, I have created an all-purpose tool that will simplify the process of creating assembly cheats for beginners who are interested in making their own. This tool contains a branch target calculator, a conditional generator, a button activator generator, and an assembler for assembling your assembly instructions into a usable format that both CTRPF and Gateway's code handler can use. This tool is designed for more advanced cheat creators who know how to write assembly. If you are interested in learning the ARMv7 instruction set, then I advise any beginner who is interested to look into the ARM info center to learn what the instruction set is for this architecture. When extracting the file, please ensure that all of the files included are in the same directory. Of course, if you have any concerns or want to report a bug with the program, then my contact information is located in the about tab which can be found in the program. Here are a few screenshots and a video to show the program in action:

    Branch Calculator
    upload_2018-3-24_3-50-10.png


    Conditional and Button Activator Generator
    upload_2018-3-24_3-51-12.png



    Assembler
    upload_2018-3-24_3-49-35.png


    YouTube Video of the Program in Action


    Note: Do not try to compile by adding excess lines to the instructions you want to compile, or else the output code will not format properly.
    If you have any further questions about the program, then feel free to post a comment about it. Other than that, I hope you enjoy this utility and I am looking forward to the cheats that will be created with this!
     

    Attached Files:

    Last edited by Fishguy6564, Mar 24, 2018
    Reshiban, HIDE810, Nutez and 19 others like this.
  2. dsrules

    dsrules GBAtemp Guru
    Member

    Joined:
    Sep 20, 2005
    Messages:
    6,377
    Country:
    nice tool, but worth noting that conditional code for 14000214 is not 94000214??
    should be something like
    D3000000 14000214
    90000000 yyyyyyyy
     
  3. Fishguy6564

    OP Fishguy6564 Member
    Newcomer

    Joined:
    Apr 24, 2014
    Messages:
    37
    Country:
    United States
    The conditional generator only generates the conditional part of the code. I stated in the video that you have to use the D3 code type alongside it. I recommend using: "D3000000 10000000" alongside the conditionals generated with this.
     
  4. dsrules

    dsrules GBAtemp Guru
    Member

    Joined:
    Sep 20, 2005
    Messages:
    6,377
    Country:
    I see, I didn't watch the video
    won't it better for the app to automatic add D3000000 address at the 1st line , like the Assembler code auto adds D2000000 00000000 at the last line?
     
  5. Fishguy6564

    OP Fishguy6564 Member
    Newcomer

    Joined:
    Apr 24, 2014
    Messages:
    37
    Country:
    United States
    I didn't include it because the address the user can input can be greater than 0x10000000 or it can be anything less which would not require the D3 code type if it is the only condition in your code.
     
  6. dsrules

    dsrules GBAtemp Guru
    Member

    Joined:
    Sep 20, 2005
    Messages:
    6,377
    Country:
    just thought it would be easier for noobs without knowing that need to add D3000000 on their own when the address is greater than 0x0FFFFFFF
    if possible, add a check: if the address is less than 0x0FFFFFFF, skip adding D3000000, if the address is greater than 0x0FFFFFFF then add D3000000
     
  7. Fishguy6564

    OP Fishguy6564 Member
    Newcomer

    Joined:
    Apr 24, 2014
    Messages:
    37
    Country:
    United States
    Sounds like a good idea, I may add it in a future update.
     
  8. jpmasterflex

    jpmasterflex Advanced Member
    Newcomer

    Joined:
    Jan 14, 2016
    Messages:
    73
    Country:
    United States
    Nice...i've been looking for a way to make some multipliers...i could only do it in cheat engine before
     
  9. Smoker1

    Smoker1 GBAtemp Psycho!
    Member

    Joined:
    Feb 17, 2015
    Messages:
    3,240
    Country:
    United States
    Is there a way to Convert Gateway Codes that do not work in Luma to Assembly? For example, I created Codes for RetroArch (1 Line, but they are 8Bit), or even some [email protected] Codes that do not work in Luma (16-32Bit)
     
  10. David13

    David13 GBAtemp Regular
    Member

    Joined:
    May 23, 2017
    Messages:
    129
    Country:
    France
    Hi,
    I wanted to know What's a hook?
    Thanks :)
     
Loading...

Hide similar threads Similar threads with keywords - [Release], Assembly, creating