开源项目将《黑色行动 3》静态重编译为原生 ARM64
bo3mac 项目通过静态重编译将《使命召唤:黑色行动 3》的 x86_64 二进制转为原生 Apple Silicon 应用,并直接移植 Metal 渲染层,以应对 macOS 28 起 Rosetta 2 支持退场导致的官方版本失效。项目不分发任何游戏文件,安装脚本通过 SHA-256 校验用户自有 Steam 可执行文件后在本地编译。
报道正文
本文目录5 个章节
Why macOS 28+ · Performance · Install · Live Settings · Online & Workshop · Compatibility · Architecture
<br>[!IMPORTANT] Ownership & Legal Notice: Zero Game Files Distributed You must own Call of Duty: Black Ops III on Steam and have the macOS Steam version installed. This repository contains zero copyrighted Activision, Treyarch, or Aspyr binaries, shaders, or assets.
./install.shverifies your own Steam executable by SHA-256 and compiles a native ARM64 app locally on your Mac without modifying a single file inside Steam.
Why bo3mac? Preserved Past macOS 28
Aspyr's official macOS port of Call of Duty: Black Ops III is an aging x86_64 binary built on an older D3D11-to-Metal translation layer that:
- Relies on Rosetta 2 on Apple Silicon, which Apple is deprecating after macOS 27 (macOS 28+ removes general Rosetta 2 support, permanently breaking the stock Intel Steam binary and Rosetta-based mods).
- Bottlenecks heavily on a single emulated render thread and burns battery/thermals on fanless MacBook Airs.
bo3mac statically recompiles Black Ops III into a 100% native Apple Silicon (arm64, proc_translated=0) macOS application and replaces Aspyr's wrapper with a custom Direct3D 11 → Metal + MetalFX Spatial renderer tuned specifically for Apple's Tile-Based Deferred Rendering (TBDR) GPUs.
Black Ops III Zombies running natively on Apple Silicon ARM64 ( proc_translated=0 ) via bo3mac 's Direct Metal backend.
What Changes vs. Stock Steam BO3
| Stock Steam BO3 (Aspyr) | bo3mac (Native ARM64) | |
|---|---|---|
| CPU Execution | x86_64 via Rosetta 2 | 100% Native ARM64 (-mcpu=apple-m*), zero Rosetta |
| macOS 28+ Future (Post-Rosetta) | Stops launching once Rosetta 2 is removed | Preserved natively on Apple Silicon |
| Graphics Backend | Aspyr's 2019 x86_64 D3D11→Metal wrapper | Native ARM64 Direct3D 11 → Metal TBDR renderer |
| Upscaling & Bandwidth | None | MetalFX Spatial + Apple8+ Lossy RT + deferred clears |
| Steam Workshop & Custom Maps | Broken navmesh/scripts without Rosetta mods | Native ARM64 Havok nav converter + mod fixes (zero Wine/Rosetta) |
| Windows Cross-Play | Stuck on macOS v98 protocol | Windows v100 protocol + Friends-Only lobby guard |
| Live Graphics Tweaking | Restart required | In-game F10 / ⌘, overlay (MetalFX, latency, HUD, safety) |
How It Works
- Zero-Slide Mach-O Loader (
bo3_loader): Maps your verifiedCoDBlkOps3_Exedata/read-only sections at their exact original 64-bit virtual addresses (0x100008000) with__TEXTnon-executable (PROT_READ), then loads the freshly compiled native ARM64 engine (libbo3_recomp.dylib). - Custom Zydis → LLVM IR Static Lifter (
bo3_lift): Lifts all Core BO3 x86_64 functions across 81 parallel ARM64 shards compiled withclang -O2 -mcpu=apple-m*and strict TSO memory ordering, differentially verified instruction-by-instruction against Rosetta x86_64 execution. - Apple-TBDR Direct Metal Backend (
metal/): Implements D3D11 directly on Metal with deferred clears,MTLStoreActionDontCarebandwidth elimination, persistentMTLBinaryArchivePSO caching, a zero-dependency DXBC → MSL translator (plusGeneric.metallibreuse), MetalFX Spatial Upscaling, and Apple8+ Lossy Render-Target Compression. - Native macOS Subsystems (
runtime/): CoreAudio (WASAPI), VideoToolbox H.264 cutscenes,GameController.frameworkwith haptics, native arm64steamclient.dylibbridge, and a clean-room native ARM64 Havok navigation converter for Steam Workshop custom maps.
For the deep-dive technical write-up, see docs/ARCHITECTURE.md.
Performance & Benchmarks
Verified Benchmark: Apple M4 Base (10-Core GPU, Fanless MacBook Air, 1080p)
Measured over a 10-minute sustained Shadows of Evil Round 15 stress test (Shadow Man Easter Egg, 32,880 frames, MetalFX 80% + Lossy RT + Frame Latency 2):
| Metric | Measured Result | Notes |
|---|---|---|
| Average Frame Rate | 60.5 FPS | Locked to 60 Hz display |
| Worst-Case Frame Rate | 53.9 FPS | Peak 4,069-draw-call zombie hordes |
| Average GPU Frame Time | 15.05 ms | Stable across 10-minute sustained run |
| TBDR Memory Traffic | 308 MB load / 324 MB store | -48% vs. pre-TBDR baseline (~600+ MB/frame) |
| Thermal Throttling | None | Sustained on a fanless MacBook Air |
Help expand the benchmark matrix! If you test
bo3macon an M1, M2, M3, M4 Pro/Max, or M5 Mac (especially with uncapped FPS and 1% lows viabash tools/run_bo3.sh --perf), please open an issue or PR to share your numbers.
(注:更多技术实现细节与完整 API 文档请查阅原项目 README)