Difference between revisions of "Nitro Character Tiles NCGR"

From XentaxWiki
Jump to: navigation, search
(See Also)
(See Also)
Line 56: Line 56:
 
=== See Also ===  
 
=== See Also ===  
 
* [http://problemkaputt.de/gbatek-ds-files-2d-video.htm NCGR file format]
 
* [http://problemkaputt.de/gbatek-ds-files-2d-video.htm NCGR file format]
 +
* [http://www.romhacking.net/documents/[469]nds_formats.htm NDS formats]
 
<br/><br>
 
<br/><br>
  

Revision as of 14:01, 11 August 2021

Back to index | Edit this page

NCGR


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

// data 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) - unknonw // always 24

x bytes - tile data

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

See Also