Portal 2 source code leaks online containing Half-Life 2: Episode Three remnants
A massive leak of Portal 2 source code has surfaced, revealing internal directories related to canceled Valve projects and Half-Life 2 content.
Summary
The complete source code for Valve's Portal 2 has been leaked online, appearing first on X via dataminer Gabe Follower and subsequently on GitHub. While the files reportedly circulated within private Discord groups for years, they have now reached a wider public audience. This leak follows several other high-profile Valve data breaches earlier this year, including a 12 TB Steam2 archive.
Beyond the core Portal 2 assets, the leaked codebase contains significant historical artifacts. Most notably, the files include directories for other Valve titles such as Alien Swarm and Dota, alongside remnants of the canceled Half-Life 2: Episode Three. These remnants include NPC files and experimental enemy data that align with previous leaks regarding stalled Valve development from the 2009 era.
Contents of the leaked codebase
- Project Directories: The leak contains specific folders for Alien Swarm, Dota, and the canceled Stars of Blood project.
- Half-Life 2 Artifacts: A directory named "ep3" exists within the leak, containing files related to the unreleased Half-Life 2: Episode Three.
- NPC Data: The leak includes a "Blob Demo Monster" NPC file, which features a Valve copyright header spanning from 1996 to 2007.
- Development Context: The leaked assets appear to represent development work that effectively stalled around 2009, rather than a complete, playable game build.
Why it matters
While this is a proprietary leak rather than an open-source release, it provides significant historical data for the modding community and game preservationists. The exposure of internal source files can offer insights into Valve's legacy engine architecture, though legal takedowns of repositories like GitHub are expected.
Original reference: www.techpowerup.com →