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 » Tue Apr 03, 2018 11:21 pm

Sorry to bother again, but looks like header files of textures were updated. Noesis don't cut mipmaps and most textures are shifted.
Brief hex diff showed that only textures file headers were updated.
Samples of both 0.6.0 and 0.9.40 textures: http://www.mediafire.com/file/2hana136d ... amples.rar

And it would be useful to load other mdl-msh than 000, because some of them contains different meshes.
Samples: http://www.mediafire.com/file/ptn6g17gf ... amples.rar

I tried Star Conflict scripts - they didn't work with them.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Crossout extraction models(.pak)

Post by Acewell » Wed Apr 04, 2018 4:08 am

Gazyi wrote:And it would be useful to load other mdl-msh than 000, because some of them contains different meshes.
model script updated here to open more (000-009)
viewtopic.php?p=121063#p121063

and here is a new Noesis python texture script for this new version (0.9.40)
*script updated April 5, 2018*
tex_Crossout_v940_tfh_tfd.zip
i didn't want to break the previous script, so i will do this for new versions from here on.
this script will conflict other *.tfh scripts so move them out of python folder while using this one.
:D
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Thu Apr 05, 2018 11:37 pm, edited 1 time in total.

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 » Thu Apr 05, 2018 6:52 pm

Thank you for fast response, but now most textures gives error:

Code: Select all

Traceback (most recent call last):
  File "F:\noesisv4296\plugins\python\tex_Crossout_v940_tfh_tfd.py", line 57, in noepyLoadRGBA
    bs2.seek(mainMipOffset, NOESEEK_ABS)        
  File "F:\noesisv4296\plugins\python\inc_noesis.py", line 165, in seek
    self.toUnpacker(); r = noeSuper(self).seek(addr, isRelative); self.fromUnpacker(); return r
  File "F:\noesisv4296\plugins\python\inc_noesis.py", line 161, in fromUnpacker
    self.setOffset(self.byteOfs)
  File "F:\noesisv4296\plugins\python\inc_noesis.py", line 78, in setOffset
    noesis.bsSetOfs(self.h, ofs)
RuntimeError: Tried to set offset beyond buffer size. (690258959 > 2795520)

Code: Select all

Traceback (most recent call last):
  File "F:\noesisv4296\plugins\python\tex_Crossout_v940_tfh_tfd.py", line 57, in noepyLoadRGBA
    bs2.seek(mainMipOffset, NOESEEK_ABS)        
  File "F:\noesisv4296\plugins\python\inc_noesis.py", line 165, in seek
    self.toUnpacker(); r = noeSuper(self).seek(addr, isRelative); self.fromUnpacker(); return r
  File "F:\noesisv4296\plugins\python\inc_noesis.py", line 161, in fromUnpacker
    self.setOffset(self.byteOfs)
  File "F:\noesisv4296\plugins\python\inc_noesis.py", line 78, in setOffset
    noesis.bsSetOfs(self.h, ofs)
OverflowError: Python int too large to convert to C long
Problematic samples: http://www.mediafire.com/file/ljib4bakg ... cabins.rar

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Crossout extraction models(.pak)

Post by Acewell » Thu Apr 05, 2018 11:39 pm

Gazyi wrote:Thank you for fast response, but now most textures gives error:
Problematic samples: http://www.mediafire.com/file/ljib4bakg ... cabins.rar
v094 texture script fixed :D
viewtopic.php?p=139337#p139337

Anonsarah2
ultra-n00b
Posts: 2
Joined: Mon Jun 18, 2018 1:15 am
Has thanked: 1 time

Re: Crossout extraction models(.pak)

Post by Anonsarah2 » Mon Jun 18, 2018 3:08 am

I'm getting another error with the latest script, might be something on my end with the avatars.tfh & tfc's, perhaps was updated?

Can send samples if youd like

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Crossout extraction models(.pak)

Post by Acewell » Tue Jun 19, 2018 4:41 am

Anonsarah2 wrote:I'm getting another error with the latest script ... perhaps was updated?
likely, what is the game version?
you can upload some samples but i don't know if i will keep updating this script every time there is update . :]

Anonsarah2
ultra-n00b
Posts: 2
Joined: Mon Jun 18, 2018 1:15 am
Has thanked: 1 time

Re: Crossout extraction models(.pak)

Post by Anonsarah2 » Wed Jun 20, 2018 12:29 am

Ver is currently 0.9.80, uploaded both files

Can understand is bit of a bother to update the script with the game, so big thanks if you're still up to it these days :)

https://nofile.io/f/PvdbnPbH6sg/avatars.zip

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 Nov 01, 2018 11:08 pm

They already change archives from pak to grp and pk2

Persival
ultra-n00b
Posts: 1
Joined: Sat Oct 06, 2018 3:14 am

Re: Crossout extraction models(.pak)

Post by Persival » Sun Dec 02, 2018 1:46 pm

knifers wrote:They already change archives from pak to grp and pk2
- Yeap, PAK file replaced by GRP files, someone say that open it nearly impossible. So any new textures, models and assets become non-extractable from game files. It's really sad if there no chance to have in-game models for some close view.

Post Reply