Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

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

Featured Replies

  • Author
  • Localization

rrandom, posted Thu Mar 11, 2021 5:25 pm (62798)


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... :( :(
  • Replies 2.3k
  • Views 555
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

spiritovod, posted Sun Mar 14, 2021 1:12 pm (62842)


@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.
  • Author
  • Localization

cybermallus, posted Fri Mar 19, 2021 5:57 pm (62937)


can anyone tell me how to unpack pubg mobile global files
  • Author
  • Localization

moonpaladin, posted Wed Mar 24, 2021 5:59 am (62999)


Hello, there is any way to unpack .ukx packages of Lineage 2 PC? because u-model isn't working :/ :?
  • Author
  • Localization

rhadamants, posted Thu Mar 25, 2021 2:43 am (63018)


There is any way to unpack pak files Dragon quest XI Echoes of an Elusive Age from Microsoft Store Gamepass?
  • Author
  • Localization

spiritovod, posted Thu Mar 25, 2021 1:03 pm (63026)


@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.
  • Author
  • Localization

Idiotgodc, posted Fri Mar 26, 2021 2:05 pm (63052)


Can you Help on Game For Peace ( Pubg Mobile Chinese ) key Changed Help To Dycrypt That @Spiritovod Thanks
  • Author
  • Localization

Dima Bilan, posted Mon Mar 29, 2021 5:06 pm (63125)


Hello. When exporting game "It Takes Two" files .pak, it gives an error. Does she need a key or is here another problem?
Image
  • Author
  • Localization

spiritovod, posted Mon Mar 29, 2021 6:11 pm (63126)


@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.
  • Author
  • Localization

Khrn, posted Wed Mar 31, 2021 10:37 pm (63155)


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?
  • Author
  • Localization

Zexia, posted Thu Apr 01, 2021 3:42 pm (63162)


Khrn wrote:
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?

I don't think you can reimport files into a .pak from Unreal. You have to paste the folders and everything extracted from the .pak into the game installation folder. Let's say the extracted folders are called KH3 and Engine. Copy them, go to the folder where the game is installed, and replace the originals by the same name. Then delete the original .pak from the game folder, or else it will read the files from the .pak and the translation won't work. I hope this helps!
  • Author
  • Localization

spiritovod, posted Thu Apr 01, 2021 3:56 pm (63163)


@Zexia: It's inconvenient in terms of distribution and many games will refuse to work this way.

@Khrn: Check the very bottom of my base post, you can find some useful links there, related to your question.
  • Author
  • Localization

Khrn, posted Thu Apr 01, 2021 4:12 pm (63164)


Zexia wrote:
Khrn wrote:
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?

I don't think you can reimport files into a .pak from Unreal. You have to paste the folders and everything extracted from the .pak into the game installation folder. Let's say the extracted folders are called KH3 and Engine. Copy them, go to the folder where the game is installed, and replace the originals by the same name. Then delete the original .pak from the game folder, or else it will read the files from the .pak and the translation won't work. I hope this helps!

I tried that and the game launched with a bunch of errors - like things were missing. It launched okay when I put the .pak file back in.
spiritovod wrote:
@Zexia: It's inconvenient in terms of distribution and many games will refuse to work this way.

@Khrn: Check the very bottom of my base post, you can find some useful links there, related to your question.

They mention I need to download a specific version of UE4 (the one the game uses), but I can't find that anywhere. The Details tab only shows the File Version as 1.0.0.0. Any idea which one I should install?
  • Author
  • Localization

spiritovod, posted Thu Apr 01, 2021 5:56 pm (63167)


@Khrn: Kingdom Hearts 3 is using UE 4.17, but u4pak and unrealpak from fluffyquack's workflow (which is 4.12) should be fine too through backward compatibility - if the game supports side paks in the first place.
  • Author
  • Localization

Khrn, posted Fri Apr 02, 2021 12:32 am (63172)


spiritovod wrote:
@Khrn: Kingdom Hearts 3 is using UE 4.17, but u4pak and unrealpak from fluffyquack's workflow (which is 4.12) should be fine too through backward compatibility - if the game supports side paks in the first place.

Awesome, I got it working! Thank you!
  • Author
  • Localization

TsukiMoon, posted Sat Apr 03, 2021 2:04 am (63187)


Greetings, I am curious of digging into an encrypted PAK file I managed to extract from a Nintendo Switch demo but I am currently stuck in trying to figure out how I can currently pull out the AES Keys.

At the moment I cannot share a screenshot or anything along those lines but in my attempt to follow masagrater's guide for decrypting these from the Nintendo Switch, I was able to dig into the "main" file with Ghidra and the Switch Loader and was able to find the intended search result that was mentioned. However, from here, I see no "offsets" but I do see addresses I can go to but there is only one place to go to as the hexadecimal values I have pulled out from the nearby areas have not seemed to work.

For context, the demo that was released is R-Type Final 2 and I would love to have any help or guidance possible to find the AES Key to unpack the PAK files.
  • Author
  • Localization

spiritovod, posted Sat Apr 03, 2021 11:12 pm (63205)


@TsukiMoon: I wonder why you're asking it here and not at GBAtemp, where masagrator's guide resides. The guide is pretty good, though if you understand how offsets works, you don't even need to disassemble whole nso to obtain key from it. I've added that key to the list (available via my signature).
  • Author
  • Localization

TsukiMoon, posted Sun Apr 04, 2021 12:24 am (63206)


spiritovod wrote:
@TsukiMoon: I wonder why you're asking it here and not at GBAtemp, where masagrator's guide resides. The guide is pretty good, though if you understand how offsets works, you don't even need to disassemble whole nso to obtain key from it. I've added that key to the list (available via my signature).


I do not believe I fully understood the offsets because I was looking at what was similar on the screenshots provided and what I saw on my end and could not make head or tails on "where" the end-result was or how you managed to get the end-result you did on the link in your signature. I would love to straighten it out on my end so I can dig around on future searches on my end.

Out of curiosity, is the version of Unreal Engine 4 also hidden in there somewhere that I could also search for?

Thank you for your response as well.
  • Author
  • Localization

spiritovod, posted Sun Apr 04, 2021 2:41 am (63207)


@TsukiMoon: In this particular case your result should be pretty identical to the one from the guide (in terms of what you see), at least in IDA, but for Ghidra representation may be quite different. Maybe you didn't analyze file enough, maybe you copied wrong string around correct one, etc. Though this topic is rather for quickbms scripts for UE4 games and general questions about pak format.
The game is built with 4.26, you can understand it from pak version. In the code you may look for "build" or "release", but many games are using project names instead of engine version, so pak version is more reliable.

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

"unreal_tournament_4_0.4.26_paks_only" script updated to support unicode filenames properly (like in case with all other UE4 scripts).
  • Author
  • Localization

TheDarkness1994, posted Sun Apr 04, 2021 7:35 pm (63218)


@spiritovod Hello.
Game Subverse UE 4.22.3
Use Google Translate
I succeeded and is able to translate the text of the game (Russian), if the text format is of such a plan (screenshot below) in which there are "Key" and "SourceString".
(? ???? ???????? ? ???????? ?????? ??? ???? (?? ?????), ?? ??? ??? ???? ????? (???? ????) ? ???? ????????? "Key" ? "SourceString")
Image
But the other text (screenshot below) is mainly located in dialogs, it is impossible to translate in any way. The question is whether this text can be translated (so that the letters from the Cyrillic alphabet are present) in any way, by changing the uasset and uexp files.
(? ??? ???? ??? (???? ????) ? ?????? ?? ??????? ? ????????, ?? ???????? ????? ??????. ????? ????? ?? ??? ??? ?????? (??? ??????????? ??? ?? ???????) ????? ???? ????, ?????????? ? ???? uasset ? uexp)
Image
I think the problem may be that the developers of this game turned off the ability to localize it (Also, the structure of the text could be different or another plugin was used, a widget that includes this text)
(? ??? ??? ?????? ????? ???? ? ?, ?? ?????? ?? ???? ?? ????? ??????????? ??? ??? ????????? (????? ??????? ??? ????? ???? ???? ??? ????????? ???? ??????, ?????? ??????? ??? ???)
An example in my mini project

(???? ? ??? ???? ????)
Image
  • Author
  • Localization

spiritovod, posted Mon Apr 05, 2021 2:09 pm (63232)


@TheDarkness1994: Um, like it was already said above, this topic is more for general questions about pak format and related scripts. I suggest you to wait for answers in "Game Localization" subforum (since you've already asked for the same thing there) or even create separate topic in that subforum. Note that the game developer is planning to add many official localizations, including russian one, after the game will be out of early access.
  • Author
  • Localization

Kagachi377, posted Tue Apr 06, 2021 2:18 am (63245)


Khrn wrote:
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?


where did you get that bms file? I can't find it anywhere. Please, I've been trying to unpack kh3 with no success at all...
  • Author
  • Localization

spiritovod, posted Wed Apr 07, 2021 9:49 pm (63269)


@Kagachi377: Both official UE4 script and "latest" one from my signature should work with Kingdom Hearts 3, required key also available via my signature.

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

Script for extracting audio from latest Satisfactory version in the attachment. Apply it on extracted FactoryGame\Content\WwiseAudio\Media folder, it will create proper wem files, which can be played and converted with vgmstream. The script is not required for older game versions, where audio files has wem format out of the box.
Update: I've decided to merge scripts for sound extraction into respective bundle, which is now available in my base post. Currently it includes scripts for Satisfactory and R-Type Final 2, but some more will be added later.

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

Script for Century: Age of Ashes added to specific scripts bundle. It's applied only to latest CBT version of the game, previous versions are using default UE4 format.
  • Author
  • Localization

CriticalError, posted Fri Apr 09, 2021 6:06 pm (63299)


spiritovod wrote:
@Kagachi377: Both official UE4 script and "latest" one from my signature should work with Kingdom Hearts 3, required key also available via my signature.

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

Script for extracting audio from latest Satisfactory version in the attachment. Apply it on extracted FactoryGame\Content\WwiseAudio\Media folder, it will create proper wem files, which can be played and converted with vgmstream. The script is not required for older game versions, where audio files has wem format out of the box.
Update: I've decided to merge scripts for sound extraction into respective bundle, which is now available in my base post. Currently it includes scripts for Satisfactory and R-Type Final 2, but some more will be added later.

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

Script for Century: Age of Ashes added to specific scripts bundle. It's applied only to latest CBT version of the game, previous versions are using default UE4 format.

Hello and thanks for the last update, I have a question, you mention script was updated to latest client of Miracles 2, but I get error.

Image
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.