[PC] Tales of Beseria - .dps, .dc5, and .dat files

Post questions about game models here, or help out others!
Post Reply
andree
n00b
Posts: 19
Joined: Sun Jul 09, 2017 1:36 pm
Has thanked: 1 time

[PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by andree » Sun May 13, 2018 7:46 pm

The files are extracted from the .TLDAT file from a DLC pack, they could possibly be all model files.
[url=https://zenhax.com/download/file.php?mode=view&id=4574]TOB .dps, .dc5, and .dat files.rar[/url]
.dps files are found in TOMDLB_D folder, .dc5 and .dat files are found in TOMDLP_P folder.
The model itself is not the only thing I needed, the bones of the model are inside in one of the file types (.dps, .dc5, and .dat) and when the bones-like files are found, they have to be converted!

akderebur
ultra-veteran
ultra-veteran
Posts: 325
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 44 times
Been thanked: 291 times

Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by akderebur » Tue May 15, 2018 2:29 pm

I was able to find the model data easily for some of the dat files, but no luck with ".dc5" files.

Here is "00000000000000a3.dat" for example.

Image

For "00000000000000c6.dc5" these should be the correct values, but it doesn't work.

Image

As you can from the ss, the first float is always NaN, and actually the next 2 floats look like uvs. Vertex positions might be somewhere else in the block, but I couldn't find them. The block size isn't that big anyway, so it might be that they are not floats.

I hope someone can help me with this.

Edit :

I noticed this immediately after posting. For the first dat with 52 bytes blocks, the UVs are right after "FF FF FF FF". In the "dc5" files the blocks start with "FF FF FF FF" and like I said it is probably followed by uvs.

So it is like the ".dc5" files have blocks that are missing the first 24 bytes. It felt relevant, so I wanted to note this.

Edit 2 :

Nevermind, I got it working.

Image

The format isn't that hard, but it is troublesome that the model data is scattered across multiple files. I have found the vertex positions/normals in the dpd file, and uvs/indices are in dc5.

Also vertex block lengths are chaotic in dpd files. It started out with 28 bytes, then switched to 32 bytes, and lastly 36 bytes. This is for the vertex blocks of a single object.

Maybe I can write a tool for this, but not many people seem to be interested in this game/series.

User avatar
kurokairaku
beginner
Posts: 20
Joined: Wed Aug 12, 2015 11:54 pm

Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by kurokairaku » Thu May 17, 2018 3:08 am

I'll probably make good use out of a tool that can extract models directly from the game. I already extracted all base models form the game using Ninja Ripper at the time, even rigged up the main cast customly with the help of a third party, though grabbing out the raws would be a definitely nice thing. At the very least I'd support someone doing such a thing.

akderebur
ultra-veteran
ultra-veteran
Posts: 325
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 44 times
Been thanked: 291 times

Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by akderebur » Thu May 17, 2018 9:17 am

kurokairaku wrote:even rigged up the main cast customly with the help of a third party
That sounds like a lot of work. If I make a tool, I am planning to add skeleton support too.

I have some free time next week. So I will take a look, and might possibly start working on a tool.

andree
n00b
Posts: 19
Joined: Sun Jul 09, 2017 1:36 pm
Has thanked: 1 time

Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by andree » Sat May 26, 2018 12:48 am

akderebur wrote:
kurokairaku wrote:even rigged up the main cast customly with the help of a third party
That sounds like a lot of work. If I make a tool, I am planning to add skeleton support too.

I have some free time next week. So I will take a look, and might possibly start working on a tool.
It was been a week, is there any progress on that tool you are working on and the skeleton support?

akderebur
ultra-veteran
ultra-veteran
Posts: 325
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 44 times
Been thanked: 291 times

Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by akderebur » Sat May 26, 2018 9:34 am

andree wrote: It was been a week, is there any progress on that tool you are working on and the skeleton support?
No progress atm. I didn't have the time to start working on a tool. I have been a bit busy and also working on another game.

I don't know when I will make a tool, but ToB is kind of high priority. I will get to it, when I have enough time.

andree
n00b
Posts: 19
Joined: Sun Jul 09, 2017 1:36 pm
Has thanked: 1 time

Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by andree » Wed Aug 01, 2018 11:49 pm

It has been months waiting for this, and nothing happened
Well, gotta wait for someone to give out support for the bones.

Simguy
beginner
Posts: 22
Joined: Mon Jul 23, 2007 7:11 pm
Has thanked: 15 times
Been thanked: 12 times

Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files

Post by Simguy » Mon Aug 13, 2018 12:42 am

I think I figured it out. I wrote a noesis script seems to work for the most part (Except everything is mirrored and face morphs don't work). Tales of Berseria Tools (viewtopic.php?f=33&t=17346) can extract Textures with names so that helps a little. Everything else is a mess which makes finding things a pain.

Select a TOMDLB_D and the script will ask you for the corresponding TOMDLP_P which will be the one next to it (Ex: 00003975_11fed272.TOMDLB_D and 00003976_11fe7099.TOMDLP_P are Velvet's Body) the script will then ask you for the TOMDLB_D that contains the Skeleton the model is built off of. This part will be rough if you need one that isn't 00001740_2eb14f7f.TOMDLB_D (That one works with Velvet's stuff) because otherwise you'll have to go datamining in 00001610_dde1b2fa.DAT and start matching model names to skeletons. If you pick the wrong skeleton the script will yell at you.

I would have liked to streamline this process but this is the best I could come up with.
You do not have the required permissions to view the files attached to this post.

Post Reply