Skip to content

Steamworks Shared

frostworx edited this page Sep 8, 2021 · 4 revisions

Steam uses the Steamworks Common Redistributables (228980) (aka Steamworks Shared or CommonRedist) package to collect several packages, which are often a dependency for games and install those automatically if required. Those are for example multiple dotnet, vcredist or physx versions (see here) The automatic installation is regularly done via the Steam First Time Setup, which is triggered on every game launch.

stl offers the option to manually trigger and also modify the Steam First Time Setup, but also is able to install the Steamworks Shared packages easily into any Wineprefix using any Wine version via Command Line.

stl steamworksshared l (or short stl sws l) lists all available packages (shipped with the static list regularly in /usr/share/stl/misc/steamworks-shared.txt`)

stl steamworksshared i (or short stl sws i) installs a package using the following additional parameters:

  • (a valid packagename from stl sws l)
  • x (either a SteamAppID of an installed game or any absolute path to a writable directory to be used asWineprefix )
  • optional (optionally an absolute path to any wine binary to be used for the installation)

If a SteamAppID was used as parameter stl tries to autodetect both the Wineprefix and the configured Proton -> Wine version and uses them.

If the wine version was not provided as optional argument and could not be determined as well, the currently set default from the Game Default Template Config is used.

example: stl sws i openal /tmp/blah will install openal into the (empty) directory /tmp/blah using the default Proton -> Wine

Clone this wiki locally