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
mage200
Posts: 6
Joined: Sat Dec 17, 2016 10:16 am

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

Post by mage200 »

friends I have issue with blade & soul complete ue4 the files now are encrypted and the script failed here is the error

Code: Select all

- 0 files found in 0 seconds
  coverage file 0     0%   52         11310054   . offset 00000008
- open input file C:\Program Files (x86)\NCSOFT\BNSR_KR\BNSR\Content\Paks\2\edc9155124af314c3b9fc79e8c5242c9-WindowsNoEditor.pak
- open script F:\Tools\Tools\quickbms\TslGameDecrypt.bms
- set output folder F:\GameDat


any solution for that?
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 »

@Breyon0: You can start with reading some previous posts in this topic, like this one or that. But this topic is about pak archives in general, not about particular assets which can be anything.

@mage200: Read my signature, it contains all required stuff, including script and key.
Last edited by spiritovod on Sat Apr 04, 2020 12:37 pm, edited 1 time in total.
WollieWoltaz
Posts: 41
Joined: Mon Dec 04, 2017 5:48 pm

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

Post by WollieWoltaz »

Hey,

Bless Mobile got released recently and I managed to extract the .PAK files but Umodel isn't able to open them. (Unknown .PAK format).
Not sure if this means it's encrypted with an key, or some other encryption method.

Here is one of the .pak files:
https://mega.nz/#!fZ1TUIyb!JgqVK9f6TdqS ... m2qb_kWuLw

Hope someone is willing to take a look at this,

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

@WollieWoltaz: Yes, it's encrypted. There are two ways to know that - try to unpack the file with quickbms (it will ask for the key in case it's encrypted) or simply take a look at the end of the file (where index is stored), if it's not readable, that means the pak is encrypted.
Either way, lately I didn't see anyone willing to extract AES keys from mobile games, so it can't be helped.
WollieWoltaz
Posts: 41
Joined: Mon Dec 04, 2017 5:48 pm

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

Post by WollieWoltaz »

@spiritovod
Okay thank you for your answer. And yes your right there hasn't been someone who could extract keys from mobile .pak files. I assume this is far more trickier.
Well it's unfortunate but nothing I can do about it. Only hoping someone is capable of doing it.

Thanks again,
ultima71
Posts: 11
Joined: Tue Aug 22, 2017 7:47 am

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

Post by ultima71 »

@spiritovod : Thank's :)

Could it be possible to find the key for this game: Jaws Of Extinction

https://mega.nz/#!FgAHxKYB!E9JQTXdMvIKj ... LlFXQXIHDI

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

@ultima71: Please read this post: viewtopic.php?f=9&t=1005&start=1340#p53846
I'm not going to respond to keys requests here anymore, it's better to separate them from real pak/script related issues.

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

In case someone is interested, I had time to dug into Sea of Thieves stuff. It appeared that the key ironically was the same all this time (checked on version 2.0.10) and the problem is with script.
Update: Ok, it was actually quite easy to fix. Working script for Sea of Thieves in the attachment. For the key read my signature.

On the other note, if you didn't notice, official script version is now 0.4.24b. It includes ssh's fixes, but not recent State of Decay 2 fix, so to unpack it use this script.
Last edited by spiritovod on Sun Apr 05, 2020 2:24 pm, edited 2 times in total.
baoenzo
Posts: 9
Joined: Mon Aug 27, 2018 3:55 am

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

Post by baoenzo »

Hello ,
I extracted the .pak file of the Bright Memory game. But how to pack it? Thank you.
P/s: I have read some articles, they said that do not need packaging , , game still run but I do not know how to do.
File: BrightMemory_EP1-WindowsNoEditor.pak
GHFear
Posts: 290
Joined: Fri Mar 30, 2018 2:48 am

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

Post by GHFear »

Valorant AES Key: 0x4BE71AF2459CF83899EC9DC2CB60E22AC4B3047E0211034BBABE9D174C069DD6

Game Engine Version: 4.22.3-416249+++Ares-Core+release-0.47

