Skip to content
Snippets Groups Projects

Document the Steam compatibility tool interface

Merged Simon McVittie requested to merge wip/smcv/document-compat-tools into master
@@ -32,7 +32,7 @@ Each compatibility tool can have these fields:
necessary files, for example
`/path/to/steamapps/common/Proton - Experimental` for Proton
`display-name`
`display_name`
: Name to display in the Steam user interface
`from_oslist`
@@ -334,14 +334,14 @@ to run before it could be launched. They were invoked like this:
Version 1 compat tools are not invoked specially.
Version 2 compat tools are invoked with a `%verb% in the `commandline`
Version 2 compat tools are invoked with a `%verb%` in the `commandline`
(if any) replaced by `waitforexitandrun`.
The environment variable `STEAM_COMPAT_SESSION_ID` is not set.
Historically, it was set to a unique token that was not used in any
previous invocation.
`STEAM_COMPAT_APP_ID` is set to `0`.
`STEAM_COMPAT_APP_ID` is set to `0`. `SteamAppId` is not set.
`STEAM_COMPAT_DATA_PATH` is set to a unique directory per non-Steam game.
It is currently in the same format as Steam games' equivalent directories,
Loading