To Cheat inside MH4U, its pretty simple.
You can't do that with ARCODE, but take NTR CFW instead.
I tested it just with my N3DS for MH4U (EUR) legit CIA.
After NTR Debugger is connected, you can seach like this:
1. Start your Cartridge or valid CIA
2. Write "
listprocess()" and you will get the PID for your TitleID
Code:
(pid: 0x00000028, pname: redgiant, tid: 0004000000126100)
3. Write "
memlayout (pid=0x028)"
Example Answer:
Code:
valid memregions:
00100000 - 0111dfff , size: 0101e000
08000000 - 0b13efff , size: 0313f000
0ffc0000 - 10000fff , size: 00041000
10002000 - 10002fff , size: 00001000
1e800000 - 1e9fffff , size: 00200000
end of memlayout.
4. Dump each Area to files (1st run)
Example: data(0xStart Offset, 0xSize, filename='changeme.bin', pid=0xAPP_PID)
Code:
data(0x00100000, 0x101e000, filename='data1_1.bin', pid=0x28)
data(0x08000000, 0x313f000, filename='data2_1.bin', pid=0x28) 00368E60
data(0x0ffc0000, 0x41000, filename='data3_1.bin', pid=0x28)
data(0x10002000, 0x1000, filename='data4_1.bin', pid=0x28)
data(0x1e800000, 0x200000, filename='data5_1.bin', pid=0x28)
5. Change the desired Value inside game
6. Dump again all Area to files (2nd run)
Example:
Code:
data(0x00100000, 0x101e000, filename='data1_2.bin', pid=0x28)
data(0x08000000, 0x313f000, filename='data2_2.bin', pid=0x28)
data(0x0ffc0000, 0x41000, filename='data3_2.bin', pid=0x28)
data(0x10002000, 0x1000, filename='data4_2.bin', pid=0x28)
data(0x1e800000, 0x200000, filename='data5_2.bin', pid=0x28)
We can now compare always two files for changes!
7. Start up Cheat Engine
8. Press "Open Process"
9. Press "Open File" and choose the first File 1_1
10. Initiate your Search with your first Value (example 13394)
11. Open the next File 1_2 if there are found Offsets
12. Enter the changed Value (example 13374) and press next search
Repeat that until you found the stuff you were looking for with all X_1 > X_2 files
I found Money at 00368E60 for the file generated from 08000000,
thats why the final Offset is 08368E60!
(Rebooting might change the PID and offset for your desired search!)
My z was 13374 > 343E HEX and for test i edited it to 500000z > 07A120
The final step is to write it with:
Code:
write(0x08368E60, (0x20, 0xA1, 0x07), pid=0x28)
Happy Hunting!