Fix gamedata gamebin paths for x64, CS:GO-based games (#2370) (#2374)

This commit is contained in:
Nicholas Hastings
2025-11-07 15:30:46 +00:00
committed by GitHub
parent 4374cb2168
commit f382c3fb5b
3 changed files with 32 additions and 6 deletions
+20
View File
@@ -194,6 +194,26 @@ public:
{
return filesystem->GetSearchPath(pathID, bGetPackFiles, pPath, nMaxLen);
}
const char* GetGameBinArchSubdirectory() override
{
#if defined KE_ARCH_X64
#if SOURCE_ENGINE >= SE_BLADE
#ifdef PLATFORM_WINDOWS
#if SOURCE_ENGINE == SE_MCV
return "win64" PLATFORM_SEP;
#else
return "x64" PLATFORM_SEP;
#endif // SOURCE_ENGINE == SE_MCV
#else
return "linux64" PLATFORM_SEP;
#endif // PLATFORM_WINDOWS
#else
// Already included in the GameBin path(s), if required
return "";
#endif // SOURCE_ENGINE >= SE_BLADE
#endif // KE_ARCH_X64
return "win32" PLATFORM_SEP;
}
} fs_wrapper;
class VPlayerInfo_Logic : public IPlayerInfoBridge