Hi guys,
here is some samples of Diablo 3 textures files.
Could someone take a look and find a way to convert this .tex (textures files) into dds or tga files ?
Thanks.
file : http://dl.free.fr/q1mpHIHGZ/D3_sample.rar
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Textures of Beta Diablo 3, ".tex" files converter needed :)
Re: Textures of Beta Diablo 3, ".tex" files converter needed
Tabris wrote:Hi guys,
here is some samples of Diablo 3 textures files.
Could someone take a look and find a way to convert this .tex (textures files) into dds or tga files ?
Thanks.
file : http://dl.free.fr/q1mpHIHGZ/D3_sample.rar
Re: Textures of Beta Diablo 3, ".tex" files converter needed
I've tried severals "Tex to tga" converters, and for now.. nothing
-
- advanced
- Posts: 45
- Joined: Fri Dec 18, 2009 5:26 pm
- Has thanked: 2 times
- Been thanked: 3 times
Re: Textures of Beta Diablo 3, ".tex" files converter needed
open file via F3 in total commander and you will see that its not normal texture but just container. Second half of file looks like it contains small data streams but i didnt found what format it is or how it is xored bcause im short of timeTabris wrote:I've tried severals "Tex to tga" converters, and for now.. nothing
Re: Textures of Beta Diablo 3, ".tex" files converter needed
I don't have Total commander .
Here is a new package made from new assets of the lastest patch : http://dl.free.fr/muRbxNBnU/afterpatch.rar
Here is a new package made from new assets of the lastest patch : http://dl.free.fr/muRbxNBnU/afterpatch.rar
Re: Textures of Beta Diablo 3, ".tex" files converter needed
SirLoon, I also can not find that kind of format. The only thing that I realized that some blocks are repeated at intervals of 48 characters. I understand that in this container are the TGA data files and maybe even some information. Perhaps in archives.
-
- advanced
- Posts: 45
- Joined: Fri Dec 18, 2009 5:26 pm
- Has thanked: 2 times
- Been thanked: 3 times
Re: Textures of Beta Diablo 3, ".tex" files converter needed
i already tryed tga files and it doesnt works. first block is kinda weird it looks to be identical to headers of next blocksnoopic wrote:SirLoon, I also can not find that kind of format. The only thing that I realized that some blocks are repeated at intervals of 48 characters. I understand that in this container are the TGA data files and maybe even some information. Perhaps in archives.
Re: Textures of Beta Diablo 3, ".tex" files converter needed
this is Diablo III's new format, the first 40 byte ("DEADBEEF" header) is just a generic header,
after that comes data that is unique to every filetype, but normaly an offset table follows
the game uses file ext to find out how to read the file,
tex files are container,
a simple bms script to extract raw data: (still not readable, but better to analys)
after that comes data that is unique to every filetype, but normaly an offset table follows
the game uses file ext to find out how to read the file,
tex files are container,
a simple bms script to extract raw data: (still not readable, but better to analys)
Code: Select all
goto 0x34
get numFiles long
for x = 0 to numFiles
get Offset long
get Size long
math Offset += 16
set Name x
string Name += ".tex"
log Name Offset Size
next x
-
- advanced
- Posts: 45
- Joined: Fri Dec 18, 2009 5:26 pm
- Has thanked: 2 times
- Been thanked: 3 times
Re: Textures of Beta Diablo 3, ".tex" files converter needed
you extracted one capsule but you need extract rest. find offset 0x12368 and its start of header of some file which looks xored, there are many of themFalo wrote:this is Diablo III's new format, the first 40 byte ("DEADBEEF" header) is just a generic header,
after that comes data that is unique to every filetype, but normaly an offset table follows
the game uses file ext to find out how to read the file,
tex files are container,
a simple bms script to extract raw data: (still not readable, but better to analys)Code: Select all
goto 0x34 get numFiles long for x = 0 to numFiles get Offset long get Size long math Offset += 16 set Name x string Name += ".tex" log Name Offset Size next x
Re: Textures of Beta Diablo 3, ".tex" files converter needed
nope, that's filelists, i'm not talking about the mpq's, every file inside the D3 MPQ's has the DEADBEEF header.Tabris wrote:The files you're talking about, could that be these list files ?
http://dl.free.fr/viwQRMCWy
there is no xored part ? your offset 0x12368 points directly into the raw texturesSirLoon wrote:you extracted one capsule but you need extract rest. find offset 0x12368 and its start of header of some file which looks xored, there are many of them
*.tex files are:
- 0xDEADBEEF header
- offset table (if more then 1 file, then every other file is a mip-map)
- original file names (before converting to *.tex) & some unknown data
- raw textures
the script extracts only the raw image (RGB8888), this is already viewable with texturefinder,
we need to find out what the unknown data is to extract real images.
i just don't really care about textures to do that, i'm more for 3D Models ^^
Re: Textures of Beta Diablo 3, ".tex" files converter needed
Nice how did you do that ? take a look on their 3d models could also be interesting
-
- advanced
- Posts: 45
- Joined: Fri Dec 18, 2009 5:26 pm
- Has thanked: 2 times
- Been thanked: 3 times
Re: Textures of Beta Diablo 3, ".tex" files converter needed
i know about deadbeef, thats from diablo since 1.10 patch, but i dont know structure of tex fileFalo wrote:nope, that's filelists, i'm not talking about the mpq's, every file inside the D3 MPQ's has the DEADBEEF header.Tabris wrote:The files you're talking about, could that be these list files ?
http://dl.free.fr/viwQRMCWy
there is no xored part ? your offset 0x12368 points directly into the raw texturesSirLoon wrote:you extracted one capsule but you need extract rest. find offset 0x12368 and its start of header of some file which looks xored, there are many of them
*.tex files are:
- 0xDEADBEEF header
- offset table (if more then 1 file, then every other file is a mip-map)
- original file names (before converting to *.tex) & some unknown data
- raw textures
the script extracts only the raw image (RGB8888), this is already viewable with texturefinder,
we need to find out what the unknown data is to extract real images.
i just don't really care about textures to do that, i'm more for 3D Models ^^
-
- beginner
- Posts: 20
- Joined: Sun Aug 15, 2010 9:48 am
Re: Textures of Beta Diablo 3, ".tex" files converter needed
Hey Falo! How to extract D3's mpq and how to open model of diablo 3