Page 1 of 1

Tales of Vesperia

Posted: Mon Apr 09, 2012 7:45 am
by finale00
Looks like someone went and manually reversed a PS3 compression.
Really nice.

Decompress script: viewtopic.php?p=70962#p70962 (works for tales of grace also, so maybe someone can upload samples from there. Textures would be cool also)
Samples: http://www.mediafire.com/?6423f9rml64tsmd

A quick glance I'd guess that the position buffer and index buffer (winding tristrips or whatever it's called) are in plain sight (sounds like a good start). After the index buffer it might be normals or UV's. Then some more structs.

There seems to be multiple FPS4 chunks in a single file. I don't know if there's any significance to that.
Of course, it is big endian.

Re: Tales of Vesperia

Posted: Mon Apr 09, 2012 9:34 am
by howfie
Lol 3 days and 40 lines of code. Interesting lol.

Re: Tales of Vesperia

Posted: Mon Apr 09, 2012 9:43 am
by finale00
Could probably squeeze it down to 10 if you abuse short-hand, ignore "unnecessary" variable assignments, import all your modules in one line, cut out those pointless white-space that's only there for readibility, throw that decompress function into a lambda call, don't bother declaring that constant at the top, etc etc

He probably got a lot out of it though. And he codes with good style (:

Re: Tales of Vesperia

Posted: Mon Apr 09, 2012 10:42 am
by StorMyu
finale00, do you have names for the files or you're just guessing ?
Because I'd be interested in the "Dhaos" model file from Tales of Vesperia =p

Re: Tales of Vesperia

Posted: Mon Apr 09, 2012 10:45 am
by finale00
You'll have to ask the guy that uploaded these samples in that compression thread. I don't have the game.

But man, dhaos is still in the story? Didn't he get beaten around in like pretty much every game since way back in SNES.
And he looks even weaker in vesperia.

Re: Tales of Vesperia

Posted: Mon Apr 09, 2012 2:48 pm
by StorMyu
finale00 wrote:But man, dhaos is still in the story? Didn't he get beaten around in like pretty much every game since way back in SNES.
Yeah he's just a Cameo battle along with Kratos from Tales of Symphonia and Shizel from Tales of Eternia and Barbatos from Tales of Destiny.
I'm just interested in a 3D model of Dhaos actually =p
http://www.youtube.com/watch?v=3bvlqOgqRzc
Still never tried to touch 3D files though... could be a fun experiment.

Re: Tales of Vesperia

Posted: Wed Apr 11, 2012 7:32 pm
by finale00
OH I get it lol it's an offset table at the beginning of each FPS block that gives offsets and sizes and stuff.

The first FPS block points to other FPS blocks, while subsequent FPS blocks point to various chunks relative to the start of their block.

Will need more samples to determine whether there really are only 5 FPS blocks per file.

Re: Tales of Vesperia

Posted: Wed May 30, 2012 8:26 pm
by prototypesky
For tales of graces Wii does anyone know which files holds the Characters Models?