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
Nyny
Posts: 3
Joined: Fri Feb 26, 2021 3:36 pm

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

Post by Nyny »

@spiritovod Man you rock! Having the files is a huge step. I'll ask a friend who has some knowledge on filenames and helped me with some hashe names on another game some time ago. If I have any kind of progress I'll post it here.
Thank you for the script. Really appreciated
cybermallus
Posts: 2
Joined: Sun Feb 28, 2021 4:20 am

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

Post by cybermallus »

bro can you post how to unpack pubg mobile beta files . I tried hard still i cannot . Please help you are the last option to me
Monteven
Posts: 3
Joined: Fri Oct 05, 2018 4:22 pm

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

Post by Monteven »

I have no clue how quickbms works so I put together a quick python script that works for a single pak - it seems to mess up the last few bytes for uncompressed stuff due to padding errors with zlib but everything else is fine. I wrote some basic code for file names but doesn't fully work yet
Kein
Posts: 32
Joined: Wed Jan 08, 2020 11:22 pm

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

Post by Kein »

@Spirit
Lole, Nacon used your AES finder to unpack game, mod it and redistribute illegaly.
https://www.youtube.com/watch?v=VYTSt5oOr5g

Really curious how did they repack it with same AES key, how id they figure out prime for key pairs. Threw a few mining plantations at it, maybe.
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 »

@Kein: You're mistaking encryption with signing. Encryption is reversible with known key, signing is not (due to private component). But basically UE4 is accepting any valid signatures, it doesn't validate them against pak or something - so you can sign a mod with your own signature parameters (unrealpak can do that). In case of main pak there is additional signature check though, but it can be easily bypassed by a professional UE4 dev - and according to Frogwares' statement, Nacon has used one from their own studio, Neopica, to modify the game. So it would take just a few hours for them.

@Monteven: Chunks headers also has decompressed sizes, in case you're willing to implement additional checks. It's last 4 bytes / 0x1000. If you have some doubts, so you can compare your output with output of my script for raw extraction.

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

Proper script for Outriders added to specific scripts bundle, thanks to mobus_c352. Though the game is using custom engine (and it's rather mix of 4.25-26), so even textures will not work in umodel.
kevinbaconten
Posts: 1
Joined: Sun Mar 07, 2021 10:08 pm

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

Post by kevinbaconten »

Dead Trigger is an android game made from an unreal engine. you can also find the dead trigger mod apk as the moded games have more fun to play. https://bestgamesapk.com/dead-trigger-2-mod-apk/
Nik Burnt
Posts: 4
Joined: Wed Jan 03, 2018 8:53 pm

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

Post by Nik Burnt »

Did someone have success with textures/localizations extraction from Outriders Demo?
TheDarkness1994
Posts: 15
Joined: Thu Jul 11, 2019 3:04 am

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

Post by TheDarkness1994 »

kevinbaconten wrote:Dead Trigger is an android game made from an unreal engine. you can also find the dead trigger mod apk as the moded games have more fun to play. https://bestgamesapk.com/dead-trigger-2-mod-apk/

Unity
TopHat
Posts: 5
Joined: Wed Mar 10, 2021 1:44 am

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

Post by TopHat »

Sorry if this questions has been asked before, but I'm trying to extract files from Sea of Thieves. I've searched for the correct BMS file, but there's been quite a few, and I'm unsure of which is the right one to use.
rrandom
Posts: 1
Joined: Thu Mar 11, 2021 5:20 pm

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

Post by rrandom »

Ascarre wrote:I can successfully extract pak files(Pubg mobile All 1.2.0 versions like global, korea and all) and get .dat files in which they can be edited and eventually edit those pak files and repack them to .pak files again but when i try to put it back to obb the obb doesn't get detected...can anyone tell me where am i wrong.... The size of the obb files are same and pak files are also the same.....

hey brother can you please tell me how did you managed to extract pak files i am trying this for hours but nothing is working please help me to just unpack the file... :( :(
Balakala
Posts: 1
Joined: Sun Mar 14, 2021 10:32 am

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

Post by Balakala »

https://drive.google.com/file/d/1Euyu_T ... sp=sharing


Game: MyProject

It is using 4.25, please can anyone check for the AES?
i need this aes key
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 »

@Nik Burnt: As it was already said before, Outriders is using custom engine, so the only way to preview most textures is to use rawtex on them or something. I doubt it will be fixed in umodel in near future, unless someone else contribute required changes. Though it's not right topic for such discussions.

@TopHat: Use the script from specific scripts bundle from my signature, it has game name in it.

@Balakala: It doesn't seem encrypted. Provide some sample pak from this project for further analysis.

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

Outriders script for raw extraction removed from custom scripts bundle (apparently, it didn't work properly anyway), so use remaining proper script from specific scripts bundle.
cybermallus
Posts: 2
Joined: Sun Feb 28, 2021 4:20 am

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

Post by cybermallus »

can anyone tell me how to unpack pubg mobile global files
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

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

Post by moonpaladin »

Hello, there is any way to unpack .ukx packages of Lineage 2 PC? because u-model isn't working :/ :?
rhadamants
Posts: 2
Joined: Fri Nov 13, 2020 5:19 am

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

Post by rhadamants »

There is any way to unpack pak files Dragon quest XI Echoes of an Elusive Age from Microsoft Store Gamepass?
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 »

@cybermallus: The only PUBG script that works at the moment with the latest mobile versions is corresponding raw_extract script from custom scripts bundle (available via my signature).

@moonpaladin: It's UE3 game, while the topic is for UE4 games.

@rhadamants: Many UWP games should be dumped first before you can use their resources, because of additional encryption layer - it can be done with UWPDumper or something. After that you can extract assets with corresponding DQ11 script from specific scripts bundle (available via my signature). This script is compatible with all known versions and editions of DQ11, including S and switch ones.
Idiotgodc
Posts: 7
Joined: Mon Oct 26, 2020 3:54 pm

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

Post by Idiotgodc »

Can you Help on Game For Peace ( Pubg Mobile Chinese ) key Changed Help To Dycrypt That @Spiritovod Thanks
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. When exporting game "It Takes Two" files .pak, it gives an error. Does she need a key or is here another problem?
Image
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 »

@Dima Bilan: It's 4.26 game - for such games use unreal_tournament_4_0.4.26 script, available via my signature.

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

latest_UE4_bms-script updated. Fixed some issues with auto-detection of compression algorithms.
Khrn
Posts: 3
Joined: Wed Mar 31, 2021 9:55 pm

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

Post by Khrn »

I'm trying to translate Kingdom Hearts III (PC) and need some help. I successfully exported the files using QuickBMS and the unreal_tournament_4_0.4.25b.bms file. I then used this tool to convert the .locres files to .txt. I tried translating half of the kh3_settings.locres file to test, and then tried to import back using both the reimport.bat and reimport2.bat files. Neither worked, and I got this error:
Image
I then noticed the suggestion to delete any unchanged files before importing (keeping the folder structure), but that gave me another similar error. I'm not really sure what to do. This is my first time translating a UE4 game, so I'm sorry if this has been answered before. I tried looking around but couldn't find anything. How can I do this?