Unpacking:
Umodel works fine.
QuickBMS - Latest Script works fine. :)

Have fun!
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 »

@baoenzo: Some games supports modifications without repacking, indeed. In that case you just need to place modified assets in the same folder as in the pak, but with additional subfolder. For example, if original path in pak is "GameName\Characters\Model1\some.asset", in the unpacked form it will be "GameName\Characters\Model1\NoRedist\some_modified.asset".
But more general way is preferred, since it's supported by almost all UE4 games (except those with custom engines). You can read about it on the previous page, starting from this post and below.

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

Found out what the problem with Sea of Thieves was. You can find working script in this post now: viewtopic.php?f=9&t=1005&start=1400#p55434
Extracted files are not compatible with umodel though (they have custom format, or maybe just outdated, since the game is based on 4.10 engine).
baoenzo
Posts: 9
Joined: Mon Aug 27, 2018 3:55 am

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

Post by baoenzo »

@spiritovod Looks like this game has to be repackaged. And I have also found a way to pack, thank you very much
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

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

Post by Mysticus »

I need a key to extracting stuff from the PC game called Disaster Report 4 Summer Memories

https://drive.google.com/open?id=1VWTB3 ... FfZv1U0cHJ
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 »

@Mysticus: You can find the key in the list. And next time please consider this post: viewtopic.php?f=9&t=1005&start=1340#p53846, because key has been added due to other request.
eg0npro1
Posts: 5
Joined: Sun Feb 24, 2019 2:56 pm

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

Post by eg0npro1 »

Hi, I have tried unpacking Valorants "Base_Audio-WindowsClient.pak", but after unpacking using quickbms and the "unreal_tournament_4_0.4.23.1a.bms" script im only getting .pck files from the .pak archive, is there any way to further unpack the .pck files?
aitorito_mio
Posts: 1
Joined: Mon Apr 13, 2020 4:55 pm

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

Post by aitorito_mio »

Hi! Can anyone please tell me the AES key of this game AC Competizione or explain how to do it. I just want to extract the skins from the encrypted pak files.

Shipping file below, thanks in advance.

https://drive.google.com/file/d/1wXchpcI1TGBd9ZZM6UFsCqRjUtmZZCB4/view?usp=sharing
Firecube
Posts: 5
Joined: Tue Apr 14, 2020 11:28 am

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

Post by Firecube »

Guys I need help here with PUBG MOBILE please :

viewtopic.php?f=9&t=13458
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 »

@eg0npro1: Those pck are wwise audio files. Look for Wwise-Unpacker or similar to convert them.

@aitorito_mio: Read my signature.

@Firecube: All PUBG archives are encrypted on all platforms and for all versions (basic, lite, etc). Like it was already said above, lately I didn't see anyone willing to extract AES keys from mobile games, so it can't be helped. And I didn't even see keys for current desktop versions...
Firecube
Posts: 5
Joined: Tue Apr 14, 2020 11:28 am

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

Post by Firecube »

@spiritovod There are some youtubers still leaking the new items of every update before its release. There is a script for open the base.PAK but i don't know how to get
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 »

@Firecube: Actually I couldn't find a single video where it has been proved that particular youtuber extracted any assets from the latest versions (there are other ways to preview some stuff at runtime, and also it's still possible to extract stuff from desktop version, though not sure if they're related). Prior to version 0.14.x it was possible to extract assets with pubg_mobile-extract.py script with least modifications. But now it's one hell of a mess, some paks has xor'ed index / files (key is 0x79) and modified offsets / other parameters, some pak are encrypted (which requires aes key for extraction) or they have custom format - and even those xor'ed are slightly different within a single game version.
Last edited by spiritovod on Mon May 18, 2020 9:27 pm, edited 1 time in total.
Firecube
Posts: 5
Joined: Tue Apr 14, 2020 11:28 am

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

Post by Firecube »

@spiritovod I would like to try a method that allows things to be shown in runtime, and I think it requires some values. What is the way to do this?