From 19da7a61bb43f05e001fe1a5dc321d02a177d3e3 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 17 Apr 2023 14:43:28 +1000 Subject: [PATCH] - Exhumed: Setup detection for Steam version. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Buying games for $15 AUD that I already own just so I can add a detection... aren't I super? 🙃. --- source/core/searchpaths.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/core/searchpaths.cpp b/source/core/searchpaths.cpp index b4c6b95f8..b95a95e19 100644 --- a/source/core/searchpaths.cpp +++ b/source/core/searchpaths.cpp @@ -98,6 +98,7 @@ static const char * bloodfs[] = { "", R"(/addons/Cryptic Passage)", nullptr}; static const char * sw[] = { "/Shadow Warrior", nullptr}; static const char * redneck[] = { "/Redneck", "/AGAIN", "/HUNTIN", nullptr }; static const char * dukezoom[] = { "/", "/AddOns", nullptr }; +static const char * powerslave[] = { "/PWRSLAVE", nullptr}; #ifndef _WIN64 #define WOW64 "\\" @@ -134,6 +135,7 @@ static const RegistryPathInfo paths[] = { { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 225160", L"InstallLocation", swaddons }, // Shadow Warrior Classic Redux - Steam { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 238070", L"InstallLocation", gameroot}, // Shadow Warrior Classic (1997) - Steam { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 358400", L"InstallLocation", sw}, + { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 1260020",L"InstallLocation", powerslave}, { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 565550", L"InstallLocation", redneck}, { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580940", L"InstallLocation", redneck},