diff --git a/FModel/Settings/CustomDirectory.cs b/FModel/Settings/CustomDirectory.cs index 14b4a388..f368a7c4 100644 --- a/FModel/Settings/CustomDirectory.cs +++ b/FModel/Settings/CustomDirectory.cs @@ -30,6 +30,21 @@ public class CustomDirectory : ViewModel new("Shop Backgrounds", "ShooterGame/Content/UI/OutOfGame/MainMenu/Store/Shared/Textures/"), new("Weapon Renders", "ShooterGame/Content/UI/Screens/OutOfGame/MainMenu/Collection/Assets/Large/") }; + case "Dead by Daylight": + return new List + { + new("Characters V1", "DeadByDaylight/Plugins/DBDCharacters/"), + new("Characters V2", "DeadByDaylight/Plugins/Runtime/Bhvr/DBDCharacters/"), + new("Characters (Deprecated)", "DeadbyDaylight/Content/Characters/"), + new("Meshes", "DeadByDaylight/Content/Meshes/"), + new("Textures", "DeadByDaylight/Content/Textures/"), + new("Icons", "DeadByDaylight/Content/UI/UMGAssets/Icons/"), + new("Blueprints", "DeadByDaylight/Content/Blueprints/"), + new("Audio Events", "DeadByDaylight/Content/Audio/Events/"), + new("Audio", "DeadByDaylight/Content/WwiseAudio/Cooked/"), + new("Data Tables", "DeadByDaylight/Content/Data/"), + new("Localization", "DeadByDaylight/Content/Localization/") + }; default: return new List(); } diff --git a/FModel/ViewModels/GameSelectorViewModel.cs b/FModel/ViewModels/GameSelectorViewModel.cs index 870160bf..b30ebf6d 100644 --- a/FModel/ViewModels/GameSelectorViewModel.cs +++ b/FModel/ViewModels/GameSelectorViewModel.cs @@ -99,7 +99,7 @@ public class GameSelectorViewModel : ViewModel yield return GetUnrealEngineGame("9361c8c6d2f34b42b5f2f61093eedf48", "\\TslGame\\Content\\Paks", EGame.GAME_PlayerUnknownsBattlegrounds); yield return GetRiotGame("VALORANT", "ShooterGame\\Content\\Paks", EGame.GAME_Valorant); yield return DirectorySettings.Default("VALORANT [LIVE]", Constants._VAL_LIVE_TRIGGER, ue: EGame.GAME_Valorant); - yield return GetSteamGame(381210, "\\DeadByDaylight\\Content\\Paks", EGame.GAME_UE4_27); // Dead By Daylight + yield return GetSteamGame(381210, "\\DeadByDaylight\\Content\\Paks", EGame.GAME_DeadByDaylight, aesKey: "0x22b1639b548124925cf7b9cbaa09f9ac295fcf0324586d6b37ee1d42670b39b3"); // Dead By Daylight yield return GetSteamGame(578080, "\\TslGame\\Content\\Paks", EGame.GAME_PlayerUnknownsBattlegrounds); // PUBG yield return GetSteamGame(1172380, "\\SwGame\\Content\\Paks", EGame.GAME_StarWarsJediFallenOrder); // STAR WARS Jedi: Fallen Orderâ„¢ yield return GetSteamGame(677620, "\\PortalWars\\Content\\Paks", EGame.GAME_Splitgate); // Splitgate @@ -151,13 +151,13 @@ public class GameSelectorViewModel : ViewModel return null; } - private DirectorySettings GetSteamGame(int id, string pakDirectory, EGame ueVersion) + private DirectorySettings GetSteamGame(int id, string pakDirectory, EGame ueVersion, string aesKey = "") { var steamInfo = SteamDetection.GetSteamGameById(id); if (steamInfo is not null) { Log.Debug("Found {GameName} in steam manifests", steamInfo.Name); - return DirectorySettings.Default(steamInfo.Name, $"{steamInfo.GameRoot}{pakDirectory}", ue: ueVersion); + return DirectorySettings.Default(steamInfo.Name, $"{steamInfo.GameRoot}{pakDirectory}", ue: ueVersion, aes: aesKey); } return null;