CBMD
This page describes the format used for banners. These are stored in CXI ExeFS:/banner and optionally in extdata exbanner.
CBMD Header
| Offset | Length | Description |
|---|---|---|
| 0x0 | 0x4 | Magic "CBMD" |
| 0x4 | 0x4 | Zero |
| 0x8 | 0x4 | Offset for common CGFX |
| 0xc | 0x34 | Optional offsets for region/language specific CGFX |
| 0x40 | 0x44 | Padding? |
| 0x84 | 0x4 | CWAV offset |
The common CGFX is used if the CGFX offset for the system region/language is zero. Those optional offsets are unused in extdata exbanner, separate CBMD banner files can be used for each region/language instead.
Indexes for CGFX offset array
| Index | Description |
|---|---|
| 0 | EUR-English |
| 1 | EUR-French |
| 2 | EUR-German |
| 3 | EUR-Italian |
| 4 | EUR-Spanish |
| 5 | EUR-Dutch |
| 6 | EUR-Portuguese |
| 7 | EUR-Russian |
| 8 | JPN-Japanese |
| 9 | USA-English |
| 10 | USA-French |
| 11 | USA-Spanish |
| 12 | USA-Portuguese |
CGFX
CGFX might be compressed with LZSS? For CXI banner CGFX, the decompressed size must be no larger than 0x80000.