portal-2

3kh0

An archival mirror of a leaked Portal 2 and Source engine development tree totaling about 2.43 GB.

C++Created

What is 3kh0/portal-2?

3kh0/portal-2 is an archival mirror of a leaked Portal 2 and Source engine development tree containing 16,768 files and roughly 2.43 GB uncompressed. Collected from community-circulated archives and checked by the maintainer against screenshot file sizes, it preserves gameplay code for Portal and Portal 2 alongside core Source engine subsystems.

Included folders cover rendering, networking, audio, particles, scripting, Hammer editor source, Valve Project Creator scripts, development tools, and precompiled libraries. The tree also contains directories for other Valve projects such as ep3, sob, cstrike2, dota, infested, and swarm, though the maintainer notes these folders may be incomplete and the snapshot has not been compiled or verified.

Game preservationists and engine researchers studying Source architecture can clone the repository using Git LFS or download a ZIP archive for educational inspection only.

half-lifehalf-life-2portal-2portal2steamvalvevalve-gamesvpk

Before you startThe README says

Needs
Git LFS and about 2.43 GB of free disk space to clone
How you get it
Clone with git lfs install and git clone, or download ZIP from GitHub
Not yet
Has not been built or verified as complete; directories for other Valve projects may be partial

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.