Nitro Character Tiles NCGR

From XentaxWiki
Jump to: navigation, search

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