From 460d8acb59f2ad5d3dd0990c0c4f21b97f72e4a6 Mon Sep 17 00:00:00 2001 From: EzioTheDeadPoet <52624146+EzioTheDeadPoet@users.noreply.github.com> Date: Fri, 16 Dec 2022 15:42:24 +0100 Subject: [PATCH 1/3] added Valheim --- CHANGELOG.md | 4 ++++ Wabbajack.DTOs/Game/Game.cs | 2 +- Wabbajack.DTOs/Game/GameRegistry.cs | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40932897..0bacd1b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ### Changelog +#### Version - 3.0.x.x - TBD +* Game support: + * Added support for Valheim + #### Version - 3.0.4.1 - 11/17/2022 * Fix recursive writing of meta files for meta files * Improved Admin Check diff --git a/Wabbajack.DTOs/Game/Game.cs b/Wabbajack.DTOs/Game/Game.cs index 3d7cebb4..4612bba0 100644 --- a/Wabbajack.DTOs/Game/Game.cs +++ b/Wabbajack.DTOs/Game/Game.cs @@ -48,5 +48,5 @@ public enum Game [Description("Dragons Dogma Dark Arisen")] DragonsDogma, [Description("Karryn's Prison")] - KarrynsPrison, + KarrynsPrison,[Description("Valheim")]Valheim, } diff --git a/Wabbajack.DTOs/Game/GameRegistry.cs b/Wabbajack.DTOs/Game/GameRegistry.cs index 276356b0..fd8d934c 100644 --- a/Wabbajack.DTOs/Game/GameRegistry.cs +++ b/Wabbajack.DTOs/Game/GameRegistry.cs @@ -491,6 +491,21 @@ public static class GameRegistry }, MainExecutable = "nw.exe".ToRelativePath() } + }, + { + Game.Valheim, new GameMetaData + { + Game = Game.Valheim, + SteamIDs = new[] { 892970 }, + MO2Name = "Valheim", + MO2ArchiveName = "valheim", + IsGenericMO2Plugin = true, + RequiredFiles = new [] + { + "valheim.exe".ToRelativePath() + }, + MainExecutable = "valheim.exe".ToRelativePath() + } } }; From 48f5733a8a650f457b39ed8a54da23d97478345f Mon Sep 17 00:00:00 2001 From: EzioTheDeadPoet <52624146+EzioTheDeadPoet@users.noreply.github.com> Date: Fri, 16 Dec 2022 17:02:13 +0100 Subject: [PATCH 2/3] fix Valheim installation issues --- Wabbajack.DTOs/Game/GameRegistry.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Wabbajack.DTOs/Game/GameRegistry.cs b/Wabbajack.DTOs/Game/GameRegistry.cs index fd8d934c..d6fe093f 100644 --- a/Wabbajack.DTOs/Game/GameRegistry.cs +++ b/Wabbajack.DTOs/Game/GameRegistry.cs @@ -499,6 +499,8 @@ public static class GameRegistry SteamIDs = new[] { 892970 }, MO2Name = "Valheim", MO2ArchiveName = "valheim", + NexusName = "valheim", + NexusGameId = 3667, IsGenericMO2Plugin = true, RequiredFiles = new [] { From ce8cc0b99961f0fc5f2ccdd6d86f55ec4bef5526 Mon Sep 17 00:00:00 2001 From: erri120 Date: Thu, 22 Dec 2022 09:16:50 +0100 Subject: [PATCH 3/3] Update broken website links (#2255) * Update broken website links Fixes #2250 * Update CHANGELOG.md Co-authored-by: Luca <52624146+EzioTheDeadPoet@users.noreply.github.com> --- CHANGELOG.md | 1 + Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5716c4e..414bb27e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ### Changelog #### Version - 3.0.x.x - TBD +* Fix Website Links * Game Support: * Added Cyberpunk 2077 Epic Games Store support 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 () =>