Play Windows games on Apple Silicon Macs. Free, open-source app that installs the official Battle.net, Steam, Epic and GOG launchers and lists your games in one library.
Steam + D3D11 games on Apple Silicon: the full free path
Verified 2026-08-27 on M4 Pro / macOS 26.5: Windows Steam client (Aug 2026 build, CEF 126) renders and authenticates, and a Unity D3D11 title launched from the library renders in-game, windowed, with a single Dock icon. Everything below is free software.
Steam with Apple GPTK (soju steam-gptk on)
Verified 2026-11-11 on M4 Pro / macOS 26.5: the Steam client signs in and
downloads on the CX engine, and Overwatch 2 from Steam reaches its main menu
online with D3DMetal. The CX engine's problem below turned out to be the Mac
driver, not the engine: with winemac.so built from
patches/engine/0007-remote-child-layers.patch (the launcher-support
component the EA app, Rockstar and Ubisoft already use) and the same
steamwebhelper wrapper, Steam's window draws. scripts/steam-gptk-engine.sh
makes that engine as an APFS clone of the CX engine with only winemac.so
replaced, so Apple's d3d11/d3d12/dxgi/atidxx64/nvapi64 shims and
libd3dshared stay, and Steam games get them the way Battle.net games do.
- Own bottle,
steam-gptk-bottle, an APFS clone ofsteam-bottle: installed games carry over without downloading. Steam's saved sign-in does not (it is tied to the engine), so Steam asks to sign in once there. - Steam updates put the real
steamwebhelper.exeback; without the wrapper the window is black.play.shredeploys it on every launch, as on Wine 11. soju steam-gptk offgoes back tosteam-bottleon Wine 11 + DXMT, still signed in. The DXVK profiles (steam-profiles.json) apply only there.
Game voices: GStreamer (scripts/fetch-gstreamer.py)
Verified 2026-11-11 on M4 Pro / macOS 26.5. Wine's WMA decoder is a GStreamer
pipeline (appsrc, avdec_wmav2 from gst-libav, audioconvert, audioresample,
appsink). Without GStreamer, creating it fails ("GStreamer doesn't support WMA
decoding", #94) and games with WMA voice lines have no dialogue. A test that
creates CLSID_CWMADecMediaObject in the Steam runtime failed with 0xd0000005
before and succeeded after; a DirectShow graph rendering a 2-second WMA file
reached EC_COMPLETE only with GStreamer.
Since 1.14.9 the video plugins winegstreamer creates are kept too (videoconvert, videoflip, deinterlace, the H.264 parser and Matroska), so cutscenes in H.264 can decode: Media Foundation's H.264 decoder failed to create before ("GStreamer doesn't support H.264 decoding", #94) and creates after.
The official package (pinned SHA-256) is expanded in a temporary folder; only
the x86_64 slices of 19 plugins and the 32 libraries they load are kept (42 MB),
and the package is deleted. play.sh steam adds DYLD_FALLBACK_LIBRARY_PATH
(searched only when Wine's own lookups fail) and the GST_* paths after it drops
the CX environment. The CX engine is built without winegstreamer, so Steam with
Apple GPTK does not get this yet.
Why not the Soju CX engine?
The modern Steam client's CEF UI does not render on CrossOver-source builds:
the GPU process crash-loops (sandbox faults, 0xC0000005), and DXMT's
cross-process swapchain limit (DXMT #141)
blacks out the composer. The pinned upstream Wine 11 build works once the
steamwebhelper wrapper forces --disable-gpu --single-process
(from notpop/steam-on-m1-wine, MIT,
vendored in third_party/).
The wiring that finally worked
Two D3D11 implementations must coexist in one prefix:
| consumer | needs | gets it via |
|---|---|---|
| Steam client (32-bit steam.exe + 64-bit CEF helper) | vanilla wined3d | per-app DllOverrides=native → marker-stripped vanilla copies in system32 |
| 64-bit games | DXMT (D3D11→Metal) | global DllOverrides=builtin → DXMT dlls installed as bundle builtins (x86_64 only) |
Hard-won facts, in the order they burned us:
- DXMT dlls must be builtins. Loaded as native they cannot attach their
unixlib (
winemetal.so). Wine falls back to vanilla silently. - Wine-built PEs dropped into a game folder are treated as fake dlls and silently redirected to the bundle builtin. Game-local DXMT does not work.
- A builtin that isn't part of wine needs a placeholder: without a
winemetal.dllcopy insystem32, by-name lookup fails withc0000135("Failed to initialize graphics" in Unity) even though the builtin exists. - The Steam client dies on DXMT builtins (helper restart loop every 10 s),
so it must be forced to vanilla per-app. But per-app
nativepointing at a vanilla wine PE gets redirected to the (DXMT) builtin, unless you strip theWine builtin DLLmarker from the copies (1-byte patch). - i386 stays vanilla. steam.exe is 32-bit; its composer must not see DXMT.
winemac.somust export macdrv symbols (-fvisibility=defaultrebuild) or DXMT's_CreateMetalViewFromHWNDcannot dlsym them.- Env
WINEDLLOVERRIDESbeats per-app registry: keep d3d overrides out of the env; drive the split from the registry only. - Steam tags games with
DISABLEDXMAXIMIZEDWINDOWEDMODE, forcing fullscreen; scrub it fromuser.regfor windowed play. Unity then remembers-screen-fullscreen 0. - Crashed Chromium leaves
SingletonLockin htmlcache; the next launch silently becomes--silent(no window). Purge on every launch (play.sh does). - One Dock icon: macdrv registers a Dock icon per wine process with
windows, and this macdrv ignores virtual desktops. We patched
cocoa_app.m(modeled on CrossOver's hack 24141) to honorWINE_NO_DOCK_ICON="steam.exe;steamservice.exe", matching the basename of the first two argv entries (NSProcessInfo sees pre-rewrite argv; scanning all args would also hide the helper via its-steampath=argument). - steam.exe gets no audio driver (#55). Wine 11.0's winmm fills in
device capabilities by asking each device about 20 PCM formats, and every
ask opens a Core Audio unit on it (removed in Wine 11.5, c3a1bc8613).
Steam calls
mixerOpenfrom its main loop, so a slow device freezes the client before its login window (CSteamEngine::BMainLoop appears to have stalled, stacksteamclient64 → winmm → mmdevapiinsideIsFormatSupported). Measured: 0.1 s with two outputs, 0.7–1.7 s with microphones; one report went past 15 s. play.sh addsAppDefaults\steam.exe\DllOverrides\winecoreaudio.drv=disabledwhen the value is absent. Games and the webhelper keep their sound; set the value tobuiltinto give steam.exe audio back.Drivers\Audio=""also cures it, but silences every game in the bottle.
Automatic setup
soju steam-install now downloads verified prebuilt DXMT, the patched Wine driver and wrapper. Existing users can close Steam and run soju steam-games. A private Wine runtime preserves the Homebrew app. This component release requires macOS 26+ and Wine 11.0. See sources and validation.
Per-game renderer
DXMT remains the default. For a 64-bit Steam game with a renderer-specific problem, the CLI can select DXVK + MoltenVK for just that executable. In #48, a Dark Souls III player reports that this avoids minute-long GPU stalls, with a lower, CPU-limited frame rate of about 30 FPS. This is a user-tested workaround, not a claim that the DXMT fault is fixed.
Close Windows Steam and all its games first. Use the full Mac path to the game executable; for a default Dark Souls III install:
GAME="$HOME/.battlenet-macos/steam-bottle/drive_c/Program Files (x86)/Steam/steamapps/common/DARK SOULS III/Game/DarkSoulsIII.exe"
soju steam-games renderer dxvk "$GAME"
Soju downloads the pinned Gcenx DXVK-macOS native package, checks the archive and DLL SHA-256 digests, backs up existing game-local DLLs and overrides, then installs only d3d11.dll and d3d10core.dll next to the game. The executable's dxgi=native uses Soju's existing vanilla Wine DXGI; winemetal is disabled for this executable. No DLLs are replaced in the shared Wine runtime or Steam client. dxvk.conf and async settings are left unchanged.
soju steam-games renderer status "$GAME" # inspect without changing anything
soju steam-games renderer dxmt "$GAME" # explicitly use Soju's DXMT
soju steam-games renderer reset "$GAME" # restore the original files and overrides
Restart Steam and the game after a change. Renderer setup/repair writes only the
global defaults and Steam client profiles, so game-specific overrides remain.
This command preserves previous settings, including a manually installed
workaround: reset returns to that original configuration, whereas dxmt
explicitly selects DXMT. Wine scopes overrides by executable name, so another
game with the same executable name in this bottle cannot have a separate profile.
Executables sharing a directory also share the local DLLs and cannot have competing
profiles. If a game updater or another tool changes the managed DLLs/overrides,
Soju refuses to overwrite those changes; recovery copies are kept under the
Steam bottle's .soju-renderers directory.
Tessellation cap (DXMT)
Some games ask for far more tessellation than they need, which can keep the GPU
busy for a long time under DXMT. Steam support v2 (Soju 1.6.9) backports
upstream DXMT's d3d11.maxTessFactor option to the pinned DXMT. Upstream main
itself is not used, because it deadlocks in Soju's Wine driver.
After updating, close Windows Steam and run soju steam-games once to install
v2. Then put a dxmt.conf file in the game's folder, the folder Steam starts it
from. For a default Dark Souls III install:
DIR="$HOME/.battlenet-macos/steam-bottle/drive_c/Program Files (x86)/Steam/steamapps/common/DARK SOULS III/Game"
printf 'd3d11.maxTessFactor = 16\n' > "$DIR/dxmt.conf"
Try 8 if stalls remain. Lower values reduce tessellated detail; delete the file
to undo. The option applies only while the game uses DXMT, so run
soju steam-games renderer dxmt "$GAME" first if you switched it to DXVK.
Whether this removes the Dark Souls III stalls is still to be confirmed in #48.
Renderer validation
On 2026-09-28, the D3D11 hardware smoke test passed on M4 Pro / macOS 26.5 in a temporary prefix: default DXMT, per-game DXVK, DXVK after a full --repair, explicit DXMT, and reset to the original configuration. Each pass created a hardware device and swapchain and presented 180 frames. No installed game files were used. This verifies the switch and repair behavior; Dark Souls III gameplay and performance still require confirmation from the reporter.
Building the artifacts
Based on notpop's 07-build-dxmt-fork.sh / 08-patch-wine-visibility.sh, with
three fixes we needed on macOS 26.5 / current Homebrew:
- meson must be 1.10.2 (
python3 -m venv … && pip install 'meson==1.10.2', passMESON=), Homebrew's 1.12 breaks the DXMT build. src/util/com/com_guid.cppneeds#include <iomanip>(newer mingw).- The prebuilt LLVM 15 x86_64 tree references zstd: build an x86_64
libzstd.aandlibtool -static-merge it intolibLLVMSupport.a. - The 3Shain wine toolchain tarball extracts flat. Normalise into
toolchains/wine/. - The Dock-icon patch on top of the visibility rebuild lives in
transformProcessToForeground:(seescripts/setup-steam-games.shheader).
The pinned DXMT fork is MIT (Copyright Feifan He), with separate notices for bundled DirectX headers; the wrapper is MIT
(vendored in third_party/); our winemac patch is published as
patches/winemac-no-dock-icon.patch (LGPL-2.1+, matching Wine). The same patch adds
WINE_DOCK_REOPEN_CMD: when the Dock icon is clicked and no Wine window is visible, winemac runs
the command, play.sh steam sets it to steam.exe steam://open/main, so closing the Steam window
parks it (as on Windows) and a Dock click brings it back; Steam > Exit really quits. Nothing
proprietary is redistributed.
Artifacts land in ~/.battlenet-macos/steam-support/ and
scripts/setup-steam-games.sh wires everything idempotently.
Runbook
scripts/create-steam-bottle.sh # private Wine 11 + wrapper + Steam
scripts/setup-steam-games.sh # verified download + private DXMT/winemac runtime
scripts/play.sh steam # play
Repairing and removing Steam
Run soju steam-install again to repair the Wine runtime for an existing Steam
installation. Existing games remain in place. Close Windows Steam and its games
before repairing or changing the renderer.
soju uninstall resolves the same Steam runtime used for launching, waits for the
bottle to stop, and aborts if that fails. The separate Steam runtime category
includes the downloaded Wine build, prepared renderer and their rollback copies.
Declining bottle removal keeps installed games; separately installed Wine apps and
external SOJU_STEAM_WINE directories are preserved.