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 / unreal_tournament_4.bms [UE4 global topic]

Post by aluigi »

The script is that 5-lines in "Code:" in my topic.
Copy&paste in a new text file and use it as script.
dirtbike
Posts: 5
Joined: Sat May 26, 2018 7:56 pm

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

Post by dirtbike »

:oops: thank you it worked, the file is smaller but still can't understand and work on the values inside... I used notped ++

here is an example:
GravityScale ““Äñ GravityStictionAngle nó—]
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

Obviously, it's an uasset file. Try umodel
dirtbike
Posts: 5
Joined: Sat May 26, 2018 7:56 pm

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

Post by dirtbike »

tried too before, but gives following errors:


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=516/0, game=ue4.19 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=514/0, game=ue4.18 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=513/0, game=ue4.17 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=513/0, game=ue4.16 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=510/0, game=ue4.15 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Memory: bad allocation size -1419538228 bytes
appMalloc:size=-1419538228 (total=0 Mbytes) <- FArray::Empty:-834122735 x 12 <- SerializePackageFileSummary4 <- FPackageFileSummary<<:Ver=0/0 <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=508/0, game=ue4.14 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660
blenux
Posts: 66
Joined: Wed Nov 15, 2017 1:30 am

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

Post by blenux »

dirtbike wrote:tried too before, but gives following errors:


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=516/0, game=ue4.19 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=514/0, game=ue4.18 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=513/0, game=ue4.17 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=513/0, game=ue4.16 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Unable to read 1 bytes at pos=0x1DB3
FFileReader::Serialize:File=MX450fTuningDataAsset.uasset <- FArchive::ByteOrderSerialize <- SerializeObjectExport4 <- UnPackage::LoadExportTable <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=510/0, game=ue4.15 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


******** I:\MX450fTuningDataAsset.uasset ********

ERROR: Memory: bad allocation size -1419538228 bytes
appMalloc:size=-1419538228 (total=0 Mbytes) <- FArray::Empty:-834122735 x 12 <- SerializePackageFileSummary4 <- FPackageFileSummary<<:Ver=0/0 <- UnPackage::UnPackage:MX450fTuningDataAsset.uasset, ver=508/0, game=ue4.14 <- UnPackage::LoadPackage:MX450fTuningDataAsset.uasset <- Main:umodel_version=660


Your using a older version of uModel, your using 660 while current is 761, however it doesn't really matter is this case, since it's a data only file that uModel can't export out and if you save it out has a uasset you can only see the following.

Image

also UE4.18 is the engine version the game is built on.
Dima Bilan
Posts: 25
Joined: Tue Jul 26, 2016 12:07 am

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

Post by Dima Bilan »

Hello. Friday the 13th: The Game with update Single Player Challenge asks for a key for unpacking pak. Somebody can find out the key?
Wheatley126
Posts: 2
Joined: Thu May 31, 2018 5:06 am

Extracting SummerCamp-WindowsNoEditor.pak (Friday the 13th: The Game)

Post by Wheatley126 »

I've been trying to extract the .pak file for F13 for a while, and I think that the program is set properly. I'm currently using the UE4 plugin (unreal_tournament_4.bms) and I'm using the 4gb version of QuickBMS, but the issue I'm having is that I don't have the key/AES key needed to decrypt it.
How would I find the AES key needed to extract the file?

Any assistance is appreciated
PitterFisher
Posts: 3
Joined: Sun Jun 03, 2018 5:10 am

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

Post by PitterFisher »

I'm also looking for F13 AES key, i could not find it in the exe strings
aside de .pak file, this update also includes a .sig file

I would also like to know what are the methods that you guys use to find it

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

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

Post by aluigi »

Ah just a note about using quickbms on Mac with unreal_tournament_4.bms, because I have seen a post on the gildor's forum regarding a problem with aes http://www.gildor.org/smf/index.php?top ... 9#msg28569
Quickbms is not compiled with openssl on Mac so there is no access to all the known encryption algorithms supported in this library and you can't use this script on this platform (don't ask why, it's a long story).
If you need to use quickbms on Mac with aes encryption you have to compile everything by yourself.

*edit* solution: wait quickbms 0.8.5
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

Regarding my previous post, quickbms 0.8.5 on macosx will be built with openssl support so just wait :)
blenux
Posts: 66
Joined: Wed Nov 15, 2017 1:30 am

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

Post by blenux »

Haha nice, this is a good win for mac uses, not what Apple are doing with their announcements lately lol..
alvileg
Posts: 8
Joined: Tue May 22, 2018 4:10 pm

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

Post by alvileg »

Well Hello,
they changed again the AES key for Fortnite 4.3
Do any of you guys know what one is it?
And can someone explain to me how to find it in order to do it myself in the future?
thanks
lolwatt
Posts: 36
Joined: Sat May 14, 2016 8:03 pm

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

Post by lolwatt »



This game is NOT Unreal Engine 4.
The UPKs are encrypted, this is clearly something else that does not belong in this thread.
GoodConduct
Posts: 104
Joined: Fri Jan 20, 2017 10:25 am

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

Post by GoodConduct »

lolwatt wrote:


This game is NOT Unreal Engine 4.
The UPKs are encrypted, this is clearly something else that does not belong in this thread.


So you want me to post a whole new unreal engine 3 thread? Because it's one number less?

You also do realize that the BMS script for Unreal Engine 4 that is posted here, works for unreal engine 3 right?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

@GoodConduct
my script is for the PAK archives of UE4 only.
That game you have there uses an older version of the engine (upk indeed is old) and, most important, it uses a custom encryption that apparently covers only the first 0x100 bytes from offset 0x10, therefore it requires a new topic specific for that game (not UE3 in general because that's nothing related to UE3 encryptions)
GoodConduct
Posts: 104
Joined: Fri Jan 20, 2017 10:25 am

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

Post by GoodConduct »

Gotcha, gotta love custom encryption will make a new thread then I had no idea your script opens the PAK archives only. You learn something new everyday :)

Edit: Also to add, when it comes to the UE4 thread is it better to post the .exe or the game files or both?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

GoodConduct wrote:Edit: Also to add, when it comes to the UE4 thread is it better to post the .exe or the game files or both?

The big executable and the 2 files generated by the filecutter.bms script on the pak archive.
bxaimc
Posts: 41
Joined: Thu Nov 16, 2017 7:11 pm

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

Post by bxaimc »

Hi, this pak is giving me errors with the script. Other unpackers are giving me errors as well saying Unsupported Version 6

https://drive.google.com/open?id=1zzmcQpIKORGv7xfWhKPg4D3w2yCo7UsC

Would you mind taking a look please? Thank you!