◀ gamerbrowser.com · Mashup WatchEvery game playable on PCFollow @GamerBrowserx for new ports first
PC port · Source · build it yourself · bring your own copy

PORTAL 2 RUNS NATIVELY ON IPHONE AND MAC, RECOMPILED WITH NO EMULATOR

Portal 2 statically recompiled to native ARM64: playable on Mac and iPhone, portals fired by tapping the phone

Portal 2 statically recompiled to native ARM64: playable on Mac and iPhone, portals fired by tapping the phone
Image: Portal 2 in game on iPhone, laser puzzle with touch controls, portal2-recomp screenshot (GitHub)

kanapitsas has translated the x86 machine code of Portal 2's Linux release into C and compiled it into a native ARM64 game for macOS and iOS: no emulator, Wine, Rosetta or interpreter. All 31 of the game's Linux modules (about 125,000 functions and 15 million instructions) become C functions, with a small runtime standing in for glibc, pthreads, SDL2, OpenGL, OpenAL and Steam. The creator reports it fully playable on an M3 Pro Mac at 235 to 280 FPS, and on an iPhone 15 Pro Max at a locked 60 FPS with touch controls, where you fire portals by tapping the left or right side of the back of the phone. Everything is generated on your own machine from your own copy; the repo holds no Valve code or game files, and the creator asks that nobody share built apps. Source only for now (repo created Oct 27, no ready-made release); building needs a Mac.

PC (Linux build) → macOS and iPhone (Apple silicon) · by kanapitsas · 2026-10-27

You need: Your own copy of Portal 2 (Steam, Linux depot). A Mac with Apple silicon to build; iPhone install needs your own Apple developer signing. No ready-made build: source and build steps only. No game files are included.

How to play Portal 2 on PC

  1. Clone the repo and follow the README to point the tools at your own Portal 2 Linux files.
  2. Run the lift and build steps to generate and compile the native ARM64 game on your Mac.
  3. Play on macOS, or sign and install the iOS build on your own iPhone.

▶ Source & build guide

Get your copy

🛒 Portal 2 (PC) · Amazon 🎮 Play it on a handheld PC · Amazon

This port needs your own copy of the game. We may earn a small commission if you buy through these links. It never changes what we cover.

More PC games you can play on PC

See every console game you can play natively on PC →

✉ PC PORTS WEEKLY
Every new PC port, decomp and mashup in one free email a week. No spam, unsubscribe anytime.

Open the live wire: every AI mashup, decomp and PC port

💬 Join the gamerbrowser.com Discord Follow @GamerBrowserx on X