hn.today

Bo3mac: Static ARM64 Recompiler and Direct Metal Port of Black Ops III

github.com28 points5 comments
Screenshot of Bo3mac: Static ARM64 Recompiler and Direct Metal Port of Black Ops III

Bo3mac is a project to keep Call of Duty: Black Ops III playable on Apple Silicon Macs without relying on Rosetta 2. It recompiles the owner’s Steam game executable into native ARM64 code and replaces the original graphics translation layer with a Direct3D 11-to-Metal renderer designed for Apple GPUs. The project says this approach is intended to preserve compatibility as macOS phases out Rosetta, while improving performance and reducing heat and memory traffic. It distributes no game files: users must own and install the Steam macOS version, and the installer verifies the executable before building a local app.

The technical pipeline maps the original executable’s data at its expected addresses, lifts x86-64 functions into LLVM IR, and compiles them into 81 ARM64 shards. The Metal backend includes MetalFX upscaling, render-target compression, shader translation and pipeline caching; native macOS components handle audio, video, controllers, Steam integration and Workshop navigation data. The project also offers live graphics and latency controls, an FPS and performance overlay, and a friends-only lobby safeguard. It reports a 10-minute test on a fanless M4 MacBook Air averaging 60.5 FPS at 1080p, with no thermal throttling and 48% less memory traffic than its pre-optimization baseline. Installation requires Apple’s free command-line developer tools and about 2 GB of build-cache space.

Read on github.com5 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.