Skip to main content

Complete Source Code for Portal 2 Leaked; Screenshots Reveal Possible Leftover Development Assets from Half-Life 2: Episode Three

The complete source code for Portal 2 has been leaked online. Valve data miner Gabe Follower was the first to spot the code on X, and a copy has also been uploaded to GitHub. Screenshots released by Gabe Follower show a directory named "ep3" within the code, along with a file potentially related to enemy experiments for Half-Life 2: Episode Three.

《传送门2》完整源码外泄 截图出现疑似《半条命2:第三章》开发遗留

This batch of code appears to have been circulating long before today's leak. Reports indicate that the files were first made public in a Discord group dedicated to researching early versions of Portal 2, with members stating that copies of the code have been passed around for years. Previously, Valve had only provided creation tools for Portal 2 to modders.

In the first screenshot released by Gabe Follower, directories for Alien Swarm, Dota, and the cancelled Bloodline are listed alongside a folder named "ep3." The second screenshot displays a file related to the non-player character "Blob Demo Monster," bearing a Valve copyright header dated from 1996 to 2007.

This character seems to be related to experiments involving blob-like enemies. Earlier this month, similar experiments were discovered in another batch of Half-Life 2: Episode Three code. This leak does not constitute a playable version of Half-Life 2: Episode Three, nor was such an outcome expected. Valve has previously confirmed that development of the title effectively stalled around 2009.

In August this year, a 12 TB Steam2 archive was leaked. Since then, fans have even reconstructed the cancelled game Aperture Value.

Valve has not yet commented on this leak. TechPowerUp predicts that at least the repository hosting this copy of the code on GitHub will be taken down.

《传送门2》完整源码外泄 截图出现疑似《半条命2:第三章》开发遗留