XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Tue Oct 23, 2018 10:11 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 119 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: Textures of Beta Diablo 3, ".tex" files converter needed :)
PostPosted: Thu Sep 08, 2011 9:44 am 
Offline
n00b

Joined: Thu Jan 27, 2011 2:56 am
Posts: 16
Has thanked: 0 time
Have thanks: 0 time

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

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 10:43 am 
Offline
ultra-n00b

Joined: Mon Jul 05, 2010 6:53 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
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


:keke:


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 1:14 pm 
Offline
n00b

Joined: Thu Jan 27, 2011 2:56 am
Posts: 16
Has thanked: 0 time
Have thanks: 0 time
I've tried severals "Tex to tga" converters, and for now.. nothing :(


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 1:25 pm 
Offline
advanced

Joined: Fri Dec 18, 2009 5:26 pm
Posts: 45
Has thanked: 2 times
Have thanks: 3 times
Tabris wrote:
I've tried severals "Tex to tga" converters, and for now.. nothing :(

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 time


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 3:35 pm 
Offline
n00b

Joined: Thu Jan 27, 2011 2:56 am
Posts: 16
Has thanked: 0 time
Have thanks: 0 time
:D I don't have Total commander :ninja: .

Here is a new package made from new assets of the lastest patch : http://dl.free.fr/muRbxNBnU/afterpatch.rar


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 4:50 pm 
Offline
ultra-n00b

Joined: Thu Sep 08, 2011 4:43 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
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.


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 5:29 pm 
Offline
advanced

Joined: Fri Dec 18, 2009 5:26 pm
Posts: 45
Has thanked: 2 times
Have thanks: 3 times
noopic 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.

i already tryed tga files and it doesnt works. first block is kinda weird it looks to be identical to headers of next blocks


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 6:28 pm 
Offline
advanced
User avatar

Joined: Fri Oct 23, 2009 1:29 pm
Posts: 78
Has thanked: 0 time
Have thanks: 33 times
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:
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


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 8:04 pm 
Offline
n00b

Joined: Thu Jan 27, 2011 2:56 am
Posts: 16
Has thanked: 0 time
Have thanks: 0 time
The files you're talking about, could that be these list files ?

http://dl.free.fr/viwQRMCWy


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Thu Sep 08, 2011 8:23 pm 
Offline
advanced

Joined: Fri Dec 18, 2009 5:26 pm
Posts: 45
Has thanked: 2 times
Have thanks: 3 times
Falo 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:
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

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


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Fri Sep 09, 2011 12:42 am 
Offline
advanced
User avatar

Joined: Fri Oct 23, 2009 1:29 pm
Posts: 78
Has thanked: 0 time
Have thanks: 33 times
Tabris wrote:
The files you're talking about, could that be these list files ?

http://dl.free.fr/viwQRMCWy

nope, that's filelists, i'm not talking about the mpq's, every file inside the D3 MPQ's has the DEADBEEF header.

SirLoon 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


there is no xored part ? your offset 0x12368 points directly into the raw textures

*.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 ^^
Image


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Fri Sep 09, 2011 7:04 am 
Offline
n00b

Joined: Thu Jan 27, 2011 2:56 am
Posts: 16
Has thanked: 0 time
Have thanks: 0 time
Nice how did you do that ? take a look on their 3d models could also be interesting :)


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Fri Sep 09, 2011 7:57 am 
Offline
advanced

Joined: Fri Dec 18, 2009 5:26 pm
Posts: 45
Has thanked: 2 times
Have thanks: 3 times
Falo wrote:
Tabris wrote:
The files you're talking about, could that be these list files ?

http://dl.free.fr/viwQRMCWy

nope, that's filelists, i'm not talking about the mpq's, every file inside the D3 MPQ's has the DEADBEEF header.

SirLoon 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


there is no xored part ? your offset 0x12368 points directly into the raw textures

*.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 ^^
Image

i know about deadbeef, thats from diablo since 1.10 patch, but i dont know structure of tex file :(


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Fri Sep 09, 2011 10:06 am 
Offline
advanced

Joined: Fri Dec 18, 2009 5:26 pm
Posts: 45
Has thanked: 2 times
Have thanks: 3 times
The contents of this post was deleted because of possible forum rules violation.


Top
 Profile  
 
 Post subject: Re: Textures of Beta Diablo 3, ".tex" files converter needed
PostPosted: Fri Sep 09, 2011 12:44 pm 
Offline
beginner

Joined: Sun Aug 15, 2010 9:48 am
Posts: 20
Has thanked: 0 time
Have thanks: 0 time
Hey Falo! How to extract D3's mpq and how to open model of diablo 3



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 119 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group