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

Gaming4allplay, posted Thu Apr 14, 2022 9:12 pm (71129)


Gaming4allplay wrote:
I am trying to export Polygon with the latest version of QuickBMS and the key Encryption Key available at https://cs.rin.ru/forum/viewtopic.php?t=100672 which is
Code:
0x6E105711124B594E57A6E07481B0DFF8E8BBD4DC958DE7E3FA057F8D11D9790D
and I keep running into errors.

This is my error
Code:
- please insert the content for the variable KEY:
  0x6E105711124B594E57A6E07481B0DFF8E8BBD4DC958DE7E3FA057F8D11D9790D
KEY: nWKYNWt?y

Error: incomplete input file -10:
       Can't read 8 bytes from offset 00025040.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file -10 100%   151616     151616     . offset 00025040

Last script line before the error or that produced the error:
  160 get CHUNK_END_OFFSET longlong TOC_FILE
  coverage file 0     0%   151925     1136757282 . offset 00000000
  coverage file -10 100%   151616     151616     . offset 00025040

Press ENTER or close the window to quit


It would be awesome if someone can help me figure this out so I can make some mods for the game.


I managed to fix it on my own :)
  • Replies 2.3k
  • Views 522
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

cornel, posted Sat Apr 16, 2022 8:32 am (71153)


With QuickBMS I was able to extract all the paks (and patch paks) of Jedi Fallen Order (UE4.21), except for the patch paks of the second pak (pakchunk2)...
I used two scripts, each with a different AES decryption key (attached).
But non worked for the 2nd pak (with wem audio files)...
I got an error message (see below).
Anyone know what that means? Is there perhaps a third AES key that I need to find?

JFO AES2.bms

JFO AES1.bms

  • Author
  • Localization

spiritovod, posted Sat Apr 16, 2022 10:41 am (71155)


@cornel: The game has dummy packages without any content, which can't be processed - you can check it by file size, valid packages should be at least 300 bytes or bigger. If you're doing batch extraction, you can temporary move dummy packages somewhere else.
  • Author
  • Localization

cornel, posted Sat Apr 16, 2022 11:23 am (71156)


Thanks @spiritovod! As always, sir, you are a provider of useful info!
Don't need to worry about those then.
  • Author
  • Localization

tr1cky89, posted Mon Apr 18, 2022 12:56 am (71180)


@spiritovod

And idea what changes TRS did to MapProperty's on Back 4 Blood? I've had confirmation from a dev they made changes to optimize it, but couldn't give any specifics.
  • Author
  • Localization

spiritovod, posted Mon Apr 18, 2022 1:26 pm (71187)


@tr1cky89: I suppose you can check both game SDK and properties of related assets in fmodel for more info. Also, please note that this topic is for general questions about UE4 packages and their extraction, not about particular assets or modding conversations.
  • Author
  • Localization

ktoplay, posted Tue Apr 19, 2022 9:44 pm (71209)


spiritovod wrote:
@ktoplay: If I remember correctly, it can be extracted with 4.27 script, available via my signature, without additional steps.

Sorry for late answer. Thx, it helped!
But there is still a problem here. It occurs after an hour of unpacking:

Error: impossible to write 0xc0001859 bytes (total 0xc0001859)
Check your disk space or the script is wrong

Last script line before the error or that produced the error:
192 log NAME OFFSET DIFF 0 XSIZE

- OFFSET 0x835dd835
- SIZE 0xc0001859
coverage file 0 30% 1168969732 3776994229 . offset 835dd835
coverage file -5 25% 878402 3457371 . offset 00255c29
  • Author
  • Localization

NoobInCoding, posted Mon Apr 25, 2022 3:24 pm (71284)


@ktoplay: maybe you don't have enough space.
  • Author
  • Localization

spiritovod, posted Mon Apr 25, 2022 3:58 pm (71287)


^ This and also there are possible problems with your HDD, since archives around 3GB should be extracted in approximately 10-15 minutes (and much faster on SSD), not a hour.
  • Author
  • Localization

A9STRACK3D, posted Thu Apr 28, 2022 12:44 am (71314)


Can anyone help me find the updated key for Injustice 2 mobile??
I have searched everywhere and cant find any code to break into it that still works, error every time
Here is a link below with my current .Pak file
https://www.mediafire.com/file/0g4sqgtm ... 2.pak/file

Any help would be extremely appreciated Ive been on this for about 5 hours trying to break into this game and start extracting models and animations. I am able to get into MK Mobile no problem, but Injustice has alot more animations and some character models i would like to use, anyone that can help me i will be forever indebted.

Also if it helps this is my error message when i use the last code that worked (0x7A5E5EAB097E849F2326FBA10C89ED94E3D3E77FBF5D0B20CD8CFF20AC615418)

Error: incomplete input file -10:
Can't read 8 bytes from offset 00aa2b80.
Anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please check the following coverage information to know if it's ok.

