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
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

The program doesn't respond when trying to unpack the 13gb file from DGU. Roughly 7 GB are extracted. :\
If somebody has the file ready, please test this.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Both the program of Haoose and my script?
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

Oh hey, your script works! :D And it's A LOT faster, too. :)
spider91
Posts: 233
Joined: Sun Aug 24, 2014 5:26 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by spider91 »

Yep, script is a lot faster then a tool, don't know why, but it's true.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

This pak file doesn't work with the script: http://*USE_ANOTHER_FILEHOSTING*/257dcf2 ... oEditor.7z
Thanks for checking this out.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

The script works perfectly (no errors or crashes) so I don't know what's the problem you claim.

Anyway I have noticed that the non chunked files are not aligned, the problem was my mistake because I considered also the name.
The script has been udpated, now it's version 0.3.

So I suggest you to re-extract ALL the past archives.

Note that the bug affected only the non-compressed files.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

Ok, files are extracted (will upload another example that gives a memory allocation problem) but something seems off: *.uasset files _should_ contain an ogg file sometimes e.g. in cases of "AbyssBetweentheLines\Content\Audio\music\". However the contained ogg isn't detected as such (by Extractor 2.5 for example). Is there something wrong here? Could it be that the files are cut off?
Here's an example: http://*USE_ANOTHER_FILEHOSTING*/9469cb2 ... ret.uasset
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

Also, take a look at the music folder - why are half of the files only some kb in size?
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

Any idea?
Haoose
Posts: 68
Joined: Thu Aug 07, 2014 9:43 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Haoose »

Updated to version 0.5
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

Cool, will test this out later! :)
lxxxk
Posts: 5
Joined: Tue Sep 15, 2015 10:20 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by lxxxk »

how to use *.uasset files?
Haoose
Posts: 68
Joined: Thu Aug 07, 2014 9:43 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by Haoose »

lxxxk
This tool only for pak-files.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

Here's another archive where the script produces errornous results: http://*USE_ANOTHER_FILEHOSTING*/e6163e7 ... oEditor.7z
Again, you can see it at the music section where all the files are truncated.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

And btw, the extractor crashes, too.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Honestly I don't see problems with the script.
All the files have been perfectly extracted without truncation, including those in the Music folders (0xc1832a9e at beginning and end).
If you have noticed one wrong file please specify its exact name.

Tested with quickbms 0.6.7 and script 0.3
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

For example all the contents of \TimeRammeside\Content\Sound\Music\*.uasset contain trucated ogg files that aren't recognized by file scanners. If you cut the header to OggS you can also hear that the file just stops at the beginning of the track.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

The files are perfect (magic begin/end) but I guess that what you mean is an effect of the *Part* solution adopted by the developers.
I guess they have made a sort of dynamic music splitted in multiple files or something similar.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Unreal Engine 4 pak-file Unpacker

Post by AlphaTwentyThree »

Huh... Well then the rest of the music can only be in the map files. Is there a way to extract these? A long time ago, map files were extractable with the same program that also extracted the *.xxx files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Unreal Engine 4 pak-file Unpacker

Post by aluigi »

Gildor stuff