The Witcher 3 in CrossOver: Fix the Launch and Black Screen

Correct the launch path and install the open-source D3DMetal workaround. With macOS build commands, installation steps and a way to restore the original files.

Fantasy workbench with a black-screen laptop, crossed swords, a wolf medallion and repair tools
Launch path and shader fix. Cover illustration.

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.

Launch path and correction
Requested:  bin/x64_dx12/witcher3.exe
Redirected: bin/x64/witcher3.exe
Missing:    bin/x64
Workaround: bin/x64 -> x64_dx12

Open the installed game directory in Steam and use its macOS path in this command:

Terminal · inspect the two directories
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 Witcher 3 displaying a black game window before the D3DMetal workaround
The black-window symptom addressed by the shader workaround.

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.

ffxproxy.c · MIT-licensed excerpt
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

  1. Steambin/x64_dx12/witcher3.exe
  2. Stale CrossOver redirectbin/x64/witcher3.exe
  3. Destination missingLaunch ends before the game window
  4. Symlink reaches the DX12 buildx64 → x64_dx12

The path correction reaches the installed executable. Shader initialization is the next, separate stage.

  1. The Witcher 3Direct3D 12
  2. FidelityFX proxyamd_fidelityfx_loader_dx12.dll
  3. D3D12 pipeline callCreateGraphicsPipelineState
Problematic pipelineRejected
E_INVALIDARG · 0x80070057
Other pipeline callsForwarded to the original function

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.

Terminal · build the community source
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.dll
Source 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:

Terminal · install the fix
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:

Terminal · restore the original installation
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.

The Witcher 3 first-run screen rendered after installing the CrossOver workaround
The Witcher 3 interface after installing the fix and starting through Steam.

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 discussions

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.

  • #CrossOver
  • #Wine
  • #D3DMetal
  • #Debugging
  • #Zig
  • #Open Source
Share LinkedIn X
A blue creature relaxes in a beach chair with a drink

Ready to start?

Tell me what you want to build or improve on an existing website.