Photo Channel/SaveData: Difference between revisions
Jump to navigation
Jump to search
←Created page with '{{stub}} = Introduction = The files "photo_i.dat" and "photo_b.dat" can be found in the Photo Channel 1.1's save data location (title\00010002\48415941\data\noerase). Thes...' |
(No difference)
|
Revision as of 11:34, 8 May 2023
| This article is a stub. You can help WiiBrew by expanding it. |
Introduction
The files "photo_i.dat" and "photo_b.dat" can be found in the Photo Channel 1.1's save data location (title\00010002\48415941\data\noerase). These are used to display the photo you have selected to show in the Wii Menu.
File Format
The files start with this header:
typedef struct
{
char sig[4]; // always 0x48415941 ('HAYA' in ASCII)
u32 size; // Size of the whole file
u32 crc32; // CRC32 of the file (it does the checksumming after the CRC32)
u32 width;
u32 height;
u32 unk; // This is always 0x10000000
u8 pad[8];
} photo_file;
Then after the header, it contains image data that is in RGB565 format.