Talk:TEX0 (File Format)

From Custom Mario Kart
Revision as of 16:04, 28 June 2011 by Chadderz (talk | contribs)
Jump to navigation Jump to search

Hi chadderz, it's me again ;)

Can you (and all others) please tell me more details about tex0 file. I have found the thumbnails and can guess some geometries. But I don't know why and when they appear. Is there something in the 'unknown header?

The images itself seems half and quarter and ... of the main image, but they are not exact thumbnails.

Wiimm 22:49, 26 June 2011 (CEST)

I had run a statistical analysis through all TEX files in MKW and now its clear (see article). My tools can export all images now. Some more analysis will follow.
Wiimm 15:54, 27 June 2011 (CEST)
Hi, you seem to have everything correct, but they're mipmaps not thumbnails. I've updated the article to reflect this.
Chadderz 09:31, 28 June 2011 (CEST)
Ok, mipmap is the name I didn't know, but I have already guessed the function of the mipmaps.
Why have you removed my value table for offset 0x14 and what do you mean with " The number of mipmaps-1 (single)". Perhaps, if there is one minimap, the value is 0x3f800000 for all tex files. And the other values are also valid without any exception. I have scanned about 30000 tex0 files of all szs files of MKW.
Wiimm 16:23, 28 June 2011 (CEST)
I've corrected the slight typo, should've been number of images-1 (single). What I mean is that the it is the floating point (single) representation of the number of images-1. 3f800000 is 1.0f, 40000000 is 2.0f, etc. Your values match exactly.
Chadderz 18:04, 28 June 2011 (CEST)