CBMD

CBMD

CBMD - CTR Banner Model Data

This page describes the format used for banners’ models. These are stored in CXI ExeFS:/banner and optionally in extdata exbanner. CBMD is a container file for CGFX blocks. This is used for banners of titles you see in the home menu. BNR used for the app banners in the CXI/exbanner is the same as CBMD with CWAV at the end.

CBMD Header #

OffsetLengthDescription
0x00x4Magic “CBMD”
0x40x4Zero
0x80x4Offset for common CGFX
0xc0x34Optional offsets for region/language specific CGFX
0x400x44Padding?
0x840x4BCWAV offset

The common CGFX is used if the CGFX offset for the system region/language is zero. Those optional offsets can be used in extdata exbanner, but separate CBMD banner files for each region/language can be used as well.

Indexes for CGFX offset array #

IndexDescription
0EUR-English
1EUR-French
2EUR-German
3EUR-Italian
4EUR-Spanish
5EUR-Dutch
6EUR-Portuguese
7EUR-Russian
8JPN-Japanese
9USA-English
10USA-French
11USA-Spanish
12USA-Portuguese

CGFX #

CGFX are compressed using LZ11. For CXI banner CGFX, the decompressed size must be no larger than 0x80000.

Graphics containers. Contains: 3D Models, Shaders, Objects, Materials, Textures, etc. See CGFX for more information.

BCWAV #

The included BCWAV total channels must be 2, and the length of the audio must be 3 seconds or less, otherwise the sound will play incorrectly (beeping/clicking) or the model may fail to load.

Category:File formats