Home Menu/Themes: Difference between revisions
WulfyStylez (talk | contribs) No edit summary |
→Control Content: Fixed definition of ContentInfoArchive. |
||
Line 8: | Line 8: | ||
* "ContentInfoArchive_<region>_<lang>.bin" Contains the list of ''all'' DLC content available under this DLC title(which can include DLC that's not yet accessible via the shop). <region> can be "USA", etc. <lang>, for the US title: "en", "es", "fr", and "pt". | * "ContentInfoArchive_<region>_<lang>.bin" Contains the list of ''all'' DLC content available under this DLC title(which can include DLC that's not yet accessible via the shop). <region> can be "USA", etc. <lang>, for the US title: "en", "es", "fr", and "pt". | ||
* "icons/<decimal_id>.icn" Contains the raw DLC icon image data, without any header. 48x48 tiled RGB565. | * "icons/<decimal_id>.icn" Contains the raw DLC icon image data, without any header. 48x48 tiled RGB565. | ||
The below structures are little-endian. | |||
MetaDataContentHeader.bin format: | MetaDataContentHeader.bin format: | ||
Line 57: | Line 59: | ||
|} | |} | ||
ContentInfoArchive | ContentInfoArchive header format, size 0x08: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 66: | Line 68: | ||
| 0x0 | | 0x0 | ||
| 0x4 | | 0x4 | ||
| | | Version? - always 0x1 | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
| 0x4 | | 0x4 | ||
| | | Number of theme entries that follow. | ||
|} | |||
ContentInfoArchive theme entry format, size 0xC8 (the file contains the following entry for each of the DLC themes): | |||
{| class="wikitable" border="1" | |||
|- | |||
! Relative offset | |||
! Size | |||
! Description | |||
|- | |- | ||
| | | 0x0 | ||
| 0x40 | | 0x40 | ||
| char string for the title text. | | char string for the title text. | ||
|- | |- | ||
| | | 0x40 | ||
| 0x80 | | 0x80 | ||
| char string for the description text. | | char string for the description text. | ||
|- | |||
| 0xC0 | |||
| 0x4 | |||
| Content index minus 1 | |||
|- | |||
| 0xC4 | |||
| 0x4 | |||
| 0x0 = disabled, 0x1 = enabled. | |||
|} | |} | ||
The first entry is | The first entry is set to dummy text, "content index minus 1" of 0 (invalid), and disabled. | ||
=Theme Content= | =Theme Content= |