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

spiritovod, posted Sun Jan 23, 2022 11:43 am (69298)


@gladias9: The game is built with 4.25, so you'll need unrealpak of that version or any version with v4 format support, from 4.18 and below (they should also work through backward compatibility). EAC has nothing to do with this, it only protects memory, but not particular files - though there may be additional integrity checks for critical files to prevent basic tampering with them.
  • Replies 2.3k
  • Views 522
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

gladias9, posted Sun Jan 23, 2022 5:46 pm (69307)


Darn, 4.25 and 4.17 aren't being read (unless I'm just doing it wrong).

This is the ~mods folder I'm using below. I haven't done anything much different from any of my other mods but it just seems like the game is stubborn against using my custom paks regardless of unrealpak version.
https://drive.google.com/drive/folders/ ... sp=sharing

Anyway I'm not trying to rope you into an overly drawn out request or anything. You've done A LOT more than I imagined possible for the game already.
  • Author
  • Localization

spiritovod, posted Mon Jan 24, 2022 12:06 am (69314)


@gladias9: Oh snap, I forgot it's using customized packages. Here is a sample how it should look like (removed), though not sure where encryption flag belongs to, so there are two samples actually. Just rename them to usual _P and place alongside other paks (subfolders like "mod" are not recommended, there are games which refuses to read from anywhere except base folder and only filenames with certain pattern). Also I'm not sure about hash checks, it's possible to check pak hashes (the one from TOC header) against predefined list, some games are using this approach.
  • Author
  • Localization

gladias9, posted Mon Jan 24, 2022 1:48 am (69317)


Looks to be affecting the game in some sense.
Test 1 has the game unable to launch. Test 2 launches but hangs on the main menu loading screen.

But I am unable to extract the .paks using any script so I cannot see inside.
  • Author
  • Localization

spiritovod, posted Mon Jan 24, 2022 2:31 am (69318)


That makes sense actually, test1 package has possible encryption flag set to true, so game couldn't decrypt what's not encrypted and failed to load. I've updated the script in the bundle, it should now handle such packages as test2. Though it's better to compare packages with self-made ones, to understand differences (for starters, they shouldn't be compressed, because compressed assets has custom fields as well). As for the rest - I have no idea why it doesn't work.
  • Author
  • Localization

gladias9, posted Mon Jan 24, 2022 2:46 am (69319)


Hmm.. quickbms with that script isn't extracting test 2.
Was it just a folder structure you changed inside the pak?
  • Author
  • Localization

XxDarkus101Xx, posted Mon Jan 24, 2022 3:44 am (69320)


I don't think Back 4 Blood would be moddable because I unpacked the open beta pak files and I opened a file in asset editor and it would not save. It would have an error come up. And the fact that I was online only as was outriders which I did the same thing and the same outcome happened. Though I could be wrong which I hope but if someone does a mod successfully for B4B, then I would be happy. I got a bad feeling about it though
  • Author
  • Localization

gladias9, posted Mon Jan 24, 2022 3:56 am (69321)


@XxDarkus101Xx
Whenever you run into an error when saving with the asset editor either:
1) copy the 'Offset' of the value you want to change (All the offsets are listed in Asset Editor when you open the .uasset), place the .uexp file into HxD (download it online), click 'Search' -> 'Go to', checkmark 'dec', paste the offset, and replace the number that matches the value you want to change, save in HxD and you're good with no further use of Asset Editor. Or try step method 2 which usually doesn't work.
2) try changing the asset editor version in the right-hand drop box and re-open the .uasset to see if the error goes away

Method 1's steps have picture tutorials in my guide right here.
  • Author
  • Localization

XxDarkus101Xx, posted Mon Jan 24, 2022 4:42 am (69322)


@gladias9 well I'll give it a shot tomorrow once I try and unpack the files with quickbms. Hopefully we can get this game to become modded. If any of my mods don't work or the game does not work with mods I'll let you know
  • Author
  • Localization

spiritovod, posted Mon Jan 24, 2022 1:48 pm (69332)


I've checked it by myself, B4B is modifiable to a certain extent. Here are test packages for better understanding of custom package format (link), just compare them with self-created packages in any hex editor. Test2 can be loaded, but game crashes on serialization, which means included assets are being read, but they're improperly edited. Test3 can be loaded just fine, it has config with some video options modified.
Such packages can be extracted with the same script, it has been updated in specific scripts bundle before my previous post.

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

Please note that this topic is for general questions about UE4 packages and their extraction, not about modding conversations. I'll leave this post as reference, since the game in question is using custom format for packages, but if someones want to talk about modding of this game any further, please talk somewhere else - otherwise the topic will be bloated in no time. Thanks for your understanding.
  • Author
  • Localization

XxDarkus101Xx, posted Mon Jan 24, 2022 3:09 pm (69339)


All I'm looking forward to is modding the weapons stats like damage, recoil, accuracy, fire rate, etc. Maybe some of the cards to where they are fun (if they are editable), and movement speed. Anything else I'm not that big on.
  • Author
  • Localization

XxDarkus101Xx, posted Mon Jan 24, 2022 9:54 pm (69343)


well i just tested one of my mods and nothing is happening. (just added 100 clip ammo to LMG) not working. just used unrealpak version 4.18 after using asset editor. Am I doing something wrong or does the game not want to read it right?
  • Author
  • Localization

