Call of Duty: Black Ops II statically recompiled from 32-bit x86 Windows to native ARM64 macOS, built on your Mac from your own Steam copy.
- License
- GPL-3.0
- Try it
git clone https://github.com/adrbn/bo2-mac.git && cd bo2-mac && brew install llvm@17 cmake ninja libvpx unicorn && pip3 install capstone && scripts/make_app.sh --from-source
bo2-mac is an open-source project that converts a Steam copy of Call of Duty: Black Ops II (2012) into a native app for Apple silicon Macs. It doesn't emulate the game at run time or wrap it in Wine. It translates the game's 32-bit x86 Windows code into ARM64 machine code ahead of time, on your own Mac. The developer, who posts as adrbn, published the first public beta on November 5. The project's Show HN post passed 100 points on Hacker News' Show page this week.
Why it matters: Black Ops II has never had a Mac version, and the usual routes (CrossOver, Parallels, Wine) add a translation layer between the game and the hardware. Static recompilation is the technique behind the recent wave of console "recomp" ports. Seeing it applied to a large, copy-protected Windows PC game is notable. The developer also says it was built with heavy help from AI coding agents.
What works, according to the README
The README and the beta release notes describe a fairly complete offline game:
- Campaign: missions load and chain through to the end credits, though the developer says not every mission has been played end to end. Strike Force missions start.
- Zombies: six solo maps (TranZit, Mob of the Dead, Nuketown, Origins, Buried, Die Rise). DLC maps work if your Steam account owns them.
- Multiplayer: eleven game modes against bots, through the original menus.
- Input and audio: keyboard and mouse, or a DualSense controller. Sound works.
The developer's numbers come from one Apple M1 with 16GB of RAM. Other Macs haven't been measured.
| Mode | Reported frame rate (M1) |
|---|---|
| Campaign | 51–60 fps |
| Zombies | 57–60 fps (Die Rise 43–58) |
| Multiplayer vs. bots | 53–60 fps |
The project lists several limits. Output is a 1280×720 window. There's no online play, LAN or co-op yet, and League Play is refused. Match rules were rewritten from scratch and may not behave exactly like the original. The README also warns that the Mac runs very hot in long sessions, reporting 111–116°C. It advises playing on mains power, because macOS throttles the game heavily on battery.
How it works
The README describes a pipeline that is unusually well documented for a fan project:
- Lifting: Remill v6.0.1, with five project patches, lifts about 150,000 x86 functions from the game's three executables (campaign, multiplayer and Zombies) into LLVM IR.
- Optimising: custom passes clean up that IR before
clang -O2compiles it. Guest memory access is inlined, and x86locksequences become hardware atomics. - Runtime: a hand-written Win32 layer implements the Windows calls the game makes. Direct3D 11 is faked on top of Metal, with HLSLcc translating the shaders. XAudio2 maps to CoreAudio, and libvpx plays the videos.
- Copy protection: it is executed rather than bypassed. A small x86 interpreter built on Unicorn runs the protected code sequences and anything that wasn't translated.
- Online service: a local responder answers the game's Demonware requests, so the README says nothing leaves the machine.
On Hacker News, the developer said the project took about four months, using several Claude sessions in parallel, each in its own git worktree. Changes were treated as fixed only after measurement. They said Codex helped when Claude refused some requests.
What it asks of you
This isn't a download-and-play app. Per the README, you need:
- an Apple silicon Mac on macOS 14 or later, plus Homebrew. The newer no-Terminal test app (v0.2.0-test.2) requires macOS 26.
- Steam for Mac, signed in to an account that owns the game. The converter only accepts the exact Steam build, which it checks by SHA-256.
- at least 20GB free. Conversion peaks near 10GB and leaves about 4GB.
- about 2.5 hours for conversion on an M1. The campaign becomes playable first, and the rest finishes on later launches.
- decrypted copies of the three executables. The README says the project provides no way to remove Valve's SteamStub wrapper. Producing those files is left entirely to the user.
That last requirement is the big catch. The repo contains no game files or translated game code, and its own code is GPL-3.0. But the workflow depends on a step the project deliberately leaves out. Before trying it, check what Steam's terms and the law where you live say about removing that wrapper. The project says it is unofficial and not affiliated with Activision, Treyarch, Microsoft or Valve.
There's also a licensing wrinkle the README points out: Unicorn is GPL-2.0, so it can't be shipped together with the project's GPL-3.0 code in one binary. That's why it is linked on your Mac during the build.
Who should care
- Mac gamers with a Steam copy who are comfortable with Homebrew, a long build and an experimental, single-machine-tested beta. The v0.2.0 test app's own notes say it hasn't been run through a full campaign conversion yet.
- Anyone interested in recompilation, emulation or porting. The README is a compact, real-world walkthrough of lifting a large x86 binary to LLVM and replacing Win32 and Direct3D underneath it.
Things to watch: whether other Mac models match the M1 numbers, whether the planned split-screen and LAN modes arrive, and whether Activision responds.
Sources
- GitHub — adrbn/bo2-mac github.com
- GitHub — bo2-mac release v0.1.0-beta github.com
- GitHub — bo2-mac release v0.2.0-test.2 (No-Terminal app) github.com
- Hacker News — Show HN: Black Ops II statically recompiled to native ARM64 macOS news.ycombinator.com
- RecompLauncher — Black Ops II Recompiled recomplauncher.com