XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Apr 24, 2017 6:27 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: TitanFall 2 MDL format ( fit faces and vertices )
PostPosted: Sun Apr 16, 2017 10:33 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 29, 2011 9:18 pm
Posts: 175
Has thanked: 52 times
Have thanks: 38 times














You can make the ads go away by registering

hello people :D

For days I been trying to obtain models from TitanFall 2 but I have lot of problems using decompiler tools or hex2obj.
This game runs under source engine and the formats used for models is MDL but with some differences.

first, all parts that compose a model in original Source Engine (MDL, VVD, VTX, PHY) are composed in a single file where the mdl section has changed in comparison to the vertex and face sections (VVD and VTX respectively), which mantain the original structure, also all addresses respond to a single big file instead a sectioned file.
the decompiler tools doesn't work due this differences and hex2obj can't figure out a correct mesh because the faces don't fit with vertices

in all models the vertex buffer start with the string IDSV and faces (supposedly) start with a pattern 00 00 01 00 02.

so, I want to know if someone with knowledge of this format can take a look or can share some info, specifically how to fit vertices and faces.

here are some samples and thanks.

EDIT: Some samples works under hex2obj perfectly but other no like imc_grunt_smg.mdl

http://www.mediafire.com/file/ip83mpgig ... humans.rar


Last edited by luxox18 on Sun Apr 16, 2017 11:13 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: TitanFall 2 MDL format ( fit faces and vertices )
PostPosted: Sun Apr 16, 2017 10:53 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 1994
Has thanked: 357 times
Have thanks: 990 times
luxox18 wrote:
hex2obj can't figure out a correct mesh because the faces don't fit with vertices
may depend on the specific model you chose, but for imc_hero_richter.mdl, it's one of the simplest formats I've ever come across. :D

It requires some scrolling through the file, of course, and some "feeling of 3D flow" (people might hate it when I write "experience"):
search for 0000 0100 0200 gives 237 finds, or so.
Well, 0xE7C8 is obviously not a good start. Checked some others, finally 0x24932C looked ok to me.
Next find:
0x253154, size 0x9E28 / 2 -> 20244 face indices (dec.)

max. FI is 6048 (lower left listbox), chosen as vertex count

some scrolling for the vertices, 0x2986C8 looks good
FVF size, 48 obviously, floats, 12 bytes position, 12 bytes normals, uvs to follow? yes
so uv pos is 24:


(in fact it took me more time to write this post than to extract the model, cheers :) )


Attachments:


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


_________________
Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: TitanFall 2 MDL format ( fit faces and vertices )
PostPosted: Sun Apr 16, 2017 11:10 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 29, 2011 9:18 pm
Posts: 175
Has thanked: 52 times
Have thanks: 38 times
shakotay2 wrote:
luxox18 wrote:
hex2obj can't figure out a correct mesh because the faces don't fit with vertices
may depend on the specific model you chose, but for imc_hero_richter.mdl, it's one of the simplest formats I've ever come across. :D

It requires some scrolling through the file, of course, and some "feeling of 3D flow" (people might hate it when I write "experience"):
search for 0000 0100 0200 gives 237 finds, or so.
Well, 0xE7C8 is obviously not a good start. Checked some others, finally 0x24932C looked ok to me.
Next find:
0x253154, size 0x9E28 / 2 -> 20244 face indices (dec.)

max. FI is 6048 (lower left listbox), chosen as vertex count

some scrolling for the vertices, 0x2986C8 looks good
FVF size, 48 obviously, floats, 12 bytes position, 12 bytes normals, uvs to follow? yes
so uv pos is 24:


(in fact it took me more time to write this post than to extract the model, cheers :) )


hahaha thanks but I forgot to say that this doesn't work in all models, that's why I uploaded some samples that works under hex2obj and other no, like imc_grunt_smg.mdl ( sorry for the incomplete info :P (What a shame
:lol: :lol: :lol: ) )


Top
 Profile  
 
 Post subject: Re: TitanFall 2 MDL format ( fit faces and vertices )
PostPosted: Sun Apr 16, 2017 12:03 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 1994
Has thanked: 357 times
Have thanks: 990 times
luxox18 wrote:
and other no, like imc_grunt_smg.mdl
yeah, that's indeed a little bit strange, since the point cloud looks ok

_________________
Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: oqee and 7 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