mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
commit
27d54a2683
@ -143,6 +143,7 @@ namespace Wabbajack.Common
|
||||
MO2ArchiveName = "oblivion",
|
||||
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\Oblivion",
|
||||
SteamIDs = new List<int> {22330},
|
||||
GOGIDs = new List<int>{1458058109},
|
||||
RequiredFiles = new List<string>
|
||||
{
|
||||
"oblivion.exe"
|
||||
@ -179,6 +180,7 @@ namespace Wabbajack.Common
|
||||
MO2ArchiveName = "falloutnv",
|
||||
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\falloutnv",
|
||||
SteamIDs = new List<int> {22380, 22490}, // normal and RU version
|
||||
GOGIDs = new List<int>{1454587428},
|
||||
RequiredFiles = new List<string>
|
||||
{
|
||||
"FalloutNV.exe"
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -484,6 +484,7 @@ namespace Wabbajack.Lib
|
||||
new IgnoreGameFiles(this),
|
||||
|
||||
new DirectMatch(this),
|
||||
new IncludeTaggedMods(this, Consts.WABBAJACK_INCLUDE),
|
||||
|
||||
new IgnoreGameFiles(this),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user