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
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

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

Post by shadow_lonely »

Hi. Could you help me found a key a key for unpack .pak file and .sis file for Home Sweet Home EP2. My exe file: https://cdn.discordapp.com/attachments/ ... etHome2.7z

My .sis file: https://cdn.discordapp.com/attachments/ ... Editor.sig

Thanks!
Last edited by shadow_lonely on Fri Oct 25, 2019 3:39 am, edited 1 time in total.
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 »

FunnyML
Doctor Loboto

Use updated script by ssh from his post.
FunnyML
Posts: 3
Joined: Tue Apr 25, 2017 11:03 pm

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

Post by FunnyML »

spiritovod wrote:FunnyML
Doctor Loboto

Use updated script by ssh from his post.

Thanks a lot!
Doctor Loboto
Posts: 376
Joined: Sun May 31, 2015 2:23 am

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

Post by Doctor Loboto »

Can anyone tell me what version Breeders of the Nephelym runs in?
https://www.dropbox.com/s/0efcykehh88bx ... t.exe?dl=0
Haldi
Posts: 3
Joined: Fri Oct 25, 2019 10:26 pm

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

Post by Haldi »

Howdy.... I'm looking for some help for "The Outer Worlds" Epic Store edition.
Pretty good RPG, would be a shame not to mod it :) Uses Unreal Engine 4.21.2 and pak v8 but seems encrypted.

Code: Select all

        (Oct 20 2019 - 14:53:23)

                          quickbms.com  Homepage
                            zenhax.com  ZenHAX Forum
                     @zenhax @quickbms  Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select BMS script. type ? for using the content of clipboard like a script
- select input archives/files, type * for the whole folder and subfolders
- select output folder where extracting files
- open input file E:\Games\The Outer Worlds\Indiana\Content\Paks\DE-WindowsNoEditor.pak
- open script E:\Games\The Outer Worlds\Indiana\Content\Paks\QuickBMS\unreal_tournament_4.bms
- set output folder E:\Games\The Outer Worlds\Indiana\Content\Paks\Test

  offset   filesize   filename
--------------------------------------
  00000000 0          00000000.dat
The archive is encrypted, select the number of the key to use or type yours:


Here we go with the 64mb exe file...
https://mega.nz/#!cgF3DQRY!iHEFFektU58Z ... 0Qcjs74Jeg
and here we have a 2mb .pak file for testing....
https://mega.nz/#!9lMFQQKJ!UX_wUJG9eoMG ... OaxJOx1Lxo

Does mega work fine as hoster?
I've tried reading into this: https://blog.jamie.holdings/2019/03/23/ ... -projects/
But that might be a little over my head ^^


Edit:
Using the newer version from shh:
ssh wrote:Updated the script for pak version 8, extra 0x80 bytes at the end of the file.
Slight change in the TOC structure
added WORKAROUND = 4

Code: Select all

get ZSIZE longlong TOC_FILE
get SIZE longlong TOC_FILE
get ZIP byte TOC_FILE

unreal_tournament_4_0.4.23.1.bms


mhmmm -.o

Code: Select all

QuickBMS generic files extractor and reimporter 0.10.1
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Oct 20 2019 - 14:53:23)

                          quickbms.com  Homepage
                            zenhax.com  ZenHAX Forum
                     @zenhax @quickbms  Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select BMS script. type ? for using the content of clipboard like a script
- select input archives/files, type * for the whole folder and subfolders
- select output folder where extracting files
- open input file E:\Games\The Outer Worlds\Indiana\Content\Paks\DE-WindowsNoEditor.pak
- open script E:\Games\The Outer Worlds\Indiana\Content\Paks\QuickBMS\unreal_tournament_4_0.4.23.1.bms
- set output folder E:\Games\The Outer Worlds\Indiana\Content\Paks\Test

  offset   filesize   filename
--------------------------------------
  00000000 0          Text_de.uasset
+ 00000046 919        Text_de.uasset
  00000000 0          Text_de.uexp
+ 00000b56 65536      Text_de.uexp

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info:  algorithm   1
       offset      00000b56
       input size  0x0000291e 10526
       output size 0x00010000 65536
       result      0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (65536)
       It usually means that data is not compressed or uses another algorithm

Last script line before the error or that produced the error:
  225 clog NAME CHUNK_OFFSET CHUNK_ZSIZE CHUNK_SIZE 0 CHUNK_XSIZE

Press ENTER or close the window to quit


