Homebrew Help with RAM Dumping/Editing

Deleted member 474010

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
297
Reaction score
402
Trophies
0
XP
1,288
So, I've been searching for around 2-3 hours now and I cannot seem to find how to do this on my own. I'm trying to dump RAM for Super Smash Bros v1.1.7 as I want to make my own plugins. I've seen three methods of doing so, but none of them has worked.

The first method was Gecko dotNET 3DS, but considering I have a o2DS, that wouldn't work. I'm also on Firmware 11.8 with B9S through LumaCFW.
The second method was through NTRClient, but whenever I loaded NTRClient, a command prompt opened up saying a buffer size was set and the program form was just blank white.
The third method was through NTR CFW itself via the process manager. I went to process 0x28, ctrapp. I went and clicked set addr 0x001000000, set addr 0x08000000, and set addr 0x14000000. I've done this multiple times, and I've gotten files that were 0kb, 12592kb, 6092kb, and 3708kb. Assuming one of these is the correct dump, which one is it? If not, how would I go about getting a dump with my current setup?
I've also tried putting in a blank plugin and then just searching for values, but the plugin is never loaded or at least never works. I've tried NTR CFW 3.6 and NTR CFW 3.6 (Mode 3)

Thanks for reading!
 
Just use this: https://gbatemp.net/threads/ctrpluginframework-blank-plugin-now-with-action-replay.487729/ It's not exactly making your own plugins, but has a memory editor/viewer (if I remember correctly also a way to dump but not sure as it's been a while) and value search, so as long as they aren't complicated ones, you can very easily make your own cheats (so for Smash things like the percentage of each player or coins among other things). Never bothered with memory dumping on the 3DS myself, so can't help you there. That plugin I linked can do a LOT of what you'd want to do very easily, so do check it out.
 
I thank you for the quick response. However, I already tried the blank plugin and it didn't work. Plugins work for all other games too, including Pokemon Sun, Ultra Sun, etc. I've also put it in the plugin folder with the appropriate titleID.
 
Because he has and uses an old 3DS he can't use plugins that are bigger than 300 kB in Extended Memory Mode/Mode3.
I would suggest to dump the RAM of a game that uses Mode3 you use this https://gbatemp.net/threads/questio...g-file-with-pointer-code.434481/#post-6535705.
Just place it in plugins/home/ of your SD card.
The tool will dump the memory in some shortened Gateway format. To extend it to its full length use this tool https://www.maxconsole.com/threads/tool-gateway-ram-dump-reference-for-pc.40338/
 
  • Like
Reactions: ThoD
Because he has and uses an old 3DS he can't use plugins that are bigger than 300 kB in Extended Memory Mode/Mode3.
I would suggest to dump the RAM of a game that uses Mode3 you use this https://gbatemp.net/threads/questio...g-file-with-pointer-code.434481/#post-6535705.
Just place it in plugins/home/ of your SD card.
The tool will dump the memory in some shortened Gateway format. To extend it to its full length use this tool https://www.maxconsole.com/threads/tool-gateway-ram-dump-reference-for-pc.40338/
I know about the size limit, but the blank plugin is 120KBs, reason it's often used as a base (eg: the main plugin for USUM uses it while being extended-memory games). Nice to know there's something more dedicated to just dumping memory, could be useful to me too!
 
Did youd read the instructions and created a folder named dump in the root of your SD card?
Thank, that got it. I've extended the RAM Dump using the program you provided too. Thanks for the help. Now I'd just place the extended dump into Cheat Engine and use the address I find with that as the address in my codes, correct? The file gotten from clicking B on the process is 80MB. The extended RAM Dump is 829MB by the way, so hopefully that's normal. I also saw the tool you linked me had an updated version that had searching capabilities on it too. Should I use that instead?
 
Last edited by Deleted member 474010,
Use cheat engines latest version (6.8.1) some earlier versions had problems when it came to searching files. I personaly don't know a better program when it comes to memory searching.

The file gotten from clicking B on the process is 80MB. The extended RAM Dump is 829MB by the way, so hopefully that's normal.
Totally normal. The tool just adds zeroes between the dumped memory regions. The last memory region begins at 0x30000000 so a extended memory dump has to be at least about 805 MB long.
 
Use cheat engines latest version (6.8.1) some earlier versions had problems when it came to searching files. I personaly don't know a better program when it comes to memory searching.


Totally normal. The tool just adds zeroes between the dumped memory regions. The last memory region begins at 0x30000000 so a extended memory dump has to be at least about 805 MB long.

Alright, so the values I found resulted in me finding codes in the 0x30000000 memory region. I want to write 0x1ED to 0x30004DB4. I entered this code:
D3000000 30004DB4
10000000 000001ED

Then, to test to see if it worked after enabling it in Rosalina through Cheats, I dumped the memory after going in-game with the code enabled, then extended it. The address wasn't equal to 0x1ED. What am I doing wrong?
 
Last edited by Deleted member 474010,
I ended up figuring out how to do it using NTRDebuggerTool + Nanquitas's RAM Dumper + menuCheat plugin compiler and made a code for Super Smash Bros v1.1.7 that sets the enemy to 999%. It was a pointer code, but I got it. Thank you for the help @tastymeatball !
 

Site & Scene News

Popular threads in this forum