mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed F03 registry entry
This commit is contained in:
parent
61e0d22973
commit
c79ad8e08b
@ -260,14 +260,13 @@ namespace Wabbajack.Common
|
|||||||
Game = Game.Fallout3,
|
Game = Game.Fallout3,
|
||||||
NexusName = "fallout3",
|
NexusName = "fallout3",
|
||||||
NexusGameId = 120,
|
NexusGameId = 120,
|
||||||
MO2Name = "fallout3",
|
MO2Name = "Fallout 3",
|
||||||
MO2ArchiveName = "fallout3",
|
MO2ArchiveName = "fallout3",
|
||||||
SteamIDs = new List<int> {22300, 22370}, // base game and GotY
|
SteamIDs = new List<int> {22300, 22370}, // base game and GotY
|
||||||
GOGIDs = new List<int>{1454315831}, // GotY edition
|
GOGIDs = new List<int>{1454315831}, // GotY edition
|
||||||
RequiredFiles = new List<string>
|
RequiredFiles = new List<string>
|
||||||
{
|
{
|
||||||
"falloutlauncher.exe",
|
"Fallout3.exe"
|
||||||
"data\\fallout3.esm"
|
|
||||||
},
|
},
|
||||||
MainExecutable = "Fallout3.exe"
|
MainExecutable = "Fallout3.exe"
|
||||||
}
|
}
|
||||||
|
@ -162,11 +162,7 @@ namespace Wabbajack.Common.StoreHandlers
|
|||||||
|
|
||||||
if (!gotID || !game.Path.IsDirectory) return;
|
if (!gotID || !game.Path.IsDirectory) return;
|
||||||
|
|
||||||
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g =>
|
var gameMeta = GameRegistry.Games.Values.FirstOrDefault(g => g.SteamIDs?.Contains(game.ID) ?? false);
|
||||||
{
|
|
||||||
return (g.SteamIDs?.Contains(game.ID) ?? false)
|
|
||||||
&& (g.RequiredFiles?.TrueForAll(file => game.Path.Combine(file).Exists) ?? true);
|
|
||||||
});
|
|
||||||
|
|
||||||
if (gameMeta == null)
|
if (gameMeta == null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user