XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Sep 24, 2017 5:06 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Mon May 12, 2014 4:26 pm 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times














You can make the ads go away by registering

Hi, I deleted my latest post since I found what was the problem.
There are unknown 2types of .TOTEXB files. Here is it. https://www.mediafire.com/?xl8gww1aflwu2vo

Since chrrox's DDS script does not containing
'if type == 0x85', so 19010.TOTEXB can not be converted correctly. Look at it.

<another type> Header - 19010.TOTEXB
Image

So, I think
Code:
if type == 0x85
putVarChr MEMORY_FILE2 0x?? 0x?? byte
endif
should be added to bms script but I wonder what is the value of '??'.
However, the most important thing for me is the font file. It has a unique value.

<font file> Header - 19996.TOTEXB
Image

All of the other files at 0xC and 0x13 is 0, however font file is not 0 but 01 at 0xC and 10 at 0x13.
So 'get null short 1' should be changed for 19996.TOTEXB. What does 10 means..?
And How could I modified chrrox's DDS script..? In the chrrox's script, there are already 'if type == 0x86' but all of other files at 0x13 is 0.
So font file is different from other 0x86 types. I need some help. :)

I upload chrrox's bms script rather than post it. Because it is too long.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Thu May 15, 2014 11:55 am 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
Can someone explain what is this file..?

https://www.mediafire.com/?909ravuqm8x8cmz


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Thu May 15, 2014 11:58 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Fri Jul 08, 2011 12:06 pm
Posts: 927
Location: Torrance, CA
Has thanked: 9 times
Have thanks: 254 times
looks like font-related files.


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Fri May 16, 2014 2:54 am 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
howfie wrote:
looks like font-related files.


Yeah. I agree with you. But it is hard to figure it out..
For all of the other types, there are no problems to convert it to DDS.
Image

But the 2 unknown types which I mentioned has broken image.
For example, 19996.TOTEXP Image.
Look at 19996.TOTEXB, the dimension of the image should be 512x512 and DTX1 because 02 at 0x15.

But if I watch it on width 1024 via TextureFinder v2.1, it seems different.
<WIDTH 1024, SHIFT 0>
Image

<WIDTH 1024, SHIFT 8>
Image


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Fri May 16, 2014 11:16 am 
Offline
double-veteran
double-veteran
User avatar

Joined: Fri Jul 08, 2011 12:06 pm
Posts: 927
Location: Torrance, CA
Has thanked: 9 times
Have thanks: 254 times
good news:
encoding is actually DXT5, and the dimensions are indeed 512 x 512.
that one file contains sixteen pages of 512x512 DXT5 images.

bad news:
i think data is swizzled. neither morton nor XGUntileSurface. doesn't seem complex.
sorry, don't have time to spend to figure it out. it's something simple though, maybe perhaps as easy as
http://fgiesen.wordpress.com/2011/01/17 ... swizzling/


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Fri May 16, 2014 1:00 pm 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
howfie wrote:
good news:
encoding is actually DXT5, and the dimensions are indeed 512 x 512.
that one file contains sixteen pages of 512x512 DXT5 images.

bad news:
i think data is swizzled. neither morton nor XGUntileSurface. doesn't seem complex.
sorry, don't have time to spend to figure it out. it's something simple though, maybe perhaps as easy as
http://fgiesen.wordpress.com/2011/01/17 ... swizzling/


Thanks. Now, I just waiting for someone who can afford it.


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Sat May 17, 2014 4:12 pm 
Offline
ultra-n00b

Joined: Mon Dec 12, 2011 10:59 am
Posts: 7
Has thanked: 2 times
Have thanks: 4 times
albert1905 wrote:
howfie wrote:
good news:
encoding is actually DXT5, and the dimensions are indeed 512 x 512.
that one file contains sixteen pages of 512x512 DXT5 images.

bad news:
i think data is swizzled. neither morton nor XGUntileSurface. doesn't seem complex.
sorry, don't have time to spend to figure it out. it's something simple though, maybe perhaps as easy as
http://fgiesen.wordpress.com/2011/01/17 ... swizzling/


Thanks. Now, I just waiting for someone who can afford it.


DXT1


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Sat May 17, 2014 5:13 pm 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
powoct wrote:
albert1905 wrote:
howfie wrote:
good news:
encoding is actually DXT5, and the dimensions are indeed 512 x 512.
that one file contains sixteen pages of 512x512 DXT5 images.

bad news:
i think data is swizzled. neither morton nor XGUntileSurface. doesn't seem complex.
sorry, don't have time to spend to figure it out. it's something simple though, maybe perhaps as easy as
http://fgiesen.wordpress.com/2011/01/17 ... swizzling/


Thanks. Now, I just waiting for someone who can afford it.


DXT1

Wow. Amazing. How did you do that?
Could you show me the way how to deswizzle and swizzle again..? Is it possible to edit the font file..?


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Sun May 18, 2014 6:47 am 
Offline
ultra-n00b

Joined: Mon Dec 12, 2011 10:59 am
Posts: 7
Has thanked: 2 times
Have thanks: 4 times
font edit test
Image
Image


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Sun May 18, 2014 10:17 am 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
powoct wrote:
font edit test


Uhm.. Why did you just post a image..?


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Sun May 18, 2014 9:52 pm 
Offline
n00b

Joined: Thu Oct 25, 2012 11:10 am
Posts: 11
Has thanked: 0 time
Have thanks: 0 time
I have a small question. Does this mean we can now rip models from the game?


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Mon May 19, 2014 1:09 am 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
jrush wrote:
I have a small question. Does this mean we can now rip models from the game?


No. It's not. The subject of this thread is not concerned with model. It's about 2D texture.
But anyway.. since powoct doesn't explain anything so niether one of us can understand it.


Top
 Profile  
 
 Post subject: Re: Tales of Xillia - Unkown 2types of .TOTEXB.
PostPosted: Sun Sep 10, 2017 3:24 am 
Offline
ultra-n00b

Joined: Wed Sep 06, 2017 3:37 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
I know this thread is dead, but did anyone ever figure out how powoct was able to decode the page that he did from this texture?


powoct wrote:

DXT1

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 9 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