Nitro Character Tiles NCGR: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == NCGR == * ''' Format Type ''': Image <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifi...")
imported>Ikskoks
Line 52: Line 52:


* [https://github.com/pleonex/tinke tinke]
* [https://github.com/pleonex/tinke tinke]
=== See Also ===
* [http://problemkaputt.de/gbatek-ds-files-2d-video.htm NCGR file format]
<br/><br>
<br/><br>



Revision as of 12:58, 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.

Games

List of games using this file format:

  • Hayarigami (NDS) (*.TX2)

Compatible Programs

See Also