Skip to content

About

Play Windows Steam games in the native macOS Steam client on Apple Silicon with a self-built Wine (NotProton fork, CrossOver 26.3 sources, D3DMetal/DXMT)

Resources

Stars

21 stars

Watchers

4 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

steamplay-mac

Play Windows games from the native macOS Steam client on Apple Silicon. You install them in Steam and click Play, much like Steam Play/Proton on Linux. Instead of a licensed CrossOver install, the runner is a Wine you build yourself.

Status: experimental (October 2026). It works end to end on an M3 Max with macOS 26.6 and Steam client 1791249696 (beta). See What has been tested. Expect rough edges, and read Risks before installing.

How it works

This is a fork of NotProton (GPL-3.0). NotProton's notproton.dylib is loaded into macOS Steam. It switches on Steam's built-in Steam Play machinery, which macOS Steam ships but keeps inactive, and registers a compatibility tool. Upstream NotProton runs games with a licensed CrossOver Preview. Supporting other runners is not a goal of that project, so this fork adds a runner you build from public sources:

NotProton steamplay-mac
Wine CrossOver Preview 27 (licence required) CrossOver 26.3 sources (Wine 11.0, LGPL), built locally
Steam bridge in ntdll binary detours at offsets pinned per CrossOver build Valve's Proton patches ported into the source
Extra Wine fixes – Highball series: msync leak, Unity GetLastError, fibers, CoreAudio dropouts, Xbox sign-in, …
Graphics backend CrossOver's CX_GRAPHICS_BACKEND own selection. Auto reads the game's PE imports: DX12 → D3DMetal, DX10/11 → DXMT, otherwise wined3d
D3DMetal CrossOver's copy Apple Game Porting Toolkit 3.0; optionally 4.0 on macOS 27 (below)
DXMT bundled with CrossOver v0.80
msync off by default on by default
Video (Media Foundation) GStreamer FFmpeg 7.1 through winedmo

The game path is: Steam → compat tool run script → per-game .app launcher (macOS Game Mode) → x86_64 Wine under Rosetta 2 → steam.exe shim → game. Inside the game process, Valve's steamclient64.dll is trampolined into the builtin lsteamclient. Its Unix half talks to the macOS client's steamclient.dylib, so Steam features (overlay, achievements, cloud) work.

