Bo3mac: Static ARM64 Recompiler and Direct Metal Port of Black Ops III
Bo3mac is a static recompiler and custom Metal renderer that turns the x86_64 Mac version of Call of Duty: Black Ops III into a native Apple Silicon ARM64 app.
read it It provides a fascinating, deep technical breakdown of statically lifting x86_64 binaries to native ARM64 and implementing a custom D3D11-to-Metal renderer.
summary
Bo3mac translates the aging x86_64 macOS port of Call of Duty: Black Ops III into a fully native Apple Silicon application to bypass Rosetta 2 dependency and improve performance. The system uses a zero-slide Mach-O loader and a custom Zydis-to-LLVM IR lifter to compile the game code into parallel ARM64 shards. It replaces Aspyr's translation layer with a custom Direct3D 11 to Metal renderer optimized for Apple's Tile-Based Deferred Rendering architecture, adding features like MetalFX spatial upscaling and lossy render-target compression.
key points
- Uses a zero-slide Mach-O loader to map guest executable text and data sections at their exact original 64-bit virtual addresses to preserve pointer integrity.
- Employs a custom Zydis-to-LLVM IR lifter dividing code into 81 parallel ARM64 shards with strict TSO memory ordering.
- Implements a custom D3D11-to-Metal backend that cuts TBDR memory bandwidth significantly and integrates MetalFX spatial upscaling.
who should read it
Systems programmers, emulator developers, and Mac gamers interested in binary translation and native graphics pipelines.
discussion warm
consensus
Commenters are highly impressed by the technical scope of the project, with the author expanding on the mechanics of the custom lifter and shard parallelization.
pushback
A commenter notes uncertainty regarding Apple's exact deprecation timeline for Rosetta 2 and requests direct benchmark comparisons against the original Intel binary running under translation.
I built bo3mac to statically recompile Call of Duty: Black Ops III from Aspyr's x86_64 macOS binary into native Apple Silicon ARM64 (proc_translated=0) with a Direct3D 11 to Metal renderer, both for performance/thermals and to preserve the game once Apple drops Rosetta 2 after macOS 27 (macOS 28+).
Technically it is split into four pieces:
1. Zero-slide Mach-O loader (bo3_loader) mapping the verified Steam binary's data/read-only sections at their original 64-bit address (0x100008000, __TEXT mapped PROT_READ non-executable) so 64-bit guest pointers resolve 1:1.
2. Custom Zydis -> LLVM IR …
The author provides a concise, structured architectural breakdown summarizing the four core components of the recompiler project.
Generated by an LLM from the article and thread. Check the sources before relying on it.