Skip to content

Usage Steam Wine

Drackrath edited this page Nov 30, 2026 · 1 revision

Steam-Wine

Part of the Usage reference. · ← Previous: Proton & Wine runtimes · Next: Luxtorpeda native-engine plugin (Linux only) →

Some Windows games require a live Steam client for their Steamworks/DRM handshake. Aurelia can host a self-contained master Windows Steam prefix (a Wine prefix with Steam installed inside it) and start that Steam in the background purely to answer the in-prefix handshake, while the game itself is still launched directly by Aurelia (never through a steam://run / -applaunch handoff). It is the no-host-Steam path for play --steam: when you launch with --steam and no host Steam client is installed, Aurelia uses this Steam-Wine client for the DRM/Steamworks handshake (subject to the policy below).

Linux and macOS. Steam-Wine runs Steam under a Wine runner, which Windows can't start. On Windows, steam-wine install, repair and login stop before downloading or touching a prefix, and play --steam-mode wine is refused. Use your installed Steam client with play --steam instead. steam-wine status shows a Supported here: no line on such hosts ("supported" in --json). On macOS the Steam-Wine client is the only way to run a Windows build, see macOS below.

New here? See Steam-Wine setup guide for the exact step-by-step setup recipe, machine requirements (Vulkan + a DXVK/vkd3d runner), caveats, and troubleshooting. The rest of this section is the command reference.

Installing/repairing the master prefix needs a Wine/Proton runner configured as steam_wine_runner: background Steam runs under bare Wine, not through Proton's proton run wrapper.

First-time setup. steam-wine install fails until a runner is selected. Pick one from your installed runtimes and set it:

aurelia proton list                                 # see installed runtime names
aurelia config steam-wine-runner GE-Proton9-20   # select one (or `experimental`, or a Wine path)
aurelia config steam-wine-runner                 # verify — prints the bare Wine it resolves to
aurelia steam-wine install                       # install Steam into the master prefix
aurelia config game <APP_ID> --steam-wine on     # opt a game into using it at launch

The runner value is an installed runtime name (as shown by aurelia proton list) or a path to a Wine build. A relative path (anything containing /) is resolved against the folder you ran the command in and saved as an absolute path. A Proton runtime is accepted: Aurelia uses the bare Wine bundled inside it (files/bin/wine64) automatically, never proton run. If you have no runtime yet, install one first with aurelia proton install <NAME>.

Steam integration policy

A launch that asks for Steam integration (play --steam, forced on for Family-Shared games) resolves where the Steam client comes from from a policy, checked per-game first, then the global default:

Policy Behavior
auto (default) Prefer the host Steam client when one is installed. Otherwise fall back to the Steam-Wine client.
on Always use the Steam-Wine client, even if a host Steam client exists.
off Host Steam only, never the Steam-Wine client.

On Linux, "installed" means a real Steam client is found, not just a leftover Steam folder. See Which host Steam under play.

aurelia config steam-wine-policy on         # global default: always use the Steam-Wine client
aurelia config steam-wine-policy            # view the current global default
aurelia config game <APP_ID> --steam-wine on   # per-game override (wins over the global default)

A game whose own policy is auto inherits the global default. on/off on the game override it. Installing the master prefix does not, by itself, route any game through it. A launch only uses the Steam-Wine client when it both asks for Steam (--steam) and the resolved policy selects it. When the policy selects the Steam-Wine client, Aurelia starts the master Steam client in Wine (on the configured runner) and points the game at it via STEAM_COMPAT_CLIENT_INSTALL_PATH, satisfying the Steamworks/DRM handshake without a host Steam client. --steam-prefix-mode shared|per-game chooses whether the game runs in the master prefix directly (shared, default) or gets its own copy (per-game).

aurelia steam-wine install [-r] [--json]   # -r = --reinstall
aurelia steam-wine repair    [--json]
aurelia steam-wine uninstall [--json]
aurelia steam-wine login     [--json]   # alias: relogin
aurelia steam-wine stop      [--json]
aurelia steam-wine status    [--json]
aurelia config steam-wine-runner [<NAME>]    # view/set the runner (empty string clears)
aurelia config steam-wine-policy [auto|on|off]   # view/set the global default policy
Subcommand Description
install Download SteamSetup.exe (if needed), install Steam into the master prefix, then start the Steam client. Waits for the installer and fails loudly if steam.exe does not appear. Requires steam_wine_runner to be set.
install --reinstall Delete the existing master prefix first, then install a fresh copy. Use when Steam reports a corrupted install ("please reinstall"). Unlike repair, keeps no backup, a true clean slate.
repair Stop Steam, back up the master prefix to a timestamped .bak-<unix-time>, then reinstall, which recovers a corrupted install that passes the file-exists check but crashes on start. Since v0.1.37-2, every backup is kept: earlier backups are never deleted, so clean them up yourself when you no longer need them. Requires steam_wine_runner.
uninstall Stop any Steam running in the prefix, then remove the whole master prefix (including every .bak-* backup). Reinstall later with steam-wine install.
login (alias relogin) (Re-)start the in-Wine Steam client interactively so you can sign in again (after its Steam session expired, or to switch accounts) without reinstalling. Stops any silent background Steam in the prefix first so the login window opens. Requires an installed runtime. See Authentication below.
stop Stop the in-Wine Steam client running in the master prefix (ends its Wine session) without uninstalling, e.g. one started by login or left running after a game.
status Print the resolved master root, Wine prefix, layout kind, whether steam.exe is present, whether the in-Wine client is running and signed in, whether it has a saved login, and the configured runtime runner.

The status --json output is { "root_dir", "wine_prefix", "layout_kind", "steam_exe", "steam_exe_present", "logged_in", "saved_login", "running", "steam_wine_runner", "steam_wine_runner_configured", "supported" }. logged_in is only true while the in-Wine client runs and its connection log shows a signed-in account. saved_login says whether the prefix remembers an account that signs in automatically (AutoLogin in loginusers.vdf), which also works while Steam is closed.

Steam-Wine authentication

The Steam-Wine client is a real Windows Steam client and keeps its own login inside the master prefix, separate from aurelia login (which authenticates Aurelia's own CM session for the library/downloads). Aurelia doesn't pass its session to the in-Wine client, except in headless mode: there is no login window, so each start signs the client in with your Aurelia account instead.

  • First sign-in happens when you run steam-wine install (the Steam client starts: sign in there, including Steam Guard). The login persists in the master prefix.
  • Later launches (play --steam in in-Wine mode) start that already-signed-in client silently (-silent): no per-launch login.
  • When the session expires (or to switch accounts), run aurelia steam-wine login. It restarts the client with its UI so you can sign in again. install is not the right command for this (it's for a missing install), and repair is destructive (it reinstalls).

The in-Wine client must be signed into an account that owns/can access the game, or the DRM/Steamworks handshake won't pass. That account is independent of the one aurelia login uses, though it's normally the same person. In headless mode it's the aurelia login account.

aurelia steam-wine status
aurelia steam-wine install
aurelia steam-wine repair

Runner: the Windows-Steam installer and the background Steam client always run under a bare wine, never proton run (that wrapper derives its own prefix and expects the Steam Linux Runtime container). Pointing steam_wine_runner at a Proton tree such as GE-Proton9-20 is still fine: the wine bundled inside it (files/bin/wine64) is used automatically.

macOS

On macOS the Steam-Wine client is supported and is how Windows builds run, since there is no Proton:

  • Set steam_wine_runner to a path to a macOS Wine build (for example from Game Porting Toolkit, CrossOver or Wine Staging): a wine64/wine binary, or a folder with bin/wine64 or bin/wine. proton install refuses on macOS, so there are no runtime names to pick.
  • aurelia play <APP_ID> of a game installed as a Windows build, or play --platform windows, hands the game to the in-Wine Steam (steam.exe -applaunch), like a [wine] game. The launch fails up front when no runner is set or the Steam-Wine client isn't installed. --steam-mode host and none are refused, and --launch-option is ignored, since the in-Wine Steam picks the entry itself.
  • On every host, before starting the client (on install, login and each launch handed to it), Aurelia adds the configured Steam library, and for a launch the game's library, to the in-Wine Steam's library folders, so it finds games Aurelia installed. If a launch adds a library while that Steam is running, the client is restarted.
  • Native macOS builds never use the Steam-Wine client. They run directly, see play.

Diagnostics: set AURELIA_DIAGNOSE_INSTALL=1 before install/repair to run the installer with verbose WINEDEBUG and capture its output to a timestamped log under ~/.config/Aurelia/logs/, useful for root-causing setupapi/file-copy failures. It has no effect on normal game launches.

Clone this wiki locally