bin: Add a simpler interface to wrap a game in the launcher-service
If launcher-service is (mostly) mechanism, then this is policy.
It uses argv[1] and $STEAM_COMPAT_LAUNCHER_SERVICE to decide whether
to wrap a launcher-service around a game process. The idea is that
Steam will set STEAM_COMPAT_LAUNCHER_SERVICE to the most appropriate
layer of the stack at which to be inserting arbitrary debugging
commands into a game.
In previous prototypes, this was open-coded into each compat tool, but
centralizing it is a lot easier for compat tool authors. Put a version
in the name we use, to ensure that if we find we need to make breaking
changes, we can rename to a new interface version (and optionally keep
the old one around too).
To minimize its startup time cost, this doesn't use GLib, only glibc.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
45d542a6
No related branches found
No related tags found
Showing
- bin/launcher-interface-0.c 322 additions, 0 deletionsbin/launcher-interface-0.c
- bin/launcher-interface-0.md 138 additions, 0 deletionsbin/launcher-interface-0.md
- bin/meson.build 8 additions, 0 deletionsbin/meson.build
- debian/steam-runtime-tools-bin.install 1 addition, 0 deletionsdebian/steam-runtime-tools-bin.install
- pressure-vessel/build-relocatable-install.py 1 addition, 0 deletionspressure-vessel/build-relocatable-install.py
bin/launcher-interface-0.c
0 → 100644
bin/launcher-interface-0.md
0 → 100644
Please register or sign in to comment