I'm exploring some .tex files from a Unity 5.2 game, and they appear to have a 60 byte header instead of the standard 56 byte header. But that's not it. Even truncating the header and trying to load the raw image data into Gimp is unsuccessful. The first 16 bytes seem to suggest the DxT1 format, but then it gets weird after that. Is there something obvious I'm missing here, or else, does anyone have any ideas what's different about this format?
Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
Unity 5.2 .tex file with 60 byte header??
Unity 5.2 .tex file with 60 byte header??
You do not have the required permissions to view the files attached to this post.
-
Acewell
- VIP member

- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 1426 times
Re: Unity 5.2 .tex file with 60 byte header??
Yeah TextureFinder reads it as an upside down 512x512 dxt1 texture with mip maps and it has a custom header with the first 8 bytes storing the width and height.
Re: Unity 5.2 .tex file with 60 byte header??
Wow, TextureFinder is awesome. I shifted 4 bytes to account for the extra 4 bytes in the header and got the exact texture. Still gotta work on dimensions, as 512px truncates the mip maps, but you got me over the big hurdle. Appreciate it!
