Some Useful Memory Strings
#1
If you are using a live RAM viewer (such as Aldelaro5's dolphin-memory-engine) on Dolphin. You can use the following strings below to look at certain useful regions of memory that can assist you for making codes, or just understanding how certain modes in MKWii work.



55441000 00001458 = IP Address Packet

This string will lead you a bit before the spot in dynamic memory that holds all the IP Addresses of a Room/WW. Take the memory address of where this string is exactly at, then add 0x03CC to it. That value will be the exact memory address for Player slot 0's IP Address. Then just add 0x30 every time for the location of the next slot's IP Address.

Note about IP listing: If there are guests in the room, it will mess up where the IP addresses are slotted. The game doesn't store duplicate IP Addresses when guests are present.

For example--
If there are 6 players in the room and 2 of those have guests, then there are only 4 total IP addresses. So let's say we have these 4 IP Addresses (hex)
11223344 (slot 0 w/ guest slot 1)
99887755 (slot 2)
10101010 (slot 3 w/ guest slot 4)
22224444 (slot 5)

This is how those IP Addresses would be listed for you...
slot 0 ip's 11223344
slot 1 ip's 99887755
slot 2 ip's 10101010
slot 3 ip's 22224444
slot 4 ip's none (all zeros)
slot 5 ip's none (all zeros)



5544000D 00000184 = ITEM SPY Packet

This string will lead to to ITEM SPY Packet. Everybody's items will be shown in an organized listing along with their trailing/circling item plus tail_mode.



55440006 000003F8 = SELECT Packet

This string will lead to the beginning of the SELECT Packet. This packet of information shows everybody's character with vehicle they are using. It also shows what track everybody has voted (including random). The track that is picked by the lottery, along with client slot is also in this packet. Keep in mind this info will only show during track voting.

Here are some offset values (take the address where you found the beginning of the string and add the offset value to it)
0x28 = Halfword for your Position of Previous Race
0x2A = Halfword for your current amount of GP points achieved
0x2C = Your Character (will be 0x30 until you have selected a track)
0x2D = Your Vehicle (will be 0x24 until you have selected a track)
0x2E = What Track you picked (will be 0x43 until you have selected a track, FF designates that you chose random)
0x4C = Track Selected (will be 0xFF until the lottery sequence begins)
0x4D = Lottery Status (0x1 = Waiting, 0x2 = Lottery occuring)
0x4E = Player Slot Who Won Track Pick
0x4F = CC of Race/Room-GP

Your info will always be listed first. You will see this information listed for every other player as well that are in the room/WW.



5544000C 000001C8 (2nd one listed on search results) = Current Item Probability Table for VS

This string will lead to the beginning of your current Item Probability Table in Race for non-battle modes. The table pretty much remains static once it is loaded when the race begins unless someone DC's during the race. When that occurs, the item table will modify itself accordingly once you pick up your next box. This info (plus string) will only appear in memory during live racing.



5544000D 000009F0 = USER Packet

This is a very powerful packet to observe. The packet of information for USER packet will only be shown when you are connected in a WW/Battle.

Here are some offset values (take the address where you found the beginning of the string and add the offset value to it)

0x22 thru 0x35 = Your Mii Name
0x38 = Your Mii's Avatar ID (word)
0x3C = Your Mii's Client ID (word); if Mii made on your Wii, this can be used to get your MAC Address
0xB8 = Your Wii ID (double-word)
0xC0 = Your FC (double-word)
0xC8 = Country Code (will be 0xFF if not set)
0xC9 = Region Residence Code (will be 0xFF if not set)
0xCA = Will be Halfword of zeros if country+residence was set. If not it will be 0xFFFF
0xCC = Globe Location (word)
0xD0 = VR (halfword)
0xD2 = BR (halfword)
0xD4 = Region/Language Code of Game ID
0xD5 = Region ID

What's powerful about this packet is that it will also show this info for everybody else! Your information will always be listed first.



55440006 000001EC (the only result within Mem90) = Client Sided Mii Display Data

This packet will show your Mii Name Data that is displayed for you when viewing your Mii when online. Manipulating this data will NOT be shown to other people's screens.
Reply


Messages In This Thread
Some Useful Memory Strings - by Vega - 12-19-2018, 07:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)