Recompilation · a PC game on other systems
source-recomp
by kanapitsas · github.com/kanapitsas/source-recomp
What it is
Portal 1 & 2 and Half-Life 2 statically recompiled from their Linux x86 binaries to native ARM64: playable on macOS and iPhone. Bring your own copy of the games.
From its README: This project builds native Mac and iPhone apps from your own copies of Portal 2, Half-Life 2 (with Episode One, Episode Two and Lost Coast) and Portal. It translates the x86 code of the Linux versions into C, then compiles it for Apple silicon. No emulator, no Wine, no Rosetta.
- Portal 2
- Half-Life 2
- Episode One, Episode Two, Lost Coast
- Portal
- Mac: on an M3 Pro, Metal (the default) runs a scene at 122 fps where
- iPhone: touch controls and portals fired by tapping the back of the
- Controllers: work on Mac and iPhone (tested with an 8BitDo SN30 Pro).
- Co-op over the local network: a Mac hosts, an iPhone or a second copy
- Puzzle Maker (#42): Build and Play works on Mac, with the map compilers
- Native plugins (#32): a server plugin built as a macOS arm64 dylib loads
- Mac: playable. 120 fps with Metal on an M3 Pro at 1280×720. Players
- iPhone: touch controls and gyro aiming, one short session.
Get it
Latest release: v0.4.0: Portal joins, faster code, native plugins · November 18, 2026
Port Tracker never links downloads. Get it only from the project’s own repository and its Releases page; files offered in comments or on file hosts are a common scam.