Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Uwuton
Posts: 1
Joined: Mon Oct 24, 2022 1:50 am

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by Uwuton »

anyone know if theres a script that lets you add more than one aes key when extracting?
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

@Uwuton: The only known game with multiple keys is Fortnite, which is not supported by quickbms scripts anyway. And the finder from my signature is producing only one key (if any). Therefore there is no need for such feature.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by Puterboy1 »

I am trying to extract the files for FF 7 Remake Intergrade and all I am getting is this: - please insert the content for the variable KEY:
0x23989837645C9D28BA58072B2076E895B853A7C9E1C5591B814C4FD2A2D7B782
KEY: #��7d\�(�X+ v蕸S����Y�LOҢ׷�
0000000000000000 0 Mob\MB0000_00_Boy_Standard\Model\MB0000_00_Skeleton.uasset
+ 0000000000000049 12995 Mob\MB0000_00_Boy_Standard\Model\MB0000_00_Skeleton.uasset
Info: algorithm 250
offset 0000000000000049
input size 0x0000000000001105 4357
output size 0x00000000000032c3 12995
result 0xffffffffffffffff -1

Error: uncompressed data (-1) bigger than allocated buffer (12995)
It usually means that data is not compressed or uses another algorithm

Last script line before the error or that produced the error:
233 clog NAME CHUNK_OFFSET CHUNK_ZSIZE CHUNK_SIZE 0 CHUNK_XSIZE

- OFFSET 0x0000000000000049
- ZSIZE 0x0000000000001105
- SIZE 0x00000000000032c3
coverage file 0 0% 2937814 2557878709 . offset 000000000000114e
coverage file -10 0% 189 2933408 . offset 00000000000000bd


PLEASE help me.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

@Puterboy1: Use 4.25 script, available via my signature. Though it may not work properly for mods, but it should work with base game.
cn_halloweeks
Posts: 6
Joined: Sun Oct 09, 2022 2:26 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by cn_halloweeks »

PUBG NEW STATE AES KEY
VERSION: 0.9.42.367
KEY: 0x27DFBADBB537388ACDE27A7C5F3EBC3721AF0AE0A7602D2D7F8A16548F37D394

UMODEL FOR PUBG NEW STATE: https://github.com/halloweeks/pubg-new- ... p?raw=true
Kahuna
Posts: 7
Joined: Fri Nov 02, 2018 2:50 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by Kahuna »

@spiritovod
Back 4 Blood got updated.
Could you please look into it and update the script?
Thanks in advance.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

@Kahuna: If someone will provide sample packages from the update, I'll take a look.
Kahuna
Posts: 7
Joined: Fri Nov 02, 2018 2:50 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by Kahuna »

spiritovod wrote:@Kahuna: If someone will provide sample packages from the update, I'll take a look.
Thank you for your response.
I hope this is enough.
https://www.mediafire.com/file/04nbp1r1 ... r.rar/file
More samples in case you need them
https://www.mediafire.com/file/igm1an94 ... s.rar/file
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

@Kahuna: I've updated Back 4 Blood script in the specific scripts bundle, it should work with the update now.
Kahuna
Posts: 7
Joined: Fri Nov 02, 2018 2:50 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by Kahuna »

@spiritovod
Thanks for the script. I just tried to unpack the game with this and the last quickbms version but the process stops at "pakchunk14-WindowsNoEditor.pak".
Below I have attached the error message along with the .pak archive.

Code: Select all

- 64 files (128 logs) found in 0 seconds
  coverage file 0    78%   167460     214623     . offset 0000000000032b91
- open input file D:\Steam\steamapps\common\Back 4 Blood\Gobi\Content\Paks\pakchunk14-WindowsNoEditor.pak
- open script unreal_tournament_4_0.4.25d_back4blood.bms
- set output folder D:\Extractions\Back 4 Blood\DLC3

  offset           filesize   filename
--------------------------------------

Error: [myfseek] offset 0xb1e4f27606aad17f in file 0 can't be reached

