Hi all...
I would like to know if it is possible to have a pluggin to suport this format .TEX files from the game Midnight club this .tex files are the texture format they use... Will be cool if you can make a pluggin to convert them to bmp or other... If you can plz take a look in the fill i attached sorry my bad english
Peter
Midnight Club 2 Image reader .TEX
- Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
- Contact:
These .tex files are actually DDS files. (DXT5), without the DDS header. iRipper just saves a template header, appends to it the .text file data, and fills in the blanks in the template header. 
format of .tex:
uint{16} - width of image
uint{16} - heigth of image
uint{16} - type (26 = DXT5, 22 = DXT1, 14 = DXT3)
uint{16} - unknown (iRipper says number of mips, but doesn't save them in the new dds file)
DDS file data (inserted at 128 (right after the template header)).
format of .tex:
uint{16} - width of image
uint{16} - heigth of image
uint{16} - type (26 = DXT5, 22 = DXT1, 14 = DXT3)
uint{16} - unknown (iRipper says number of mips, but doesn't save them in the new dds file)
DDS file data (inserted at 128 (right after the template header)).


