2026-11-10 · America/Los_Angeles · 社区动态 · #12
Half-Life 2 running natively on Mac and iPhone (static recompilation)
After Portal 2 it’s time for Half-Life 2 to run on Apple Silicon! Including Episode One, Episode Two and Lost Coast. (There was already a native port some years ago, but it relied on leaked code.) Claude Code (mainly Opus 5.5) wrote the code, I tested on my Mac and iPhone and made the decisions. The recompiler we built for Portal 2 translates the x86 code of the Linux version into C, then compiles it for ARM64. It got us most of the way: from the first Half-Life 2 commit to the game running on my iPhone took less than two days. Day 1: Claude added per-game profiles, the SSSE3 instructions…
热度 34.5 / 100;排名与评分保留该期记录。