source-recomp v0.4.0 Adds Experimental Portal and Native Plugins
Release v0.4.0 of source-recomp adds experimental Portal support, Portal 2 Puzzle Maker, and native plugins for macOS and iPhone.
source-recomp hit v0.4.0 on November 18, 2026, adding experimental Portal alongside Portal 2 and Half-Life 2 for Apple silicon on macOS and iPhone. The project statically recompiles 32-bit x86 Linux Source binaries into native ARM64 code, skipping emulators, Wine, and Rosetta.
Portal, contributed by @runty, arrives with its own Mac and iPhone builds. Saving and quick-saving now work across games sharing that switch pattern, fixing a crash that stopped saves with a “target not recompiled” error. Portal 2 Puzzle Maker, contributed by @feolaney, now compiles maps natively with VBSP, VVIS, and VRAD.
The lifter gained a check that spots when a game never reads x86 flags across calls, skipping flag save-and-restore around calls. Portal 2’s binary drops 17% in size and trims a few percent of main-thread CPU time per frame, though Half-Life 2 keeps the older mode. Native plugins also land via @hammerill, letting macOS arm64 dylibs load where Linux .so plugins are expected, which runs the Portal 2 FPV drone mod.
Grab the signed, notarized Natif Installer from v0.4.0 or run ./setup.sh with your own Steam game copies. Portal requires current Linux binaries via download_depot 400 404 and rejects the old 2013 Linux build. Puzzle Maker is opt-in through ./setup.sh --puzzle-maker and takes about ten extra minutes and 220 MB, while full recompilation per game takes roughly ten minutes.