From 9857e50ed9c603ab7cb5adbb08e183f1ee429e7d Mon Sep 17 00:00:00 2001 From: Master_64 Date: Mon, 12 Jun 2023 11:39:18 -0500 Subject: [PATCH] Update Shrek2.cs --- LiveSplit.UnrealLoads/Games/Shrek2.cs | 41 +++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/LiveSplit.UnrealLoads/Games/Shrek2.cs b/LiveSplit.UnrealLoads/Games/Shrek2.cs index a4276d2..d7e89e0 100644 --- a/LiveSplit.UnrealLoads/Games/Shrek2.cs +++ b/LiveSplit.UnrealLoads/Games/Shrek2.cs @@ -8,13 +8,50 @@ class Shrek2 : GameSupport { public override HashSet GameNames { get; } = new HashSet { - "Shrek 2" + "Shrek 2 (PC)", + "Shrek 2 PC", + "Shrek 2: The Game", + "Shrek 2", + "S2PC" }; public override HashSet ProcessNames { get; } = new HashSet { "game" }; + + public override HashSet Maps { get; } = new HashSet(StringComparer.OrdinalIgnoreCase) + { + "1_shreks_swamp", + "2_carriage_hijack", + "3_the_hunt_part1", + "3_the_hunt_part2", + "3_the_hunt_part3", + "3_the_hunt_part4", + "4_fgm_pib", + "5_fgm_donkey", + "6_hamlet", + "6_hamlet_mine", + "6_hamlet_end", + "7_prison_donkey", + "8_prison_pib", + "9_prison_shrek", + "10_castle_siege", + "11_fgm_battle", + "beanstalk_bonus", + "beanstalk_bonus_dawn", + "beanstalk_bonus_knight", + "book_story_1", + "book_story_2", + "book_story_3", + "book_story_4", + "credits", + "4_fgm_office", + "book_frontend", + "book_storybook", + "sh2_preamble", + "entry" + }; public override IdentificationResult IdentifyProcess(Process process) { @@ -32,4 +69,4 @@ public override TimerAction[] OnMapLoad(MemoryWatcherList watchers) return null; } } -} +} \ No newline at end of file