diff --git a/src/win32/i_steam.cpp b/src/win32/i_steam.cpp index 07e7f2a026..2cc76ab663 100644 --- a/src/win32/i_steam.cpp +++ b/src/win32/i_steam.cpp @@ -183,7 +183,6 @@ static bool QueryPathKey(HKEY key, const wchar_t *keypath, const wchar_t *valnam TArray I_GetGogPaths() { - // TODO Does the 2024 Update affect GOG version? TArray result; FString path; std::wstring gamepath; @@ -226,6 +225,13 @@ TArray I_GetGogPaths() result.Push(path + "/DOOM II_Data/StreamingAssets"); // in a subdirectory } + // Look for Doom + Doom II + gamepath = gogregistrypath + L"\\1413291984"; + if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.c_str(), L"Path", path)) + { + result.Push(path); // directly in install folder + } + // Look for Final Doom gamepath = gogregistrypath + L"\\1435848742"; if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.c_str(), L"Path", path)) @@ -355,7 +361,6 @@ TArray I_GetBethesdaPath() TArray result; static const char* const bethesda_dirs[] = { - // TODO Does the 2024 Update affect Bethesda Launcher? "DOOM_Classic_2019/base", "DOOM_Classic_2019/rerelease/DOOM_Data/StreamingAssets", "DOOM_II_Classic_2019/base",