Diablo IV (.tex) textures

Get your graphics formats figures out here! Got details for others? Post here!
alexchaos
ultra-n00b
Posts: 2
Joined: Wed Mar 22, 2023 8:05 pm

Re: Diablo IV (.tex) textures

Post by alexchaos »

BoyC wrote: Wed Mar 22, 2023 3:59 pm
nic77 wrote: Tue Mar 21, 2023 3:24 pm Has anyone been able to convert them to .dds? Im tryting to do it with the beta files but as the previous user said even after using many tools I haven't been able to
The raw texture data seems to be in bog standard DXGI_FORMAT_BC3_UNORM_SRGB: https://imgur.com/a/m0YLwHg
What exactly are the steps your took? I've been trying a few different things with that format and can't seem to get any result.Thanks!
strpetrichor
ultra-n00b
Posts: 2
Joined: Fri Apr 10, 2020 3:19 am
Been thanked: 1 time

Re: Diablo IV (.tex) textures

Post by strpetrichor »

The .tex files are indeed BC3_Unorm_SRGB

https://imgur.com/a/uYWwDXk

The resolution of the images can be a bit of a pain to find, some of them are massive.
Last edited by strpetrichor on Fri Mar 24, 2023 3:16 am, edited 1 time in total.
BoyC
beginner
Posts: 36
Joined: Wed Jul 05, 2006 9:24 pm
Been thanked: 2 times

Re: Diablo IV (.tex) textures

Post by BoyC »

Yeah I've been looking at the metadata and on the particular image i've been looking at (the gems texture) what seems to be the width in the metadata (520) doesn't match up with the width at which the image lines up properly (576) - however the height does line up properly. No idea why, I haven't seen such a mismatch before.
alexchaos
ultra-n00b
Posts: 2
Joined: Wed Mar 22, 2023 8:05 pm

Re: Diablo IV (.tex) textures

Post by alexchaos »

BoyC wrote: Fri Mar 24, 2023 1:01 am Yeah I've been looking at the metadata and on the particular image i've been looking at (the gems texture) what seems to be the width in the metadata (520) doesn't match up with the width at which the image lines up properly (576) - however the height does line up properly. No idea why, I haven't seen such a mismatch before.
Same thing here, some width are good but most seems to not line up.
Ivenend
beginner
Posts: 27
Joined: Sun Dec 16, 2018 3:58 am
Has thanked: 24 times
Been thanked: 1 time

Re: Diablo IV (.tex) textures

Post by Ivenend »

strpetrichor wrote: Fri Mar 24, 2023 12:46 am The .tex files are indeed BC3_Unorm_SRGB

https://imgur.com/a/uYWwDXk

The resolution of the images can be a bit of a pain to find, some of them are massive.
Just curious, do you have more d4 weapon icon images?

Also what offset in Rawtex do you use?
strpetrichor
ultra-n00b
Posts: 2
Joined: Fri Apr 10, 2020 3:19 am
Been thanked: 1 time

Re: Diablo IV (.tex) textures

Post by strpetrichor »

Ivenend wrote: Sat Mar 25, 2023 2:28 pm
strpetrichor wrote: Fri Mar 24, 2023 12:46 am The .tex files are indeed BC3_Unorm_SRGB

https://imgur.com/a/uYWwDXk

The resolution of the images can be a bit of a pain to find, some of them are massive.
Just curious, do you have more d4 weapon icon images?

Also what offset in Rawtex do you use?
i'm not using rawtex for this, i'm using a python script to pull the resolution from the meta file and then convert the .tex file in the payload folder with a matching name to a png with that resolution
i can try and grab some more of the armor/weapon icons in a bit - i posted some of my findings on the diablo subreddit, i'll probably do a deeper dive once the beta ends.
User avatar
IstiGI
ultra-n00b
Posts: 4
Joined: Mon Nov 16, 2015 4:10 pm

Re: Diablo IV (.tex) textures

Post by IstiGI »

strpetrichor wrote: Sat Mar 25, 2023 7:12 pm i'm not using rawtex for this, i'm using a python script to pull the resolution from the meta file
Any chance that you can share it with us? :oops:
whfill
ultra-n00b
Posts: 3
Joined: Tue May 23, 2023 12:39 pm
Been thanked: 1 time

Re: Diablo IV (.tex) textures

Post by whfill »

strpetrichor wrote: Sat Mar 25, 2023 7:12 pm
Ivenend wrote: Sat Mar 25, 2023 2:28 pm
strpetrichor wrote: Fri Mar 24, 2023 12:46 am The .tex files are indeed BC3_Unorm_SRGB

https://imgur.com/a/uYWwDXk

The resolution of the images can be a bit of a pain to find, some of them are massive.
Just curious, do you have more d4 weapon icon images?

Also what offset in Rawtex do you use?
i'm not using rawtex for this, i'm using a python script to pull the resolution from the meta file and then convert the .tex file in the payload folder with a matching name to a png with that resolution
i can try and grab some more of the armor/weapon icons in a bit - i posted some of my findings on the diablo subreddit, i'll probably do a deeper dive once the beta ends.
Could you please share the script, or host it on github, thank you so much.
lla
ultra-n00b
Posts: 1
Joined: Sat May 20, 2023 1:13 am
Has thanked: 1 time

Diablo 4 tex files

Post by lla »

Hey,

Has anyone been able to open/convert D4 tex-files to dds or png?
Can anyone help or walk me through cause I have not been successful so far.
I would much appriciate it!
Many thanks in advance!
zardalu
veteran
Posts: 128
Joined: Sat Sep 13, 2008 3:13 pm
Has thanked: 14 times
Been thanked: 21 times
Contact:

Re: Diablo IV (.tex) textures

Post by zardalu »

coredevel at zenhax created a tool that works well. Unfortunately zenhax appears to be broken so I have not been able to ask him if it's ok to distribute the tool. Does anyone know if he is active here?
Post Reply