Skip to content

Instantly share code, notes, and snippets.

@PeronGH
Last active August 10, 2025 12:22
Show Gist options
  • Save PeronGH/fafd413d6b0b15014eb226c2c7c9c3c8 to your computer and use it in GitHub Desktop.
Save PeronGH/fafd413d6b0b15014eb226c2c7c9c3c8 to your computer and use it in GitHub Desktop.
Windows Gaming on macOS Guide

Windows Gaming on macOS Guide

Steps

  1. Install GPTK
brew install --cask --no-quarantine gcenx/wine/game-porting-toolkit
  1. Initialize wine prefix (default: ~/.wine, can be set by WINEPREFIX env)
wine64 winecfg
  1. Install Steam
  • Download Steam from https://cdn.akamai.steamstatic.com/client/installer/SteamSetup.exe
  • # Install Steam
    wine64 ~/Downloads/SteamSetup.exe
    # Fix steam crashing
    wine64 "C:\Program Files (x86)\Steam\steam.exe" -forcesteamupdate -forcepackagedownload -overridepackageurl http://web.archive.org/web/20250306194830if_/media.steampowered.com/client -exitsteam
    # Always launch steam with these args
    WINEMSYNC=1 wine64 "C:\Program Files (x86)\Steam\steam.exe" -noverifyfiles -nobootstrapupdate -skipinitialbootstrap -norepairfiles -overridepackageurl

Add DXVK (Optional)

  • Download from https://github.com/Gcenx/DXVK-macOS
  • WINEPREFIX=~/.wine
    cp x64/*.dll $WINEPREFIX/drive_c/windows/system32
    cp x32/*.dll $WINEPREFIX/drive_c/windows/syswow64
    
  • Set WINEDLLOVERRIDES="dxgi,d3d9,d3d10core,d3d11=n,b" when you want to use DXVK

Useful Env

  • Enable Msync: WINEMSYNC=1
  • Enable DXVK: WINEDLLOVERRIDES="dxgi,d3d9,d3d10core,d3d11=n,b"
  • Enable AVX: ROSETTA_ADVERTISE_AVX=1
  • Replace DLSS with MetalFX: D3DM_ENABLE_METALFX=1

Extra Info

  • Shader cache dir: $(getconf DARWIN_USER_CACHE_DIR)/d3dm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment