Changes

639 bytes added ,  02:42, 7 May 2015
MetaDataContentHeader
Line 5: Line 5:     
RomFS structure:
 
RomFS structure:
* "MetaDataContentHeader.bin": Unknown, size is 0x44-bytes.
+
* "MetaDataContentHeader.bin": Describes the number of themes and languages in the control content.
 
* "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.
 +
 +
MetaDataContentHeader.bin format:
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Relative offset
 +
!  Size
 +
!  Description
 +
|-
 +
| 0x0
 +
| 0x4
 +
| Version - always 0x1
 +
|-
 +
| 0x4
 +
| 0x4
 +
| Number of enabled themes
 +
|-
 +
| 0x8
 +
| 0x4
 +
| Total number of themes
 +
|-
 +
| 0xC
 +
| 0x4
 +
| Observed 0x300030
 +
|-
 +
| 0x10
 +
| 0x4
 +
| Magic, 0xDEADBEEF
 +
|-
 +
| 0x14..0x2C
 +
| 0x4
 +
| This data is sorted by region (JPN at 0x14, US at 0x18, etc.)
 +
|-
 +
| 0x30
 +
| 0x4
 +
| Number of ContentInfoArchive languages
 +
|-
 +
| 0x34+i
 +
| 0x2
 +
| ContentInfoArchive [[Nandrw/sys/SecureInfo_A|region]
 +
|-
 +
| 0x36+i
 +
| 0x2
 +
| ContentInfoArchive [[Config_Savegame#Languages|language]
 +
|}
    
ContentInfoArchive entry format, size 0xC8(this file contains the following entry for each of the DLC content):
 
ContentInfoArchive entry format, size 0xC8(this file contains the following entry for each of the DLC content):
96

edits