diff --git a/src/win32/i_steam.cpp b/src/win32/i_steam.cpp index 5dc5276a6..056b59364 100644 --- a/src/win32/i_steam.cpp +++ b/src/win32/i_steam.cpp @@ -144,6 +144,13 @@ TArray<FString> I_GetGogPaths() result.Push(path); // directly in install folder } + // Look for Doom I Enhanced + gamepath = gogregistrypath + L"\\2015545325"; + if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.c_str(), L"Path", path)) + { + result.Push(path + "/DOOM_Data/StreamingAssets"); // in a subdirectory + } + // Look for Doom II gamepath = gogregistrypath + L"\\1435848814"; if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.c_str(), L"Path", path)) @@ -152,6 +159,13 @@ TArray<FString> I_GetGogPaths() // If direct support for the Master Levels is ever added, they are in path + /master/wads } + // Look for Doom II Enhanced + gamepath = gogregistrypath + L"\\1426071866"; + if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.c_str(), L"Path", path)) + { + result.Push(path + "/DOOM II_Data/StreamingAssets"); // in a subdirectory + } + // Look for Final Doom gamepath = gogregistrypath + L"\\1435848742"; if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.c_str(), L"Path", path))