Midnight Club 2 Image reader .TEX

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Marvey
n00b
Posts: 18
Joined: Wed Sep 03, 2003 1:12 pm
Has thanked: 6 times
Been thanked: 1 time

Midnight Club 2 Image reader .TEX

Post by Marvey » Wed Jul 06, 2005 2:17 pm

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
You do not have the required permissions to view the files attached to this post.

KorNet
VVIP member
VVIP member
Posts: 444
Joined: Tue Apr 12, 2005 11:36 am
Been thanked: 2 times

Post by KorNet » Wed Jul 06, 2005 2:49 pm


User avatar
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:

Post by Mr.Mouse » Wed Jul 06, 2005 4:14 pm

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)).

KorNet
VVIP member
VVIP member
Posts: 444
Joined: Tue Apr 12, 2005 11:36 am
Been thanked: 2 times

Post by KorNet » Wed Jul 06, 2005 7:53 pm

Even so :D I all time thought that the schedule in this game has the format... What I blind however :D :P

Post Reply