Page 2 of 2
Re: Diablo IV (.tex) textures
Posted: Wed Mar 22, 2023 8:07 pm
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!
Re: Diablo IV (.tex) textures
Posted: Fri Mar 24, 2023 12:46 am
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.
Re: Diablo IV (.tex) textures
Posted: Fri Mar 24, 2023 1:01 am
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.
Re: Diablo IV (.tex) textures
Posted: Fri Mar 24, 2023 2:56 am
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.
Re: Diablo IV (.tex) textures
Posted: Sat Mar 25, 2023 2:28 pm
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?
Re: Diablo IV (.tex) textures
Posted: Sat Mar 25, 2023 7:12 pm
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.
Re: Diablo IV (.tex) textures
Posted: Wed Mar 29, 2023 7:32 am
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?
