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
Gerlamp
Posts: 1
Joined: Sun Nov 28, 2021 5:06 am

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

Post by Gerlamp »

Hello all!
anyone can help me import files into eFootball 2022?
i can export files, but i cant import files into the game
AES key 0x4552D45005DFE94964893F4925EC747D3D591401E060ED8B3D58BE5721C81295
Please help me!
edinky
Posts: 1
Joined: Thu Dec 02, 2021 7:48 pm

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

Post by edinky »

Can anyone help find the AES key for Radiohead's Exhibition? (free on epic)
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 »

@Gerlamp: Read this post first: viewtopic.php?f=9&t=1005&start=1940#p67581
But you can probably edit only paks contents that way (i.e. configs and probably some localization things) and some assets are stored in cpk packages, which are criware containers with their own tools and methods for packing. Can't help you any further, because as of now I didn't see any mods aimed for iostore format from latest UE4 versions (ucas/utoc packages).

@edinky: Check my signature.

----------------------------------------------------

Script for extracting audio from Gears 4 added to sound extraction bundle, available in my base post. It can be used on uasset files (in case for audio they're stored in Game/WwiseAudio/UAssets), which can be extracted with umodel via "save packages" option. The script has alternative option to extract all wem to a single folder, which may be useful for batch operations. Not sure about wwise ids though, but they seem correct.
gRimmDesu
Posts: 2
Joined: Wed Dec 08, 2021 9:11 am

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

Post by gRimmDesu »

Hi there!

I'm trying to access a .pak for Final Fantasy First Soldier which worked previously with the unreal_tournament_4_0.4.25b.bms script, but after the latest game update i'm getting the following error:

QuickBMS.exe

Code: Select all

Error: the requested amount of bytes to allocate is negative (0x84f674d1)

Last script line before the error or that produced the error:
  323 getdstring BASE_PATH NAMESZ TOC_FILE
  coverage file 0     0%   11746446   1384616459 . offset 51d4550d
  coverage file -10   0%   4          11746336   . offset 00000004


quickbms_4gb_files.exe

Code: Select all

- error in src\cmd.c line 2381: CMD_GetDString_func()
Error: tentative of allocating -1 bytes

Last script line before the error or that produced the error:
  323 getdstring BASE_PATH NAMESZ TOC_FILE
  coverage file 0     0%   11746446   1384616459 . offset 0000000051d4550d
  coverage file -10   0%   4          11746336   . offset 0000000000000004


Any help at all would be greatly appreciated!

.pak file if helpful - https://drive.google.com/file/d/1Q2v7q6 ... sp=sharing
AES: 0x6164333337313338623263373037663464653637343862333237373663376335
Argemon
Posts: 2
Joined: Wed Dec 08, 2021 2:43 pm

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

Post by Argemon »

Hello.
Does anyone tried to unpack latest "Dead By Daylight" versions?
They don't seem to be encrypted so it extracts fine with no errors, but the folder structure is all messed up. What I mean by that is some things will be extracted properly (say, Dead by daylight -> Content -> Characters -> Campers -> Dwight), but other things will be extracted straight into the core folder (so there will be a "David" folder, while it should be Dead by Daylight -> Content -> Characters -> Campers -> David).
Is it something with the script, DbD-specific or a general .pak extension issue? Is there some way I can fix that?
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 »

@gRimmDesu: I suppose they've simply updated the key. You can check my signature for topic with most recent keys and key requests.

@Argemon: Use respective script from post in my signature (depends on the UE4 version, used by the current game version), it should produce paths with mount points appended - it's around the same what you're asking for.
Argemon
Posts: 2
Joined: Wed Dec 08, 2021 2:43 pm

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

Post by Argemon »

spiritovod wrote:@Argemon: Use respective script from post in my signature (depends on the UE4 version, used by the current game version), it should produce paths with mount points appended - it's around the same what you're asking for.

There is no script for Dead by Daylight and I'm using the Unreal Tournament script. Though I haven't noticed there's actually 2 versions. I'm currently running the latest (I think?) version of that script, so gonna try the 4.25 (which is the version the game is running on). Thanks.
gRimmDesu
Posts: 2
Joined: Wed Dec 08, 2021 9:11 am

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

Post by gRimmDesu »

spiritovod wrote:@gRimmDesu: I suppose they've simply updated the key. You can check my signature for topic with most recent keys and key requests.

@Argemon: Use respective script from post in my signature (depends on the UE4 version, used by the current game version), it should produce paths with mount points appended - it's around the same what you're asking for.


I'm so sorry I didn't realise it was just a key issue! Seriously appreciate your help thank you so much!!
TheOne2022
Posts: 2
Joined: Thu Dec 09, 2021 1:19 am

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

Post by TheOne2022 »

hy

i hope you can help thanks

at PC trying unpack since days the GTA 3, VC and San Andreas pak

but not work with you script tryed with the exe of game and unpack it work but then in UE4.-26 get


hope you can fix your BMS script thank you so much
unreal_tournament_42.bms is only because the other old scritp i got from you named unreal_tournament_4.bms but thats from 2019

the unreal_tournament_42.bms is the new one

GTA 3 error

Code: Select all

- open input file O:\Unreal\TestProjects\GTA III Definitive Edition\Gameface\Content\Paks\gta.pak
- open script O:\Unreal\TestProjects\GTA III Definitive Edition\Gameface\Content\Paks\unreal_tournament_42.bms
- set output folder O:\Unreal\TestProjects\GTA III Definitive Edition\Gameface\Content\Paks

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

Error: incomplete input file 0: O:\Unreal\TestProjects\GTA III Definitive Edition\Gameface\Content\Paks\gta.pak
       Can't read 5 bytes from offset 00000000f9a19def.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0     0%   4132778    4188118511 . offset 00000000f9a19def

Last script line before the error or that produced the error:
  160 get CHUNK_END_OFFSET longlong TOC_FILE
  coverage file 0     0%   4132778    4188118511 . offset 00000000f9a19def

Press ENTER or close the window to quit


at GTA VC pak

Code: Select all

- open input file O:\Unreal\TestProjects\GTA Vice City Definitive Edition\Gameface\Content\Paks\gta.pak
- open script O:\Unreal\TestProjects\GTA III Definitive Edition\Gameface\Content\Paks\unreal_tournament_42.bms
- set output folder O:\Unreal\TestProjects\GTA Vice City Definitive Edition\Gameface\Content\Paks

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

Error: incomplete input file 0: O:\Unreal\TestProjects\GTA Vice City Definitive Edition\Gameface\Content\Paks\gta.pak
       Can't read 2 bytes from offset 0000000219f17860.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0     0%   7622677    9025189984 . offset 0000000219f17860

Last script line before the error or that produced the error:
  159 get CHUNK_OFFSET longlong TOC_FILE
  coverage file 0     0%   7622677    9025189984 . offset 0000000219f17860

Press ENTER or close the window to quit



and at

GTA SA pak try with your BMS this

Code: Select all

- open input file O:\Unreal\TestProjects\GTA San Andreas Definitive Edition\Gameface\Content\Paks\gta.pak
- open script O:\Unreal\TestProjects\GTA III Definitive Edition\Gameface\Content\Paks\unreal_tournament_42.bms
- set output folder O:\Unreal\TestProjects\GTA San Andreas Definitive Edition\Gameface\Content\Paks

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

Error: incomplete input file 0: O:\Unreal\TestProjects\GTA San Andreas Definitive Edition\Gameface\Content\Paks\gta.pak
       Can't read 7 bytes from offset 0000000467905363.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0     0%   18694400   18917380963 . offset 0000000467905363

Last script line before the error or that produced the error:
  159 get CHUNK_OFFSET longlong TOC_FILE
  coverage file 0     0%   18694400   18917380963 . offset 0000000467905363

Press ENTER or close the window to quit


How i can fix this or what i done wrong?

0 Zero files extracted from the PAKs :( want mod some i know unreal engine and editor but this unpak problems are new for me also because of the OODLE :/
TheOne2022
Posts: 2
Joined: Thu Dec 09, 2021 1:19 am

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

Post by TheOne2022 »

Also some one know how i can fiyx this in Unreal Engine Editor 4.26 when import the Extracted from PAKs?

Code: Select all

LogLinker: Warning: Failed to read package file summary, the file "O:/Unreal/TestProjects/GTA III Definitive Edition/Gameface/Content/GTA3\Maps\GTA3World\GTA3World.umap" is unversioned and we cannot safely load unversioned files in the editor.
LogAssetRegistry: Error: Package O:/Unreal/TestProjects/GTA III Definitive Edition/Gameface/Content/GTA3\Maps\GTA3World\GTA3World.umap is too old



can open the maps andso on of GTA


thank you so much
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 »

@Argemon: Yes, there is no specific script for DBD. And you're right, if the game is built with 4.25 engine, you need to use 4.25 script, because 4.27 one is compatible only with 4.26/27/UE5 games, like explained in my base post.

@TheOne2022: For GTA3 DE packages you need to use 4.27 script from my base post. And you can't open extracted cooked assets in unreal editor directly, you need to convert or parse them first. You can try umodel (you'll need specific build for this game) or fmodel, or any other other general parsing tool for UE4 assets. And there are plenty of GTA3 modding communities over internet, it's better to ask such questions there.
Telzin2k
Posts: 1
Joined: Thu Dec 09, 2021 2:50 pm

Help in extracting .pak file

Post by Telzin2k »

Hey guys.
I'm trying to extract a "RioV4-WindowsNoEditor.pak" file from a game made in Unreal, but I'm having problem because the file is 12GB in size. How do I extract a file from this ?
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 »

@Telzin2k: If it's from Raised in Oblivion, you need to use 4.27 script, available in the post from my signature, with quickbms_4gb_files version of quickbms to extract the package.
XxDarkus101Xx
Posts: 10
Joined: Thu Dec 09, 2021 8:40 pm

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

Post by XxDarkus101Xx »

hey, is there any bms script and AES key for Back 4 Blood yet? I'm trying to unpack the pak files and I used the original script from cs and that didnt work? I want to see if I can possibly modify some things.
Morty888
Posts: 12
Joined: Thu Apr 18, 2019 9:42 am

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

Post by Morty888 »

Hello everyone.
Áƒ * žùÿÿÿ in the header of .uasset files, what does it mean?

When editing these files, the game will not start.
What should I do? Found nothing!
Last edited by Morty888 on Wed Dec 15, 2021 5:09 pm, edited 1 time in total.
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 »

@Morty888: I also couldn't find any sample or game name in your post, which would be helpful for determining the issue.
Morty888
Posts: 12
Joined: Thu Apr 18, 2019 9:42 am

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

Post by Morty888 »

spiritovod wrote:@Morty888: I also couldn't find any sample or game name in your post, which would be helpful for determining the issue.


https://disk.yandex.ru/d/UxSIFBO_yb5HLA
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 »

@Morty888: It was a normal uasset, until you've improperly edited it. Such things can't be edited manually, because by adding a single byte you're triggering changes in offsets, import/export tables and so on. I can only suggest to use tools for parsing and editing uassets like Asset Editor or UAssetGUI - they might work, but it depends on the game (some games has additional checks for certain data). In this particular case the game in question is Mortal Kombat Mobile, so some data may have server-side checks as well.

And please note that this topic is for general questions about UE4 packages and related script. If you have questions about contents of already extracted assets, you can ask them in other forum sections or other places, like modding communities.
XxDarkus101Xx
Posts: 10
Joined: Thu Dec 09, 2021 8:40 pm

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

Post by XxDarkus101Xx »

I have the aes key for back 4 Blood (december update) but there is no point to post it since there is absolutely no tool to unpack it with, so until then Ill just keep it