diff --git a/CHANGELOG.md b/CHANGELOG.md index b3f5acb9..bd9e86f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ #### Version - 3.0.?.? - TBD * Add support for https://www.nexusmods.com/site hosted mods. -* Game Support: +* Fix Website Links +* Game support: + * Added support for Valheim * Added Cyberpunk 2077 Epic Games Store support #### Version - 3.0.4.1 - 11/17/2022 diff --git a/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs b/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs index a3bdac47..0a66d997 100644 --- a/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs +++ b/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs @@ -121,14 +121,14 @@ namespace Wabbajack ); VersionText = "Modlist version : " + Metadata.Version; IsBroken = metadata.ValidationSummary.HasFailures || metadata.ForceDown; - //https://www.wabbajack.org/#/modlists/info?machineURL=eldersouls - OpenWebsiteCommand = ReactiveCommand.Create(() => UIUtils.OpenWebsite(new Uri($"https://www.wabbajack.org/#/modlists/info?machineURL={Metadata.NamespacedName}"))); + // https://www.wabbajack.org/modlist/wj-featured/aldrnari + OpenWebsiteCommand = ReactiveCommand.Create(() => UIUtils.OpenWebsite(new Uri($"https://www.wabbajack.org/modlists/{Metadata.NamespacedName}"))); IsLoadingIdle = new Subject(); ModListContentsCommend = ReactiveCommand.Create(async () => { - UIUtils.OpenWebsite(new Uri("https://www.wabbajack.org/search/" + Metadata.NamespacedName)); + UIUtils.OpenWebsite(new Uri($"https://www.wabbajack.org/search/{Metadata.NamespacedName}")); }, IsLoadingIdle.StartWith(true)); ExecuteCommand = ReactiveCommand.CreateFromTask(async () => diff --git a/Wabbajack.DTOs/Game/Game.cs b/Wabbajack.DTOs/Game/Game.cs index 9ed28dc7..31ab74a5 100644 --- a/Wabbajack.DTOs/Game/Game.cs +++ b/Wabbajack.DTOs/Game/Game.cs @@ -49,5 +49,6 @@ public enum Game [Description("Karryn's Prison")] KarrynsPrison, + [Description("Valheim")]Valheim, [Description("Modding Tools")] ModdingTools, } diff --git a/Wabbajack.DTOs/Game/GameRegistry.cs b/Wabbajack.DTOs/Game/GameRegistry.cs index 4693dd92..033b0fde 100644 --- a/Wabbajack.DTOs/Game/GameRegistry.cs +++ b/Wabbajack.DTOs/Game/GameRegistry.cs @@ -492,6 +492,23 @@ public static class GameRegistry }, MainExecutable = "nw.exe".ToRelativePath() } + }, + { + Game.Valheim, new GameMetaData + { + Game = Game.Valheim, + SteamIDs = new[] { 892970 }, + MO2Name = "Valheim", + MO2ArchiveName = "valheim", + NexusName = "valheim", + NexusGameId = 3667, + IsGenericMO2Plugin = true, + RequiredFiles = new [] + { + "valheim.exe".ToRelativePath() + }, + MainExecutable = "valheim.exe".ToRelativePath() + } }, { Game.ModdingTools, new GameMetaData @@ -502,8 +519,8 @@ public static class GameRegistry NexusName = "site", NexusGameId = 2295, IsGenericMO2Plugin = false, - } } + }; public static ILookup ByNexusName = Games.Values.ToLookup(g => g.NexusName ?? "");