Last script line before the error or that produced the error:
  93  goto OFFSET # don't use TOC_FILE
  coverage file 0     0%   126        394024787  . offset 00000000177c5753
  coverage file -50   0%   0          244        . offset 0000000000000000
  coverage file -60   0%   0          240        . offset 0000000000000000
  coverage file -100   0%   0          19752      . offset 0000000000000000
.pak-archive where is stops:
https://www.mediafire.com/file/j0nr03i1 ... r.rar/file
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

@Kahuna: I forgot about quickbms specifics -_- It should be fixed now, just download updated script.
Kahuna
Posts: 7
Joined: Fri Nov 02, 2018 2:50 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by Kahuna »

@spiritovod: works like a charm. Thank you :)
AhsokaTano
Posts: 2
Joined: Mon Dec 12, 2022 7:52 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by AhsokaTano »

Hello. Who here has tried to extract the resources pak\ucas of "Star Trek prodigies" ?
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

@AhsokaTano: If you mean Star Trek Prodigy: Supernova, you can extract pak files with 4.27 script, available via my signature, or just use fmodel for both paks and io store packages (utoc/ucas). If you need only graphic assets from there (models/textures), you can use umodel. Though extracting data from utoc/ucas is usually pointless, unless it's for modding purposes and you actually know what to do with it.
AhsokaTano
Posts: 2
Joined: Mon Dec 12, 2022 7:52 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by AhsokaTano »

spiritovod wrote:@AhsokaTano: If you mean Star Trek Prodigy: Supernova, you can extract pak files with 4.27 script, available via my signature, or just use fmodel for both paks and io store packages (utoc/ucas). If you need only graphic assets from there (models/textures), you can use umodel. Though extracting data from utoc/ucas is usually pointless, unless it's for modding purposes and you actually know what to do with it.


I would like to extract the characters. And it looks like they are they are utoc/lucas which weighs 6gb. The search for models via Umodel did not yield results in the pak file, which is smaller.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

@AhsokaTano: Both umodel and fmodel supports utoc/ucas packages and graphic assets from them. Though it's out of scope of this topic.
drunkchipmunk
Posts: 1
Joined: Mon Dec 19, 2022 4:23 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by drunkchipmunk »

AhsokaTano wrote:I would like to extract the characters. And it looks like they are they are utoc/lucas which weighs 6gb. The search for models via Umodel did not yield results in the pak file, which is smaller.
Also Interested in this one, I've tried with umodel with no results. I also ran some tools which gave me a few AES keys, but don't know how to test them with the UTOC/UPAK files
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by masagrator »

drunkchipmunk wrote:
AhsokaTano wrote:I would like to extract the characters. And it looks like they are they are utoc/lucas which weighs 6gb. The search for models via Umodel did not yield results in the pak file, which is smaller.
Also Interested in this one, I've tried with umodel with no results. I also ran some tools which gave me a few AES keys, but don't know how to test them with the UTOC/UPAK files
umodel seems to have currently issues with loading some ucas from Crisis Core (for example it doesn't load pakchunk0 from Switch version).
Create another topic for this issue as you can read in topic title - discussion is pak only.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by spiritovod »

I usually ignore umodel stuff here, because it should be discussed in respective place, but here you are:

@AhsokaTano, @drunkchipmunk: Star Trek Prodigy: Supernova topic - https://www.gildor.org/smf/index.php/topic,8446.0.html

@masagrator: Crisis Core topic - https://www.gildor.org/smf/index.php/topic,8436.0.html
lew2610
Posts: 2
Joined: Thu Dec 22, 2022 5:28 am

Re: Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Post by lew2610 »

I used Quickbms and unreal_tournament_4_0.4.27d_paks_only to unpack the file.

Image
Img
I just edited the Game.lorce file but when I repack it, it's only >2gb from >5gb.
When I enter the game, I get an error like the picture
Image
Img
So, is it the wrong version or did I do something wrong?
I also tried unpacking it didn't change anything and then repacking it, trying to run the game still gives me the same error!