#games

Witcher 3 on a Mac, and a Save From 2016

A black screen, a crash handler that hung, and a save I hadn't touched in ten years.

I own The Witcher 3 on GOG. I finished it years ago on a Windows PC, then stopped somewhere in Act 3 on a second playthrough. These days I play on a Switch 2 and an Apple Silicon Mac. I wanted two things: to get the game running on the Mac, and to get that old save back.

I did most of it in one long session with Claude Code in the terminal. I described the problem, it ran the commands and stopped at each step to tell me what it found, and I said yes or no.

The setup

Problem 1: it wouldn't start

The default launch went through REDlauncher.exe and died with a Wine C++ runtime error. Pointing Heroic straight at bin/x64_dx12/witcher3.exe got further, but then the game opened a window that stayed black forever.

Claude read Heroic's logs and the crash reports the game wrote inside the Wine prefix. It even parsed the minidump with a small Python script. The picture it pieced together:

  1. The game crashed right after loading the AMD FidelityFX (FSR) upscaler.
  2. The game's own crash reporter then hung. That's why I saw a black window instead of an error.

We tried the obvious things first, and none of them helped:

Each change was undone after it failed, so nothing piled up.

The fix that worked

Searching turned up Dellety/witcher3-501-crossover-fix, a small MIT-licensed project that explains exactly this crash:

The fix is two tiny proxy DLLs: one wraps d3d12.dll and fixes the return code, the other wraps the FidelityFX loader and answers the version query.

I didn't want to run DLLs from a stranger's repo, so Claude read the C source first and then built them itself with zig as a cross-compiler:

zig cc -target x86_64-windows-gnu -shared -O2 -o d3d12.dll d3d12proxy.c

Then it:

  1. Copied both DLLs next to witcher3.exe, keeping the original loader under a new name.
  2. Added a Wine DLL override for this game only, so the rest of the prefix is untouched:
HKCU\Software\Wine\AppDefaults\witcher3.exe\DllOverrides
  d3d12 = native,builtin

Next launch: the menu came up. The proxies' logs showed the S_FALSE → S_OK fix happening, and there were no more access violations.

One catch: a GOG update or a "Verify" in Heroic puts the original loader back, and the black screen returns. So Claude wrapped it all in an apply.sh I can re-run, plus an undo.sh.

Problem 2: where was my save?

The game launched into a new game I'd started on Switch 2. GOG's website still showed my old progress, though. Here's how that played out:

  1. Back up first. Claude used Heroic's bundled GOG tool to download all my GOG cloud saves without uploading anything, and zipped them. Then it checked the zip byte for byte against the save folder.
  2. Read the saves. Witcher 3 saves are LZ4-compressed blocks behind a small header. Claude wrote a decompressor in plain Python and read the quest flags inside each save.
    • The newest saves, from 2017, turned out to be a fresh game still in the prologue.
    • The real progress was a manual save from January 2016, in Act 3 after the Battle of Kaer Morhen.
  3. Load it and save again. I loaded that save on the Mac and saved. The Remastered version turned it into a current save.
  4. Switch 2. With cross-progression turned on in the game, that new save showed up on my Switch 2.
    • At first the Switch said the save came from a newer version, so the Switch copy of the game needed an update before it could load it.
    • The finished playthrough is still on the old Windows PC. It never synced to the cloud, so New Game+ will have to wait.

Two things I didn't know:

Then it became my game guide

Since the save was open anyway, I kept going. Claude told me which main quests were left and which side quests would fail if I skipped them. Better, it checked the save file to see which ones I'd already done, instead of asking me.

It also wrote a sign build for patch 5.0, which reworked the skill trees. This part didn't go smoothly at first. Its first version was based on the old pre-5.0 skill tree, and I had to push back twice. After that it looked up 5.0 sources and checked against my screenshots, cropping and zooming to read the skill levels. Worth remembering: an assistant's memory of a game can be one patch out of date.

What I ended up with

Everything lives in one project folder, apart from the game:

witcher3-mac/
├── black-screen-fix.md
├── saves-and-backup.md
├── griffin-sign-build.md
├── story-progress.md
├── HANDOFF.md
├── fix/        apply.sh, undo.sh, the DLLs and their source
└── backups/    the GOG cloud saves, zipped

Lessons

  1. A black screen is often a crash you can't see. Look for crash reports and logs before changing settings.
  2. Search for the exact symptom. Someone with the same Mac and the same game had already found the cause.
  3. Read the code you're about to run, and build it yourself when you can. It was under 600 lines of C across two files.
  4. Back up saves before touching sync. Two clouds and one-way versions make it easy to overwrite the wrong thing.
  5. Make it repeatable. The next game update will undo the fix, and a script means I won't have to remember how.