READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Crossout extraction models(.pak)

Post questions about game models here, or help out others!
Gazyi
n00b
Posts: 19
Joined: Sat Feb 15, 2014 4:07 pm
Has thanked: 11 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by Gazyi » Fri Dec 15, 2017 5:33 pm

http://www.mediafire.com/file/md8gvapa4 ... ut_smpl.7z

I know that texture is DTX5 (I opened it with Texture Finder and partially exported), but probably it's bigger than 2k and not square.
About model script - I tried models from latest client and it worked. Looks like it doesn't work with models from 0.6. However, 3D Object Converter opens them correctly.

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2392 times
Been thanked: 730 times

Re: Crossout extraction models(.pak)

Post by Acewell » Fri Dec 15, 2017 9:08 pm

thanks! i have updated the Noesis python texture script here :D
viewtopic.php?p=134377#p134377

edit
Gazyi wrote: Looks like it doesn't work with models from 0.6.
then you will need to provide me some of these "0.6" models.
all samples i have are working with the Noesis python script.

Gazyi
n00b
Posts: 19
Joined: Sat Feb 15, 2014 4:07 pm
Has thanked: 11 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by Gazyi » Sat Dec 16, 2017 12:23 pm

Thanks, now it works with most textures, but some still has problems - some with pixel messed, some give "WARNING: Not enough texture data for specified image type!" -can't be previewed or exported, and some use BGRA888.
Sorry, looks like I put mesh from latest version.
New archive - sample textures with problems (smpl.txt contains resolutions and image formats at which TextureFinder gives best results for each texture sample) and 0.6.0 mesh.
http://www.mediafire.com/file/c4jqv73ia ... x_smpl.rar

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2392 times
Been thanked: 730 times

Re: Crossout extraction models(.pak)

Post by Acewell » Sun Dec 17, 2017 4:57 am

okay i updated the Noesis python texture script here :D
viewtopic.php?f=16&t=14673&p=134377#p134377

and i updated the Noesis python model script here :D
viewtopic.php?f=16&t=14673&p=121063#p121063

both should be good now, or at least until another file version emerges. :lol:

Gazyi
n00b
Posts: 19
Joined: Sat Feb 15, 2014 4:07 pm
Has thanked: 11 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by Gazyi » Sun Dec 17, 2017 10:55 am

Thank you.

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2392 times
Been thanked: 730 times

Re: Crossout extraction models(.pak)

Post by Acewell » Sun Dec 17, 2017 11:49 pm

i just fixed a couple of mistakes i made in the texture script that affected the rgba sample colors,
this is now fixed so please redownload from here
viewtopic.php?p=134377#p134377
and now it finally should be good :D

knifers
ultra-n00b
Posts: 5
Joined: Mon Jan 08, 2018 6:05 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by knifers » Tue Jan 09, 2018 12:06 am

Thanks for work :)

Sory for beg but on tfh files

Code: Select all

    print(imgWidth, "x", imgHeight)
UnboundLocalError: local variable 'imgHeight' referenced before assignment
Samples for 0.8.45
http://www20.zippyshare.com/v/Pm3PoOKe/file.html

for samples from 0.6 all working fine
Last edited by knifers on Tue Jan 09, 2018 2:03 pm, edited 1 time in total.

ThunderFlame
ultra-n00b
Posts: 6
Joined: Mon Jan 08, 2018 9:02 pm

Re: Crossout extraction models(.pak)

Post by ThunderFlame » Tue Jan 09, 2018 10:30 am

It seems as if the script shows the tfh files but not the tfds, I suppose you need both of them in order to view the texture, and then wrap said texture around the models.

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2392 times
Been thanked: 730 times

Re: Crossout extraction models(.pak)

Post by Acewell » Wed Jan 10, 2018 8:28 am

looks like they changed some bytes/bits in the tfh header, will look at it later, in the meantime
you can use TextureFinder to convert the texure data from the tfd files if you are in a hurry. :D

knifers
ultra-n00b
Posts: 5
Joined: Mon Jan 08, 2018 6:05 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by knifers » Wed Jan 10, 2018 8:48 pm

TF work well but I can't export big textures in one bitmap at once if they don't fit all in preview window (or I'm doing something wrong), also some textures are cut.

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2392 times
Been thanked: 730 times

Re: Crossout extraction models(.pak)

Post by Acewell » Thu Jan 11, 2018 8:24 am

okay they changed quite a bit in the header and the offset table is now filled with bogus info
so i made this temporary script to open all your newest samples until i get a better look :D

*temporary script removed, see this post viewtopic.php?p=134377#p134377 *

i don't see a way to track versions yet so for now the scripts will stay separate. :]
you will have to disable the other when you want to use this and vice versa.
Last edited by Acewell on Thu Jan 11, 2018 10:32 pm, edited 2 times in total.

knifers
ultra-n00b
Posts: 5
Joined: Mon Jan 08, 2018 6:05 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by knifers » Thu Jan 11, 2018 3:15 pm

Thanks, but my bad :cry: Looks like not all textiures are same.

In "samples2" pack "avatars" working well but on others

Code: Select all

    data = bs2.readBytes(datasize)      
UnboundLocalError: local variable 'datasize' referenced before assignment
Also, same on "cityruin2" pack, additionally in TF it looks cut off

Samples2
http://www106.zippyshare.com/v/Hl0FVXcq/file.html

Cityruin2
http://www37.zippyshare.com/v/DRJEJQ3t/file.html

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2392 times
Been thanked: 730 times

Re: Crossout extraction models(.pak)

Post by Acewell » Thu Jan 11, 2018 10:29 pm

okay i updated the script here :D
viewtopic.php?p=134377#p134377
it opens all tfh/tfd samples in this thread except 4 (mask images) which you likely have no use for anyway,
but i will look at those some other day. :)

zlksmlnu
n00b
Posts: 10
Joined: Tue Aug 09, 2016 11:27 pm
Has thanked: 4 times

Re: Crossout extraction models(.pak)

Post by zlksmlnu » Fri Jan 12, 2018 5:06 am

It WORKS!

zlksmlnu
n00b
Posts: 10
Joined: Tue Aug 09, 2016 11:27 pm
Has thanked: 4 times

Re: Crossout extraction models(.pak)

Post by zlksmlnu » Fri Jan 12, 2018 5:32 am


Post Reply