gladias9, posted Mon Jan 24, 2022 11:43 pm (69346)


@spiritovod Thank for all your help dude. Appreciate all you've done for us.
@XxDarkus101Xx Will PM you if I ever make any headway. We can't speak modding here on this thread.
  • Author
  • Localization

XxDarkus101Xx, posted Tue Jan 25, 2022 12:29 am (69348)


@gladias9 gotcha
  • Author
  • Localization

spiritovod, posted Tue Jan 25, 2022 3:41 am (69354)


Crayta script from specific scripts bundle is replaced with more generic one, which doesn't require any preliminary modifications of the package. Also, packages should be fully extractable with it, unlike previous workaround solution. Don't forget to run quickbms with -o -? options for more convenient usage of the script.

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

Tony Hawk's Pro Skater 1 2 script added to specific scripts bundle. With it you can extract latest PC versions of the game. Don't forget to run quickbms with -o -? options for more convenient usage of the script.
  • Author
  • Localization

Lionhack, posted Thu Jan 27, 2022 5:38 pm (69385)


1)I tried to unpack the pak file of bgmi (Indian version of PUBG mobile). But it is saying the pak file is not supported. I have attached the image. Could anyone say what the problem is?



2)So I tried the unreal tournament bms script its asking for aes key. Please anyone provide the latest working aes key for bgmi.

  • Author
  • Localization

ikyAhmad, posted Fri Jan 28, 2022 8:52 am (69395)


XxDarkus101Xx wrote:
All I'm looking forward to is modding the weapons stats like damage, recoil, accuracy, fire rate, etc. Maybe some of the cards to where they are fun (if they are editable), and movement speed. Anything else I'm not that big on.

I am also waiting for modding methods for other games!!
  • Author
  • Localization

ikyAhmad, posted Fri Jan 28, 2022 8:54 am (69396)


gladias9 wrote:
@spiritovod Thank for all your help dude. Appreciate all you've done for us.
@XxDarkus101Xx Will PM you if I ever make any headway. We can't speak modding here on this thread.

Share me your Discord, I have many questions about game modification.
  • Author
  • Localization

aluigi, posted Fri Jan 28, 2022 12:20 pm (69409)


I guess we can put PUBG in the "blacklist" because I see people continuing to post and open new topics (I moved them here because partially UE4-related and to remove the "noise" from the forum) about this game and the situation is very annoying now.

So let's put it clear and let's end this situation:
ANY NEW POST/TOPIC ABOUT PUBG WILL BE DELETED

Additionally this topic is for UE4 only, not for generic tips about modding.
So, please, STOP asking.

THIS TOPIC IS ABOUT UE4 GAMES ONLY.

Thanks ;)
  • Author
  • Localization

Ekey, posted Sat Jan 29, 2022 12:40 pm (69436)


How about global topic for Unity ;)?

PS: Sorry for offtopic :B
  • Author
  • Localization

spiritovod, posted Sat Jan 29, 2022 1:28 pm (69440)


@ aluigi: Thanks for making that decision, really appreciated. Sadly, the warning would be buried among pages quite fast - it's better to stick it like you did for sketchfab, but not sure if it's possible (it may be ineffective anyway). Or at least add it to the first post. Though I can still reference to it if needed, so thanks again.

@Ekey: Something like this topic? The main problem is that it should be properly maintained by someone, otherwise it would be a mess much worse than UE4 topic was before - I mean, if you're going to merge all unity stuff into single topic, their games are less unified in terms of encryption, bundle format (if obfuscated) and such. I'm having headache just thinking about it...
????????)?
??????)?
?????

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

Light Response script added to specific scripts bundle. With it you can extract latest versions of the game. Don't forget to run quickbms with -o -? options for more convenient usage of the script.

P.S. Strangly, they're using the same custom encryption as in Tony Hawk games.
  • Author
  • Localization

spiritovod, posted Sat Jan 29, 2022 11:22 pm (69459)


@Krazze: Please take a look at the pattern, explained in the post you've used. You need to convert key from 0xAABBCC to \xAA\xBB\xCC format in this field. I should probably simplify this part of the script, so key can be used in more copy-pasting way, but not sure about particular implementation yet.
  • Author
  • Localization

Krazze, posted Sun Jan 30, 2022 9:35 am (69470)


spiritovod wrote:
@Krazze: Please take a look at the pattern, explained in the post you've used. You need to convert key from 0xAABBCC to \xAA\xBB\xCC format in this field. I should probably simplify this part of the script, so key can be used in more copy-pasting way, but not sure about particular implementation yet.


https://i.gyazo.com/3060d16263cc211497a ... 34413d.png

Still Idk if I'm doing something wrong or it's because I'm using the latest steam version and something changed from your tests. But I don't understand the example that's why I posted asking for help, if I could see the one you used I would understand quickly, I have no experience in these things, sorry.
  • Author
  • Localization

spiritovod, posted Sun Jan 30, 2022 12:32 pm (69475)


@Krazze: In your case it would be "\xD1\xF7\xF5" and so on. "0x" is just a prefix, which indicates that the key is in hex format and it's not part of it (UE4 scripts can accept string keys as well, but they're not being used since around 4.19 engine). Also, you can check that the script is still valid by using it in a normal way with copy-pasting key when asked.
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.