2026-11-30 11:38:50 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:18:42 -05:00
2026-11-30 11:38:50 -05:00

splash

Portal 2 Source

An archival mirror of the leaked Portal 2 / Source engine development tree. This archive contains 16,768 files, approximately 2.43 GB uncompressed.

What's in here

  • Portal and Portal 2 client, server, and shared gameplay code under game/.
  • Source engine components, including rendering, networking, audio, particles, and scripting.
  • Hammer editor source, Valve Project Creator (VPC) scripts, development tools, and precompiled libraries.
  • Code directories for some other projects, including ep3, sob, cstrike2, dota, infested, and swarm.

The presence of another project's directory does not establish that its complete source is included. This snapshot has not been built or verified as complete by this repository's maintainer.

Where this came from

I found the link floating around on a Reddit post by u/D4rkNFS on r/Portal and the comments claim that someone joined a Discord server and shared a GoFile link to an archive named portal2_src. Gabe Follower, a well known fella posted about the leak to Twitter including screenshots which adds to the credibility of the claim. I have personally verified that the details of the screenshots (file sizes and contents) match this repo 1 to 1.

While we may likely not know 100% that this is 100% legit, the evidence is strong enough to warrant archiving it here for posterity.

Grab a copy yourself

One of the libraries is stored with Git LFS due to its large size. With Git LFS installed:

git lfs install
git clone https://github.com/3kh0/portal-2.git

You can also use the GitHub download ZIP function to grab a copy.

Original code and assets belong to Valve and their respective authors. This is an unofficial archive for educational purposes only. Any existing copyright and license notices are included.

Languages
C++ 87.4%
C 11%
Perl 0.4%
C# 0.3%
HTML 0.2%
Other 0.4%