Home Menu/Themes: Difference between revisions

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 ..."
 
Normmatt (talk | contribs)
No edit summary
Line 40: Line 40:
* "body_LZ.bin": LZ11 compressed blob containing the rest of the theme data(graphics + optional [[BCWAV|CWAVs]]).
* "body_LZ.bin": LZ11 compressed blob containing the rest of the theme data(graphics + optional [[BCWAV|CWAVs]]).


=body_LZ.bin structure=
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
| 0x0
| 0x4
| Version (Must be 1?)
|-
| 0x4
| 0x4
| ?
|-
| 0x8
| 0x4
| ?
|-
| 0xC
| 0x4
| Must be less than 4?
|-
| 0x10
| 0x4
| Top Screen Frame Count (If 0 then solid color at 0x14, else texture at 0x18)
|-
| 0x14
| 0x4
| Top Screen Solid Color (RGB8)
|-
| 0x18
| 0x4
| Top Screen Texture Address (Rgb565 at (320*(Top Screen Frame Count))*240)
|-
| 0x1C
| 0x4
| ?
|-
| 0x20
| 0x4
| Bottom Screen Frame Count
|-
| 0x24
| 0x4
| Bottom Screen Type (0=SolidColor, 2=Rgb565)
|-
| 0x28
| 0x4
| Bottom Screen Solid Color/Texture Address (Rgb565 at 320x240)
|}
=Built-in themes=
=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.
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.