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
GGA_Jeremiah
Posts: 2
Joined: Fri Dec 17, 2021 9:21 pm

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

Post by GGA_Jeremiah »

I am looking to Mod the enemy stats in FF7 Intergrade on PC. I have been able to see models and textures with noesis and umodel but have been unable to get farther. I have tried using QuickBMS to look at the data but have so far been unsuccessful. Any help in this area would greatly be appreciated.
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 »

@GGA_Jeremiah: 4.25 script from my base post works fine with the game, you can find it via my signature. The key, required for extraction, is also available in separate topic, linked in the signature.
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

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

Post by DJ Normality »

Sorry I dont have the .exe to pull the key but if anyone knows the AES key for "Song of Horror" please post. :D
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 »

@DJ Normality: The game is not encrypted and using standard package format for the used UE version, so any compatible tools and 4.25 script should work fine with it.
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

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

Post by DJ Normality »

EDIT its working now Spirit i was trying to dump PS4 .pak. the PC one works.
Last edited by DJ Normality on Sun Dec 19, 2021 9:55 am, edited 2 times in total.
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 unpacking pak FNaF Security Breach, I get this error. With what it can be connected?
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 »

@DJ Normality: It's very possible that your PS4 package was corrupted upon extraction from pkg or from console. It happens, but for possible solutions it's better to ask at some PS4 communities.

@Dima Bilan: Oh, this thing again... I've updated base 4.25 script, available in the post from my signature, try it instead.

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

Both 4.25 and 4.27 scripts are updated to support extraction of large non-chunked uncompressed assets over 3GB. The core of this issue is explained in this post. In the same time, Sword and Fairy 7 specific script is removed from respective bundle, because base script can properly handle it now.
XxDarkus101Xx
Posts: 10
Joined: Thu Dec 09, 2021 8:40 pm

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

Post by XxDarkus101Xx »

Ok I know I said this but for the heck of it just in case if anyone needs it, here's the AES key for Back 4 Blood
0xCFC5E8CF9A2527DB4F48C41372EE1ACE6878C43382D83EF2DC7329777C34B130
GGA_Jeremiah
Posts: 2
Joined: Fri Dec 17, 2021 9:21 pm

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

Post by GGA_Jeremiah »

spiritovod wrote:@GGA_Jeremiah: 4.25 script from my base post works fine with the game, you can find it via my signature. The key, required for extraction, is also available in separate topic, linked in the signature.


Thank you. I have now unpacked the .pak files but I don't know how to open the .uexp and umap files. I know umodel is more for visual changes to the game with models and stuff like that but I am interested in combat stat changes which would just be text changes.
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 »

@GGA_Jeremiah: In normal circumstances I would recommend fmodel for such things, but Intergrade is using custom unversioned properties, which are currently not supported anywhere, except for custom umodel build (partially). So if you don't know how to do it manually, I can only suggest to wait until proper support will be added to some public tools (like fmodel or those from this post) or take a look at original PS4 version of the game, which is using more or less default format for assets.
winkiller221
Posts: 2
Joined: Mon Dec 27, 2021 4:26 pm

FNAF 9 Security Breach (Five Night at Freddy) - QuickBMS patch needed!

Post by winkiller221 »

I will not delay. I'll tell you as it is.

Used standard Unreal Tournament 4 script on QuickBMS, when export reached 26.3 GB out of 79. Export fails with memory allocation problem.

I read it in the forums, it is necessary to update the script so that it exported it to the end. Because the file is too large. (who even sat in the wool studio management ?? They stuffed all the content (80 gigabytes) into 1 pak file.

AES key is available, no further problems are noticed.

Code: Select all

0x85F7D4007015493ED0359C9007266038F8F7B1F96988F19A610103874CC95286

Unreal Engine version: 4.25.0-SWG

I attach export logs:

Im need to export audio. And it seems to be hidden at the end of the pak file. And when exporting UE Viewer, it turns out to snatch a maximum of 30 sound files.

Code: Select all

  000000068f770035 3461711    fnaf9\Content\Maps\WestArcade\West_Arcade_Master.uexp
  000000068fabd835 763055     fnaf9\Content\Maps\WestArcade\WestArcade_Gameplay.uexp
  000000068fb77d1a 83         fnaf9\Content\Maps\WestArcade\WestArcade_Gameplay_BuiltData.uexp
  000000068fb78035 78558      fnaf9\Content\Maps\World\Elevators\MAP_Elevator_BowlingAlleyAtrium.uexp
  000000068fb8b835 164130     fnaf9\Content\Maps\World\Elevators\MAP_Elevator_WestArcade.uexp
  000000068fbb4035 75285      fnaf9\Content\Maps\World\Elevators\MAP_ElevatorFazerblast.uexp
  000000068fbc6835 158907     fnaf9\Content\Maps\World\Elevators\MAP_ElevatorGatorgolfAtrium.uexp
  000000068fbed835 60666      fnaf9\Content\Maps\World\Elevators\MAP_ElevatorMainLobbyPrize.uexp
  000000068fbfc835 531159     fnaf9\Content\Maps\World\Elevators\MAP_ElevatorPartsService.uexp
  000000068fc7e835 148653     fnaf9\Content\Maps\World\Elevators\MAP_ElevatorSinkhole.uexp
  000000068fca3035 156642     fnaf9\Content\Maps\World\Elevators\MAP_LobbyAtriumElevator.uexp
  000000068fcc945a 720        fnaf9\Content\Maps\World\MAP_Additional_Collision.uexp
  000000068fcc975f 83         fnaf9\Content\Maps\World\MAP_Additional_Collision_BuiltData.uexp
  000000068fcc9835 3250325    fnaf9\Content\Maps\World\MAP_NightLighting.uexp
  000000068ffe3835 3294158848 fnaf9\Content\Maps\World\MAP_NightLighting_BuiltData.ubulk

- error in src\extra\xalloc.c line 618: xdbg_malloc()

Error: memory allocation problem
             .


press ENTER to quit


Added
    Use latest QuickBMS 0.11

    Use latest beta branch of QuickBMS 0.11.1
    Use latest UT4 script 0.4.25

Error on QuickBMS 0.11.1 changed
Attach the latest export logs:

Code: Select all

 000000068f769835 23947      fnaf9\Content\Maps\WestArcade\West_Arcade_Cameras.uexp
  000000068f76f5fa 83         fnaf9\Content\Maps\WestArcade\West_Arcade_Cameras_BuiltData.uexp
  000000068f76f835 746        fnaf9\Content\Maps\WestArcade\West_Arcade_Entryway.uexp
  000000068f76fb5a 83         fnaf9\Content\Maps\WestArcade\West_Arcade_Entryway_BuiltData.uexp
  000000068f770035 3461711    fnaf9\Content\Maps\WestArcade\West_Arcade_Master.uexp
  000000068fabd835 763055     fnaf9\Content\Maps\WestArcade\WestArcade_Gameplay.uexp
  000000068fb77d1a 83         fnaf9\Content\Maps\WestArcade\WestArcade_Gameplay_BuiltData.uexp
  000000068fb78035 78558      fnaf9\Content\Maps\World\Elevators\MAP_Elevator_BowlingAlleyAtrium.uexp
  000000068fb8b835 164130     fnaf9\Content\Maps\World\Elevators\MAP_Elevator_WestArcade.uexp
  000000068fbb4035 75285      fnaf9\Content\Maps\World\Elevators\MAP_ElevatorFazerblast.uexp
  000000068fbc6835 158907     fnaf9\Content\Maps\World\Elevators\MAP_ElevatorGatorgolfAtrium.uexp
  000000068fbed835 60666      fnaf9\Content\Maps\World\Elevators\MAP_ElevatorMainLobbyPrize.uexp
  000000068fbfc835 531159     fnaf9\Content\Maps\World\Elevators\MAP_ElevatorPartsService.uexp
  000000068fc7e835 148653     fnaf9\Content\Maps\World\Elevators\MAP_ElevatorSinkhole.uexp
  000000068fca3035 156642     fnaf9\Content\Maps\World\Elevators\MAP_LobbyAtriumElevator.uexp
  000000068fcc945a 720        fnaf9\Content\Maps\World\MAP_Additional_Collision.uexp
  000000068fcc975f 83         fnaf9\Content\Maps\World\MAP_Additional_Collision_BuiltData.uexp
  000000068fcc9835 3250325    fnaf9\Content\Maps\World\MAP_NightLighting.uexp
  000000068ffe3835 3294158848 fnaf9\Content\Maps\World\MAP_NightLighting_BuiltData.ubulk

-------------------
*EXCEPTION HANDLER*
-------------------
An error or crash occurred:

*EH* ExceptionCode      c0000005 access violation
*EH* ExceptionFlags     00000000
*EH* ExceptionAddress   77515C41
                        77490000 + 00085c41 ntdll.dll
*EH* NumberParameters   00000002
*EH*                    00000000
*EH*                    195A1FFF

Last script line before the error or that produced the error:
  251 log NAME OFFSET SIZE 0 XSIZE

- OFFSET       0x000000068ffe3835
- SIZE         0x00000000c458e000
  coverage file 0    34%   28133167830 81049012525 . offset 000000068ffe3835
ikyAhmad
Posts: 33
Joined: Mon Sep 13, 2021 12:44 am

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

Post by ikyAhmad »

Hello @spiritovod I found some PUBGM Lite players modify some mini.obb.pak files !! They remove Weapon Recoil, modify Weapon Damage, and auto Aim from the weapon!! How did they do that underhand thing?? I'm always defeated by these players in the game !!
They also remove Grass and Smoke!!
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 »

@ikyAhmad: Those things can be modified in memory at runtime, so it has nothing to do with this topic or quickbms.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

@winkiller221
I moved your post here because this topic is all about UE4 and other users can check your problem.
xAstroBoy
Posts: 2
Joined: Wed Dec 29, 2021 1:50 pm

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

Post by xAstroBoy »

Hello, im trying to unpack this .pak file, i can't apparently, can anybody help me?

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

(is a oculus Quest exclusive game, i want to modify it to kill the Level boundaries, that force you to go back into the pause menu) Called Time Stall VR, DM me on discord xAstroBoy#1337 if yall need the APK or the obb file.
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 »

@xAstroBoy: I've updated 4.25 script, which is available via my signature, it now supports the game properly, but you'll need to have "Time Stall" in the path to game package for the workaround to work. You can also find required for some assets key in separate topic in my signature.

@winkiller221's issue was already solved before in latest 4.25 script: viewtopic.php?f=9&t=1005&start=1980#p68373
xAstroBoy
Posts: 2
Joined: Wed Dec 29, 2021 1:50 pm

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

Post by xAstroBoy »

spiritovod wrote:@xAstroBoy: I've updated 4.25 script, which is available via my signature, it now supports the game properly, but you'll need to have "Time Stall" in the path to game package for the workaround to work. You can also find required for some assets key in separate topic in my signature.

@winkiller221's issue was already solved before in latest 4.25 script: viewtopic.php?f=9&t=1005&start=1980#p68373


+ 65e2b08b 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e392f7 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e46f4d 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e55e50 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e632a5 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e7137b 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e7f048 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e8d30e 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65e9bf59 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65eaab14 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65eb8fff 65536 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
+ 65ec75a3 535 TimeStall\Content\MaterialSetup\MaterialParameters\CubeEnv_Tex.uexp
00000000 0 TimeStall\Content\MaterialSetup\MaterialParameters\SharedMaterialParameters.uasset
+ 65ec77e4 1537 TimeStall\Content\MaterialSetup\MaterialParameters\SharedMaterialParameters.uasset
00000000 0 TimeStall\Content\MaterialSetup\MaterialParameters\SharedMaterialParameters.uexp
+ 65ec7c1d 3412 TimeStall\Content\MaterialSetup\MaterialParameters\SharedMaterialParameters.uexp
00000000 0 TimeStall\Content\MaterialSetup\MaterialParameters\UniqueMaterialParameters.uasset
+ 65ec7fb1 1306 TimeStall\Content\MaterialSetup\MaterialParameters\UniqueMaterialParameters.uasset
00000000 0 TimeStall\Content\MaterialSetup\MaterialParameters\UniqueMaterialParameters.uexp
+ 65ec8338 1585 TimeStall\Content\MaterialSetup\MaterialParameters\UniqueMaterialParameters.uexp
00000000 0 TimeStall\Content\PipelineCaches\Android\TimeStall_GLSL_ES3_1_ANDROID.stable.upipelinecache
+ 65ec8593 65536 TimeStall\Content\PipelineCaches\Android\TimeStall_GLSL_ES3_1_ANDROID.stable.upipelinecache
+ 65eca37e 65536 TimeStall\Content\PipelineCaches\Android\TimeStall_GLSL_ES3_1_ANDROID.stable.upipelinecache
+ 65ecc0d6 65536 TimeStall\Content\PipelineCaches\Android\TimeStall_GLSL_ES3_1_ANDROID.stable.upipelinecache
+ 65ece926 41378 TimeStall\Content\PipelineCaches\Android\TimeStall_GLSL_ES3_1_ANDROID.stable.upipelinecache
00000000 0 TimeStall\Content\Reference\Dragon_Base.uasset
+ 65ed1bc3 707 TimeStall\Content\Reference\Dragon_Base.uasset
00000000 0 TimeStall\Content\Reference\Dragon_Base.ubulk
+ 65ed1dfd 623520 TimeStall\Content\Reference\Dragon_Base.ubulk
+ a5ed1dfd 3221848992 TimeStall\Content\Reference\Dragon_Base.ubulk

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

Last script line before the error or that produced the error:
244 log NAME OFFSET SIZE

- OFFSET 0xa5ed1dfd
- SIZE 0xc00983a0
coverage file 0 99% 1711733330 1716285309 . offset a5ed1dfd

Press ENTER or close the window to quit


Got a error when unpacking, my HDD is not full, there must be something wrong with the script or unpacker.
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 »

@xAstroBoy: I don't know how you've managed to get this error, since updated script works fine with the provided package and it's fully extractable (logs). As for other questions, they're out of the topic scope, since it's for general questions about UE4 packages and not about particular assets - so it's better to look for answers at some modding communities and check tools, mentioned in this post.
ikyAhmad
Posts: 33
Joined: Mon Sep 13, 2021 12:44 am

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

Post by ikyAhmad »

spiritovod wrote:@ikyAhmad: Those things can be modified in memory at runtime, so it has nothing to do with this topic or quickbms.

do you know where is the Thread that talks about 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 »

@ikyAhmad: Certainly not on zenhax forums.