Currently on unpacking the 19gb pakchunk0-WindowsNoEditor.pak which did not ask for AES or key or anything.... will update shortly.
Edit2:

Code: Select all

- 254231 files (917703 logs) found in 5409 seconds
  coverage file 0    99%   19493198535 19657254387 . offset 0000000493a9e536

Press ENTER or close the window to quit

Seems to work?

Edit3:
Definitly not built by Engine 4.21.2 .... the Archive does use v8 and not v7 (which was common in 4.21.2) And when i try to open the indiana.uproject in Unreal Engine i get an error about not same engine version. Also tried in 4.23.0 but same error, currently downloading 4.22.3 -.-

Edit4:
Okay... i cannot ANYHOW oppen the .uasset files in Unreal Engine Editor. But checking them via Hex Editor does show some Cleartext... so they are NOT encrypted or are they?
File from the Game:
https://mega.nz/#!Y1UhyITQ!xIYh3X8xaKJj ... 0_FxoP7HsE

Code: Select all

Áƒ*žùÿÿÿ                
     None    €<   Á                      C  Ó                     Å Yø'ý&H¨„zþ{ôŒ      <                                       ¯‹cˆ    Û     ã                 ß     0   ../../../Engine/Content/Slate/Common/Button.png íkŽ8

Selfmade UI in UE Editor:
https://mega.nz/#!U9M1kIhQ!8G8LyGunsbQm ... dHc6pGg87I

Code: Select all

