Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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 »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Crossout extraction models(.pak)

Post by Acewell »

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 »

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
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Crossout extraction models(.pak)

Post by Acewell »

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 »

Thank you.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Crossout extraction models(.pak)

Post by Acewell »

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: 8
Joined: Mon Jan 08, 2018 6:05 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by knifers »

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 »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Crossout extraction models(.pak)

Post by Acewell »

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: 8
Joined: Mon Jan 08, 2018 6:05 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by knifers »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Crossout extraction models(.pak)

Post by Acewell »

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: 8
Joined: Mon Jan 08, 2018 6:05 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Crossout extraction models(.pak)

Post by knifers »

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
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Crossout extraction models(.pak)

Post by Acewell »

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 »

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 »

Post Reply