diff --git a/Wabbajack.Common/GameMetaData.cs b/Wabbajack.Common/GameMetaData.cs index d30ed10c..c0e446bd 100644 --- a/Wabbajack.Common/GameMetaData.cs +++ b/Wabbajack.Common/GameMetaData.cs @@ -143,6 +143,7 @@ namespace Wabbajack.Common MO2ArchiveName = "oblivion", GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\Oblivion", SteamIDs = new List {22330}, + GOGIDs = new List{1458058109}, RequiredFiles = new List { "oblivion.exe" @@ -179,6 +180,7 @@ namespace Wabbajack.Common MO2ArchiveName = "falloutnv", GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\falloutnv", SteamIDs = new List {22380, 22490}, // normal and RU version + GOGIDs = new List{1454587428}, RequiredFiles = new List { "FalloutNV.exe" diff --git a/Wabbajack.Common/StoreHandlers/GOGHandler.cs b/Wabbajack.Common/StoreHandlers/GOGHandler.cs index 233db86e..4e62dca3 100644 --- a/Wabbajack.Common/StoreHandlers/GOGHandler.cs +++ b/Wabbajack.Common/StoreHandlers/GOGHandler.cs @@ -104,11 +104,7 @@ namespace Wabbajack.Common.StoreHandlers Path = path }; - var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g => - { - return (g.GOGIDs?.Contains(gameID) ?? false) - && (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ?? true); - }); + var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g => (g.GOGIDs?.Contains(gameID) ?? false)); if (gameMeta == null) { diff --git a/Wabbajack.Lib/VortexCompiler.cs b/Wabbajack.Lib/VortexCompiler.cs index adb0bb49..911f8c61 100644 --- a/Wabbajack.Lib/VortexCompiler.cs +++ b/Wabbajack.Lib/VortexCompiler.cs @@ -484,6 +484,7 @@ namespace Wabbajack.Lib new IgnoreGameFiles(this), new DirectMatch(this), + new IncludeTaggedMods(this, Consts.WABBAJACK_INCLUDE), new IgnoreGameFiles(this),