READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Tales of Xillia - Unkown 2types of .TOTEXB.

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Tales of Xillia - Unkown 2types of .TOTEXB.

Post by albert1905 » Mon May 12, 2014 4:26 pm

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: Select all

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.
You do not have the required permissions to view the files attached to this post.

albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by albert1905 » Thu May 15, 2014 11:55 am

Can someone explain what is this file..?

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

User avatar
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 9 times
Been thanked: 263 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by howfie » Thu May 15, 2014 11:58 pm

looks like font-related files.

albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by albert1905 » Fri May 16, 2014 2:54 am

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

User avatar
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 9 times
Been thanked: 263 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by howfie » Fri May 16, 2014 11:16 am

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/

albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by albert1905 » Fri May 16, 2014 1:00 pm

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.

powoct
ultra-n00b
Posts: 7
Joined: Mon Dec 12, 2011 10:59 am
Has thanked: 2 times
Been thanked: 4 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by powoct » Sat May 17, 2014 4:12 pm

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
You do not have the required permissions to view the files attached to this post.

albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by albert1905 » Sat May 17, 2014 5:13 pm

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..?

powoct
ultra-n00b
Posts: 7
Joined: Mon Dec 12, 2011 10:59 am
Has thanked: 2 times
Been thanked: 4 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by powoct » Sun May 18, 2014 6:47 am

font edit test
Image
Image
Last edited by powoct on Thu Dec 07, 2017 9:10 am, edited 1 time in total.

albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by albert1905 » Sun May 18, 2014 10:17 am

powoct wrote:font edit test
Uhm.. Why did you just post a image..?

jrush
n00b
Posts: 11
Joined: Thu Oct 25, 2012 11:10 am

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by jrush » Sun May 18, 2014 9:52 pm

I have a small question. Does this mean we can now rip models from the game?

albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by albert1905 » Mon May 19, 2014 1:09 am

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.

Hideki
ultra-n00b
Posts: 1
Joined: Wed Sep 06, 2017 3:37 am

Re: Tales of Xillia - Unkown 2types of .TOTEXB.

Post by Hideki » Sun Sep 10, 2017 3:24 am

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

Post Reply