From 621c7b06e867bf5ae7e8ebeb08e4f130d97ee8f9 Mon Sep 17 00:00:00 2001 From: Krowe Moh <27891447+Krowe-moh@users.noreply.github.com> Date: Wed, 16 Oct 2024 04:32:31 +1100 Subject: [PATCH 1/2] Update to latest --- CUE4Parse.Example/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CUE4Parse.Example/Program.cs b/CUE4Parse.Example/Program.cs index 70bcfcfb5..ef5c5a04f 100644 --- a/CUE4Parse.Example/Program.cs +++ b/CUE4Parse.Example/Program.cs @@ -12,10 +12,10 @@ namespace CUE4Parse.Example public static class Program { private const string _gameDirectory = "D:\\Games\\Fortnite\\FortniteGame\\Content\\Paks"; // Change game directory path to the one you have. - private const string _aesKey = "0xF271F4B1EA375C42D3676058BAE8FBA295CB61F773070A706A48EAD7C6F98CDB"; + private const string _aesKey = "0x6B80868E9345C839D8B10CE00179763E15E5FDA976E499D6CFBEDB41AC0FAD36"; private const string _mapping = "./mappings.usmap"; - private const string _objectPath = "FortniteGame/Content/Athena/Items/Cosmetics/Characters/CID_A_112_Athena_Commando_M_Ruckus"; + private const string _objectPath = "FortniteGame/Plugins/GameFeatures/BRCosmetics/Content/Athena/Items/Cosmetics/Characters/CID_A_112_Athena_Commando_M_Ruckus.uasset"; private const string _objectName = "FortCosmeticCharacterPartVariant_0"; // Rick has 2 exports as of today @@ -28,8 +28,8 @@ public static void Main() { Log.Logger = new LoggerConfiguration().WriteTo.Console(theme: AnsiConsoleTheme.Literate).CreateLogger(); - var provider = new ApkFileProvider(@"C:\Users\valen\Downloads\ZqOY4K41h0N_Qb6WjEe23TlGExojpQ.apk", true, new VersionContainer(EGame.GAME_UE5_3)); - // var provider = new DefaultFileProvider(_gameDirectory, SearchOption.TopDirectoryOnly, true, new VersionContainer(EGame.GAME_UE5_3)); + var provider = new ApkFileProvider(@"C:\Users\valen\Downloads\ZqOY4K41h0N_Qb6WjEe23TlGExojpQ.apk", true, new VersionContainer(EGame.GAME_UE5_5)); + // var provider = new DefaultFileProvider(_gameDirectory, SearchOption.TopDirectoryOnly, true, new VersionContainer(EGame.GAME_UE5_5)); // provider.MappingsContainer = new FileUsmapTypeMappingsProvider(_mapping); provider.Initialize(); // will scan local files and read them to know what it has to deal with (PAK/UTOC/UCAS/UASSET/UMAP) From fe7a6415904965680cff78a8f99dc11df2b3fe6d Mon Sep 17 00:00:00 2001 From: Krowe Moh <27891447+Krowe-moh@users.noreply.github.com> Date: Wed, 16 Oct 2024 08:40:27 +1100 Subject: [PATCH 2/2] fixed --- CUE4Parse.Example/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CUE4Parse.Example/Program.cs b/CUE4Parse.Example/Program.cs index ef5c5a04f..6a68fe4dc 100644 --- a/CUE4Parse.Example/Program.cs +++ b/CUE4Parse.Example/Program.cs @@ -15,7 +15,7 @@ public static class Program private const string _aesKey = "0x6B80868E9345C839D8B10CE00179763E15E5FDA976E499D6CFBEDB41AC0FAD36"; private const string _mapping = "./mappings.usmap"; - private const string _objectPath = "FortniteGame/Plugins/GameFeatures/BRCosmetics/Content/Athena/Items/Cosmetics/Characters/CID_A_112_Athena_Commando_M_Ruckus.uasset"; + private const string _objectPath = "FortniteGame/Plugins/GameFeatures/BRCosmetics/Content/Athena/Items/Cosmetics/Characters/CID_A_112_Athena_Commando_M_Ruckus"; private const string _objectName = "FortCosmeticCharacterPartVariant_0"; // Rick has 2 exports as of today