Diablo III Textures (*.tex)

Textures, recreate headers, conversions, algorithms and parsing of image files
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Diablo III Textures (*.tex)

Post by Doctor Loboto »

I've been searching all over for a way to convert the new format since the updates to Diablo III's textures, and nothing I have found works. Can someone please help me with converting them to a more useful format such as PNG or DDS? Nothing currently out there seems to work with the new format.

https://www.dropbox.com/s/qiwzma3nuk40x29/D3Tex.zip?dl=0
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Diablo III Textures (*.tex)

Post by Doctor Loboto »

Been quite a while and I've still not seen any solutions elsewhere. I think it would benefit a lot of people if we here managed to figure out a way of converting the new formats. Here's an updated archive with samples from the most recent patch.

https://www.dropbox.com/s/uqp1ldbh0gzrrli/Necro.zip?dl=0
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Diablo III Textures (*.tex)

Post by episoder »

gotta love blizzard and their texture storage. got that done on overwatch already. i only checked the necro zip.

note: some of the dxt1 textures use the fact that it can have 1 bit alpha. that may not be obvious to notice. very efficient tho.

don't ask for reimport. won't work with this script.
Last edited by episoder on Fri Nov 30, 2018 6:00 pm, edited 2 times in total.
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

Re: Diablo III Textures (*.tex)

Post by Doctor Loboto »

It works for the majority of them, though a few end up going blank white. Here's a pair of the like.
https://www.dropbox.com/s/713pbaw1ju45orb/D3.zip?dl=0
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Diablo III Textures (*.tex)

Post by episoder »

yo. i figured i made a mistake with some of the dxt1 files even. some of the specs had wrong colors. all merged and should all be good evil. :mrgreen:
Last edited by episoder on Fri Nov 30, 2018 5:59 pm, edited 1 time in total.
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Diablo III Textures (*.tex)

Post by Havi »

Very nice!

Thank you Episoder
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Diablo III Textures (*.tex)

Post by episoder »

duplicate chewing gum. got some more formats for normal map support done.
Last edited by episoder on Fri Nov 30, 2018 5:59 pm, edited 1 time in total.
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Diablo III Textures (*.tex)

Post by Havi »

Hey there!

Would anyone be so kind to look into these files:
https://www4.zippyshare.com/v/LCSz9FTu/file.html

New files from the upcoming update for Diablo 3 (from PTR 2.6.4)
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Diablo III Textures (*.tex)

Post by episoder »

sure. raw rgba.

note: next time just post in the forum. i can't read pms if i'm not logged in. and i only login to answer and log out again. ;)
Last edited by episoder on Fri Nov 30, 2018 5:55 pm, edited 1 time in total.
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Diablo III Textures (*.tex)

Post by Havi »

Hey Episoder,

Sorry, won't happen again! Thank you very much mate <3

Ur a legend.
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Diablo III Textures (*.tex)

Post by Havi »

I'm getting an error: http://prntscr.com/lp1mjh
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Diablo III Textures (*.tex)

Post by episoder »

Havi wrote:I'm getting an error: http://prntscr.com/lp1mjh


gimme the texture that errors then. i doubt i can fix this tho. it doesn't seem to be a script specific error. i never had one of those exceptions errors.
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Diablo III Textures (*.tex)

Post by Havi »

It happens on all of them.
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Diablo III Textures (*.tex)

Post by episoder »

okay. troubleshot it. seems 0.9.2 doesn't accept the 'auto struct' type "cmtype = 0" lines anymore. i wrote it in 0.8.2. hence why it worked. dunno why i started doing that anyway. a fsh file thingy. :mrgreen:

updated my quicky. and... have the fixed version. :D
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Diablo III Textures (*.tex)

Post by Havi »

episoder wrote:okay. troubleshot it. seems 0.9.2 doesn't accept the 'auto struct' type "cmtype = 0" lines anymore. i wrote it in 0.8.2. hence why it worked. dunno why i started doing that anyway. a fsh file thingy. :mrgreen:

updated my quicky. and... have the fixed version. :D


Thank you! This worked!