Difference between revisions of "Nitro Character Tiles NCGR"

From XentaxWiki
Jump to: navigation, search
(Compatible Programs)
(See Also)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{GRAFPageHeader}}
 
{{GRAFPageHeader}}
== NCGR ==  
+
== NCGR, TX2 ==  
  
 
* ''' 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 20: Line 20:
 
                                                     // 2 - RAHC+SOPC
 
                                                     // 2 - RAHC+SOPC
  
// data chunk
+
// RAHC chunk
 
4 bytes (char) - chunk name // "RAHC"
 
4 bytes (char) - chunk name // "RAHC"
 
4 bytes (uint32) - chunk size
 
4 bytes (uint32) - chunk size
Line 31: Line 31:
 
4 bytes - unknown // 0 or 1
 
4 bytes - unknown // 0 or 1
 
4 bytes (uint32) - tile data size in bytes
 
4 bytes (uint32) - tile data size in bytes
4 bytes (uint32) - unknonw // always 24
+
4 bytes (uint32) - unknown // always 24
  
 
x bytes - tile data
 
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
 
</pre>
 
</pre>
 
</div>
 
</div>
Line 57: Line 64:
 
=== 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]
+
* [http://www.romhacking.net/documents/%5b469%5dnds_formats.htm NDS formats]
 +
* [https://wiki.vg-resource.com/Nintendo_DS NDS Tools]
 +
* [[Nintendo DS Font NFTR]]
 
<br/><br>
 
<br/><br>
  

Latest revision as of 21: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