Changes

192 bytes added ,  22:23, 17 October 2015
→‎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 entry format, size 0xC8(this file contains the following entry for each of the DLC content):
+
ContentInfoArchive header format, size 0x08:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 66: Line 68:  
| 0x0
 
| 0x0
 
| 0x4
 
| 0x4
| Content index - 1 (little endian)
+
| Version? - always 0x1
 
|-
 
|-
 
| 0x4
 
| 0x4
 
| 0x4
 
| 0x4
| 0x0 = disabled, 0x1 = enabled.
+
| 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
 
|-
 
|-
| 0x8
+
| 0x0
 
| 0x40
 
| 0x40
 
| char string for the title text.
 
| char string for the title text.
 
|-
 
|-
| 0x48
+
| 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 a "header": contentindex val=1, second word = <total DLC content excluding DLC control content>. The two strings are set to dummy text.
+
The first entry is set to dummy text, "content index minus 1" of 0 (invalid), and disabled.
    
=Theme Content=
 
=Theme Content=
119

edits