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
GHFear
Posts: 290
Joined: Fri Mar 30, 2018 2:48 am

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

Post by GHFear »

BIDLOV wrote:Please guys unpack key!
https://drive.google.com/open?id=1SUA4c ... HRtigtuWLA


DM me.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Thu Apr 15, 2021 10:31 am, edited 1 time in total.
GamingDamned
Posts: 10
Joined: Thu Jun 08, 2017 11:21 am

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

Post by GamingDamned »

GHFear wrote:
BIDLOV wrote:Please guys unpack key!
https://drive.google.com/open?id=1SUA4c ... HRtigtuWLA


DM me.

I also DM'ed you. I want to work on a project on enhancing graphics from this game. I need help unpacking these and repacking.
lmain
Posts: 1
Joined: Tue Oct 01, 2019 3:32 pm

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

Post by lmain »

can anyone give key for pubg lite pak?
Pokeytax
Posts: 3
Joined: Fri Sep 27, 2019 4:55 pm

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

Post by Pokeytax »

Here is what I have learned about the Dragon Quest XI S compression:

Files have a ZIP value of 03 in Unreal which has previously corresponded to Oodle. Based on their relative complexity they do seem to be Oodle or similar; some form of LZ compression, separate streams for literals/control/lengths in some cases, varying degrees of legibility in the literal stream (e.g. bit literals vs byte literals). I can't rule out that byte 2 is just the Oodle enum but the files aren't parsing with existing scripts. The longest files seem to have a chunk header of "2D03" and the shortest have a chunk header of "2D00" which would correspond to LZHLW and LZBLW, which seems like it's flipped if anything.

Here's an example. The "E2 2B" in the below is the (little-endian) length of the first block beginning with "08 00". It appears to be an offset/length/control block (near offsets?).

Code: Select all

2D 03 00 00 00 E2 2B 00 08 00 0F 00 15 00 13 00 
1D 00 34 00 0B 00 31 00 17 00 34 00 66 00 96 00
A3 00 29 00 2A 00 C9 00 99 00 AD 00 0B 01 40 01
88 00 CF 00 0E 00 B6 00 80 00 7D 00 E1 00 0E 00


I'm not including a file atm since I don't want someone to break the compression for me, just ideas on what it is if not Oodle or how to get this decompressed with existing avenues. No luck with outside programs so far.

EDIT: Looks like "lizard" may do it, thank you for your quiet support on this journey. Attached is a working script for Dragon Quest XI S (the Switch version of the game).
Last edited by Pokeytax on Thu Oct 03, 2019 2:07 pm, edited 1 time in total.
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 »

Pokeytax wrote:EDIT: Looks like "lizard" may do it

Really? lizard is LZ5, never seen it adopted in any game yet... interesting :)
Pokeytax
Posts: 3
Joined: Fri Sep 27, 2019 4:55 pm

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

Post by Pokeytax »

aluigi wrote:Really? lizard is LZ5, never seen it adopted in any game yet... interesting :)


Yeah, I was very surprised... I found the string "lz5" in the exe and I thought it was LHA at first, it is a Japanese game. The script had no issues with any of the files so good job on the futureproofing.

I'm reposting the script because the first one didn't handle uncompressed files properly due to my messing around, there is no alteration to the base Unreal script needed beyond pointing ZIP == 3 to Lizard.
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 »

@Pokeytax
Too bad I can't update my script because the customization collides with the games that use oodle when ZIP is 3, no way to guess if the data is lizard or oodle.
So I hope the users of this game can find your post :D
PinkNyao
Posts: 1
Joined: Fri Oct 04, 2019 2:23 pm

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

Post by PinkNyao »

Hello! I was wondering if someone could help me. Code Vein now has a nude mod and I would like to try some modding on the game myself but no one has released the AES key and script for the game. Can anyone direct me on how to get that myself and is there a way to find out what engine version Code Vein runs on? I am familiar with UE4 but I don't know what version Code Vein was developed in. Thank you!
Imperator
Posts: 3
Joined: Sat Oct 05, 2019 1:17 pm

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

Post by Imperator »

Hello!

I have been trying to mod BFGA2. There are some edited files that work but I'm not sure how it was done.

I tried adding hex lines with the ship codes, but the game crashes due to a corrupted file.

