Revert "Revert "runtime: Set STEAM_RUNTIME=/ if running in scout"
Setting STEAM_RUNTIME=/ caused configuration changes in libraries like Pango and GTK, which broke module loading when not in the LD_LIBRARY_PATH Steam Runtime. We updated the affected libraries' search paths so it is safe now to reimplement the STEAM_RUNTIME change.
This reverts commit dc71943a.
/cc @smcv
I tested this with the latest Scout snapshot 0.20200920.0 and I can confirm that Floating Point's GTK menu correctly loads and also Feral's "Life is Strange: Before the Storm" (554620) works correctly while without this "STEAM_RUNTIME=/" patch it crashed at startup.
Merge request reports
Activity
- Resolved by Ludovico de Nittis
Revert "Revert "runtime: Set STEAM_RUNTIME=/ if running in scout"
I'd prefer to spell this as something like one of these:
- runtime: Set STEAM_RUNTIME=/ if running in scout
- runtime: Set STEAM_RUNTIME=/ if running in scout (again)
- Reapply "runtime: Set STEAM_RUNTIME=/ if running in scout"
Please include a reference in the commit message to why we are doing this. You could say
or you could copy the long commit message from eb716698 into your long commit message:
This should go some way towards resolving failures to run games ported by Feral Interactive, which explicitly check that they have been run by Steam. See https://github.com/ValveSoftware/steam-runtime/issues/202 and https://github.com/ValveSoftware/steam-runtime/issues/249.
or both.
(For the actual code changes, obviously I'm happy with them if you are, since I wrote them!)
added 1 commit
- 68c747c6 - Reapply "runtime: Set STEAM_RUNTIME=/ if running in scout"
mentioned in commit 79c8fcec