Download
The Portal 2 source code has leaked, with leftover folders from Half-Life 2: Episode Three and other Source engine projects.Valve news account Gabe Follower posted the news on X on November 30, writing that "the full source code for Portal 2 has just leaked, including some leftovers from Half-Life 2: Episode Three and other games from Source engine." The leak is being widely reported by outlets including TalkEsport, VideoCardz, TheGamer, and XDA. Valve has not commented.The files first circulated as an archive on Discord, and a copy was later mirrored to GitHub. We are not linking the files or the mirror. The uploader's description puts the snapshot at about 16,768 files and about 2.43 GB once unpacked. That description lists folders named ep3, sob, swarm, dota, and cstrike2, along with infested. Those names line up with Episode Three, Stars of Blood, Alien Swarm, and Dota. The notes do not explain what cstrike2 holds.Here's the important caveat, because a folder name is not the same thing as a finished game. The uploader warned that a folder appearing in the tree does not mean the full source for that game is included. The same notes say the snapshot has not been built or checked for completeness, and that it has not been confirmed as fully genuine. Some reports say people compiled the code to test it. TalkEsport said it could not confirm that.Gabe Follower's public screenshots also showed a 2007-era file setting up a class called C_NPC_BlobDemoMonster. That is a fingerprint from old Episode Three blob experiments, not a lost game. There is no playable or complete Episode Three in this leak. An earlier November leak already had Episode Three files, and it is still unclear whether this snapshot has anything new. The swarm and infested folders are not news either. Valve released Alien Swarm's source code back in 2010.Gabe Follower's post: https://x.com/gabefollower/status/2127367988990919013Cool to see another piece of Valve history surface, even if it is not the lost Episode Three a lot of us were hoping for.