Page 1 of 4

Crossout extraction models(.pak)

Posted: Fri Jul 22, 2016 9:51 pm
by Panasonic
Hi.
This site (zenhax.com) helped extract from .pak, files such as: mdl-msh000, tfd and others. Need help to convert them in a convenient format(.obj)
Image

A folder with the files after extraction:
https://yadi.sk/d/ILSWawMxtYdqT

Re: Crossout extraction models(.pak)

Posted: Fri Jul 22, 2016 10:18 pm
by shakotay2
uvs are a little bit funny - have to be zoomed. (Dunno why where so much empty space between the parts.)
mustang-mdl-msh000.jpg

Re: Crossout extraction models(.pak)

Posted: Fri Jul 22, 2016 10:40 pm
by Acewell
shakotay beat me to it :D

0x08 - vertex stride
0x0c - number of vertices
0x10 - number of face indices

textures are dds and are in some kind of headerless uncompressed tfd archive
i guess the archive index is in the tfh file

Re: Crossout extraction models(.pak)

Posted: Sat Jul 23, 2016 7:21 pm
by Panasonic
I'm stupid to figure it out (: thanks for the help

Re: Crossout extraction models(.pak)

Posted: Sun Jul 24, 2016 11:01 am
by Panasonic
I can not find value: startaddr 0x(step 1)

Re: Crossout extraction models(.pak)

Posted: Sun Jul 24, 2016 12:12 pm
by Acewell
here you go :D
engine_v8_epic.mdl-msh000.png

Re: Crossout extraction models(.pak)

Posted: Sun Jul 24, 2016 12:15 pm
by Panasonic
how do you get this value? I do not understand :(

Re: Crossout extraction models(.pak)

Posted: Sun Jul 24, 2016 1:15 pm
by Acewell
experience with pattern recognition, but sometimes the offset are given to you and sometimes are not.
when they are not you just have to trace where the patterns start and end.
To find the vertex block start address i usually set the column width in the hex editor the same as the vertex stride
and the face indices are easier to find because just like the tutorial says,
they look like a scrambled alphabet then you just trace it back to where it doesn't look like that and test it :D

Re: Crossout extraction models(.pak)

Posted: Sun Jul 24, 2016 2:06 pm
by Panasonic
AceWell, Thank you very much! Thank you guys :D How to get UVs? Textures wrong lie.

Re: Crossout extraction models(.pak)

Posted: Mon Jul 25, 2016 3:25 pm
by Acewell
All you have to do is enter the numbers you see in the image then go to "File > SaveAs mesh"
to save the mesh with UVs. Then you import the mesh into your favorite 3d software,
you may need to flip the mesh normals so they point out and you might need to flip the UVs vertical or may
even need to scale them up or down so they line up with the image.
i don't know for sure because there were no texture samples to check :)

Crossout (.mdl-msh000)

Posted: Wed Aug 03, 2016 4:27 am
by Acewell
i made a Noesis python script to open your mdl-msh000 model samples :D
*script updated April 3, 2018*
fmt_Crossout_mdl-msh000.zip

Re: Crossout extraction models(.pak)

Posted: Wed Sep 20, 2017 10:29 pm
by Turbozis
AceWell wrote:i made a Noesis python script to open your mdl-msh000 model samples :D
fmt_Crossout_mdl-msh000.zip
Recieving an error while trying to use it

Code: Select all

Traceback (most recent call last):
  File "C:\Users\user\Desktop\noesisv4293\plugins\python\fmt_Crossout_mdl-msh000.py", line 22, in noepyLoadModel
    VBuf = bs.readBytes(VCount * VBytes)
  File "C:\Users\user\Desktop\noesisv4293\plugins\python\inc_noesis.py", line 125, in readBytes
    return noesis.bsReadBytes(self.h, numBytes)
OverflowError: Python int too large to convert to C long

Re: Crossout extraction models(.pak)

Posted: Thu Sep 21, 2017 6:56 pm
by Karpati
You can use the 3D Object Converter (Windows) or i3DConverter (macOS) to open these files also.

Re: Crossout extraction models(.pak)

Posted: Fri Sep 22, 2017 7:27 am
by Turbozis
Karpati wrote:You can use the 3D Object Converter (Windows) or i3DConverter (macOS) to open these files also.
Either I'm stupid or this doesn't seem to work

Re: Crossout extraction models(.pak)

Posted: Fri Sep 22, 2017 2:52 pm
by Karpati
Turbozis wrote:Either I'm stupid or this doesn't seem to work
It works fine. Just open the *.mdl-msh000 file.