ZenHAX
http://zenhax.com/

Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]
http://zenhax.com/viewtopic.php?f=9&t=1005
Page 11 of 25

Author:  ronnan2009 [ Fri Dec 01, 2017 3:27 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

Any way of making this work with Transformers online game, .pak files? http://tfol.qq.com/main.shtml

Author:  aluigi [ Sat Dec 09, 2017 9:19 am ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

Use the filecutter on the pak archive and upload the 2 generated files:
http://aluigi.org/bms/filecutter.bms

Author:  mbit555 [ Thu Dec 14, 2017 4:36 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

Hey. I'm having a problem with the Fortnite game, it looks like encryption is used.
I enclose exe and two files of 10 mb through the program filecutter.bms (http://zalil.su/7613466)

This game uses the system of dividing pak into pieces (http://prntscr.com/hnhwpb) This is what the unreal_tournament_4 script produces.bms when I select the file pakchunk0-WindowsClient.pak (http://prntscr.com/hnhxhg)

I tried to find the encryption key through the HEX editor (http://prntscr.com/hnhzyl) but it did not help. Maybe I'm doing something wrong? AES key is: VWSUATAUAVA

UPD: I was mistaken, the real key is: y298qjSb115NqQ3Agad30DWn2QYrTI8CT6aP05l2PBV9Qe92S94PdoVCCy06A38L
but unpack using unreal_tournament_4 script fails, gets stuck half way. It seems that the script does not correctly determine the structure of the .pak file

Author:  Sydie [ Sat Jan 06, 2018 4:05 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

mbit555 wrote:
Hey. I'm having a problem with the Fortnite game, it looks like encryption is used.
I enclose exe and two files of 10 mb through the program filecutter.bms (http://zalil.su/7613466)

This game uses the system of dividing pak into pieces (http://prntscr.com/hnhwpb) This is what the unreal_tournament_4 script produces.bms when I select the file pakchunk0-WindowsClient.pak (http://prntscr.com/hnhxhg)

I tried to find the encryption key through the HEX editor (http://prntscr.com/hnhzyl) but it did not help. Maybe I'm doing something wrong? AES key is: VWSUATAUAVA


Thanks guys - I've successfully unpacked Paragon!
Thanks @aluigi for his awesome quickbms!
Thanks @mbit555 for the information above, you almost had it - the key is VWSUATAUAVAW

I wanted know how the heroes in Paragon are setup. I've watched all Unreal Engine Twitch streams, but I had to see it for myself.
This game is made by great artists, optimized using innovative techniques and developed by amazing devs!
Therefore I needed to rip the original models myself and not simply download one of the available ripped models, since most of them are modified.

I've tried using "UE4 pak-file Unpacker by Haoose v0.5", but it was crashing when trying to unpack "pakchunk0-WindowsClient.pak", therefore I switched to aluigi's quickbms.

Here's what I used:
1. Used quickbms_4gb_files.exe [0.8.1] with unreal_tournament_4.bms [0.4.13]. It said that the .pak is encrypted and asked for a key
2. Opened OrionClient-Win64-Shipping.exe with hex editor, searched for AES, found the key - VWSUATAUAVAW
3. Enter the key in cmd from step 1
4. Repeat for all .pak in the folder - pakchunk0-WindowsClient.pak is first, then pakchunk0_s1-WindowsClient.pak, then pakchunk0_s2-WindowsClient.pak, etc.
5. Done!

Extracted models using UMODEL by Gildor - select "Override game detection" checkbox, select "Unreal Engine 4" and version "4.18".
Umodel was crashing when trying to open characters - something to do with skeletons - I just moved all files ending with _Skeleton to a backup folder in case this is fixed in the future, but you can delete them.

Image

Here are the game names:
Venus - THE FEY
Mambo - MORIGESH
Vamp - COUNTESS
Sparrow - SPARROW
Gadget - GADGET
Femme - YIN
Ice - AURORA
Fallen Angel - SERATH
Medic - ???
Mudang - ???
Muriel - MURIEL
Phase - PHASE
Tacticia - LT-BELICA
Totem - DEKKER

PS: I'm just a technical artist, I don't know how this worked I'm just happy it did and you guys made some great tools for that!

Author:  milk [ Mon Jan 08, 2018 8:02 am ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

how to download 0.5 version?

Author:  ZENHAXnumba1 [ Mon Jan 08, 2018 2:41 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

Sydie wrote:
mbit555 wrote:
Hey. I'm having a problem with the Fortnite game, it looks like encryption is used.
I enclose exe and two files of 10 mb through the program filecutter.bms (http://zalil.su/7613466)

This game uses the system of dividing pak into pieces (http://prntscr.com/hnhwpb) This is what the unreal_tournament_4 script produces.bms when I select the file pakchunk0-WindowsClient.pak (http://prntscr.com/hnhxhg)

I tried to find the encryption key through the HEX editor (http://prntscr.com/hnhzyl) but it did not help. Maybe I'm doing something wrong? AES key is: VWSUATAUAVA


Thanks guys - I've successfully unpacked Paragon!
Thanks @aluigi for his awesome quickbms!
Thanks @mbit555 for the information above, you almost had it - the key is VWSUATAUAVAW

I wanted know how the heroes in Paragon are setup. I've watched all Unreal Engine Twitch streams, but I had to see it for myself.
This game is made by great artists, optimized using innovative techniques and developed by amazing devs!
Therefore I needed to rip the original models myself and not simply download one of the available ripped models, since most of them are modified.

I've tried using "UE4 pak-file Unpacker by Haoose v0.5", but it was crashing when trying to unpack "pakchunk0-WindowsClient.pak", therefore I switched to aluigi's quickbms.

Here's what I used:
1. Used quickbms_4gb_files.exe [0.8.1] with unreal_tournament_4.bms [0.4.13]. It said that the .pak is encrypted and asked for a key
2. Opened OrionClient-Win64-Shipping.exe with hex editor, searched for AES, found the key - VWSUATAUAVAW
3. Enter the key in cmd from step 1
4. Repeat for all .pak in the folder - pakchunk0-WindowsClient.pak is first, then pakchunk0_s1-WindowsClient.pak, then pakchunk0_s2-WindowsClient.pak, etc.
5. Done!

Extracted models using UMODEL by Gildor - select "Override game detection" checkbox, select "Unreal Engine 4" and version "4.18".
Umodel was crashing when trying to open characters - something to do with skeletons - I just moved all files ending with _Skeleton to a backup folder in case this is fixed in the future, but you can delete them.

Image

Here are the game names:
Venus - THE FEY
Mambo - MORIGESH
Vamp - COUNTESS
Sparrow - SPARROW
Gadget - GADGET
Femme - YIN
Ice - AURORA
Fallen Angel - SERATH
Medic - ???
Mudang - ???
Muriel - MURIEL
Phase - PHASE
Tacticia - LT-BELICA
Totem - DEKKER

PS: I'm just a technical artist, I don't know how this worked I'm just happy it did and you guys made some great tools for that!

stupid to ask but where to put the AES key ? im a noob in this forum . thank you in advance

Author:  aluigi [ Mon Jan 08, 2018 2:53 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

quickbms will ask you to insert a password or choosing one from a list displayed on screen, so when prompted just copy the key and paste it on the console (press the right button of the mouse)

Author:  ZENHAXnumba1 [ Mon Jan 08, 2018 3:27 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

aluigi wrote:
quickbms will ask you to insert a password or choosing one from a list displayed on screen, so when prompted just copy the key and paste it on the console (press the right button of the mouse)

ohhh ok now i understand. thank you again :D

Author:  Sybex [ Wed Jan 10, 2018 11:08 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

mbit555 wrote:
Hey. I'm having a problem with the Fortnite game, it looks like encryption is used.
I enclose exe and two files of 10 mb through the program filecutter.bms (http://zalil.su/7613466)

This game uses the system of dividing pak into pieces (http://prntscr.com/hnhwpb) This is what the unreal_tournament_4 script produces.bms when I select the file pakchunk0-WindowsClient.pak (http://prntscr.com/hnhxhg)

I tried to find the encryption key through the HEX editor (http://prntscr.com/hnhzyl) but it did not help. Maybe I'm doing something wrong? AES key is: VWSUATAUAVA

UPD: I was mistaken, the real key is: y298qjSb115NqQ3Agad30DWn2QYrTI8CT6aP05l2PBV9Qe92S94PdoVCCy06A38L
but unpack using unreal_tournament_4 script fails, gets stuck half way. It seems that the script does not correctly determine the structure of the .pak file


Hey there,
i tried the same thing and also getting an error, it seems unresponsive after a while you get an not enough memory error (didn't screenshot the error msg).

You have any chance to check this? I need the fortnite files, too.

Thanks in advance
Sybex

Author:  MrMe [ Thu Jan 18, 2018 8:06 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

@aluigi can you retrieve the AES key of the paks from this game? I tried to find it using IDA but that failed.

Game binary: https://mega.nz/#!rx1UGKAY!GWA_9UOK6cgz ... w67Dyj0DzU
Pak cut (used filecutter.bms): https://mega.nz/#!XoMExKxI!9Ojce5W8Ykmq ... IabaScOlxI

- Edit

Looks like I found it, but it doesn't work. I referenced GalGun*VR code to FN to find it.
-

Author:  imdoubletrouble [ Fri Jan 19, 2018 1:43 am ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

I too am looking into doing this for Fortnite. I've bookmarked this page if anymore progress is made.

Author:  aluigi [ Fri Jan 19, 2018 11:02 am ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

Can you upload the first 100Mb of the archive?

Author:  MrMe [ Fri Jan 19, 2018 4:17 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

aluigi wrote:
Can you upload the first 100Mb of the archive?


Ofcourse, https://mega.nz/#!2pUSHLaJ!Zt3HrxeOpFPl ... Nn21ViIy0A

Also, because the quickbms script did not work I started working on my own tool to unpak using your script and unreal engine 4.19 as reference.
I noticed a things that were missing from your script (not sure if on purpose).

The script currently parses the trail (footer?) incorrectly, it should be like this:
Code:
EncryptedIndex = reader.ReadByte();
Magic = reader.ReadUInt32();
Version = reader.ReadInt32();
IndexOffset = reader.ReadInt64();
IndexSize = reader.ReadInt64();
IndexHash = reader.ReadBytes(20);

If EncryptedIndex equals 1, the name index is AES encrypted.

Edit: Yup, works fine in my program.

Author:  Sybex [ Sat Jan 20, 2018 12:23 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

Quote:
Edit: Yup, works fine in my program. https://i.imgur.com/0ADW4xO.png


Can you please explain what to do?

Thanks

Author:  aluigi [ Sat Jan 20, 2018 1:55 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

MrMe wrote:
I noticed a things that were missing from your script (not sure if on purpose).
The script currently parses the trail (footer?) incorrectly, it should be like this:
EncryptedIndex = reader.ReadByte();

The script covers older versions of the format (before encryption was implemented) and some customized versions, I have to find a way to add support for the encrypted toc and still remaining compatible with all the versions and options.

Author:  aluigi [ Sat Jan 20, 2018 3:29 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

Ok problem solved by a feature I implemented yesterday in the upcoming quickbms 0.8.3 (what a luck, just in time) and I confirm that now the extraction is correct.
Thanks for the feedback to MrMe and all the users who are contributing with keys and suggestions (less work for me).

I have uploaded the new script that obviously can't be used with the current quickbms 0.8.2a.
If you are in rush replace all the references to TOC_FILE with MEMORY_FILE10 and remove the "quickbmsver" line, it should take you few seconds to edit.

Author:  MrMe [ Sat Jan 20, 2018 5:47 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

aluigi wrote:
Ok problem solved by a feature I implemented yesterday in the upcoming quickbms 0.8.3 (what a luck, just in time) and I confirm that now the extraction is correct.
Thanks for the feedback to MrMe and all the users who are contributing with keys and suggestions (less work for me).

I have uploaded the new script that obviously can't be used with the current quickbms 0.8.2a.
If you are in rush replace all the references to TOC_FILE with MEMORY_FILE10 and remove the "quickbmsver" line, it should take you few seconds to edit.


Awesome! I'll give it a try when 0.8.3 is out, got my own tool for the time being.

Author:  aluigi [ Sun Jan 21, 2018 2:47 pm ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

0.8.3 is out and everything worked perfectly here.

Author:  peupuppy [ Mon Jan 22, 2018 2:34 am ]
Post subject:  PUBG pak encryption key

Please, does anyone have encryption key for PUBG?

Author:  zanzaman [ Mon Jan 22, 2018 7:32 am ]
Post subject:  Re: Unreal Engine 4 pak-file Unpacker

...

Page 11 of 25 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/