coverage file -10 100% 11152256 11152256 . offset 00aa2b80

Last script line before the error or that produced the error:
108 get CHUNK_END_OFFSET longlong TOC_FILE
  • Author
  • Localization

spiritovod, posted Thu Apr 28, 2022 2:52 am (71316)


@A9STRACK3D: I have no idea which script you're using, since both vanilla UE4 script (linked in the first post) and modern version of that script for games below 4.25 (available via my signature) works fine with the provided package. Also, if you need only models related assets from packages, you don't have to extract them, because both umodel and fmodel can work directly with packages.
  • Author
  • Localization

ikyAhmad, posted Thu Apr 28, 2022 11:33 am (71322)


can anyone explain?? i unpacked my *.pak file via termux, initially the process was fine !! but it's having problems on unpacking complete, they're not in my output folder!!
I use this script to unpack it unreal_tournament_4_0.4.23.1a_pubg_mobile_v2.bms
  • Author
  • Localization

A9STRACK3D, posted Thu Apr 28, 2022 3:52 pm (71329)


spiritovod wrote:
@A9STRACK3D: I have no idea which script you're using, since both vanilla UE4 script (linked in the first post) and modern version of that script for games below 4.25 (available via my signature) works fine with the provided package. Also, if you need only models related assets from packages, you don't have to extract them, because both umodel and fmodel can work directly with packages.



I don't know why but the vanilla script didn't work for me, I had to have done something wrong, however when I used 4.25 worked like a charm, I am using the models to animate and make characters for Mugen/Mortal Kombat Project and UModel wouldn't let me access anything in Injustice because of the encryption, right after reading your response I downloaded the script, ran it and bam everything opened up, thank you so much, tbh I have no idea what I'm doing and I am trying to learn a whole lot real fast (literally before yesterday I knew not one thing about game files or even how to access them) this site has been extremely resourceful, just wanna say thank you for the help. It is extremely appreciated, wish I asked her first instead of spending 6 hours attempting to do it myself.
  • Author
  • Localization

spiritovod, posted Fri Apr 29, 2022 12:50 pm (71340)


@ikyAhmad: I don't think this problem is related to script itself, more like to general usage of quickbms. Most likely on different platforms output folder should be explicitly declared in launch parameters (as explained in documentation, see "usage"), or quickbms doesn't have enough rights to write to output folder, or something else.

@A9STRACK3D: I've just re-checked vanilla UE4 script with packages from latest Injustice 2 mobile (5.3.1) and it works fine here. If you're willing to solve this issue, provide error message you got when extracting files with vanilla script. Please use script without any modifications (like embedded key), which you can get from this link.
As for umodel, it supports encrypted packages and it's asking for key when you're trying to open them (in the same format 0x1122...), so there shouldn't be issues with it as well. If you have other umodel related questions, please ask them at gildor's forums.
  • Author
  • Localization

dankew1, posted Sat Apr 30, 2022 3:23 pm (71355)


Hello, can I request a bms script for Aliens Fireteam Elite please ?
  • Author
  • Localization

spiritovod, posted Sat Apr 30, 2022 4:41 pm (71356)


@dankew1: 4.25 script, available via my signature, with key from separate topic, also available via signature, should work with that game.
  • Author
  • Localization

Freeeee, posted Sun May 01, 2022 7:16 am (71365)


ikyAhmad wrote:
can anyone explain?? i unpacked my *.pak file via termux, initially the process was fine !! but it's having problems on unpacking complete, they're not in my output folder!!
I use this script to unpack it unreal_tournament_4_0.4.23.1a_pubg_mobile_v2.bms




Are you unpacking or repacking the 2.0 version ?
  • Author
  • Localization

dankew1, posted Mon May 02, 2022 5:32 pm (71376)


spiritovod wrote:
@dankew1: 4.25 script, available via my signature, with key from separate topic, also available via signature, should work with that game.

Yeah thank you it works
  • Author
  • Localization

ktoplay, posted Tue May 03, 2022 3:13 pm (71385)


@NoobInCoding I have 120GB free on my computer.

@spiritovod HDD new. The archive itself is quite large, I'm surprised that it (not)unpacked in an hour at all.
  • Author
  • Localization

spiritovod, posted Tue May 03, 2022 4:32 pm (71386)


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

TheJJMan, posted Fri May 06, 2022 4:41 am (71414)


Are there any tools currently available for Unreal Engine 5 yet? Umodel hasn't said anything about it yet
  • Author
  • Localization

spiritovod, posted Tue May 10, 2022 1:29 pm (71487)


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

ktoplay, posted Wed May 11, 2022 4:28 pm (71505)


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

str4nger_32324, posted Tue May 17, 2022 11:34 pm (71594)


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

spiritovod, posted Wed May 18, 2022 12:51 am (71595)


@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.
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.