ITEN

Home › Articles › Portal 2: Full Source Code Leaks Online, With Remnants of Half-Life 2: Episode Three

Portal 2: Full Source Code Leaks Online, With Remnants of Half-Life 2: Episode Three

According to dataminer Gabe Follower and several outlets, Portal 2's source code was shared on Discord and then uploaded to GitHub, along with folders from other Valve projects. Valve has not commented.

Portal 2, official image (Steam page)
Image: Valve Corporation, official image (Steam page)

Portal 2's source code has reportedly ended up online. It was flagged on the evening of November 30 by dataminer Gabe Follower, as picked up by VideoCardz, XDA Developers and GBAtemp. Valve has not commented.

According to these accounts, the archive was shared on a Discord server dedicated to early builds of the game and had been circulating privately for years; a copy then appeared on GitHub. The mirror claims 16,768 files for about 2.43 GB, with the code for Portal and Portal 2, Source engine components and the Hammer editor.

There are also folders from other projects, including “ep3”, referring to Half-Life 2: Episode Three, as well as Dota and Alien Swarm. According to VideoCardz and XDA, however, there is no complete version of Episode Three.

It is the latest in a series of Valve leaks, after the Steam2 archive in August and the Episode Three files that surfaced in November.

Sources: Gabe Follower; VideoCardz; XDA Developers; GBAtemp. Text by Statcade.

Support Statcade

If Statcade's data is useful to you, you can buy us a coffee on Ko-fi.

Buy us a coffee on Ko-fi (opens in a new tab)

The week’s numbers

One email a week, with video game numbers. No third-party promotions.

Sign-up is for people aged at least 14. We send you a confirmation email: you join the list only after you click the link.