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
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@TheJJMan: Considering that you're asking in quickbms topic, dedicated to UE packages scripts only - UE5 packages has the same format as 4.26+ versions, so any compatible script or tool will work with them as well.

As for the rest, it depends on what you need from it. Fmodel may work with blueprints and sounds to certain extent (not sure about graphics, at least I didn't see any commercial UE5 game, which would be compatible with it, except Fortnite), and also there is specific umodel build here. Though things will be different for games, based on release version of UE5 (graphics wise), since they changed some core math operations there. Anyway, if you still have questions, unrelated to quickbms scripts, please ask them in respective place(s).
ktoplay
Posts: 5
Joined: Thu Feb 10, 2022 8:10 pm

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

Post by ktoplay »

spiritovod wrote:@ktoplay: I couldn't reproduce this issue on my backup copy of the game, package was extracted without errors. Make sure you're using quickbms_4gb_files version and that path for output folder is not too long, as there is path length limit in windows. Also, you can try to temporary disable antivirus (if you have any), because it usually tries to check every new file and there are a lot of them upon extraction.
Alternatively you can use other tools, like fmodel / unrealpakviewer / native unrealpak, but this topic is about related quickbms scripts, so third-party tools and their usage are not covered here.

Understood, thanks!
str4nger_32324
Posts: 4
Joined: Fri Feb 18, 2022 6:45 am

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

Post by str4nger_32324 »

It's str4nger again from back in Feb

Here again because of steam released games (Azur Lane: Crosswave). There seem to be a need for a steamless DRM, and I don't know anything after that
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@str4nger_32324: This game is not encrypted and 4.25 script along with all common tools should work with it. As for "steamless", it's tool for removing steam DRM, which can be found here, but it has nothing to do with this topic in general.
xtiger
Posts: 6
Joined: Sun Jan 13, 2019 7:09 am

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

Post by xtiger »

This requirement is invalid, please delete it.
Saipan
Posts: 7
Joined: Sun Aug 01, 2021 2:20 am

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

Post by Saipan »

hi guys, do you know if there is a way to further compress a pak file? (once you have it packed)
thanks
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@Saipan: You can compress UE4 packages with unrealpak upon packing (there are -compress and -compressionformat options for this). Only zlib is available by default for versions below 4.27 though, and in 4.27 upward unrealpak should be used with oodledata plugin for oodle compression support (if game in question even supports it, otherwise only zlib can be used).
Anyway, it's better to ask such questions at some modding communities, since this topic is mostly about extraction process.
Saipan
Posts: 7
Joined: Sun Aug 01, 2021 2:20 am

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

Post by Saipan »

spiritovod wrote:@Saipan: You can compress UE4 packages with unrealpak upon packing (there are -compress and -compressionformat options for this). Only zlib is available by default for versions below 4.27 though, and in 4.27 upward unrealpak should be used with oodledata plugin for oodle compression support (if game in question even supports it, otherwise only zlib can be used).
Anyway, it's better to ask such questions at some modding communities, since this topic is mostly about extraction process.


ok thanks for answering me. I'll try.
halloweeks2
Posts: 3
Joined: Mon May 30, 2022 3:59 pm

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

Post by halloweeks2 »

unreal_tournament_4_0.4.23.1a_chinese_pubg_mobile.bms not working in game for peace 1.18.10 pak files
I checked pak file are not encrypted
Please help

Pak file
https://www.mediafire.com/file/8mdl7jr6 ... 4.pak/file

Old bms unreal_tournament_4_0.4.23.1a_chinese_pubg_mobile.bms
https://www.mediafire.com/file/zrqnd3na ... e.bms/file
halloweeks2
Posts: 3
Joined: Mon May 30, 2022 3:59 pm

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

Post by halloweeks2 »

halloweeks2 wrote:unreal_tournament_4_0.4.23.1a_chinese_pubg_mobile.bms not working in game for peace 1.18.10 pak files
I checked pak file are not encrypted
Please help

Pak file
https://www.mediafire.com/file/8mdl7jr6 ... 4.pak/file

Old bms unreal_tournament_4_0.4.23.1a_chinese_pubg_mobile.bms
https://www.mediafire.com/file/zrqnd3na ... e.bms/file


Please fix old script
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@halloweeks2: Your posts will be removed anyway eventually, so don't bother: viewtopic.php?f=9&t=1005&p=69409#p69409
Even if those packages are not encrypted, they're still obfuscated and script can't be easily fixed (if it's even possible).
sergop
Posts: 125
Joined: Mon Jul 31, 2017 2:28 am

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

Post by sergop »

Hi, guys. I have a strange problem when I try to import translated files for the game Tell me why.

This happens when I use the command -w -r

Now I tried to use -w -r -r and -w -r -r -r but with both I get this message and if I try to continue then the game files get corrupted and the game crashes.

Does anyone have any idea why is this happening and how to fix it? I will add the files here in case anyone needs them to check something.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@sergop: UE4 scripts doesn't work for reimport due to their complexity. You can start with reading "how to repack assets back" section at the bottom of my base post.
Sleepyhead08
Posts: 3
Joined: Wed Jun 08, 2022 5:47 pm

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

Post by Sleepyhead08 »

spiritovod wrote:Script with v9 paks support (for 4.25 games and below) - "unreal_tournament_4_0.4.25" in the attachment. Updated on 26.12.2020 to properly support base paths from mount points if present. Updated on 26.02.2021 to support auto-detection of compression types - therefore some scripts from specific scripts bundle were removed, because updated main script can handle those games now. Updated on 19.12.2021 to handle large non-chunked uncompressed assets over 3GB.
Script with v11 paks support (for 4.26/4.27/UE5 games) - "unreal_tournament_4_0.4.27" in the attachment. It's not backward compatible with 4.25 and below games. Also, it only supports paks at the moment, but utoc/ucas support may be added later. Updated on 16.01.2021 to properly support files over 4GB. Updated on 23.04.2021 with ability to skip assets which are being addressed outside current package. Updated on 02.05.2021 with auto-detection of compression types and small fixes. Updated on 05.10.2021 with support for updated 4.27 packages format. Updated on 14.11.2021 with fix for proper omitting invalid entries. Updated on 19.12.2021 to handle large non-chunked uncompressed assets over 3GB. Updated on 08.01.2022 with proper support for unicode in folder names.

Hello, Mr. Ovod. I am once again asking for your support.

It seems like the new Back 4 Blood update has changed how the paks are formatted, so the current specific script is unable to unpack them. In addition, forcing the game to load a previous version's pak file spits out an error that reads "Invalid pak file version (9)" so I believe the game has been updated to not support v9 paks anymore. A new specific script would be greatly appreciated. Thanks for the help.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@Sleepyhead08: Could you provide a few sample paks (small ones are fine too) and main game executable, without them it's hard to tell anything specific.
Sleepyhead08
Posts: 3
Joined: Wed Jun 08, 2022 5:47 pm

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

Post by Sleepyhead08 »

Sure, I've attached some new sample .paks. The .exe was too large, so here's a link: <snipped>
Last edited by Sleepyhead08 on Thu Jun 09, 2022 12:04 am, edited 1 time in total.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@Sleepyhead08: Both provided packages can be properly extracted with existing specific script for the game. Make sure you're using quickbms_4gb_files version with -o -C parameters, otherwise you may get random errors out of the blue. 4gb_files version is recommended not only for this one, but any other quickbms script as well.
Sleepyhead08
Posts: 3
Joined: Wed Jun 08, 2022 5:47 pm

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

Post by Sleepyhead08 »

spiritovod wrote:@Sleepyhead08: Both provided packages can be properly extracted with existing specific script for the game. Make sure you're using quickbms_4gb_files version with -o -C parameters, otherwise you may get random errors out of the blue. 4gb_files version is recommended not only for this one, but any other quickbms script as well.
Alright, I guess it works now... I haven't done anything differently, but I just redownloaded the specific scripts. Maybe my .bms just got corrupted, I may have opened it and changed something by accident. Sorry for the trouble.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

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

Post by MuslimCyberGames »

The Quarry AES Key:

Code: Select all

0xB916405788667A528F252B78348541929BAFD27FA88933543CE6016BB2388408
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

Script for decrypting open beta version of Uncharted Waters Origin is added to specific scripts bundle, available via my signature, you need to run quickbms with -o -С options for more convenient usage of the script. Tested only on PC version, but it should work for mobile version as well.

-----------------------------------------------------------------------------

Thanks to FabianFG script for decrypting latest versions of Apex Legends Mobile is added to specific scripts bundle, you need to run quickbms with -o -С options for more convenient usage of the script. Note that configuration files (ini) can't be properly extracted with it at the moment, it's quickbms issue.

-----------------------------------------------------------------------------

Even though I promised myself not to work on PUBG stuff, upon certain request script for latest versions of PUBG Mobile chinese, also known as Game for Peace, is now added to specific scripts bundle (chinese_pubg_mobile_new). It works for at least 1.19.3 version of the game, which is latest at the moment. Note that some packages can't be fully extracted due to specifics of quickbms (consider it a bug).

This statement from the base post is still applied though: "All questions about any PUBG games will be ignored. All existing information is available here in "all you should know about PUBG" section."