Gildor's Forums

Author Topic: How to find Fortnite AES encryption key  (Read 4212 times)
Gildor
Administrator
Hero Member
*****
Posts: 7899



View Profile WWW
Obtaining Fortnite encryption key
« Reply #15 on: June 25, 2018, 11:18 »

Does your extractor knows file names?
Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #16 on: June 25, 2018, 11:33 »

Yes because they are always in uasset
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7899



View Profile WWW
Obtaining Fortnite encryption key
« Reply #17 on: June 25, 2018, 11:36 »

What about names of .ubulk and .uexp files?
Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #18 on: June 25, 2018, 13:24 »

What about names of .ubulk and .uexp files?
Aren't they in the Pak directly after the Uasset? And then I just use the name from the Uasset and change the ending
« Last Edit: June 25, 2018, 13:27 by FunGames » Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #19 on: June 25, 2018, 13:31 »

Am I right that not every file has Uexp and Ubulk?
And when files have a Ubulk File. Are they directly after the Uexp or before. For me it looks like in the Pak there is always the Uasset, then the Uexp. But where is the Ubulk, before or after the Uexp?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7899



View Profile WWW
Obtaining Fortnite encryption key
« Reply #20 on: June 25, 2018, 13:38 »

1. File order is not guaranteed. UnrealPak gets a list of files and puts these files into pak in that order. That list could be prepared in order of file access by game, in this case all uasset files will go before all uexp, etc. This is why Epic separated part of uasset file into uexp - to be able to optimize data order inside pak for faster loading.
2. Yesterday I discovered new UE4.20 feature, "optional bulk". This is a kind of .ubulk, but with different extension, and supposed to exist in separate pak file (i.e. data which "may be loaded later"). You'll get a pak file which is filled with such bulk files, with no uassets at all. How do you suppose to handle that?

This is why I explained before that trying to recover pak file structure by just analyzing content is pointless task, at least if you're going to use content with UModel.
Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #21 on: June 25, 2018, 15:19 »

For my first trys my method worked so maybe it's working for Fortnite. I know that it isn't a good solution but it does it job
Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #22 on: June 25, 2018, 17:05 »

For what exactly are these Ubulk files?
Are they used for Texture, Meshes or Animation tracks?
Because when not I don't really need them.
And are they only in one separated pak file or are some also in the other Pak files?
Thank you
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7899



View Profile WWW
Obtaining Fortnite encryption key
« Reply #23 on: June 25, 2018, 17:08 »

ubulk files contains texture data.
Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #24 on: June 25, 2018, 17:12 »

What do you exactly mean with texture data?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7899



View Profile WWW
Obtaining Fortnite encryption key
« Reply #25 on: June 25, 2018, 17:18 »

Texture "pixels". Uasset file holds only metadata and low-resolution mipmaps.
Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #26 on: June 25, 2018, 17:31 »

But I tested my app with a loading screen that is more than Full-HD and it just has a Uasset and a Uexp
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7899



View Profile WWW
Obtaining Fortnite encryption key
« Reply #27 on: June 25, 2018, 17:34 »

UI and world textures are packed in different way.
Logged
FunGames
Jr. Member
**
Posts: 53


View Profile
Obtaining Fortnite encryption key
« Reply #28 on: June 26, 2018, 09:28 »

Ok, tested it. For Fortnite the Order for files is always Uasset, Ubulk, Uexp or Uasset, Uexp. So for Fortnite my method should work. Tested it with a few files. UModel was able to open these
Logged
Zenofy
Newbie
*
Posts: 5


View Profile
Obtaining Fortnite encryption key
« Reply #29 on: June 27, 2018, 04:28 »

Say I wanted to obtain the AES Key myself when the v4.5 update comes out tomorrow morning - How would I go about doing that. Sorry to bother if this question has been asked prior. I didn't quite catch it.

Thanks in advance for the assistance - it's much appreciated!  Smiley
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS