Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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 »

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 »

Can someone explain what is this file..?

https://www.mediafire.com/?909ravuqm8x8cmz
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

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

Post by howfie »

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 »

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
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

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

Post by howfie »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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