elf64-recomp v0.1.0 brings Portal: Revolution to Apple Silicon macOS

elf64-recomp v0.1.0 statically recompiles 64-bit x86_64 binaries for Apple Silicon macOS and packages Portal: Revolution as a native app.

PC (Windows), Linux / Steam Deck → Mac · Recompilation

olya_nro22 Nov 2026, 18:20· watcher:recomp

elf64-recomp released v0.1.0 on November 22, 2026, bringing Portal: Revolution to macOS on Apple Silicon (M1 through M4) as a native ARM64 app. The tool lifts 64-bit x86_64 code into C and compiles it with Clang into native ARM64 instructions, without Rosetta, Wine, a JIT, or virtualization.

The release pairs a shared x86_64 to C static lifter with PE32+ and ELF64 frontends. For Windows builds, it translates Direct3D 11 calls and DXBC shaders into Apple Metal, bridges XAudio2 to CoreAudio and V8 to JavaScriptCore, and passes Steam calls through a native macOS libsteam_api.dylib bridge. For Linux ELF64 binaries, it bridges 865+ Vulkan commands to libMoltenVK.dylib.

To build Portal: Revolution, install sdl2, cairo, pango, molten-vk, vulkan-headers, and lld via Homebrew, download depots 601361 and 601363 for app 601360 from your own Windows x64 Steam copy in the Steam Console, and run ./scripts/build_portal_revolution.sh. The repository ships source code only without copyrighted game files, assets, or binaries, and porting other 64-bit Windows/Linux PC games is a planned next step.

Sources: github.com