From b8d65159228aa09da60b9ad03a3454a2d9f96ec4 Mon Sep 17 00:00:00 2001 From: madtisa Date: Mon, 31 Oct 2022 17:39:43 +0300 Subject: [PATCH 1/2] Add Karryn's Prison game support --- README.md | 2 +- Wabbajack.DTOs/Game/Game.cs | 5 ++++- Wabbajack.DTOs/Game/GameRegistry.cs | 16 +++++++++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4aab392f..8da33103 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ This is needed, since the EGS has no public database of its game IDs. | Dragon Age 2 | Steam, Origin | | Experimental | | Dragon Age Inquisition | Steam, Origin | | Experimental | | Kerbal Space Program | Steam, GOG | | Experimental | - +| Karryn's Prison | Steam | | Experimental | **Note about games marked with experimental support**: diff --git a/Wabbajack.DTOs/Game/Game.cs b/Wabbajack.DTOs/Game/Game.cs index b34401f4..9e3efee9 100644 --- a/Wabbajack.DTOs/Game/Game.cs +++ b/Wabbajack.DTOs/Game/Game.cs @@ -44,5 +44,8 @@ public enum Game [Description("Terraria")] Terraria, [Description("Cyberpunk 2077")] Cyberpunk2077, [Description("The Sims 4")] Sims4, - [Description("Dragons Dogma Dark Arisen")] DragonsDogma + [Description("Dragons Dogma Dark Arisen")] DragonsDogma, + + [Description("Karryn's Prison")] + KarrynsPrison, } diff --git a/Wabbajack.DTOs/Game/GameRegistry.cs b/Wabbajack.DTOs/Game/GameRegistry.cs index 08e2a10d..f4012635 100644 --- a/Wabbajack.DTOs/Game/GameRegistry.cs +++ b/Wabbajack.DTOs/Game/GameRegistry.cs @@ -451,7 +451,21 @@ public static class GameRegistry @"DDDA.exe".ToRelativePath() }, MainExecutable = @"DDDA.exe".ToRelativePath() - + } + }, + { + Game.KarrynsPrison, new GameMetaData + { + Game = Game.KarrynsPrison, + SteamIDs = new[] { 1619750 }, + MO2Name = "Karryn's Prison", + MO2ArchiveName = "karrynsprison", + IsGenericMO2Plugin = false, + RequiredFiles = new [] + { + "nw.exe".ToRelativePath() + }, + MainExecutable = "nw.exe".ToRelativePath() } } }; From 18c9c40d4462dd3709b750926651ca18a9f90570 Mon Sep 17 00:00:00 2001 From: EzioTheDeadPoet <52624146+EzioTheDeadPoet@users.noreply.github.com> Date: Wed, 2 Nov 2022 22:32:30 +0100 Subject: [PATCH 2/2] #1958 Witcher: Enhanced Edition Support --- Wabbajack.DTOs/Game/Game.cs | 1 + Wabbajack.DTOs/Game/GameRegistry.cs | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/Wabbajack.DTOs/Game/Game.cs b/Wabbajack.DTOs/Game/Game.cs index b34401f4..7d42bca8 100644 --- a/Wabbajack.DTOs/Game/Game.cs +++ b/Wabbajack.DTOs/Game/Game.cs @@ -22,6 +22,7 @@ public enum Game [Description("Fallout 4 VR")] Fallout4VR, [Description("Darkest Dungeon")] DarkestDungeon, Dishonored, + [Description("Witcher: Enhanced Edition ")]Witcher, [Description("Witcher 3")] Witcher3, [Description("Stardew Valley")] StardewValley, diff --git a/Wabbajack.DTOs/Game/GameRegistry.cs b/Wabbajack.DTOs/Game/GameRegistry.cs index 08e2a10d..e7499344 100644 --- a/Wabbajack.DTOs/Game/GameRegistry.cs +++ b/Wabbajack.DTOs/Game/GameRegistry.cs @@ -236,6 +236,23 @@ public static class GameRegistry MainExecutable = @"Binaries\Win32\Dishonored.exe".ToRelativePath() } }, + { + Game.Witcher, new GameMetaData + { + Game = Game.Witcher, + NexusName = "witcher", + NexusGameId = 150, + MO2Name = "The Witcher: Enhanced Edition", + MO2ArchiveName = "witcher", + SteamIDs = new[] {20900}, // normal and GotY + GOGIDs = new[] {1207658924}, // normal, GotY and both in packages + RequiredFiles = new[] + { + @"System\witcher.exe".ToRelativePath() + }, + MainExecutable = @"System\witcher.exe".ToRelativePath() + } + }, { Game.Witcher3, new GameMetaData {