Áƒ*žùÿÿÿ`           ä2Ø°
O‰·~Ϭ¢Jý6
   íh°äéB”ô Ú1¢A»F.   ?tüÏ€D°Cß‘“s "   0     None    v   H  !   18193ABD4FA43149917D2D8B7698C913            ³
        c           ª.(Ë8E¹î˜>à/      v      ïˆH    ++UE4+Release-4.21     ŠLE    ++UE4+Release-4.21         §s§    >  &I              ÿÿÿÿ0        /Game/UI Kæøs    /Game/UI.UI àt4â   /Script/BlueprintGraph éÛ|D   


Anyone has any ideas? -.-
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 »

Haldi wrote:Howdy.... I'm looking for some help for "The Outer Worlds" Epic Store edition.
Pretty good RPG, would be a shame not to mod it :) Uses Unreal Engine 4.21.2 and pak v8 but seems encrypted.


You can't open cooked uassets or projects with Unreal Editor.
Haldi
Posts: 3
Joined: Fri Oct 25, 2019 10:26 pm

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

Post by Haldi »

After a long long search i found the same answer.... *SPAM* Unreal Engine!
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 »

Haldi wrote:After a long long search i found the same answer.... *SPAM* Unreal Engine!

If you don't know how to modify UE4 games it's your fault. People are modding them for a long time even if assets are cooked. Translating them, making new textures, new mechanics and so on.
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 »

spiritovod wrote:
Haldi wrote:After a long long search i found the same answer.... *SPAM* Unreal Engine!

If you don't know how to modify UE4 games it's your fault. People are modding them for a long time even if assets are cooked. Translating them, making new textures, new mechanics and so on.


You need one of these.
Image
jakmrk88
Posts: 10
Joined: Thu Sep 26, 2019 10:09 pm

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

Post by jakmrk88 »

Haldi wrote:After a long long search i found the same answer.... *SPAM* Unreal Engine!


Unreal engine is one of the best engines. For translations, for mods ... etc. As a translator, I am happy when the game is in UE.
Haldi
Posts: 3
Joined: Fri Oct 25, 2019 10:26 pm

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

Post by Haldi »

spiritovod wrote:If you don't know how to modify UE4 games it's your fault. People are modding them for a long time even if assets are cooked. Translating them, making new textures, new mechanics and so on.

Yes, indeed. If you're looking for Translations or moding Textures that might work out.

But sadly in my Case i'm looking for a UI/HUD Mod. If you know of anyone that did please link, might be a good reference.
The Blueprints created by the UMG UI Designer are hex hackable but finding the proper value for the correct hud item is extremly hard.

jakmrk88 wrote:Unreal engine is one of the best engines. For translations, for mods ... etc. As a translator, I am happy when the game is in UE.

Heeeehhh really? What are some kind of awesome mods for UE games then? Might have missed the good parts. Most stuff i've seen are texture/mode changes.


BTW, anyone knows if someone has (partially succesfully) tried uncooking .uasset files? I don't mean them working fully but being able to open them in Unreal Editor itself would already be a huge help, even if errors show up. Google say no one did until now.
parttimegamer15
Posts: 28
Joined: Thu Jul 21, 2016 12:17 am

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

Post by parttimegamer15 »

So how exactly is everyone using the .uasset files extracted by quickBMS? If opening them in UE4 is not possible, which other tools are there which can be used for extracting meshes and textures from the .uasset files extracted by quickBMS? Apologies if this sounds stupid but my experience is limited to using UE Viewer but there are quite a few games unsupported in that but supported by quickBMS.
Thanks


Haldi wrote:
spiritovod wrote:
BTW, anyone knows if someone has (partially succesfully) tried uncooking .uasset files? I don't mean them working fully but being able to open them in Unreal Editor itself would already be a huge help, even if errors show up. Google say no one did until now.
by-freon
Posts: 20
Joined: Sat Dec 22, 2018 2:56 pm

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

Post by by-freon »

I don't know about any uasset instrument.
I edit textures in uasset files manually using the hexa 010 editor
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

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

Post by Puterboy1 »

GHFear wrote:
Puterboy1 wrote:
patyek wrote:
Thanks! It worked. :R

Br.: Patyek

Well for some reason, it's not working on mine.


Send me the new exe and i'll take a look at it.

Here it is.
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 »

Puterboy1 wrote:
GHFear wrote:
Puterboy1 wrote:Well for some reason, it's not working on mine.


Send me the new exe and i'll take a look at it.

Here it is.


wrong exe.
send the large exe in "/Binaries/Win64" folder
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

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

Post by Puterboy1 »

GHFear wrote:
Puterboy1 wrote:
GHFear wrote:
Send me the new exe and i'll take a look at it.

Here it is.


wrong exe.
send the large exe in "/Binaries/Win64" folder

Here it is: https://drive.google.com/open?id=15XtL4 ... hq1uoPdMXS
Jacob Darka
Posts: 24
Joined: Thu Jan 10, 2019 11:32 am

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

Post by Jacob Darka »

can someone please extract these .locres files into .txt 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 »

Puterboy1 wrote:
GHFear wrote:
Puterboy1 wrote:Here it is.


wrong exe.
send the large exe in "/Binaries/Win64" folder

Here it is: https://drive.google.com/open?id=15XtL4 ... hq1uoPdMXS


It's still the same as before.
Draugen: 0xF152AA7D5A0462D9E7A9897205765D627ECCA736E41CAB7D8670A188B28D1D86
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

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

Post by Puterboy1 »

GHFear wrote:
Puterboy1 wrote:
GHFear wrote:
wrong exe.
send the large exe in "/Binaries/Win64" folder

Here it is: https://drive.google.com/open?id=15XtL4 ... hq1uoPdMXS


It's still the same as before.
Draugen: 0xF152AA7D5A0462D9E7A9897205765D627ECCA736E41CAB7D8670A188B28D1D86

QuickBMS generic files extractor and reimporter 0.9.0 (64bit test)
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Jun 17 2018 - 11:42:41)

quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax @quickbms Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select the BMS script to use. type ? for using the clipboard
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file D:\Games\Draugen\Draugen\Content\Paks\Draugen-WindowsNoEditor.pak
- open script C:\Users\Owner\Downloads\QuickBMS\unreal_tournament_4.bms
- set output folder D:\Games\Draugen\Draugen\Content\Paks

offset filesize filename
--------------------------------------
The archive is encrypted, select the number of the key to use or type yours:
0: KIWIKIWIKIWIKIWIKIWIKIWIKIWIKIWI
1: _aS4mfZK8M5s5KWC2Lz2VsFnGKI7azgl
2: bR!@nbR0wnc@rychR!$d@nd@v3d3R3kj!mj0$hk3v!nm!ch@3lm!k3s3@nst3v3t!m
3: casd#55@#$%323!$^#b%05sa5W|hhaf4365s52ss51|55m!|{55s^@@36f233|-|0w@%3g8hssDk35/!Nm|_|%ds23%a32d5&23as3%12p|-|y$t3ds562d23fav3c@dyw38#49
4: C8C4847F3B4FA52D4AAD57A52358CDBC
5: k14z0ZLR8a7jNm49uyBzxXYY9LpTHcehLSNiC3jAkzBsffPuy8YsTa72RLD9KWIn
6: E7@[dZfoYCW;+YWR;0JK^{9tt:yU0_T&
7: E1A1F2E4AA066C54BD5090F463EDDF58D01684243672B3CE809FF47FF473B04A
8: I0vV6wr0TFbg3m23QuSIwnYC1sI0AIDq
9: y298qjSb115NqQ3Agad30DWn2QYrTI8CT6aP05l2PBV9Qe92S94PdoVCCy06A38L
10: b9uW0RKNY91be8HN3Lemi68j6Xsi2l7fQJYsp5oR4al4C4c9kY5E0l90411l9P3L
11: 45DD15D6DD2DA50AEB71CE7A5284CF8EA498B2EC3D52B7E336F3EA0071CE44B3
12: MRZpemumg6t2AXExrMQs6TSoZRG+YSABK338oc6F8kTXu4k6QffJgYAzKl65Tk2L
13: 0x9D8C9A4A4FA082F213EED604B6E756237181685EEDA82216437617D7AA5231AF
14: press RETURN for no encryption (Lineage 2 Revolution)

- please insert the content for the variable KEY:
0xF152AA7D5A0462D9E7A9897205765D627ECCA736E41CAB7D8670A188B28D1D86
KEY:

Error: incomplete input file -10:
Can't read 4 bytes from offset 0000000000000000.
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.


Last script line before the error or that produced the error:
291 get NAMESZ signed_long TOC_FILE

Press ENTER or close the window to quit

That is what I get.
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 »

Puterboy1 wrote:
GHFear wrote:


It's still the same as before.
Draugen: 0xF152AA7D5A0462D9E7A9897205765D627ECCA736E41CAB7D8670A188B28D1D86

QuickBMS generic files extractor and reimporter 0.9.0 (64bit test)
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Jun 17 2018 - 11:42:41)

quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax @quickbms Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select the BMS script to use. type ? for using the clipboard
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file D:\Games\Draugen\Draugen\Content\Paks\Draugen-WindowsNoEditor.pak
- open script C:\Users\Owner\Downloads\QuickBMS\unreal_tournament_4.bms
- set output folder D:\Games\Draugen\Draugen\Content\Paks

offset filesize filename
--------------------------------------
The archive is encrypted, select the number of the key to use or type yours:
0: KIWIKIWIKIWIKIWIKIWIKIWIKIWIKIWI
1: _aS4mfZK8M5s5KWC2Lz2VsFnGKI7azgl
2: bR!@nbR0wnc@rychR!$d@nd@v3d3R3kj!mj0$hk3v!nm!ch@3lm!k3s3@nst3v3t!m
3: casd#55@#$%323!$^#b%05sa5W|hhaf4365s52ss51|55m!|{55s^@@36f233|-|0w@%3g8hssDk35/!Nm|_|%ds23%a32d5&23as3%12p|-|y$t3ds562d23fav3c@dyw38#49
4: C8C4847F3B4FA52D4AAD57A52358CDBC
5: k14z0ZLR8a7jNm49uyBzxXYY9LpTHcehLSNiC3jAkzBsffPuy8YsTa72RLD9KWIn
6: E7@[dZfoYCW;+YWR;0JK^{9tt:yU0_T&
7: E1A1F2E4AA066C54BD5090F463EDDF58D01684243672B3CE809FF47FF473B04A
8: I0vV6wr0TFbg3m23QuSIwnYC1sI0AIDq
9: y298qjSb115NqQ3Agad30DWn2QYrTI8CT6aP05l2PBV9Qe92S94PdoVCCy06A38L
10: b9uW0RKNY91be8HN3Lemi68j6Xsi2l7fQJYsp5oR4al4C4c9kY5E0l90411l9P3L
11: 45DD15D6DD2DA50AEB71CE7A5284CF8EA498B2EC3D52B7E336F3EA0071CE44B3
12: MRZpemumg6t2AXExrMQs6TSoZRG+YSABK338oc6F8kTXu4k6QffJgYAzKl65Tk2L
13: 0x9D8C9A4A4FA082F213EED604B6E756237181685EEDA82216437617D7AA5231AF
14: press RETURN for no encryption (Lineage 2 Revolution)

- please insert the content for the variable KEY:
0xF152AA7D5A0462D9E7A9897205765D627ECCA736E41CAB7D8670A188B28D1D86
KEY:

Error: incomplete input file -10:
Can't read 4 bytes from offset 0000000000000000.
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.


Last script line before the error or that produced the error:
291 get NAMESZ signed_long TOC_FILE

Press ENTER or close the window to quit

That is what I get.


Try using the latest version of QuickBMS.