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= | + | =Decompressed body_LZ.bin structure= |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| |- | | |- |
Line 73: |
Line 73: |
| | 0x18 | | | 0x18 |
| | 0x4 | | | 0x4 |
− | | Top Screen Texture Address (Rgb565 at (320*(Top Screen Frame Count))*240) | + | | Top Screen Texture offset (Rgb565 at (320*(Top Screen Frame Count))*240) |
| |- | | |- |
| | 0x1C | | | 0x1C |
Line 89: |
Line 89: |
| | 0x28 | | | 0x28 |
| | 0x4 | | | 0x4 |
− | | Bottom Screen Solid Color/Texture Address (Rgb565 at 320x240) | + | | Bottom Screen Solid Color/Texture offset (Rgb565 at 320x240) |
| + | |- |
| + | | 0xBC |
| + | | 0x4 |
| + | | Audio data section size. |
| + | |- |
| + | | 0xC0 |
| + | | 0x4 |
| + | | Offset for the audio data section. |
| + | |} |
| + | |
| + | The filesize is aligned to 0x10-bytes. The size of the above header is 0xD0-bytes. |
| | | |
| + | ==Audio data section== |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 0x4 |
| + | | Unknown |
| + | |- |
| + | | 0x4 |
| + | | 0x4 |
| + | | Unknown |
| + | |- |
| + | | 0x8 |
| + | | |
| + | | Beginning of the audio data entries. |
| |} | | |} |
| + | |
| + | The audio data section contains the sound effects for this theme. |
| + | |
| + | Audio data entry structure: |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 0x4 |
| + | | CWAV size. |
| + | |- |
| + | | 0x4 |
| + | | 0x4 |
| + | | Unknown, type of the sound effect? |
| + | |- |
| + | | 0x8 |
| + | | |
| + | | [[BCWAV|CWAV]] |
| + | |} |
| + | |
| + | In certain cases there may be more data starting at offset 0x8 than what's listed above, before the CWAV. |
| + | |
| =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. |