Nitro Character Tiles NCGR: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (→NCGR) |
imported>Ikskoks |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
* ''' Format Type ''': Image <br> | * ''' Format Type ''': Image <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian<br> | ||
| Line 35: | Line 35: | ||
x bytes - tile data | x bytes - tile data | ||
//SOPC chunk (optional) | // SOPC chunk (optional) | ||
4 bytes (char) - chunk name // "SOPC" | 4 bytes (char) - chunk name // "SOPC" | ||
4 bytes (uint32) - chunk size // 16 | 4 bytes (uint32) - chunk size // 16 | ||
| Line 66: | Line 66: | ||
* [http://www.romhacking.net/documents/%5b469%5dnds_formats.htm NDS formats] | * [http://www.romhacking.net/documents/%5b469%5dnds_formats.htm NDS formats] | ||
* [https://wiki.vg-resource.com/Nintendo_DS NDS Tools] | * [https://wiki.vg-resource.com/Nintendo_DS NDS Tools] | ||
* [[Nintendo DS Font NFTR]] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 20:48, 22 September 2021
Back to index | Edit this page
NCGR, TX2
- Format Type : Image
- Endian Order : Little Endian / Big Endian
Format Specifications
// header
4 bytes (char) - chunk name // "RGCN"
2 bytes - byte order // 0xFF 0xFE - little endian
// 0xFE 0xFF - big endian
2 bytes - version // 0x01 0x01
4 bytes (uint32) - total file size
2 bytes (uint16) - chunk size
2 bytes (uint16) - total number of following chunks // 1 - only RAHC chunk
// 2 - RAHC+SOPC
// RAHC chunk
4 bytes (char) - chunk name // "RAHC"
4 bytes (uint32) - chunk size
2 bytes (uint16) - tile data size in kilobytes // can be "0xFF 0xFF" when size != N*1024
2 bytes (uint16) - unknown // can be "0xFF 0xFF" when size != N*1024
4 bytes (uint32) - color depth // 3=4bpp
// 4=8bpp
2 bytes - unknown // 16
2 bytes - unknown // 32 or 48
4 bytes - unknown // 0 or 1
4 bytes (uint32) - tile data size in bytes
4 bytes (uint32) - unknown // always 24
x bytes - tile data
// SOPC chunk (optional)
4 bytes (char) - chunk name // "SOPC"
4 bytes (uint32) - chunk size // 16
4 bytes (uint32) - zeroes
2 bytes (uint16) - unknown
2 bytes (uint16) - unknown
MultiEx BMS Script
Not written yet.
Notes and Comments
- This file format occurs in games made on Nintendo DS.
- Whole file may be compressed with NitroSDK compression.
Games
List of games using this file format:
- Hayarigami (NDS) (*.TX2)
Compatible Programs
- tinke
- TiledGGD (or any other tile editor)
See Also