How to change a word in mem90?
#1
I know how to access/change values in mem80. Is mem90 accessed the same way as mem80?
Reply
#2
Misc/Other is a section for posting gecko codes in, not asking for help, so I've moved your post

For asm, accessing mem90 is the same except the addresses start with a 9 instead of an 8. For things like 04 gecko codes, I don't think there's a way to use mem90 (maybe with the pointer instructions?).

Generally using a fixed address in mem90 is a bad idea though, as it's all dynamic memory so stuff may move around (except maybe things allocated early in the boot process, which just happen to be allocated in the same place every time by luck)
Reply
#3
Like Seeky mentioned, mem90 (for MOST Wii games, not all) is dynamic memory. Meaning if you found a value there that you want to modify, chances are it will not be there next time you look after a reboot of the game or changing menus or something else of that nature. That's why most RAM Writes are in Mem80 (static memory).

For a simple non-Mem80 RAM write, you can use this...
42000000 XXXXXXXX
04000000 ZZZZZZZZ
E0000000 80008000

XXXXXXXX = The Memory Address
ZZZZZZZZ = The word value to write at the address

For halfwords, replace 04000000 w/ 02000000. For bytes replace 04000000 with 00000000.

I have a thread covering all the basics of Wii Cheat Codes, great for beginners - https://mkwii.com/showthread.php?tid=434
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)