We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.

MTC

From Carnivores Wiki
Jump to: navigation, search

MTC (short for Main Texture Colors) files are created by AltEditor II when editing a map and contain binary data for the main texture colors in RGB and 15-bit (rgb555) formats. There is one 8-byte entry for each texture in the map.

Format[edit | edit source]

// for each texture (8 bytes)
byte
1
R component
byte
1
G component
byte
1
B component
byte
1
0x00
always null
uint16
2
RGB555 color value; calculated via (R / 8) << 10 + (G / 8) << 5 + (B / 8)
byte
2
0x0000
always null

External links[edit | edit source]