Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

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

Featured Replies

  • Author
  • Localization

Breyon0, posted Mon Mar 23, 2020 7:42 pm (55004)


spiritovod wrote:
@ISKA: Not sure why you've quoted my post, but I know little about actual pak structure. Maybe they've changed compression algorithm, maybe something else (e.g. offsets).

Update: Try this script, it should work.

It worked, thank you very much.

I've been spending a lot of today trying to figure out how to actually edit the files I unpacked. It didn't work with the UE4 Engine either, the .uasset files don't get detected.

So once I unpack a .pak and have all the .uasset files, how do I actually change some numbers? :| Any help would be very appreciated.
  • Replies 2.3k
  • Views 579
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

mage200, posted Wed Mar 25, 2020 4:58 pm (55083)


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

Code:
- 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?
  • Author
  • Localization

spiritovod, posted Wed Mar 25, 2020 8:04 pm (55089)


@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.
  • Author
  • Localization

WollieWoltaz, posted Tue Mar 31, 2020 12:18 pm (55413)


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,
  • Author
  • Localization

spiritovod, posted Tue Mar 31, 2020 2:34 pm (55418)


@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.
  • Author
  • Localization

WollieWoltaz, posted Tue Mar 31, 2020 5:24 pm (55422)


@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,
  • Author
  • Localization

spiritovod, posted Wed Apr 01, 2020 8:50 am (55434)


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

unreal_tournament_4_0.4.23.1a_sot.bms

  • Author
  • Localization

baoenzo, posted Sat Apr 04, 2020 12:16 pm (55517)


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
  • Author
  • Localization

GHFear, posted Sat Apr 04, 2020 12:29 pm (55518)


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!
  • Author
  • Localization

spiritovod, posted Sun Apr 05, 2020 11:58 am (55556)


@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).
  • Author
  • Localization

baoenzo, posted Wed Apr 08, 2020 4:13 am (55617)


@spiritovod Looks like this game has to be repackaged. And I have also found a way to pack, thank you very much
  • Author
  • Localization

eg0npro1, posted Mon Apr 13, 2020 4:56 pm (55873)


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?
  • Author
  • Localization

spiritovod, posted Tue Apr 14, 2020 12:52 pm (55921)


@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...
  • Author
  • Localization

Firecube, posted Wed Apr 15, 2020 2:18 am (55952)


@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
  • Author
  • Localization

spiritovod, posted Wed Apr 15, 2020 2:08 pm (55960)


@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.
  • Author
  • Localization

Firecube, posted Wed Apr 15, 2020 3:29 pm (55964)


@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?
  • Author
  • Localization

spiritovod, posted Thu Apr 16, 2020 3:48 pm (55995)


@Firecube: It's not an easy task either and involving debugging mobile app with graphics debuggers (also, maybe there is simpler method to do so engine-wise). Still, it's easier than reverse-engineering paks format, especially with encrypted index.

Also, since only index is obfuscated or encrypted in those paks, but not files themselves, you can extract raw chunks from any pak with offzip ("offzip -a your.pak output_folder") and then merge them, following known UE4 assets patterns. For example, there will be 01.uasset, 02.dat, 03.dat, 04.uasset, 05.dat and so on. Here 01.uasset is a header and 02.dat/03.dat are parts of that uasset or ubulk. So, merging 01 02 03 into one uasset will get you one working asset (probably, because there are also headerless ubulk files).
But this approach is not effective at all, because there are many assets types out there and total amount of assets can be 10k easily.

In any case, you can't get anything from those paks, since devs not only xor'ed index, but also obfuscated its offset and size - that means you must r-e libUE4.so library to find out what they did there. Alternatively, I think it's possible to find out index's offset and size for every pak manually and extract them with modified bms script.
  • Author
  • Localization

NecroCrafts, posted Fri Apr 17, 2020 4:45 am (56012)


 Engine: UE 4.22 (Should be)
 Available on iOS and Android.
 No shipping.exe (Might be a problem for encryption grabbing dont know).
 I do have the paks from iOS as I'm jailbroken and can file tamper. Just let me know if you need them.

If anyone has the time to crack it, would be appreciated cheers!
  • Author
  • Localization

spiritovod, posted Sat Apr 18, 2020 6:55 pm (56066)


I've noticed that PUBG Lite still have the same format as mobile version before (not encrypted, but with xor'ed index). For some reason pubg_mobile-extract script doesn't work with it, so here is working script for quickbms. Tested on latest version at the moment.

You can find the script in this post.
  • Author
  • Localization

sinnerclown380, posted Tue Apr 21, 2020 12:55 am (56131)


Hi spirtovod please my names is sarah Aes key
.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.