READ THE RULES: Click here

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

[Wii] Tales of Symphonia 2 - Skit Mugshots

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Romored
beginner
Posts: 20
Joined: Fri May 14, 2010 12:52 pm

[Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Romored » Mon Aug 16, 2010 2:47 pm

The files in this game are mostly Microsoft CABs renamed as general ".bin" files. After I finally understood this, I succeeded in extracting pretty much all of the game models in the disc (it's scary, how poorly protected is this game). There's just one thing I don't understand how to extract: pictures and menu textures (which are all in the same format, I guess). I'm particularly interested in the mugshots that appear during the skit events.
Each skit has its own file, which is supposed to contain all the mugshots needed for that skit (along with the texts, in the final part of the file). I'm not totally certain about it, but I tried to see into them with a GGD tool and glimpsed their shapes, but they were heavily messed up. I think they're compressed in some way, so I've been searching for some particular Wii picture format. I didn't find anything, until now.
I can append a file for example, maybe someone here can find something more.
Thanks!
You do not have the required permissions to view the files attached to this post.

User avatar
Strobe
Moderator
Posts: 414
Joined: Mon Oct 24, 2005 8:52 am
Location: Sweden
Been thanked: 16 times
Contact:

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Strobe » Mon Aug 16, 2010 4:13 pm

Best results ive had so far was slapping a DXT1 header over the image at resolution X=336, (Y doesnt matter at the moment)
and byteflipping the whole texture data by 16 bit. (So that A B becomes B A).
thats when it actually starts too look like something.

Edit: I would assume this is either a DDS variation, or actually one of the Wii formats that has blocks of graphics instead of pixel per pixel. (pretty much the same as with DDS, which could be why the image is actually almost readable when read as an DDS image).
You do not have the required permissions to view the files attached to this post.

Romored
beginner
Posts: 20
Joined: Fri May 14, 2010 12:52 pm

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Romored » Wed Aug 18, 2010 12:02 pm

Thank you for your answer, Strobe!!
Mmmh... So there's nothing that allows to understand how exactly decode this kind of images, into those files.
I'm searching for something helpful among the other files in the disc, but until now I can't find anything >_<
It's strange, because many files in the disc are like this... There must be something...

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Polefish » Sat Aug 21, 2010 9:30 am

Maybe someone will examine these files further and find something out but till then you could try to dump textures with an emulator (Dolphin). That worked quite well for me but its not the real deal.

Romored
beginner
Posts: 20
Joined: Fri May 14, 2010 12:52 pm

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Romored » Sun Aug 22, 2010 10:59 am

Yes, I tried it... It works quite well (and if you already have the Skits Gallery you can rip all the portraits of the characters in about half an hour), but the problem is that Dolphin randomly "discards" the movements of the mouth and of the eyes, and I need all of them... You don't have this problem? If not, can you tell me how can I solve it? Now that I think about it, this is the only problem I have with the game... On my pc it works perfectly, with exception of the skits. Maybe I've to change some options.

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Polefish » Sun Aug 22, 2010 2:08 pm

I only tried to play ARF with the emulator so I cant say anything about ToS. Besides that my pc is too low-end to play at a constant framerate (never over 15FPS).
I hope you used the "dump textures" option under graphics->advanced to rip the portraits. Using it for ARF I got many useless images for almost every frame but the real textures were also dumped e.g. uvmaps of weapons, enviroment and portraits too. (took MUCH diskspace, since I never turned the option off again...)

Romored
beginner
Posts: 20
Joined: Fri May 14, 2010 12:52 pm

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Romored » Tue Aug 24, 2010 8:57 am

Oh, I see >_< Well, it doesn't matter, then. Thank you anyway! Yes, I used the "Dump Textures" feature (doing all the work by hand would be a mess), but the problem is that maybe the skits are drawn in a particular way which Dolphin can't recreate perfectly. Because on the Wii the lips and eyes movements work well, while if you try them on Dolphin they don't.. As I said, it discards some pictures: the character who is talking in that moment should move his mouth, but in Dolphin it just remains either with shut mouth or with open mouth (even if he/she's finished talking)... this isn't good. I don't think that's a problem of frame rate, because ToS2 is maybe the only Wii game that outperforms on my pc (if you don't put a frame limit, it can go two or three times faster than it should go normally!).

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Polefish » Thu Mar 24, 2011 9:16 am

I was browsing the web for infos about imageformats of the wii and stumbled upon this: https://bitbucket.org/delroth/tos2-tools/overview
A temporary repository containing tools and documentation about Tales of Symphonia: Dawn of the New World, a Wii game released by Namco at the end of 2008.
If you dont get the information to encode the images from the repositorie you could try to ask the owner about the images.

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: [Wii] Tales of Symphonia 2 - Skit Mugshots

Post by Polefish » Mon Jun 20, 2011 9:30 pm

With the information I got from delroth I was able to write a quickbms-script to extract the ar.dat. The format of the extracted images is the standard wii tpl one (http://hitmen.c02.at/files/yagcd/yagcd/ ... l#sec15.35).

Since I don't have much experience with writing such scripts it would be nice if someone could check the script and maybe give some recommendations about it. The format of the archive is as follows:
delroth wrote:The format is the following (in a C-like language):

struct header {
uint32_t nfiles;
uint32_t data_offset[nfiles];
};
And here is my first bmsscript

Code: Select all

#written by RetroHelix
#All the real work was done by delroth. I only used his extractor to make this.
#Tales of Symphonia ar.dat extraction

endian big
get nfiles long
for i = 1 to nfiles
	get fileoffset long
	savepos currentpos
	get filesize long
	if filesize > 0
		math filesize -= fileoffset
		log i fileoffset filesize
	else
		get realfsize asize
		math realfsize -= fileoffset
		log i fileoffset realfsize
	endif
	goto currentpos
next i

Post Reply