XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Tue Oct 16, 2018 9:22 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Sun May 13, 2018 7:46 pm 
Offline
n00b

Joined: Sun Jul 09, 2017 1:36 pm
Posts: 13
Has thanked: 1 time
Have thanks: 0 time














You can make the ads go away by registering

The files are extracted from the .TLDAT file from a DLC pack, they could possibly be all model files.

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


Top
 Profile  
 
 Post subject: Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Tue May 15, 2018 2:29 pm 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 08, 2011 10:36 am
Posts: 240
Has thanked: 38 times
Have thanks: 202 times
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.


Top
 Profile  
 
 Post subject: Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Thu May 17, 2018 3:08 am 
Offline
n00b
User avatar

Joined: Wed Aug 12, 2015 11:54 pm
Posts: 19
Has thanked: 0 time
Have thanks: 0 time
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.


Top
 Profile  
 
 Post subject: Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Thu May 17, 2018 9:17 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 08, 2011 10:36 am
Posts: 240
Has thanked: 38 times
Have thanks: 202 times
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.


Top
 Profile  
 
 Post subject: Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Sat May 26, 2018 12:48 am 
Offline
n00b

Joined: Sun Jul 09, 2017 1:36 pm
Posts: 13
Has thanked: 1 time
Have thanks: 0 time
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?


Top
 Profile  
 
 Post subject: Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Sat May 26, 2018 9:34 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 08, 2011 10:36 am
Posts: 240
Has thanked: 38 times
Have thanks: 202 times
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.


Top
 Profile  
 
 Post subject: Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Wed Aug 01, 2018 11:49 pm 
Offline
n00b

Joined: Sun Jul 09, 2017 1:36 pm
Posts: 13
Has thanked: 1 time
Have thanks: 0 time
It has been months waiting for this, and nothing happened
Well, gotta wait for someone to give out support for the bones.


Top
 Profile  
 
 Post subject: Re: [PC] Tales of Beseria - .dps, .dc5, and .dat files
PostPosted: Mon Aug 13, 2018 12:42 am 
Offline
beginner

Joined: Mon Jul 23, 2007 7:11 pm
Posts: 22
Has thanked: 14 times
Have thanks: 12 times
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 (http://forum.xentax.com/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.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: daemon1, Google [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group