Changes

Jump to navigation Jump to search
418 bytes added ,  02:26, 10 December 2015
m
Line 1: Line 1: −
This page describes the format used for banners. These are stored in [[CXI]] ExeFS:/banner and optionally in [[extdata]] exbanner.
+
[[Category:File formats]]
 +
'''CBMD - CTR Banner Model Data'''
 +
 
 +
This page describes the format used for banners' models. These are stored in [[NCCH#CXI|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 ==
 
== CBMD Header ==
Line 18: Line 22:  
| 0x8
 
| 0x8
 
| 0x4
 
| 0x4
| Offset for common CGFX
+
| Offset for common [[CGFX]]
 
|-
 
|-
 
| 0xc
 
| 0xc
 
| 0x34
 
| 0x34
| Optional offsets for region/language specific CGFX
+
| Optional offsets for region/language specific [[CGFX]]
 
|-
 
|-
 
| 0x40
 
| 0x40
Line 30: Line 34:  
| 0x84
 
| 0x84
 
| 0x4
 
| 0x4
| CWAV offset
+
| [[BCWAV]] 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.
+
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 ===
 
=== Indexes for CGFX offset array ===
Line 82: Line 86:     
== CGFX ==
 
== CGFX ==
CGFX might be compressed with LZSS? For CXI banner CGFX, the decompressed size must be no larger than 0x80000.
+
 
 +
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.
1,434

edits

Navigation menu