Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

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]