Changes

1,550 bytes added ,  00:18, 13 November 2014
Created page with "This page describes the formats/structure of the data stored in RomFS for Home Menu DLC, for themes. =Control Content= The control content has content-index 0. It's unknown ..."
This page describes the formats/structure of the data stored in RomFS for [[Home Menu]] DLC, for themes.

=Control Content=
The control content has content-index 0. It's unknown what if any of this is Home Menu specific.

RomFS structure:
* "MetaDataContentHeader.bin": Unknown, size is 0x44-bytes.
* "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.

ContentInfoArchive entry format, size 0xC8(this file contains the following entry for each of the DLC content):
{| class="wikitable" border="1"
|-
! Relative offset
! Size
! Description
|-
| 0x0
| 0x4
| Content index - 1
|-
| 0x4
| 0x4
| 0x0 = disabled, 0x1 = enabled.
|-
| 0x8
| 0x40
| char string for the title text.
|-
| 0x48
| 0x88
| char string for the description text.
|}

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.

=Theme Content=
RomFS structure:
* "bgm.bcstm": Background music, see [[CSTRM|here]].
* "body_LZ.bin": LZ11 compressed blob containing the rest of the theme data(graphics + optional [[BCWAV|CWAVs]]).

=Built-in themes=
The built-in themes are stored at Home Menu RomFS:/theme/<Color>_LZ.bin, the format appears to be the same as body_LZ.bin in the theme DLC content.