Portal 2's full source code has reportedly leaked, and it includes Half-Life 2: Episode three files

Portal 2's full source code has reportedly leaked, and it includes Half-Life 2: Episode three files

Credit: Valve Published Nov 30, 2026, 1:28 PM EST Patrick O'Rourke is XDA's News Editor and Entertainment Segment Lead. Previously, he was Pocket-lint's Editor-in-Chief, the Editor-in-Chief of Canadian tech publication MobileSyrup, and earlier in his career, he worked as the technology editor at the Financial Post and Postmedia. He's based in Toronto. Over the past 15 years, he's written thousands of articles. Patrick has also interviewed dozens of tech industry executives and covered GDC, E3, Gamescom, WWDC, Apple keynotes, Samsung Unpacked events and more. Patrick has a BA in journalism from Toronto Metropolitan University. Sign in to your XDA account Summary Portal 2 source code leaked, reportedly including Portal 2 internals and HL2: Episode Three files. The code has reportedly circulated privately for years and is now on GitHub. The leak isn't a finished Half-Life 2: Episode Three or Half‑Life 3; it was likely canceled, but HL3/HLX rumors persist ahead of The Game Awards. The source code for Portal 2, Valve's critically acclaimed 15-year-old puzzle game, has reportedly leaked, according to well-known Valve dataminer @gabefollower. According to early reports, the leak includes Portal 2's source code and code related to Half-Life 2: Episode Three. Half-Life 3 confirmed, right? Well, not really. The code was originally shared on a Discord server focused on researching early versions of Portal 2. There are also reports that the game's source code has been passed around privately for several years. A copy of the code is now available on GitHub. Code from other Valve projects, including Stars of Blood, Alien Swarm, and Dota, has also reportedly been found in the source code. Earlier this summer, Valve was hit with a massive 12TB leak that included a lot of inside information about its titles, including the beta version of Portal's GLaDOS. Another recent leak featured information about what could have been in the third episode of Half-Life 2, including guns called the Weaponizer and the Blobulator, along with white and grey versions of Gordon Freeman's HEV sleeves. Half-Life 3 might still be on the way, but this leak has nothing to do with the game Some rumors point to a reveal at The Game Awards To be very clear, this leak does not include a completed version of Half-Life 2: Episode 3. The game is believed to have been abandoned in roughly 2008-2009, although Valve has never formally announced its cancellation. A version of Half-Life 3, on the other hand, was reportedly canceled in 2014, according to Geoff Keighley's 2020 documentary Half-Life: Alyx - Final Hours. Half-Life Alyx was eventually released in 2020. Will Half-Life 3 eventually resurface? It's possible. As recently as October 2026, rumors indicate the project is internally known as HLX at Valve and that Valve could announce it at this year's The Game Awards in December.

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.