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!BoyC wrote: ↑Wed Mar 22, 2023 3:59 pmThe raw texture data seems to be in bog standard DXGI_FORMAT_BC3_UNORM_SRGB: https://imgur.com/a/m0YLwHg
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Diablo IV (.tex) textures
Re: Diablo IV (.tex) textures
-
- ultra-n00b
- Posts: 2
- Joined: Fri Apr 10, 2020 3:19 am
- Been thanked: 1 time
Re: Diablo IV (.tex) textures
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.
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.
Re: Diablo IV (.tex) textures
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
Same thing here, some width are good but most seems to not line up.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.
-
- beginner
- Posts: 27
- Joined: Sun Dec 16, 2018 3:58 am
- Has thanked: 24 times
- Been thanked: 1 time
Re: Diablo IV (.tex) textures
Just curious, do you have more d4 weapon icon images?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.
Also what offset in Rawtex do you use?
-
- ultra-n00b
- Posts: 2
- Joined: Fri Apr 10, 2020 3:19 am
- Been thanked: 1 time
Re: Diablo IV (.tex) textures
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 resolutionIvenend wrote: ↑Sat Mar 25, 2023 2:28 pmJust curious, do you have more d4 weapon icon images?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.
Also what offset in Rawtex do you use?
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.
- IstiGI
- ultra-n00b
- Posts: 6
- Joined: Mon Nov 16, 2015 4:10 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Diablo IV (.tex) textures
Any chance that you can share it with us?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
Re: Diablo IV (.tex) textures
Could you please share the script, or host it on github, thank you so much.strpetrichor wrote: ↑Sat Mar 25, 2023 7:12 pmi'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 resolutionIvenend wrote: ↑Sat Mar 25, 2023 2:28 pmJust curious, do you have more d4 weapon icon images?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.
Also what offset in Rawtex do you use?
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.
Diablo 4 tex files
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!
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!
-
- veteran
- Posts: 134
- Joined: Sat Sep 13, 2008 3:13 pm
- Has thanked: 17 times
- Been thanked: 31 times
- Contact:
Re: Diablo IV (.tex) textures
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?
-
- veteran
- Posts: 134
- Joined: Sat Sep 13, 2008 3:13 pm
- Has thanked: 17 times
- Been thanked: 31 times
- Contact:
Re: Diablo IV (.tex) textures
I have been unable to reach coredevel and zenhax appears to have shut down. As such, in order that it not be lost, <link removed by moderator - apparently this program was a virus (as reported by one of the users)> is the tool that can convert Diablo 4 Textures. Apologies to coredevel; if you would like me to remove the link I will do so immediately.
To use the tool, make sure that your meta and payload texture folders are arranged the same as they are in the game archives, including a meta and payload folder with the associated files. Then, select the input texture directory that contains the meta files, and an output directory. Then, hit "Go".
If you did it right, the textures will be converted to .pngs. I could only do a few hundred at a time, not sure why. Eventually I was able to convert all of them.
Some of the textures have a strange alpha channel. Not sure what should be there, but in most cases I just deleted it and all of necessary texture data was there.
Cheers
To use the tool, make sure that your meta and payload texture folders are arranged the same as they are in the game archives, including a meta and payload folder with the associated files. Then, select the input texture directory that contains the meta files, and an output directory. Then, hit "Go".
If you did it right, the textures will be converted to .pngs. I could only do a few hundred at a time, not sure why. Eventually I was able to convert all of them.
Some of the textures have a strange alpha channel. Not sure what should be there, but in most cases I just deleted it and all of necessary texture data was there.
Cheers
Re: Diablo IV (.tex) textures
I am not managing to get the tool to work.
If anyone could help me out, that would be awesome! Could really use the help.
Anyone who got it to work and is willing to help, feel free to PM me!
If anyone could help me out, that would be awesome! Could really use the help.
Anyone who got it to work and is willing to help, feel free to PM me!
-
- veteran
- Posts: 134
- Joined: Sat Sep 13, 2008 3:13 pm
- Has thanked: 17 times
- Been thanked: 31 times
- Contact:
Re: Diablo IV (.tex) textures
Here are some better instructions:
You need to extract the meta and payload textures that you want into a meta and payload folder on your system using CASC Explorer.
For example:
I have extracted meta files to:
"C:\DIABLO4EX\base\meta\Texture"
and the payload files to:
"C:\DIABLO4EX\base\payload\Texture"
Then run the tool and select "C:\DIABLO4EX\base\meta\Texture" as your Input Texture Directory. Make sure you choose the meta directory, not payload! Now choose any folder you want as your Output Texture Directory. Then hit "Go".
This is will create a 'png' for any 'meta' tex file that has a corresponding 'payload' tex file. Some of them cause the tool to crash, although it still converts them. You will need to remove the offending texture from the meta folder and try again after its converted.
Hope that helps,
Cheers
-
- advanced
- Posts: 62
- Joined: Tue Apr 02, 2019 1:00 am
- Has thanked: 6 times
- Been thanked: 13 times
Re: Diablo IV (.tex) textures
No, it's not a virus. And if someone reports it as one, then prove it. Be specific, not generic. VirusTotal always returns a small number of bogus hits, it's how these companies make money. E.g. If program not signed, then give a false warning.
This seems to explain it. Some non-commerical AV engines are rigged with bogus settings:
"May differ from commercial off-the-shelf product. The company decides the particular settings with which the engine should run in VirusTotal."
Some AVs may just rely on a database of hashes, so if hash not found, then give a false warning.
This seems to explain it. Some non-commerical AV engines are rigged with bogus settings:
"May differ from commercial off-the-shelf product. The company decides the particular settings with which the engine should run in VirusTotal."
Some AVs may just rely on a database of hashes, so if hash not found, then give a false warning.
Last edited by roswell on Thu Jun 15, 2023 3:48 pm, edited 3 times in total.