![]() |
Question about how to obtain decryption key for UE4 title.
Hi all,
Was looking into repacking/compressing Unreal Engine 4 titles (specifically Chernobylite), however it would seem that a decryption key is required to properly pack and unpack the archives. I'm not very sure as to where to find an index of decryption keys or how to properly extract/find the key for the title. Another question I have is do all Unreal Engine 4 titles have encrypted archives or is it a case-by-case basis? |
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
According to this utility: UnrealPak, Chernobylite's files are not encrypted, only compressed (with ZLib). I could list and extract the contents of any of the PAK's. If I understand correctly, you have to specify the AES key in the "Crypto.json" file of this utility to be able to decrypt files; if the PAK "index" is also encrypted, you won't even be able to list the files inside without the proper key. So I think AES finder was right: there's no key in this game.
This also means that you won't be able to significantly compress the game as it is further because it's already compressed, unless you extract everything from all the PAK's. [...] I tried it: Chernobylite works fine it this unpacked form - I could load the last savegame in the base and start a mission - and the (unpacked) files don't seem to be encrypted. (You can't compress encrypted files much anyway.) I extracted the PAK's in this order: 0, 1, 3, 3optional, ..., 9, 10, ..., 15. About 124 thousand files, 40.6 gigabytes. The "ChernobylGame" and "Engine" directories extracted from the PAK's go to the root directory of the game, all other directories go under "ChernobylGame\Content". Can you confirm that you cannot list of extract files from "Samurai Jack - Battle Through Time" with the same utility? Without explicitly specifying the AES key, that is. |
UnrealPAK is OK, however if you are extracting ue4 paks I recommend using quickbms.
If any key is needed, it prompts you at the start of the extraction process. There's a script on Luigi's site, but there's also updated scripts which have better chance of working on cs forum (not entirely sure I'm allowed to link it for obvious reason). This thread contains long list of keys also. @Joe you'll need to specify the key in order to decrypt/extract the pak - regardless if the full pak is encrypted or only Table of Contents. All ue4 games run fine when their pak files are unpacked. |
Quote:
|
Quote:
|
Quote:
|
When I say "all" there may be one or two exceptions, none that I can think of...
Before I figured out how to use XTool, I used to unpack the games :D |
Quote:
|
Engine properties.
I think the unpacked files have to be in a folder which is exactly named as the corresponding pak file. |
Quote:
|
Quote:
|
I am also having issues trying to make paks with the UnrealPak, I tried with Partisans.
|
Quote:
|
Quote:
When you extract files from PAK 0 (2967 MB), you get a line for each file like this: Code:
LogPakFile: Display: Extracted "Engine/Content/EditorBlueprintResources/StandardMacros.uasset" to ".../Engine/Content/EditorBlueprintResources/StandardMacros.uasset" Offset 0.When extracting from PAK 1 (9128 MB), offsets obviously start from 0, go upwards to 2 GB, then switch to -2 GB and continue going upwards. This would suggest that files extracted from most of PAK 1 - above 4 GB - may be damaged - because they have been extracted from the wrong part of the PAK - but that's not the case: they don't seem to be damaged and you couldn't decompress damaged ZLib streams anyway without noticing. So, probably, only the display of file offsets is wrong but I can't tell as there's no source code: you can download the "source code" from GitHub but that's just another copy of the binaries. (?!) PAK 0 is the only one whose size is between 2 GB (maximum of 32-bit signed integer) and 4 GB (32-bit unsigned integer); this may be why you're experiencing this error with it and only it. Look at the error message and you'll see that the file size is negative. QuickBMS's error message looks similar: it's trying to allocate a negative number of bytes. |
Quote:
|
1 Attachment(s)
UPDATE: Issue with Chernobylite pak0 has been resolved, thanks to a revision on the UE4.26 QuickBMS script, courtesy of spiritovod on the ZenHax forums. The attached file is the revised script for anyone looking.
|
| All times are GMT -7. The time now is 12:57. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com