BNCL Files
From CW-Games Wiki
First of all, bncl files are files that define the place of objects in menu's or other 2d places.
Header
The header is very simple:
| Offset | Nr of bytes | Description |
|---|---|---|
| 0x00 | 4 | Magic Stamp: 0x4A4E434C(JNCL). |
| 0x04 | 2 | Zero |
| 0x06 | 2 | Number of objects. |
Object definitions
The objects are the buttons, pictures and other objects showed ingame:
| Offset | Nr of bytes | Description |
|---|---|---|
| 0x00 | 1 | X position |
| 0x01 | 1 | Flags |
| 0x02 | 1 | Y position |
| 0x03 | 1 | Flags |
| 0x04 | 4 | Cell ID (in ncer file) |
Flags
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|
| IDK | M | IDK | ||||||
| IDK | Unknown |
|---|---|
| M | Draw from middle |