Large player data struct, stores all patterns, letters, mayor info, mayor picture in what seems to be a JFIF stream with EXIF, and other data yet to be mapped out.
Generally in the 0x1FB8190
area of a FCRAM dump. Give or take a few offsets of 0x100.
Between me and troggs the offset seems to be 0x300
64EDD198 F8000200
Possible magic ints to look for to detect player info. Starts right before patterns. Common through-out.
Patterns
Offset | Type | info |
---|---|---|
0x0 | uint32_t | Always set to 0 |
0x4 | wchar_t[21] | Pattern Name |
0x2E | uint16_t | UserID |
0x30 | wchar_t[10] | User Name |
0x44 | uint16_t | TownID |
0x48 | wchat_t[10] | Town Name |
0x5A | uint16_t | Name+Town hash? |
0x5C | uint8_t[15] | Palette indexes |
0x6B | uint8_t | Unknown |
0x6C | uint8_t | Always set to 10 |
0x6D | uint8_t | Pattern Type(see table) |
0x6E | uint16_t | Padding |
0x70 | uint8_t[512] | Pattern Data 0 (Always Present) |
0x270 | uint8_t[512] | Pattern Data 1 |
0x470 | uint8_t[512] | Pattern Data 2 |
0x670 | uint8_t[512] | Pattern Data 3 |
Indexes are never 0. Indices 1-15 are used to address colors on the "Palette indexes" variable which further looks up against the Color Palette listing below. Every pattern can have a max of 15 visible colors.
Pattern Type | Name |
---|---|
0x00 | Dress/clothing Pattern |
0x08 | Photo Board |
0x09 | Regular Pattern |
Offset | Type | info |
---|---|---|
0x0 | uint16_t | Recepient ID |
0x2 | wchar_t[10] | Recepient Name |
0x16 | uint16_t | Recepient Town ID |
0x18 | wchar_t[10] | Recepient Town Name |
0x2C | uint16_t[2] | Recepient Checksum+pad |
0x30 | uint16_t[2] | Unknown Flag+pad |
0x34 | uint16_t | Sender ID |
0x36 | wchar_t[10] | Sender Name |
0x4A | uint16_t | Sender Town ID |
0x4C | wchat_t[10] | Sender Town Name |
0x60 | uint8_t[4] | Unknown Flags |
0x64 | uint32_t | Unknown BitMask |
0x68 | wchar_t[33] | Message Intro(32 letters + \0) |
0xAA | wchar_t[193] | Message (192 letters + \0) |
0x22C | wchar_t[33] | Message Outro(32 letters + \0) |
0x26E | uint16_t | Stationary ID |
0x270 | uint8_t[2] | Unknown Flags |
0x274 | uint16 | Attached Item ID |
0x276 | uint16 | Attached Item Prelim |
0x278 | uint32_t[2] | Unknown(Timestamp?) |
Items are 32bit integers. First 16 bits identify the actual item while the last 16 bits provide preliminary information and flags for the item(durability,count,color,etc)
7FFEh = null object (no item, blank space, etc) Some confirmed Item ids found in my inventory:
Silver shovel = 3049h
exotic wardrobe = 2937h
^^^^ possibly something else
Silver Net = 3041h
Silver fishing rod = 3045h
Bubble Wand = 305Ah
Soft Serve Lamp = 2CB9h
Silver Axe = 303Ch (misc data is durability,out of 64)
Gold Slingshot = 3052h
Gold watering can = 304Eh