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
UncleFestor
Posts: 33
Joined: Fri Dec 11, 2015 3:38 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by UncleFestor »

aluigi wrote:My little mistake, script updated in my original post.

Yup, that was perfect. I have a few more questions, but I'll start a new topic as they're specific to Tekken 7.
fengkan
Posts: 1
Joined: Wed Jun 14, 2017 2:59 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by fengkan »

I have unpacked "Red Goddess Inner World" using this tool, and got RG and Engine folders. But how can I open the uasset files in the content folder?

I tried opening the RG.uproject file, but build failed. When I copy the uaaset files into another project, the project just can't be opened.
Fleur
Posts: 5
Joined: Thu Jun 15, 2017 4:44 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Fleur »

.

Your UE4 script doesn't seem to properly recognize this Games' .pak file, or whether or not it is encrypted (which it probably is)

Here are the executables and the pak chunks

http://www.mediafire.com/file/1ya6ub1n5 ... tables.rar

http://www.mediafire.com/file/8bod4d3cn ... amples.rar

By the way i wouldn't know how to retrieve the AES_KEY

can you find it? i was trying to find a tutorial for finding the key but didn't have any luck

could you maybe describe how you do it or point me to some information regarding finding it?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Why you say it's encrypted?
There is clearly no encryption as visible from the first file of the archive.
Fleur
Posts: 5
Joined: Thu Jun 15, 2017 4:44 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Fleur »

aluigi wrote:Why you say it's encrypted?
There is clearly no encryption as visible from the first file of the archive.


Hmm, all i know is it gives me this if i set no encryption key

Image

(0 files extracted on a 1.7gb .pak file)

the information that it is supposed to be encrypted comes from a developer

How were you able to tell that it has clearly no encryption?

Thank you for the quick reply!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Interesting, the files are non-encrypted but the TOC (the information about the stored files) apparently are obfuscated/encrypted.
It may be a custom solution of this specific game, for time reasons I will probably try to use a work-around by reusing the redundant information in front of each archived file. The only negative side is the lack of filenames.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Script 0.4.4.
Remember to rename the files with "unr" extension in "uasset".
Fleur
Posts: 5
Joined: Thu Jun 15, 2017 4:44 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Fleur »

aluigi wrote:Script 0.4.4.
Remember to rename the files with "unr" extension in "uasset".


Wow that was quick, thanks!

And yea that is a lot of .unr's .dat's and and .cl5's

It also seems like it just stopped at some point

Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Yeah, I didn't control the end.
I have updated it to version 0.4.4a for stopping when it reaches the end.
Fleur
Posts: 5
Joined: Thu Jun 15, 2017 4:44 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Fleur »

aluigi wrote:Yeah, I didn't control the end.
I have updated it to version 0.4.4a for stopping when it reaches the end.


Still doesn't seem to end, not that it's much of a problem

also, and this might go out of the scope of this thread, but in the pak-samples archive i added a .sig file

it's apparently encrypted CRC's of every 128kb from the associated .pak file

is there a way to decrypt those? or rather generate one yourself so one can edit the .pak file and still be able to launch the game?

because the game doesn't seem to read any .uassets outside of the archive and i have no idea how else to mod the game

i would have sent you a PM regarding this to not go off-topic here but apparently that's not possible
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

sig is probably an RSA signature
Fleur
Posts: 5
Joined: Thu Jun 15, 2017 4:44 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Fleur »

aluigi wrote:sig is probably an RSA signature


And they probably haven't put the private key anywhere in the game files.. yea that sucks
GamingDamned
Posts: 10
Joined: Thu Jun 08, 2017 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by GamingDamned »

As other guy asked how exactly you get the private key from a .pak? There's a new game that i'm trying to extract but some files are encrypted.
Hack
Posts: 1
Joined: Mon Jul 10, 2017 2:46 am

Re: Unreal Engine 4 pak-file Unpacker

Post by Hack »

I just tried using your program for the first time but got an error, do you have any idea what's wrong?

Image

Your program was the suggested fix to unlock the frame rate in Path of Destinies by PC Gaming Wiki: https://pcgamingwiki.com/wiki/Stories:_ ... _Destinies
Majware
Posts: 1
Joined: Thu Jul 13, 2017 12:36 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Majware »

thanks for this script is it working with Connan Exiles?
billylove
Posts: 3
Joined: Sat Jul 15, 2017 2:09 am

Re: Unreal Engine 4 pak-file Unpacker

Post by billylove »

---
Last edited by billylove on Wed Jul 19, 2017 12:20 am, edited 1 time in total.
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: Unreal Engine 4 pak-file Unpacker

Post by MerlinSVK »

This Unpacker was not updated for long time. For unpacking use QuickBMS + UE4 script
billylove
Posts: 3
Joined: Sat Jul 15, 2017 2:09 am

Re: Unreal Engine 4 pak-file Unpacker

Post by billylove »

MerlinSVK wrote:This Unpacker was not updated for long time. For unpacking use QuickBMS + UE4 script



Thank you :)
hELLBLADE
Posts: 2
Joined: Sat Aug 12, 2017 4:39 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by hELLBLADE »

hello guys
first of all i want to thank you for the awesome tool, i am new to this.
i just downloaded the new game Hellblade - Senua's Sacrifice i unpacked it with no problem using UE4PakUnpacker but the assets are not recognized by unreal engine 4.16.2 even when browsing them, the game has .uproject and when i try to open it with unreal engine its ask me to install visual studio!

can anyone help me to open this game inside unreal engine, a step by step if possible ?
Ehnoah
Posts: 51
Joined: Tue Jan 26, 2016 12:45 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Ehnoah »

hELLBLADE wrote:hello guys
first of all i want to thank you for the awesome tool, i am new to this.
i just downloaded the new game Hellblade - Senua's Sacrifice i unpacked it with no problem using UE4PakUnpacker but the assets are not recognized by unreal engine 4.16.2 even when browsing them, the game has .uproject and when i try to open it with unreal engine its ask me to install visual studio!

can anyone help me to open this game inside unreal engine, a step by step if possible ?



You cant. It not work in any Game, I tried so many different things, I hope Aluigi gonna release a Uasset extractor or such simlar stuff :)