- added detection of Redneck Deer Huntin' installed from Steam

This commit is contained in:
alexey.lysiuk 2020-03-07 11:31:46 +02:00
parent 2c203fbf80
commit 53cda00747
2 changed files with 4 additions and 0 deletions

View file

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

View file

@ -160,12 +160,14 @@ const char *AppInfo[] =
"Nam/NAM",
"Redneck Rampage/Redneck",
"Redneck Rampage Rides Again/AGAIN",
"Redneck Deer Huntin'/HUNTIN"
#ifdef __APPLE__
"Duke Nukem 3D/Duke Nukem 3D.app/drive_c/Program Files/Duke Nukem 3D",
"Nam/Nam.app/Contents/Resources/Nam.boxer/C.harddisk/NAM",
"Shadow Warrior DOS/Shadow Warrior.app/Contents/Resources/sw",
"Redneck Rampage/Redneck Rampage.app/Contents/Resources/Redneck Rampage.boxer/C Redneck Rampage.harddisk",
// macOS version of Redneck Rampage Rides Again is completely broken on Steam
"Redneck Deer Huntin'/Redneck Deer Huntin.app/Contents/Resources/Redneck Deer Huntin.boxer/C.harddisk/INTRPLAY/HUNTIN"
#endif
};