Home Menu/Themes: Difference between revisions
Line 354: | Line 354: | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
| Y (see below) | |||
| Additional data for CWAV 6, see below. | |||
|- | |||
| Y + 0x0 | |||
| 0x4 | | 0x4 | ||
| CWAV size. | | CWAV size. | ||
|- | |- | ||
| 0x4 | | Y + 0x4 | ||
| 0x4 | | 0x4 | ||
| Unknown | | Unknown | ||
|- | |- | ||
| 0x8 | | Y + 0x8 | ||
| X (see below) | |||
| Additional data for CWAV 4, see below. | |||
|- | |||
| Y + 0x8 + X | |||
| | | | ||
| [[BCWAV|CWAV]] | | [[BCWAV|CWAV]] | ||
|} | |} | ||
Structure of the data starting at offset 0x0, from the above entry, for the additional data with CWAV 7: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Relative offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x10 | |||
| ? | |||
|} | |||
Y / the size of this block, is 0x10-bytes. | |||
Structure of the data starting at offset 0x8, from the above entry, for the additional data with CWAV 4: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Relative offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x2C | |||
| ? | |||
|} | |||
X / the size of this block, is 0x2C-bytes. | |||
The number of CWAVs seems to be fixed to 7? The CWAVs are used for the following: | |||
* 0: Cursor movement | |||
* 1: Application launch | |||
* 2: Certain buttons | |||
* 3: Cancel buttons | |||
* 4: When cursor would be moved off the screen, left/right | |||
* 5: When cursor is moved a screen-worth of icons across | |||
* 6: Folder buttons | |||
=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. |