What has been tested

  • Smoke tests (tests/d3dprobe.c):

    • D3D11 through DXMT: feature level 11_0, adapter "Apple M3 Max".
    • D3D11 and D3D12 through D3DMetal: DXR tier 1.1.
    • wined3d as the fallback.
  • AION 2 (Steam 3393110, UE5, DX12, NC Guard anti-cheat), with no launch options:

    • NC Guard initialises completely (initialize:: done).
    • The Steam overlay attaches.
    • The 3D title screen renders through D3DMetal (picked automatically).
    • The game reaches the global server list at a steady 60 fps (Metal HUD). Character creation could not be tested on launch day, because the servers were full.

    CrossOver 26 and other Wine/GPTK setups hang at the splash screen.

    From 2026-10-12 the game hung after initialize:: done, with no window and about 220 % CPU (#2). NC Guard's start-up CPUID trampoline switches to 32-bit code, which Rosetta does not run. The AION 2 fix handles that, and the 3D title screen renders again (2026-10-13, M3 Max, macOS 26.6.2).

  • The Planet Crafter (Steam 1284190, Unity, DX12 via D3DMetal): starts on the client from 2026-10-11 (1791686101, beta) and the Steam overlay attaches.

Requirements

  • An Apple Silicon Mac with macOS 14 or later (tested on macOS 26), Rosetta 2, and the Xcode Command Line Tools.
  • Homebrew with these packages:
    brew install mingw-w64 bison flex meson ninja ccache cmake pkgconf autoconf llvm lld nasm freetype
  • About 15 GB of free disk space for the build. A full build takes about 20–30 minutes on an M3 Max.

Build

git clone --recursive https://github.com/Drustburn/steamplay-mac.git
cd steamplay-mac
scripts/build-all.sh

Every step can also be run on its own:

Script Does
build-deps.sh x86_64 gmp, nettle, gnutls, freetype, SDL2, MoltenVK and FFmpeg, cross-compiled natively with -arch x86_64
prepare-wine-src.sh downloads the CrossOver 26.3.0 sources (sha256-pinned) and applies patches/series
fetch-steam-sources.sh adds Valve's Proton lsteamclient (pinned commit, content digest)
build-wine.sh builds the native Wine tools, then the x86_64 Wine with new WoW64 (i386 + x86_64 PE)
build-steam-shim.sh NotProton's steam.exe shim, built in a stock wine-11.15 tree
fetch-valve-bridge.sh Valve's Windows Steam DLLs from Valve's CDN, sha256-checked
assemble-runner.sh runner tree with bundled libraries, Mono, Gecko, DXMT and D3DMetal
add-d3dmetal.sh D3DMetal 3 (and 4, see below) into a runner; used by assemble-runner.sh and install.sh
make-dmg.sh the installer disk image, see Installer DMG

Everything downloaded is checked against a pinned hash. Nothing from Valve or Apple is committed to this repository.

D3DMetal 4 (macOS 27)

D3DMetal 4 comes with Apple's Game Porting Toolkit 4 and needs macOS 27. Apple distributes it only behind a free developer login, so the build does not download it:

  1. Download Game Porting Toolkit 4 from developer.apple.com/download/all.
  2. Open the disk image in Finder and accept the licence. If it contains another "Evaluation environment" image, open that one too.
  3. Run scripts/build-all.sh (or only scripts/assemble-runner.sh). The script finds redist/lib on the open volume, checks that D3DMetal is signed by Apple, and puts it next to D3DMetal 3. GPTK4=/path/to/folder points it at a copied redist/ instead.

Pick D3DMetal 4 (macOS 27) in a game's Properties → Compatibility. You can also set CX_GRAPHICS_BACKEND=d3dmetal4 as a launch option. Automatic keeps using D3DMetal 3. On an older macOS, or in a runner built without it, the game falls back to D3DMetal 3, and notproton-run.log says so. Apple's Metal 4 renderer in the 4.0 beta ends some games after a minute, so it stays off. Turn on Metal 4 renderer (beta) (D3DM_MTL4=1) to try it.

Install

Without building, use the disk image: double-click Install steamplay-mac in it. The installer and its uninstaller are described under Installer DMG. From a build:

scripts/install.sh support        # runner, bridge, helpers -> ~/Library/Application Support/notproton
scripts/install.sh steam          # inject the dylib into /Applications/Steam.app
scripts/install.sh block-updates  # optional, recommended (see Risks)

install.sh hud on turns on a performance overlay for every game, in the top-right corner:

  • Apple's Metal Performance HUD: resolution, Metal and app memory, FPS with a graph, GPU time, present delay and frame interval. The defaults are MTL_HUD_ALIGNMENT=topright, MTL_HUD_SCALE=0.12 and MTL_HUD_ELEMENTS=fps,frameinterval,gputime,presentdelay,layersize,memory,fpsgraph.
  • syshud, below it: the values Metal cannot show, namely CPU and GPU load, RAM, thermal state, the macOS version and build, the chip, the Wine runner and the graphics backend. It only appears while the game is in front and ignores the mouse. NOTPROTON_SYSHUD=0 turns it off.

You can override any HUD variable per game as a launch option, for example MTL_HUD_ELEMENTS=fps,gputime,memory. Settings for all games go in ~/Library/Application Support/notproton/global.env, one KEY=VALUE per line; a game's own launch options take precedence.

install.sh steam needs your terminal to have permission to modify other apps. Enable it in System Settings → Privacy & Security → App Management.

Then start Steam. Windows-only games get an Install button and default to the compatibility tool Steam Play (Wine, self-built). Per game, use Properties → Compatibility to pick the graphics backend (Automatic / D3DMetal / DXMT / WineD3D) and to toggle MetalFX/DLSS, the Metal HUD, AVX, msync and Retina mode. You can also set these as launch options, for example CX_GRAPHICS_BACKEND=d3dmetal.

Write launch-option variables without %command%. macOS Steam starts launch options without a shell, so with VAR=value %command% it tries to run VAR=value as the program and fails with OS Error 260 (AppError_46 in ~/Library/Application Support/Steam/logs/console_log.txt). Without %command%, Steam appends the variables to the command line, and the run script takes them over. Its log shows them as launch_env= in notproton-run.log.

AION 2 fix

The installer ships aion2-wine-compat by Yuki-fox (MIT, copied unchanged into notproton/gamefixes/aion2). It is a small dylib that interposes Wine's signal handlers, recognises NC Guard's 64→32-bit CPUID trampoline and delivers the exception that Windows would raise. It does not change game files or NC Guard.

  • It goes to ~/Library/Application Support/notproton/aion2-compat/compat_cpuid.dylib, and the run script inserts it for AION 2 (3393110) only. notproton-run.log then shows === aion2-wine-compat inserted ===.
  • AION 2 needs no launch options. A wrapper script set up by hand (from aion2-wine-compat's or an older guide) can be removed. NOTPROTON_AION2_COMPAT=0 as a launch option leaves the fix out.
  • A prefix created before 2026-10-12 can keep hanging. Quit Steam, move ~/Library/Application Support/Steam/steamapps/compatdata/3393110 aside, and start the game. Steam creates a new prefix, and the game files stay where they are.
  • The fix matches exact instruction bytes. An AION 2 or NC Guard update can stop it from working. See Risks for anti-cheat.

To uninstall: scripts/install.sh uninstall-steam restores Steam.app only. scripts/install.sh uninstall also removes the runner, the helpers and the update block. Game prefixes in steamapps/compatdata are kept. To get Valve's original signature back, reinstall Steam.

Installer DMG

scripts/make-dmg.sh runs after build-all.sh and writes dist/steamplay-mac-<date>-<commit>.dmg (about 320 MB). The image holds:

  • Install steamplay-mac: an AppleScript applet, in English or German depending on the system language. It checks for Apple silicon, macOS 14, Steam and Rosetta 2, and offers to install Rosetta. It explains what will change, asks whether to block Steam updates, then runs install.sh support, steam and block-updates with a progress window. When macOS refuses to let it modify Steam.app, it opens Privacy & Security → App Management and retries.
  • Uninstall steamplay-mac: runs install.sh uninstall.
  • Read me.txt (English and German) with the source links, and Licenses/.

The image contains nothing from Valve or Apple. The runner inside it has no D3DMetal, so install.sh downloads Valve's DLLs and D3DMetal on the user's Mac and checks them against the same pinned hashes as the build. That download is about 340 MB.

The apps are only ad-hoc signed, not notarised. After downloading, macOS asks for Open Anyway in Privacy & Security. A checkout with uncommitted changes gets a -dirty version, because the source links in its Read me would point to code that does not match the binaries.

Logs

What Where
dylib (hooks, signature resolution) ~/Library/Application Support/notproton/notproton.log
per-game run script (prefix, bridge, graphics choice) ~/Library/Application Support/Steam/steamapps/compatdata/<appid>/notproton-run.log
Wine output of the game ~/Library/Application Support/notproton/launchers/<appid>/notproton-wine.log

For more detail, add WINEDEBUG=+seh,+loaddll to the game's launch options.

Risks

  • Steam.app is modified. Its Info.plist gets an LSEnvironment insert (a backup is made first), and Valve's code signature is replaced by an ad-hoc one.
  • Steam updates. An update can undo the patch, and a much newer client may need new signature databases. In that case the dylib hooks nothing and Steam behaves normally. install.sh block-updates stops the bootstrapper from updating itself.
  • Online games and anti-cheat. Running games under Wine is not supported by their publishers. Use at your own risk.
  • Rosetta 2. Apple has announced that general Rosetta support ends after macOS 27. The runner is x86_64.

Repository layout

patches/series        order in which patches are applied to the CrossOver sources
patches/highball/     Highball engine patches (LGPL-2.1)
patches/valve/        ValveSoftware/wine commits, applied as-is; ported/ holds the originals of our port
patches/local/        our patches (ntdll lsteamclient port, build registration)
notproton/            submodule: Drustburn/NotProton, branch selfbuilt-wine
scripts/              build and install scripts
installer/            installer applet source and the DMG's Read me
tests/d3dprobe.c      D3D11/D3D12 device probe

Credits and licences

  • NotProton (GPL-3.0): the Steam-side work (notproton.dylib, the run script, the lsteamclient macOS port, the steam.exe shim). This project is a fork of it.
  • CodeWeavers: the CrossOver sources (LGPL), including the D3DMetal/DXMT glue and msync. If you can, buy CrossOver. It funds most Wine development.
  • Highball engine by gauthierpiarrette (LGPL-2.1): the macOS patches in patches/highball/.
  • Valve: Proton and its Wine (lsteamclient and the steamclient trampolines). lsteamclient and the Steam DLLs are fetched at build or install time.
  • DXMT by Feifan He (v0.80, MIT).
  • D3DMetal, from Apple's Game Porting Toolkit, through Gcenx's repack: Apple licence, personal and non-commercial use on Apple hardware.
  • Wine (LGPL-2.1+), MoltenVK (Apache-2.0), FFmpeg (LGPL), SDL2 (zlib), gnutls/nettle/gmp (LGPL), FreeType (FTL/GPL).

The scripts and patches in this repository are GPL-3.0 (see LICENSE). Patches to Wine keep Wine's licence.

This project is not affiliated with Valve, CodeWeavers, Apple, NCSOFT or the NotProton author.

About

Play Windows Steam games in the native macOS Steam client on Apple Silicon with a self-built Wine (NotProton fork, CrossOver 26.3 sources, D3DMetal/DXMT)

Resources

Stars

21 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages