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
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

@ZatuyouTantou
well done
rayleigh2116
Posts: 4
Joined: Wed Jun 01, 2016 1:00 am

Re: Unreal Engine 4 pak-file Unpacker

Post by rayleigh2116 »

whats about animations ??
RadeonX1950
Posts: 1
Joined: Thu Jun 02, 2016 9:30 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by RadeonX1950 »

Got an error during extracting Redout .pak archive:
Access violation at address 3737002A. Read of address FFFFFFFF.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

BR3TON
Posts: 3
Joined: Sun Oct 09, 2016 6:03 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by BR3TON »

I was looking into using alugi's script for GoW 4 since it runs on UE4 and tried looking for AES key a memory dump. It dumped a bunch of HEX strings so I'm wondering, do I need to convert them to strings to test them or am I going down completely the wrong path?

Here is what I got http://pastebin.com/55KVSR4X
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Upload the filecutted archive:
http://aluigi.org/bms/filecutter.bms

(the tool he used for that paste is findaes)
BR3TON
Posts: 3
Joined: Sun Oct 09, 2016 6:03 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by BR3TON »

Heres the file cutter
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

That one is NOT an UE4 archive.
I don't know if already exists a script for that format.
Do the following, open filecutter.bms with notepad and replace
math MEGABYTES = 2
with
math MEGABYTES = 16
Then upload the 2 bigger files it creates and give us the link.
BR3TON
Posts: 3
Joined: Sun Oct 09, 2016 6:03 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by BR3TON »

Won't seem to let me upload the bigger files here so heres a link to them on MEGA: https://mega.nz/#!1k4ExCLK!*SPAM* ... VWyuW8Bibg
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

What a messy format, I'm not even sure that the data at the end of the archive is a TOC with information about the archived files.
In my opinion that one is just a raw container and probably there is an index file somewhere else.
KnifeMaster0299
Posts: 1
Joined: Tue Dec 27, 2016 6:27 am

Re: Unreal Engine 4 pak-file Unpacker

Post by KnifeMaster0299 »

Im new, if there is a download like where in the holy *SPAM* is it?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

QuickBMS tool:
http://quickbms.com
And the script for the UE4 archives:
http://aluigi.org/bms/unreal_tournament_4.bms
Rope
Posts: 1
Joined: Thu Jan 05, 2017 12:45 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Rope »

Hi, I registered just to ask for help.

I'm using the UE4PakUnpacker v5.0 by Haoose but I have two problems.

First of all, I have no idea where the unpacked files are. If they are supposed to be in the same folder as the .pak file itself, then they are not there.

Second, when I try to unpack the file Hatred-WindowsNoEditor.pak, I get this error near the end: "Access violation at address 00006B61. Read of address 00006B61".

Really don't know how to get this to work. Any help appreciated.

UPDATE: Nevermind, I got it to work.
ginwakeup
Posts: 1
Joined: Fri Apr 14, 2017 3:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by ginwakeup »

Hi, really thanks for this tool, it's amazing.
I tried to use it on vanishing of ethan carter but I didn't have success.
It generates the .uproject files, but didn't had success opening the project with their engine version (4.8.0), the project has uassets but the ue4 editor doesn't show them.
So i used prompt command:

C:\XXX_ENGINE_PATH\EDITOR.EXE_XXX "XXX_PROJECT_PATH\ETHAN_CARTER.uproject" -run=resavepackages -FixupLegacySetting -IgnoreVerCheck -IgnoreChangelist

to resave everything with my engine version . This gave me a LICENSEE_VERSION error. So I changed some lines in C++ editor code to match the ethan carter assets version number, and restarted the previous cmd command.
In the end I got another error, which says me that assets are saved with another engine version.
Anyone knows how could I convert uassets to another engine version and open them?
pay2021
Posts: 8
Joined: Wed May 31, 2017 11:15 am

Re: Unreal Engine 4 pak-file Unpacker

Post by pay2021 »

ginwakeup wrote:Hi, really thanks for this tool, it's amazing.
I tried to use it on vanishing of ethan carter but I didn't have success.
It generates the .uproject files, but didn't had success opening the project with their engine version (4.8.0), the project has uassets but the ue4 editor doesn't show them.
So i used prompt command:

C:\XXX_ENGINE_PATH\EDITOR.EXE_XXX "XXX_PROJECT_PATH\ETHAN_CARTER.uproject" -run=resavepackages -FixupLegacySetting -IgnoreVerCheck -IgnoreChangelist

to resave everything with my engine version . This gave me a LICENSEE_VERSION error. So I changed some lines in C++ editor code to match the ethan carter assets version number, and restarted the previous cmd command.
In the end I got another error, which says me that assets are saved with another engine version.
Anyone knows how could I convert uassets to another engine version and open them?


You can download older versions of the engine, im pretty sure.
Darkku
Posts: 6
Joined: Fri Jun 02, 2017 12:46 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Darkku »

. can you update the script to unpak .pak of Friday The 13th? thanks

nvm, the script work awesome, i love you.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

:D
ssringo
Posts: 23
Joined: Sat Dec 19, 2015 2:28 am

Re: Unreal Engine 4 pak-file Unpacker

Post by ssringo »

Tekken 7 is an Unreal Engine 4 game but .pak files are encrypted. Is it possible to update the script to work with Tekken 7? I'll share files if needed but I'm not sure what you'd need to figure out the encryption key. Would running filecutter on the archives be enough or would you need the .exe as well? Would Denuvo mess with the process? Let me know and I'll get to uploading whatever is needed.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Let's start uploading the big game executable, maybe we are lucky.
ssringo
Posts: 23
Joined: Sat Dec 19, 2015 2:28 am

Re: Unreal Engine 4 pak-file Unpacker

Post by ssringo »

I'm about to go to bed so I went ahead and uploaded the big and small exe as well as what filecutter.bms kicked out for the paks (as well as the 3rd pak since it's super small anyways). Hopefully it's enough!

Big exe
https://www.mediafire.com/?xzpgxv7tpa7wayt

Little exe
https://www.mediafire.com/?y6mps00c4o63h8x

pak samples
https://www.mediafire.com/?azcch9c51d9ewch