Page 3 of 4
Re: Crossout extraction models(.pak)
Posted: Fri Dec 15, 2017 5:33 pm
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.
Re: Crossout extraction models(.pak)
Posted: Fri Dec 15, 2017 9:08 pm
by Acewell
thanks! i have updated the Noesis python texture script here
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.
Re: Crossout extraction models(.pak)
Posted: Sat Dec 16, 2017 12:23 pm
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
Re: Crossout extraction models(.pak)
Posted: Sun Dec 17, 2017 4:57 am
by Acewell
okay i updated the Noesis python texture script here
viewtopic.php?f=16&t=14673&p=134377#p134377
and i updated the Noesis python model script here
viewtopic.php?f=16&t=14673&p=121063#p121063
both should be good now, or at least until another file version emerges.
Re: Crossout extraction models(.pak)
Posted: Sun Dec 17, 2017 10:55 am
by Gazyi
Thank you.
Re: Crossout extraction models(.pak)
Posted: Sun Dec 17, 2017 11:49 pm
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
Re: Crossout extraction models(.pak)
Posted: Tue Jan 09, 2018 12:06 am
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
Re: Crossout extraction models(.pak)
Posted: Tue Jan 09, 2018 10:30 am
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.
Re: Crossout extraction models(.pak)
Posted: Wed Jan 10, 2018 8:28 am
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.
Re: Crossout extraction models(.pak)
Posted: Wed Jan 10, 2018 8:48 pm
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.
Re: Crossout extraction models(.pak)
Posted: Thu Jan 11, 2018 8:24 am
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
*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.
Re: Crossout extraction models(.pak)
Posted: Thu Jan 11, 2018 3:15 pm
by knifers
Thanks, but my bad
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
Re: Crossout extraction models(.pak)
Posted: Thu Jan 11, 2018 10:29 pm
by Acewell
okay i updated the script here
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.
Re: Crossout extraction models(.pak)
Posted: Fri Jan 12, 2018 5:06 am
by zlksmlnu
It WORKS!
Re: Crossout extraction models(.pak)
Posted: Fri Jan 12, 2018 5:32 am
by zlksmlnu