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",
|
MO2ArchiveName = "oblivion",
|
||||||
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\Oblivion",
|
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\Oblivion",
|
||||||
SteamIDs = new List<int> {22330},
|
SteamIDs = new List<int> {22330},
|
||||||
|
GOGIDs = new List<int>{1458058109},
|
||||||
RequiredFiles = new List<string>
|
RequiredFiles = new List<string>
|
||||||
{
|
{
|
||||||
"oblivion.exe"
|
"oblivion.exe"
|
||||||
@ -179,6 +180,7 @@ namespace Wabbajack.Common
|
|||||||
MO2ArchiveName = "falloutnv",
|
MO2ArchiveName = "falloutnv",
|
||||||
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\falloutnv",
|
GameLocationRegistryKey = @"HKEY_LOCAL_MACHINE\SOFTWARE\Bethesda Softworks\falloutnv",
|
||||||
SteamIDs = new List<int> {22380, 22490}, // normal and RU version
|
SteamIDs = new List<int> {22380, 22490}, // normal and RU version
|
||||||
|
GOGIDs = new List<int>{1454587428},
|
||||||
RequiredFiles = new List<string>
|
RequiredFiles = new List<string>
|
||||||
{
|
{
|
||||||
"FalloutNV.exe"
|
"FalloutNV.exe"
|
||||||
|
@ -104,11 +104,7 @@ namespace Wabbajack.Common.StoreHandlers
|
|||||||
Path = path
|
Path = path
|
||||||
};
|
};
|
||||||
|
|
||||||
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g =>
|
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g => (g.GOGIDs?.Contains(gameID) ?? false));
|
||||||
{
|
|
||||||
return (g.GOGIDs?.Contains(gameID) ?? false)
|
|
||||||
&& (g.RequiredFiles?.TrueForAll(file => File.Exists(Path.Combine(game.Path, file))) ?? true);
|
|
||||||
});
|
|
||||||
|
|
||||||
if (gameMeta == null)
|
if (gameMeta == null)
|
||||||
{
|
{
|
||||||
|
@ -484,6 +484,7 @@ namespace Wabbajack.Lib
|
|||||||
new IgnoreGameFiles(this),
|
new IgnoreGameFiles(this),
|
||||||
|
|
||||||
new DirectMatch(this),
|
new DirectMatch(this),
|
||||||
|
new IncludeTaggedMods(this, Consts.WABBAJACK_INCLUDE),
|
||||||
|
|
||||||
new IgnoreGameFiles(this),
|
new IgnoreGameFiles(this),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user