Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo 3DS
Assembly Code and IDA Pro [3DS Cheat Code]
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FAST6191" data-source="post: 8524357" data-attributes="member: 32303"><p>Computers don't understand human language, and most programmers don't understand or care to use the things a given computer might speak (it will vary from processor and processor type, and be made more complicated by whatever hardware the device maker hangs off it).</p><p></p><p><a href="http://lioncash.github.io/ARMBook/about_the_3ds.html" target="_blank">http://lioncash.github.io/ARMBook/about_the_3ds.html</a> says ARM11 MPCore so we go find the manual for it, fortunately it is ARM so they have freely available ones (some processors won't).</p><p><a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0360f/index.html" target="_blank">http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0360f/index.html</a></p><p></p><p>I would say the 3ds is a bit of a jumping in at the deep end thing if you are going in without knowing anything, however if it is what motivates you then so be it and you can learn well enough with it.</p><p></p><p>The classic first cheat is to turn a RAM cheat into an assembly one.</p><p></p><p>Infinite lives in mario being the classic thought exercise.</p><p>So you have the RAM location of the lives from a standard cheat search (or someone else's standard cheat search that gave you the cheat).</p><p>You now either disassemble the binary and search (not optimal) or set a breakpoint in a debugger for the location the cheat gives you. IDA is a bit of a hybrid of the two worlds there, though at its base it is a disassembler. It can be attached to certain programs or hardware and be fed information (GDB is another such thing you might have seen in emulators over the years)</p><p>For the breakpoint thing you will probably want a break on write (often termed bpw but it will probably vary between your debuggers). When something attempts to write to that location (mainly because you went and touched an enemy in the game) the emulator/device/whatever will freeze and say this instruction tried to write to the location you said to watch.</p><p>You would then change this instruction (which would likely be a sub(tract) of some form) into something that does nothing, sets it to a certain value, adds something maybe...</p><p></p><p>Of course you then run into the first problem in that. Enemies cause death, but so do poison mushrooms, getting crushed, pits, hazards, running out of time so while it might be one value in memory there will likely be a whole bunch of things looking to reach out and touch it. Some then come the other way and do what the classic cheat devices do and every vblank (a period in the operation of most systems with a screen, fixed time apart in normal operation) will set the value they care about to a set number.</p><p></p><p>That is just basic cheats. More advanced stuff might see you have to jump to another area where you have a longer section of code to do things based upon inputs, as a kind of random thing, do a longer chain of operations...</p></blockquote><p></p>
[QUOTE="FAST6191, post: 8524357, member: 32303"] Computers don't understand human language, and most programmers don't understand or care to use the things a given computer might speak (it will vary from processor and processor type, and be made more complicated by whatever hardware the device maker hangs off it). [URL]http://lioncash.github.io/ARMBook/about_the_3ds.html[/URL] says ARM11 MPCore so we go find the manual for it, fortunately it is ARM so they have freely available ones (some processors won't). [URL]http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0360f/index.html[/URL] I would say the 3ds is a bit of a jumping in at the deep end thing if you are going in without knowing anything, however if it is what motivates you then so be it and you can learn well enough with it. The classic first cheat is to turn a RAM cheat into an assembly one. Infinite lives in mario being the classic thought exercise. So you have the RAM location of the lives from a standard cheat search (or someone else's standard cheat search that gave you the cheat). You now either disassemble the binary and search (not optimal) or set a breakpoint in a debugger for the location the cheat gives you. IDA is a bit of a hybrid of the two worlds there, though at its base it is a disassembler. It can be attached to certain programs or hardware and be fed information (GDB is another such thing you might have seen in emulators over the years) For the breakpoint thing you will probably want a break on write (often termed bpw but it will probably vary between your debuggers). When something attempts to write to that location (mainly because you went and touched an enemy in the game) the emulator/device/whatever will freeze and say this instruction tried to write to the location you said to watch. You would then change this instruction (which would likely be a sub(tract) of some form) into something that does nothing, sets it to a certain value, adds something maybe... Of course you then run into the first problem in that. Enemies cause death, but so do poison mushrooms, getting crushed, pits, hazards, running out of time so while it might be one value in memory there will likely be a whole bunch of things looking to reach out and touch it. Some then come the other way and do what the classic cheat devices do and every vblank (a period in the operation of most systems with a screen, fixed time apart in normal operation) will set the value they care about to a set number. That is just basic cheats. More advanced stuff might see you have to jump to another area where you have a longer section of code to do things based upon inputs, as a kind of random thing, do a longer chain of operations... [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo 3DS
Assembly Code and IDA Pro [3DS Cheat Code]
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
Veho
Loading…
BakerMan
Loading…
I rather enjoy a life of taking it easy. I haven't reached that life yet though.
K
@
Kaden Kyarel
:
can anyone explain why I get ads when I'm paying for no ads?
Today at 3:15 AM
@
Psionic Roshambo
:
You pay you pay now!!! lol (I don't know)
Today at 3:16 AM
@
SylverReZ
:
@Kaden Kyarel
, Either support GBAtemp with Patron or use an ad-blocker.
Today at 3:16 AM
@
Psionic Roshambo
:
You guys get ads?
Today at 3:17 AM
K
@
Kaden Kyarel
:
I've been paying for Ad-free & patron perks $5 per month for a year now
Today at 3:17 AM
@
Psionic Roshambo
:
I use Chrome but I think my ISP blocks a lot of ads at the ISP level
Today at 3:17 AM
@
Psionic Roshambo
:
Kaden maybe contact the staff? I don't know how all that works
Today at 3:17 AM
@
BakerMan
:
i use firefox+ublock
Today at 3:22 AM
@
SMG4
:
hi
Today at 3:24 AM
@
Psionic Roshambo
:
https://www.youtube.com/watch?v=Ei5hC8ahLoc
Today at 3:31 AM
@
Psionic Roshambo
:
https://www.youtube.com/watch?v=HHNH5pnioQk
Today at 3:36 AM
@
SylverReZ
:
https://www.youtube.com/watch?v=95eUhuR8_ps
Today at 3:43 AM
@
Materia_tofu
:
hey sylv? do you know why gameyob crashes on the EZP?
Today at 3:46 AM
@
Materia_tofu
:
@SylverReZ
forgor to tag lol
Today at 3:55 AM
@
SylverReZ
:
@Materia_tofu
, Maybe ask the EZ-Flash team.
Today at 3:55 AM
@
Materia_tofu
:
maybe tomorrow lol
Today at 3:57 AM
@
SylverReZ
:
You can make a post on the DS forum about your findings, and they'll do their best to respond. They have a GBAtemp account here, you know.
Today at 3:58 AM
@
Materia_tofu
:
oh ye i made a post i did forget they had an account i prob shouldve tagged them in the post
tbh
+1
Today at 4:00 AM
@
SylverReZ
:
@Materia_tofu
, Would've been a great idea, because they'll notice.
+1
Today at 4:08 AM
@
Materia_tofu
:
im not a very bright individual, but we live and we learn
Today at 4:13 AM
@
SylverReZ
:
@Materia_tofu
, We do learn a lot from plenty of talented individuals.
Today at 4:15 AM
@
Materia_tofu
:
this is true! i learned how to make soundfont remixes from a friend back in 2021
+1
Today at 4:22 AM
@
BakerMan
:
Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
+2
12 minutes ago
@
Veho
:
That's a relief to hear. Do you know what happened?
7 minutes ago
@
SylverReZ
:
@BakerMan
, Any idea what happened? I hope that your brother's doing good.
A moment ago
Submit
@
SylverReZ
:
@BakerMan, Any idea what happened? I hope that your brother's doing good.
A moment ago
Chat
2