mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
commit
549d32579c
@ -9,7 +9,7 @@ namespace Wabbajack.Common
|
|||||||
public enum Game
|
public enum Game
|
||||||
{
|
{
|
||||||
//MO2 GAMES
|
//MO2 GAMES
|
||||||
//Morrowind,
|
Morrowind,
|
||||||
Oblivion,
|
Oblivion,
|
||||||
[Description("Fallout 3")]
|
[Description("Fallout 3")]
|
||||||
Fallout3,
|
Fallout3,
|
||||||
@ -57,6 +57,7 @@ namespace Wabbajack.Common
|
|||||||
public List<string> AdditionalFolders { get; internal set; }
|
public List<string> AdditionalFolders { get; internal set; }
|
||||||
// file to check if the game is present, useful when steamIds and gogIds dont help
|
// file to check if the game is present, useful when steamIds and gogIds dont help
|
||||||
public List<string> RequiredFiles { get; internal set; }
|
public List<string> RequiredFiles { get; internal set; }
|
||||||
|
public bool Disabled { get; internal set; }
|
||||||
|
|
||||||
public string GameLocation
|
public string GameLocation
|
||||||
{
|
{
|
||||||
@ -89,9 +90,18 @@ namespace Wabbajack.Common
|
|||||||
|
|
||||||
public static IReadOnlyDictionary<Game, GameMetaData> Games = new Dictionary<Game, GameMetaData>
|
public static IReadOnlyDictionary<Game, GameMetaData> Games = new Dictionary<Game, GameMetaData>
|
||||||
{
|
{
|
||||||
/*{
|
{
|
||||||
Game.Morrowind, new GameMetaData()
|
Game.Morrowind, new GameMetaData
|
||||||
},*/
|
{
|
||||||
|
SupportedModManager = ModManager.MO2,
|
||||||
|
Game = Game.Morrowind,
|
||||||
|
Disabled = true,
|
||||||
|
SteamIDs = new List<int>{0},
|
||||||
|
NexusName = "morrowind",
|
||||||
|
MO2Name = "Morrowind",
|
||||||
|
MO2ArchiveName = "morrowind"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Game.Oblivion, new GameMetaData
|
Game.Oblivion, new GameMetaData
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@ namespace Wabbajack
|
|||||||
|
|
||||||
private static readonly ObservableCollectionExtended<GameVM> _gameOptions = new ObservableCollectionExtended<GameVM>(
|
private static readonly ObservableCollectionExtended<GameVM> _gameOptions = new ObservableCollectionExtended<GameVM>(
|
||||||
EnumExt.GetValues<Game>()
|
EnumExt.GetValues<Game>()
|
||||||
.Where(g => GameRegistry.Games[g].SupportedModManager == ModManager.Vortex)
|
.Where(g => GameRegistry.Games[g].SupportedModManager == ModManager.Vortex && !GameRegistry.Games[g].Disabled)
|
||||||
.Select(g => new GameVM(g))
|
.Select(g => new GameVM(g))
|
||||||
.OrderBy(g => g.DisplayName));
|
.OrderBy(g => g.DisplayName));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user