--- name: mac-windows-games description: Use when running Windows games on the Mac via Whisky. --- # Windows games on Robbi's Mac (M3 Pro, macOS 26) ## Setup on this machine - Homebrew `wine-stable` 9.0 with default prefix `~/.wine` (holds GTA/Rockstar + Showeditor_V7) — do not reuse it for new games, use a separate bottle. - Whisky = **frankea community fork** in /Applications (installed via `brew install --cask frankea/whisky/whisky`). Plain `brew install --cask whisky` installs the archived 2025 original — avoid. - GOG Galaxy and Porting Kit also installed. Disk is ~94% full — check `df -h ~` before big installs. ## Rules - DX12 / Unreal Engine 5 games need D3DMetal. Plain Wine 9 can't run them. In Whisky fork: download Apple's Game Porting Toolkit .dmg (needs Apple ID, user must do it), then Settings → Game Porting Toolkit → Import. Without it, "Recommended" falls back to DXMT. - "Visual C++ 2015-2022 required" errors: install the REAL x64 VC++ redist into the bottle FIRST (Whisky: Winetricks `vcrun2022`), THEN set DLL overrides native,builtin for vcruntime140, vcruntime140_1, msvcp140, msvcp140_1, msvcp140_2 (+ winmm if a guide says so). Overrides alone fail because the bottle only has Wine's GCC-built stand-ins (check with `strings x.dll | grep GCC`). - One bottle per game (Windows 10, 64-bit). ## Bottle via CLI (works without GUI) - `W=/Applications/Whisky.app/Contents/Resources/WhiskyCmd; $W create ; eval "$($W shellenv )"; wine64 wineboot -u`. Prefix lives in `~/Library/Containers/com.franke.Whisky/Bottles/` (the list output shows a wrong path). Whisky GUI only shows CLI-created bottles after an app restart. - Bundled winetricks is blocked by the Hermes lifecycle guard (script >1 MiB). Instead: `curl -L -o vc_redist.x64.exe https://aka.ms/vs/17/release/vc_redist.x64.exe`; running it with `/install /quiet` only replaces SOME DLLs (Wine stand-ins claim higher versions). Reliable: `cabextract` (in Whisky Resources) the exe → cabs a* → copy `*.dll_amd64` into system32 without suffix, then `wine64 reg add 'HKCU\Software\Wine\DllOverrides' /v /d native,builtin /f`. Verify: no `GCC: (GNU)` in `strings`. - Mixtape bottle: UUID FEC1E82A-B34F-4DB6-916D-BB8E58CEE858, backend 'recommended' (= D3DMetal with GPTK imported), VC++ 14.44 x64 + overrides done 2026-12-01. - Ask before big downloads/system changes. ## Driving Whisky via computer_use - cua-driver needs `/Applications/CuaDriver.app`; if doctor says launch failed, `ditto ~/.hermes/tools/cua-driver--darwin-arm64/CuaDriver.app /Applications/CuaDriver.app`. - Whisky settings: menu bar item 'Whisky' → 'Einstellungen …' (key 'comma' is not a valid key name). - File-open sheets ignore background keys/clicks: pick sidebar row + file row by element (works in background), then `focus_app raise_window=true` and press return. Verify import on disk: `~/Library/Application Support/com.franke.Whisky/D3DMetal/`. - GPTK 4.0 beta 3 imported 2026-12-01 (D3DMetal 4.0b3). ## Game notes - Mixtape (Beethoven & Dinosaur, UE5, DX12): Reddit reports it works on M4 Max with the VC++ fix above. Offline installer.