Can anyone point out how it was done?
Amagakuro
Posts: 46
Joined: Wed Sep 23, 2015 4:47 pm

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

Post by Amagakuro »

PinkNyao wrote:Hello! I was wondering if someone could help me. Code Vein now has a nude mod and I would like to try some modding on the game myself but no one has released the AES key and script for the game. Can anyone direct me on how to get that myself and is there a way to find out what engine version Code Vein runs on? I am familiar with UE4 but I don't know what version Code Vein was developed in. Thank you!


There's no AES key (unless they added it recently); the game use UE 4.18
Imperator
Posts: 3
Joined: Sat Oct 05, 2019 1:17 pm

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

Post by Imperator »

Thanks, what I need is something to decode the files with, but I'm not sure what to use. Then I need to edit them in hex.

I tried copy pasting ships from one list to the other, but it failed. I think there is a file size description or other pointer I'm missing. One of the files has been edited by a now unavailable hex modder, and he has no time to teach me how to do it. I was curious if someone knew here what to do.

I think what I need is to modify the header in the uasset and uexp files to match the new filesize but I got no idea how to know what to write in there, its not in numbers.
Last edited by Imperator on Mon Oct 07, 2019 12:35 am, edited 1 time in total.
Maya

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

Post by Maya »

hi guys how to unpack gears 5 localized (B2CONTAINER)
tyrannojones
Posts: 30
Joined: Wed Aug 03, 2016 10:01 am

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

Post by tyrannojones »

Any chance anyone could dig up the AES key for WESTWORLD AWAKENING? I've included the .exe here...

https://mega.nz/#!aVIkQCJI!FiuFOrY7dSsq ... CUecs90rIU

Thanks in advance, guys!
bonder
Posts: 16
Joined: Tue Oct 08, 2019 10:02 pm

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

Post by bonder »

Trying to decrypt and unpack Indivisible (PC)'s .pkg archives. I've tried a number of quickbms scripts for UE and none have worked so far.
Here are downloads for the executable and data_1.pkg.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

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

Post by Ekey »

bonder wrote:Trying to decrypt and unpack Indivisible (PC)'s .pkg archives. I've tried a number of quickbms scripts for UE and none have worked so far.
Here are downloads for the executable and data_1.pkg.

This game is not on the UE4 engine -> Z Engine
bonder
Posts: 16
Joined: Tue Oct 08, 2019 10:02 pm

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

Post by bonder »

Ekey wrote:This game is not on the UE4 engine -> Z Engine


My mistake, sorry!
Nevermore
Posts: 2
Joined: Wed Oct 09, 2019 11:34 pm

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

Post by Nevermore »

Pokeytax wrote:
aluigi wrote:Really? lizard is LZ5, never seen it adopted in any game yet... interesting :)


Yeah, I was very surprised... I found the string "lz5" in the exe and I thought it was LHA at first, it is a Japanese game. The script had no issues with any of the files so good job on the futureproofing.

I'm reposting the script because the first one didn't handle uncompressed files properly due to my messing around, there is no alteration to the base Unreal script needed beyond pointing ZIP == 3 to Lizard.

Hello, so I'm looking to extract the files of DQ11S to peruse all of the added artwork and maps. I've done it before on PC.

How exactly do we use this script to extract it all? I'm guessing here and not having success.

With Quick BMS I loaded the script, chose the Paks folder (or the files) that has
pakchunk0-Switch.pak.00
pakchunk0-Switch.pak.01
pakchunk1-Switch.pak.01

Then I chose an output, but then it asked for a key. That's where I'm not sure what key it's referring to.

EDIT: I just realized the files are split. I went into nxdumptool and browsed to the folder and saw they were intact. Whoopsie. Let's see if I can join it and retry.

EDIT 2: Yeah that did the trick. Sorry about that.
Dark_VladislaV
Posts: 4
Joined: Wed Jun 05, 2019 7:30 am

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

Post by Dark_VladislaV »

GHFear wrote:
BIDLOV wrote:Please guys unpack key!
https://drive.google.com/open?id=1SUA4c ... HRtigtuWLA


DM me.

Can u extract me aes key? I tried to do this, but all to no avail (most likely I’m just a noob, so I ask you to help, this key is needed not only by me, but by the entire LeaksByDaylight community)
.exe and pakchunk


Thank you in advance!