Page 4 of 7

Posted: Sun Apr 09, 2006 7:11 pm
by Mr.Mouse
Actually, the DXT files are DDS files saved with additional headers per mipmap and the mipmaps are saved in reverse order in the DXT files compared to DDS.

The DXM files can be opened by notepad, as they are text.

DXG files I haven't figured out yet

Posted: Sun Apr 09, 2006 9:54 pm
by Mr.Mouse
Okay, this might be a handy tool: DXT2DDS.

I created it to enable DXT-->DDS (DXT1) and DDS-->DXT.

Hope it works good enough on all DXT files.

Posted: Sun Apr 09, 2006 10:11 pm
by Kamshaft
I get a runtime error "9", subscript out of range....on the CR125R_ECC_01_Plastics.dxt file, all of them actually.

Posted: Mon Apr 10, 2006 12:27 am
by motoman
Make sure you have mswinsck.ocx in your systems32 folder.
You may also need MSCOMCTL.OCX

Posted: Mon Apr 10, 2006 12:32 am
by Kamshaft
motoman wrote:Make sure you have mswinsck.ocx in your systems32 folder.
You may also need MSCOMCTL.OCX
I got'em

Posted: Mon Apr 10, 2006 6:12 am
by Mr.Mouse
Oops. Forgot I had been lazy. You als need my DDS header template.

Here's the file (just unpack everything in the same folder).

Posted: Mon Apr 10, 2006 6:26 am
by ocr_smokngrn
well they open but the files is all weird... i have been using texturefinder to open the files( before now)...and it looks like it does when the offset it off.. most work with offset at 4... ihave the PS plugin installed.


also in texture finder ...they look best on dxt3 or 5

Posted: Mon Apr 10, 2006 6:49 am
by Mr.Mouse
Obviously, I can only work with examples, so please attach some images you converted using dxt2dds and found with texturefinder.

I have converted several files to DDS, and I reconverted them to DXT. When I compared the original DXTs with the new DXTs they were exactly the same.

For instance, this Jersey file looks like a jersey to me.

Could be that they should be DXT3 though. Try it.

Posted: Mon Apr 10, 2006 6:55 am
by ocr_smokngrn
ok i can open the jersey files...but not the bike

http://home.comcast.net/~smesple/CR250R ... astics.rar

Posted: Mon Apr 10, 2006 11:10 am
by Mr.Mouse
Ah, I see what you mean. The thing is that there are some variables left unexplained in the DXT header. One of them is the second 32-bit value , that is 0x26 in the jersey type of dxt's and 0x36 in the bike type of dxts. This must refer to another type of DDS. I will have a look when I have the time.

Posted: Mon Apr 10, 2006 12:42 pm
by Mr.Mouse
Well, I tried to type set it as a DXT3 and it worked. Check the result.

So I will adapt the tool to save as DXT3.

Posted: Mon Apr 10, 2006 5:02 pm
by Extreme
Nice work Mr Mouse looks like u have cracked it :o

Thanks

Extreme

Posted: Mon Apr 10, 2006 6:54 pm
by Mr.Mouse
Here's the update DXT2DDS, should also support those bike DXTs.

Read the readme.txt

Posted: Mon Apr 10, 2006 8:09 pm
by ocr_smokngrn
Great Job Mr Mouse...

Posted: Mon Apr 10, 2006 8:40 pm
by Mr.Mouse
Thanks, I hope you guys can use it to good effect! Don't hesitate to drop in and show off some results with this game! 8)