In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

/shared2/wc24/misc.bin

From WiiBrew
Jump to navigation Jump to search

misc.bin is a file used for storing KD internal state, used for keeping state between IOS reloads and etc. This stores a LILO list of timestamps for mail, timestamp for next STM_Wakeup call, among other things. These mail timestamps are updated every time KD_ProcessMail is executed when new mail is downloaded/received, and the current UTC time is added from KD_ProcessMail when the list is updated. See the /dev/net/kd/time page for timestamps format. misc.bin and all WC24 files under /shared2/wc24 can be read and written by any title, but KD only reads misc.bin into RAM once per IOS reload.

File structure

Start End Length Description
0x0 0x1f 0x20 LILO list of 3 mail timestamps.
0x20 0x37 0x18 Unknown
0x38 0x3f 0x8 Timestamp for when to call STM_Wakeup
0x40 0x3ff 0x3c0 Unknown