Change detection arrays for Redneck games.

- Redneck Deer Huntin' also comes with Redneck Rampage Rides Again.
- Changes permit all games to be detected, including RRRA if you own Deer Huntin'.
This commit is contained in:
Mitchell Richters 2020-03-22 21:10:11 +11:00 committed by Christoph Oelckers
parent b1ebb897e8
commit 1a2663f7ac

View file

@ -97,8 +97,7 @@ static const char * nam[] = { "/NAM", nullptr};
static const char * ww2gi[] = { "/WW2GI", nullptr}; static const char * ww2gi[] = { "/WW2GI", nullptr};
static const char * bloodfs[] = { "", R"(/addons/Cryptic Passage)", nullptr}; static const char * bloodfs[] = { "", R"(/addons/Cryptic Passage)", nullptr};
static const char * sw[] = { "/Shadow Warrior", nullptr}; static const char * sw[] = { "/Shadow Warrior", nullptr};
static const char * redneck[] = { "/Redneck", "/AGAIN", nullptr }; static const char * redneck[] = { "/Redneck", "/AGAIN", "/HUNTIN", nullptr };
static const char * rrdh[] = { "/HUNTIN", nullptr };
#ifndef _WIN64 #ifndef _WIN64
#define WOW64 "\\" #define WOW64 "\\"
@ -129,7 +128,7 @@ static const RegistryPathInfo paths[] = {
{ L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 565550", L"InstallLocation", redneck}, { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 565550", L"InstallLocation", redneck},
{ L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580940", L"InstallLocation", redneck}, { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580940", L"InstallLocation", redneck},
{ L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580930", L"InstallLocation", rrdh}, { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580930", L"InstallLocation", redneck},
#if 0 #if 0
{ L"SOFTWARE\\3DRealms\\Duke Nukem 3D", nullptr, dn3d }, { L"SOFTWARE\\3DRealms\\Duke Nukem 3D", nullptr, dn3d },
{ L"SOFTWARE\\3DRealms\\Anthology", nullptr, dn3d }, { L"SOFTWARE\\3DRealms\\Anthology", nullptr, dn3d },