The fix at a glance
The Witcher 3 returns to “Play” in Steam, or opens a black window in CrossOver? Two startup problems can occur in sequence: an outdated executable redirect and a failing D3DMetal shader pipeline.
The open-source fix by tholtman1-del addresses both. Its installer corrects the launch path and installs a proxy DLL that filters the problematic graphics call. The normal Steam shortcut remains the way to start the game.
This guide covers the Steam 5.01 installation and shows how to build the Windows DLL on macOS, install it in the right game folder and restore the original files later.
Check the launch path
If Steam briefly switches to “Running” and then returns to “Play”, check the game’s installed directories first. CrossOver can redirect bin/x64_dx12/witcher3.exe to the older bin/x64 path. When that directory is missing, the game never reaches its graphics startup.
Requested: bin/x64_dx12/witcher3.exe
Redirected: bin/x64/witcher3.exe
Missing: bin/x64
Workaround: bin/x64 -> x64_dx12Open the installed game directory in Steam and use its macOS path in this command:
TASK_GAME_DIR="/path/to/The Witcher 3"
ls -ld "$TASK_GAME_DIR/bin/x64" \
"$TASK_GAME_DIR/bin/x64_dx12"The community installer creates bin/x64 → x64_dx12 so the redirected path reaches the existing executable. On a filesystem that cannot store symlinks, it copies the directory instead. The result still runs the DX12 build; the path correction does not add a DX11 renderer.
The installation step below applies this correction together with the shader workaround. There is no need to rename the game executable or create a second Steam shortcut.
Fix the D3DMetal black screen
A correct executable path gets the game into graphics initialization. A black window at this stage can come from the stream-output pipeline described in the community fix.

The affected pipeline combines a geometry shader with stream output or no pixel shader. The proxy intercepts CreateGraphicsPipelineState and returns E_INVALIDARG for that case. Other pipeline calls continue through the original function.
if (gs->n && (soEntries || !ps->n)) {
logmsg(" -> #%ld SKIPPED (stream output / GS without PS)", id);
if (out) *out = NULL;
return (long)0x80070057; /* E_INVALIDARG */
}
long hr = origGfx(dev, desc, riid, out);Source and context Two failures, two layers
- Steambin/x64_dx12/witcher3.exe
- Stale CrossOver redirectbin/x64/witcher3.exe
- Destination missingLaunch ends before the game window
- Symlink reaches the DX12 buildx64 → x64_dx12
The path correction reaches the installed executable. Shader initialization is the next, separate stage.
- The Witcher 3Direct3D 12
- FidelityFX proxyamd_fidelityfx_loader_dx12.dll
- D3D12 pipeline callCreateGraphicsPipelineState
E_INVALIDARG · 0x80070057
Only the matching pipeline receives E_INVALIDARG. Other calls continue through the original function.
In the source, gs and ps describe geometry- and pixel-shader bytecode; soEntries counts stream-output declarations. Microsoft’s D3D12 documentation describes the pipeline-creation call and its HRESULT return value. This is a focused compatibility workaround at that boundary.
Build and install the fix
Quit the game before replacing its loader. You need Git, Python and the game’s installation path. The commands below use source revision 436de811fcc8784dd0dfb6c9666077b34ca53d31 and ziglang 0.17.0.
Build the Windows DLL on macOS
Zig’s cross-compilation support produces the Windows x86-64 DLL on the Mac. The target is x86_64-windows-gnu, matching the Windows process inside CrossOver.
git clone https://github.com/tholtman1-del/witcher3-crossover-fix.git
cd witcher3-crossover-fix
git checkout 436de811fcc8784dd0dfb6c9666077b34ca53d31
python3 -m venv .venv
.venv/bin/python -m pip install ziglang==0.17.0
.venv/bin/python -m ziglang cc \
-target x86_64-windows-gnu \
-shared -O2 \
-o amd_fidelityfx_loader_dx12.dll \
ffxproxy.c
shasum -a 256 amd_fidelityfx_loader_dx12.dllSource and context -target selects the output platform, -shared produces a DLL and -O2 enables optimization. The last command prints the artifact’s SHA-256 fingerprint.
Install into your game directory
Keep the built DLL alongside the project’s installer. Replace the example directory with the actual game folder, including the external drive path if your Steam library is on another volume:
TASK_GAME_DIR="/path/to/The Witcher 3"
zsh ./install.command "$TASK_GAME_DIR"Source and context The installer places the proxy in bin/x64_dx12, preserves the original loader as amd_fidelityfx_loader_dx12_orig.dll and applies the launch-path correction from step 1.
Restore the original files
To remove the workaround, quit the game and run the companion uninstaller from the same source directory:
TASK_GAME_DIR="/path/to/The Witcher 3"
zsh ./uninstall.command "$TASK_GAME_DIR"Source and context Launch through Steam
Start The Witcher 3 using its normal Steam entry. The path correction sends the launch to the existing executable, and the proxy handles the shader call during graphics startup.

After installation
- Launch the game
- Steam
- Original DLL
- Keep the backup
- Remove the fix
- uninstall.command
Keep the normal Steam shortcut
Keep the original loader backup. A game update or Steam’s file verification can restore the shipped DLL. If the launch error or black window returns after an update, check the community project’s instructions for the new game version before reinstalling.
For troubleshooting, separate file resolution from graphics initialization: a launch that returns to “Play” needs a different first check from a game that already has a window. The diagram above lets you switch between both paths.
The Black Flag Resynced fix covers another CrossOver startup issue, with GPTK installation steps and a dedicated game launcher.
Common questions
Why does Steam return to Play without opening the game?
Check whether CrossOver’s redirect points to a missing bin/x64 directory. The installer corrects that path so it reaches bin/x64_dx12.
Why can a black window remain after fixing the path?
The executable can now start, but the D3DMetal pipeline issue still needs the proxy DLL. Install both parts of the workaround.
Does the path correction enable DirectX 11?
No. It points the old directory name at the existing DX12 build. The game continues to use DirectX 12.
Do I need Windows to build the DLL?
No. Zig cross-compiles the C source on macOS for the Windows x86-64 process running inside CrossOver.
Why can an update remove the fix?
Updates and Steam file verification can replace the proxy with the original game loader. Check the current community instructions before reinstalling it.
Who wrote the fix?
tholtman1-del published the source under the MIT license. The code excerpts and commands link to the source revision used in this guide.
Source code and further reading
- Community project and current instructions — tholtman1-del.
- Source revision for the build commands.
- MIT license for the source excerpts.
- D3D12 pipeline-creation API.
- Zig cross-compilation.
Community discussions
- Witcher 3 Remastered on Apple Silicon with Sikarugir — a related Wine/D3DMetal setup using the same community project.
- The Witcher 3 Remastered not starting — launch and black-screen troubleshooting.
- CrossOver graphics settings on Apple Silicon — configuration discussion.
Game imagery belongs to CD PROJEKT RED. The cover is an editorial illustration; the interface figures are screenshots and the diagrams explain the launch and shader paths.
