Portal 2 source code has apparently been leaked today including the engine code
So someone joined a discord server and dropped a gofile link with an archive named portal2_src saying that they "found this really weird code in their computer"
it seems to be legit and there's also leftovers from several other projects (stars of blood, cstrike2 (not 2023 cs2, two versions of alien swarm (infested and swarm ones), dota code although you should expect to be older code, and seemingly "paint" which is where gels were developed and tested before merging with portal2)
and someone in the server actually compiled it and it works
oh and they also leaked the devtest_fstop.vmf which is a file that was seemingly omitted out of the November 2026 map source leaks, what i could say, the main thing is that it's lab_03 and lab_intro's start mixed together
I'll update the post if this needs more information that should be clarified and because i did not 100% checked it out yet since I'm not at pc and can't do that at this time because of stuff out of my control
(not my image but it's franken turret code, but yeah, it's based on portal 1 cores)
the code doesn't feature the ifm code (sfm tool) or puzzlemaker code and this seems to be a code given to licensees since there were several things actually stripped out in these copies like the puzzlemaker itself (it's just library that's left in the archive) and also that ps3 stuff is also missing, but it's still enough to compile a build, or even a standalone build
edit: i should also mention that before that, we only had very, very little bits of the code that was included in csgo leak in iirc 2020 (a few files of entities plus gameui, so the menu code, also stuff that i dont want to mention since it's very little amount of it), and also other games like tactical intervention in 2021 (paint code)