[Feature Request] Use the Steam Linux Runtime with Winetricks #860
Labels
enhancement
New feature or request
Winetricks
Issues related to using Winetricks with SteamTinkerLaunch
System Information
Feature Description
Various Winetricks, especially on SteamOS, require the Steam Linux Runtime to install properly. For example.
dotnetdesktop6
. The Steam Linux Runtime is fetched by SteamTinkerLaunch when requested (such as for a game launch) and we fetch it based on the version specified in a Proton version'stoolmanifest.vdf
file, under itsrequire_app_id
.To run Winetricks in the Steam Linux Runtime, the Winetricks command needs to be wrapped in the Steam Linux Runtime command. We have a function that can get the relevant SLR for a given Proton version, and we can check if we have the SLR with
-z ${SLRCMD[@]}
.The problem with using the SLR with Winetricks is not so straightforward to fix. There are two problem areas:
~/.config/steamtinkerlaunch/downloads/winetricks/winetricks
(the path will be different on Flatpak). So if the user has Winetricks already downloaded (such as on Steam Deck where it's always preferred even over an unwise system-wide installation) that's finesetSLRReap
, the function that gets the SLR for us.In short, we need to find a way to implement this feature in a way that makes sense for users who already have Winetricks installed system-wide, since we can't use their system-wide installation.
Using the SLR (or more specifically, the correct SLR) with Winetricks will greatly improve compatibility. It is also another step in the adventure that is adding the SLR to more places around STL. Proton is not intended to be used without the SLR anyway, so this change is sensible and should happen.
Side Note: An update to the Steam Linux Runtime wiki page should be done probably before any work is done on this, to properly document how the SLR works now and how SteamTinkerLaunch is able to fetch it.
The text was updated successfully, but these errors were encountered: