Difference between revisions of "SCN0 (File Format)"
Jump to navigation
Jump to search
m (failure :p) |
m |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Under-construction}} | {{Under-construction}} | ||
− | This page describes the [[Mario Kart Wii]] '''SCN0''' file format, as found within [[BRRES (File Format)|BRRES files]]. SCN0 files are | + | This page describes the [[Mario Kart Wii]] '''SCN0''' file format, as found within [[BRRES (File Format)|BRRES files]]. SCN0 files are '''SC'''e'''N'''e settings files to show live rendered videos. |
__TOC__ | __TOC__ | ||
Line 37: | Line 37: | ||
| 0x08 || 4 || Frame Count | | 0x08 || 4 || Frame Count | ||
|- | |- | ||
− | | 0x0C || 2 || ''' | + | | 0x0C || 2 || '''Unsure''' SpecularLightCount |
|- | |- | ||
− | | 0x0E || 2 || | + | | 0x0E || 2 || Looping 0x00=disabled 0x01=enabled |
|- | |- | ||
| 0x10 || 2 * 6 || Section count * 6 (as there are 6 types of sections) | | 0x10 || 2 * 6 || Section count * 6 (as there are 6 types of sections) | ||
Line 70: | Line 70: | ||
| | | | ||
|} | |} | ||
+ | {{BRRES links}} | ||
+ | |||
+ | [[Category:File Format/Wii]] |
Latest revision as of 22:45, 23 June 2017
Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.
This page describes the Mario Kart Wii SCN0 file format, as found within BRRES files. SCN0 files are SCeNe settings files to show live rendered videos.
File Format
File Header
Offset | Size | Description |
---|---|---|
0x00 | 4 | The magic "SCN0" to identify the sub file. See »BRRES Sub Files« for other magics. |
0x04 | 4 | Length of the sub file. |
0x08 | 4 | Sub file version number. See »BRRES Sub Files« for details. |
0x0c | 4 | Offset to outer BRRES File (negative value). |
0x10 | N*4 | N section offsets. |
0x10+N*4 | 4 | String offset to the name of this sub file. This name equal to the name of the entry name of the BRRES Index Group pointing to this data. |
0x14+N*4 | End of this header |
SCN0 can possibly contain certain sections multiple times.
The SCN0 header follows directly after the file header. For SCN0 version 5 it has the following layout:
offset | size | description |
---|---|---|
0x00 | 4 | Unknown |
0x04 | 4 | Unknown |
0x08 | 4 | Frame Count |
0x0C | 2 | Unsure SpecularLightCount |
0x0E | 2 | Looping 0x00=disabled 0x01=enabled |
0x10 | 2 * 6 | Section count * 6 (as there are 6 types of sections) |
0x1C | End of header / Start of a filler |
Possible Sections
Each section starts with an interger (4 bytes) which defines the size of the section.
Folder | Description |
---|---|
LightSet(NW4R) | Combines AmbLight with Lights |
AmbLight(NW4R) | |
Lights(NW4R) | |
Fogs(NW4R) | |
Cameras(NW4R) |