XeNTaX
http://forum.xentax.com/

Extracting simple models
http://forum.xentax.com/viewtopic.php?f=29&t=10894
Page 18 of 18

Author:  cornal [ Mon Mar 20, 2017 5:22 pm ]
Post subject:  Re: Extracting simple models

Thank you so much @Shakotay2 and @AceWell for you time :) , I'm really very noob on this hex signature, I'm really wanna learn this type of things, since I'm a model collector not a modder, and I a little bit obsessed with GT4 and Enthusia Professional Racing models, and your are very occupied with FH3 and other games, so i wanna learn and form part of contributors and help to extract models.

By the moment, only know I have spent some time learning about floats, Dwords and so, maybe find a good tutorial about this :)

Author:  netslave [ Sat Apr 15, 2017 8:50 am ]
Post subject:  Help needed on possible model files

Hi all, I recently made it a mission of mine to be able to mod this game - AFL Evolution
http://store.steampowered.com/app/435020
I downloaded the demo and managed to extract the .pak file. I then got access to the texture files, shaders, animations a bunch of dat files in some format but I seem to be unable to spot the model files.
There are some files that I think may be model files but I'm unsure, I havent been able to open them in 3dsmax or blender by changed their file extensions etc.
Would someone be able to confirm if these are indeed model files or not?
I have included some of the files here:
https://www.dropbox.com/s/5g6np2vrh60nxa7/body.rar?dl=0
Thanks for any help.

Author:  shakotay2 [ Sat Apr 15, 2017 10:25 am ]
Post subject:  Re: Help needed on possible model files

netslave wrote:
Hi all, I recently made it a mission of mine
personal missions are always welcome here :D
Yes, seems like *.wwm is models but, the body_00 (upper part of picture) doesn't show up well. Maybe the 4 bytes offset is in between the face indices (instead of a b c zero) or something else (tri strips), dunno.
Also there's a lot of submeshes.

The shoe, well, look at its structure (lower part of pic): no constant block size, you could try to read some vertices, of course, in case you're a coder (the 02 000000 blocks are 8 bytes bigger than the 01 000000 xx 000000 blocks).
Also for some unknown reason a skeleton (hips, spine, hand, arm, leg) is contained at the end of shoe_00.wwm.
(btw: since the data looks like matrices there's also a good chance that this is an animation file. At 0x100 a supposed frame count? of 375)

Author:  netslave [ Sat Apr 15, 2017 11:21 am ]
Post subject:  Re: Help needed on possible model files

shakotay2 wrote:
netslave wrote:
Hi all, I recently made it a mission of mine
personal missions are always welcome here :D
Yes, seems like *.wwm is models but, the body_00 (upper part of picture) doesn't show up well. Maybe the 4 bytes offset is in between the face indices (instead of a b c zero) or something else (tri strips), dunno (at 0x100 a supposed vertex count of 375 for first SM).
Also there's a lot of submeshes.


Thanks for your input shakotay2, much appreciated.

edit*
Just as a follow up, as this was too much for my puny brain and lack of skills to figure out I ended up using a program called RenderDoc.
I ran that program and attached it to steam.exe and specified to hook child processes and managed to grab the models that way.

Author:  dibe91 [ Mon May 15, 2017 7:09 am ]
Post subject:  Re: Extracting simple models

Recently a cell phone game called a warhammer 40,000 freeblade. I would like to retrieve models. The graphics engine should be unity and I should find the right tools, but I just wanted to know if I took the folder that you managed to open the archives.

Author:  Jamal al dambali [ Mon May 22, 2017 2:14 pm ]
Post subject:  Re: Extracting simple models

Hi. Please, help me with UV.
what am I doing wrong?

https://www.youtube.com/watch?v=ZQBrCIAoTHM


Link to the archive with 3d models:

https://yadi.sk/d/z5BTzdSt3JNLQK

Author:  AceWell [ Mon May 22, 2017 5:23 pm ]
Post subject:  Re: Extracting simple models

you had your UV position the same as the stride length which is not possible, if the UV
position is at 32 and the stride is also 32 there is no more room left in the stride. :)
if your data type is set to float, the UVs are no less than 8 bytes and this length is
accounted for in the stride, at least in your sample.

the sample states "xyznuvtb"
12 bytes for XYZ point position
4 bytes for normals
8 bytes for UV
and 8 bytes left for "t" and "b" data
12 + 4 + 8 + 8 = 32

Author:  Jamal al dambali [ Mon May 22, 2017 8:11 pm ]
Post subject:  Re: Extracting simple models

AceWell wrote:
you had your UV position the same as the stride length which is not possible, if the UV
position is at 32 and the stride is also 32 there is no more room left in the stride. :)
if your data type is set to float, the UVs are no less than 8 bytes and this length is
accounted for in the stride, at least in your sample.

the sample states "xyznuvtb"
12 bytes for XYZ point position
4 bytes for normals
8 bytes for UV
and 8 bytes left for "t" and "b" data
12 + 4 + 8 + 8 = 32


Cool! Thank you so much!

Page 18 of 18 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/