Midnight Club TEX: Difference between revisions

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


* [https://officialmc2.boards.net/thread/24/modding-tools-suite Midnight Club modding tools (mxTex + iripper)]
* Noesis + [https://zenhax.com/viewtopic.php?p=53920#p53920 this script]
* Noesis + [https://zenhax.com/viewtopic.php?p=53920#p53920 this script]
<br/><br>
<br/><br>

Revision as of 12:19, 7 November 2021

Back to index | Edit this page

TEX

  • Format Type : Image
  • Endian Order : Little Endian
  • Signature : None


Format Specifications

// TEX file format

2 bytes (uint16) - texture width
2 bytes (uint16) - texture height
2 bytes (uint16) - texture type  // 1 - P8
                                 // 14 - PA8
                                 // 15 - P4_MC
                                 // 16 - PA4_MC
                                 // 17 - RGB888
                                 // 18 - RGBA8888
                                 // 22 - DXT1
                                 // 26 - DXT5
2 bytes (uint16) - number of mipmaps
2 bytes (uint16) - unknown
4 bytes (uint32) - flags

x bytes - palette data (optional)
x bytes - texture data

MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Games

List of games using this file format:

  • Midnight Club (series)
  • Midtown Madness

Compatible Programs