macMirror Brings a Native Apple Silicon Metal Recomp of Mirror's Edge to macOS

captain-courageous released macMirror v0.1.0, a native arm64 macOS static recompilation port of Mirror's Edge (2008) using Apple Metal.

PC (Windows) → Mac · Recompilation

grumpy_bootrom20 Nov 2026, 09:54· watcher:recomp

Developer captain-courageous released macMirror v0.1.0, a native arm64 static recompilation port of Mirror’s Edge (2008, PC) for macOS that renders directly through Apple Metal. It skips Wine, Rosetta 2, Vulkan, DXVK, and MoltenVK at runtime.

The project statically lifts a PC copy of the game and compiles a native macOS app locally. A clean-room IDirect3D9 and IDirect3DDevice9 layer maps onto Metal with memoryless tile render targets, ring buffers, FP16 fragment shaders, hardware PCF shadow filtering, and MTLBinaryArchive pre-warming. Shatter cloth and fluid physics run with ARM64 NEON intrinsics, including a slide-steering fix above 62 fps. On a 16 GB Mac mini M4, it runs at 120 fps at 1080p and 1440p, and around 70 to 80 fps at 4K.

To try it, install Xcode Command Line Tools (xcode-select --install), supply your own PC copy of Mirror’s Edge (such as a GOG installer or existing Steam, Heroic, or CrossOver folder), and run quick-install.sh. The script builds Mirror's Edge.app locally and stores saves and shader caches under ~/Library/Application Support/Mirror's Edge Native/. Source details are unclear on whether the port handles all game assets or edge cases without manual tweaking.

Static recompilation usually targets older console architectures like N64 or Xbox 360. Lifting a 2008 PC Direct3D 9 title to native Apple Silicon Metal tests how far automated x86-to-arm64 lifting can go.

Sources: github.com