aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/src/pybind11-utils/functional.cpp
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-17 17:26:05 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-17 17:26:05 -0500
commit2efc7e6124ef814ac9abd874bff0dc6b3e6768d0 (patch)
tree6167ebc6b89b1799506f426a58661c9e1e26400d /libs/plugin_python/src/pybind11-utils/functional.cpp
parente41a79a9033761916fa133260ff1849288db7df1 (diff)
Fix Steam game mode: clear LD_LIBRARY_PATH, deploy native basic_games, add env var detection
Steam game mode injects its scout/soldier runtime into LD_LIBRARY_PATH, which breaks Python extension modules and Qt internals that resolve dependencies via LD_LIBRARY_PATH rather than RPATH. This caused all Python-based basic_games plugins (Witcher 3, Oblivion Remastered, BG3, etc.) to fail to load when launched through Steam. Changes: - Launcher script: set LD_LIBRARY_PATH to only bundled lib/ dir instead of leaving Steam's runtime in the path - AppRun: same fix — replace rather than append to LD_LIBRARY_PATH - Deploy libbasic_games_native.so in tarball (was built but never copied) so basic_games entries work without Python dependency - Add STEAM_COMPAT_CLIENT_INSTALL_PATH env var check to Python steam_utils.py (mirrors C++ fix from e41a79a) for game mode detection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/pybind11-utils/functional.cpp')
0 files changed, 0 insertions, 0 deletions