Gildor's Forums

Author Topic: pak is too large  (Read 94 times)
Tosyk
Sr. Member
****
Posts: 364



View Profile WWW
pak is too large
« on: November 21, 2021, 19:28 »

I'm getting this error whenever I try to extract ps4 pak with this commnd line:
Code:
D:\umodel>umodel.exe -export pakchunk2-ps4.pak -game=daysgone -ps4 -dump -all

Code:
F:\_DEVELOPING\_google_drive_sync\cgig\downloads\tools\gms\_engine\unreal_engine\_multitools\umodel>umodel.exe -export I:\Downloads\gms\console\ps4\the_inpatient_ps4\A0100-V0100\Image0\blackwood\content\paks\pakchunk2-ps4.pak -game=daysgone -ps4 -dump -all -out=I:\Downloads\gms\console\ps4\the_inpatient_ps4\A0100-V0100\Image0\blackwood\content\paks\pakchunk2-ps4\
Detected game root I:/Downloads/gms/console/ps4/the_inpatient_ps4/A0100-V0100/Image0/blackwood/content
Pak I:/Downloads/gms/console/ps4/the_inpatient_ps4/A0100-V0100/Image0/blackwood/content/paks/pakchunk0-ps4.pak: 54823 files, version 4
Pak I:/Downloads/gms/console/ps4/the_inpatient_ps4/A0100-V0100/Image0/blackwood/content/paks/pakchunk1-ps4.pak: 9326 files, mount point: "/Blackwood/Content/", version 4
Pak I:/Downloads/gms/console/ps4/the_inpatient_ps4/A0100-V0100/Image0/blackwood/content/paks/pakchunk2-ps4.pak: 8763 files, mount point: "/Blackwood/Content/", version 4
Found 72905 game files (16 skipped) in 4711 folders at path "I:/Downloads/gms/console/ps4/the_inpatient_ps4/A0100-V0100/Image0/blackwood/content"
Scanned game directory in 0.1 sec, 5229 allocs, 10.36 MBytes serialized in 6 calls.
WARNING: package file I:\Downloads\gms\console\ps4\the_inpatient_ps4\A0100-V0100\Image0\blackwood\content\paks\pakchunk2-ps4.pak is too large (3773 Mb), ignoring
WARNING: unable to find package I:\Downloads\gms\console\ps4\the_inpatient_ps4\A0100-V0100\Image0\blackwood\content\paks\pakchunk2-ps4.pak
UModel: bad command line: failed to load provided packages
Try "umodel -help" for more information.
Logged

Коллекционирую игровые модели.
my blog - http://cgig.ru
Gildor
Administrator
Hero Member
*****
Posts: 7997



View Profile WWW
Re: pak is too large
« Reply #1 on: November 21, 2021, 19:40 »

You've provided the pak file name in command line. It's wrong, you can't do this. You can only provide PACKAGE names there (uasset names). UModel attempts to treat pak file as uasset, but it won't work with uassets which are larger than 2Gb, and displays THIS error message.

In order to load pak file, you should specify path to it, with -path=... option. If multiple pak files will be found, they all will be loaded.

Also, "-all" option is very obsolete. Right now it could be used only in conjunction with -dump option.

If you want to export everything from pak(s), you should use something like this:

Code:
umodel -path=c:/my_paks -export *.uasset
« Last Edit: November 21, 2021, 19:42 by Gildor » Logged
Tosyk
Sr. Member
****
Posts: 364



View Profile WWW
Re: pak is too large
« Reply #2 on: November 21, 2021, 23:19 »

wow, thanks. I didn't knew it work like this with paks.
Logged

Коллекционирую игровые модели.
my blog - http://cgig.ru
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS