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 »

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.
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 »

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 »

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
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 »

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 »

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
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 »

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 »

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: 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 »

They already change archives from pak to grp and pk2
Persival
ultra-n00b
Posts: 2
Joined: Sat Oct 06, 2018 3:14 am

Re: Crossout extraction models(.pak)

Post by Persival »

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.
TheInfinityUser
ultra-n00b
Posts: 4
Joined: Wed Mar 17, 2021 7:45 am

Re: Crossout extraction models(.pak)

Post by TheInfinityUser »

A while later, I'd also like to decompile the models and textures, but there is only one mdl file now instead of three among others. The mdl file appears to be a tcf model. I'd also like to know how to open the other files.
someoneohyea
n00b
Posts: 13
Joined: Tue May 04, 2021 11:58 am
Has thanked: 1 time

Re: Crossout extraction models(.pak)

Post by someoneohyea »

C:\Users\User\Desktop\texturesUNP\ns\plugins\python\tex_Crossout_v940_tfh_tfd.py
Traceback (most recent call last):
File "C:\Users\User\Desktop\texturesUNP\ns\plugins\python\tex_Crossout_v940_tfh_tfd.py", line 1, in <module>
from inc_noesis import *
File "C:\Users\User\Desktop\texturesUNP\ns\plugins\python\inc_noesis.py", line 7, in <module>
import noesis
ModuleNotFoundError: No module named 'noesis'

how could that happen? :?:
Post Reply