Category: Nintendo DS
Description: Common cell format used in Nintendo DS games.
Author: lowlines & Garyong/Barubary/Aygox
Filename: ncer.xml
Size: 6.64 KB
Date Modified: 07 November 2019
Type | Name | Offset | Size | Value | Description |
---|---|---|---|---|---|
Magic Stamp | 0x0000 | 4 | 0x5245434E | Stamp (RECN) "Nitro CEll Resource". | |
u32 | Constant | 0x0004 | 4 | 0x0100FEFF | |
u32 | File Size | 0x0008 | 4 | ||
u16 | Header Size | 0x000C | 2 | 0x10 | |
u16 | # Sections | 0x000E | 2 | 1 or 3 |
Type | Name | Offset | Size | Value | Description |
---|---|---|---|---|---|
Magic Stamp | 0x0000 | 4 | 0x4B424543 | Stamp (KBEC) "CEll BanK". | |
u32 | Section Size | 0x0004 | 4 | ||
u16 | # Banks | 0x0008 | 2 | ||
u16 | Extended Flag | 0x000A | 2 | If 1, data is extended. | |
u32 | Data Offset | 0x000C | 4 | 0x18 | Relative to start of Section + 8. |
u32 | Flags | 0x0010 | 4 | Bit 0-1 << 1 Tile Index Offset Bit 2 If 1, use sub-images | |
u32 | Partition Data Offset | 0x0014 | 4 | Only present if not zero. | |
u64 | Padding | 0x0018 | 8 | 0x00 |
Type | Name | Offset | Size | Value | Description |
---|---|---|---|---|---|
u16 | # OAMs | 0x0000 | 2 | ||
u16 | Unknown | 0x0002 | 2 | ||
u32 | First OAM Offset | 0x0004 | 4 | Relative to start of OAM Data. | |
Coordinates (Only present in Extended Mode) | |||||
s16 | X Max | 0x0008 | 2 | ||
s16 | Y Max | 0x000A | 2 | ||
s16 | X Min | 0x000C | 2 | ||
s16 | Y Min | 0x000E | 2 |
Type | Name | Offset | Size | Value | Description |
---|---|---|---|---|---|
u16 | OBJ Attribute 0 | 0x0000 | 2 | ||
u16 | OBJ Attribute 1 | 0x0002 | 2 | ||
u16 | OBJ Attribute 2 | 0x0004 | 2 |
OBJ Shape | ||||
Square (00) | Horizontal (01) | Vertical (10) | ||
OBJ Size | 00 | 8x8 | 16x8 | 8x16 |
01 | 16x16 | 32x8 | 8x32 | |
10 | 32x32 | 32x16 | 16x32 | |
11 | 64x64 | 64x32 | 32x64 |
Type | Name | Offset | Size | Value | Description |
---|---|---|---|---|---|
u32 | Start | 0x0000 | 4 | In pixels | |
u32 | Length | 0x0004 | 4 | In pixels |
Type | Name | Offset | Size | Value | Description |
---|---|---|---|---|---|
Magic Stamp | 0x0000 | 4 | Stamp (LBAL) "LABLe". | ||
u32 | Section Size | 0x0004 | 4 | ||
Name Offsets (!= always equal # objects.) | |||||
u32 | Name Offset | 0x0000 | 4 | Relative to the start of this section. | |
String Table (Each name is terminated by a 0x00) |
Type | Name | Offset | Size | Value | Description |
---|---|---|---|---|---|
Magic Stamp | 0x0000 | 4 | Stamp (TXEU) "Utility EXTension??". | ||
u32 | Section Size | 0x0004 | 4 | ||
u32 | Unknown Value | 0x0008 | 4 |