Portal 2 Source code leak
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)
•
u/block_place1232 6d ago
we literally have almost every single portal 2 beta thing now its absurd
source code, maprsrc, most builds from the steam2 release and FSTOP source + mapsrc genuinely crazy
357
u/Frostbyte501 We do what we must because we can 6d ago •
they really gotta tighten that valve
149
u/RashFaustinho 6d ago
Can someone explain me why the hell the entire Portal 2 is being constantly leaked? It couldn't STILL be the teraleak from months ago, isn't it?
Anyway, I hope someone uses this for making decent android ports of both games. Would like to play Portal 1 from time to time on a handled gaming device due to being so short.
66
u/sn4rrk [He failed portal] 6d ago
year of the valve leak
38
u/drordan 6d ago
they are hyping us for portal 3
17
u/JollyAstronomer5786 6d ago
Port it to android using this
13
u/portal2half 5d ago
if anyone is wondering, the persons name was "real gamer", they dropped the portal 2 source code and devtest_fstop before vanishing
7
u/gummibarfanschannel 6d ago
i literally just joked about the portal 2 source code yesterday
5
u/Vincent394 6d ago
WHAT THE
4
u/ktwrd 6d ago
all the game coordinator code is also there
3
u/HandleDesigner5375 6d ago
can someone dm me the link?
3
u/denkthomas 6d ago
i NEED this i NEED the view sway code
3
u/No-Hovercraft6119 6d ago
the
sunvalve is leaking3
u/pingist 6d ago
man what else is there at this point? what else? what else is left of portal we haven't seen? there has to be more but i feel like this is just about it
3
u/aww_y 6d ago
valve is leaking
3
u/AnomalousMicron 5d ago
So much is happening in the last like 2 months man holy moly
3
u/sky_cap5959 4d ago
This is going to be absolutely amazing for the molding community! I remember the developer commentary for Revolution said the biggest hitch in development was getting the source code, since there's not much you can do without it.
4
u/MollyMouse8 6d ago
Nice. We now have everything valve has
2
u/Aggravating-Truth547 6d ago
PEAK
2
u/3kh0_reddit 6d ago
In case the gofile link gets taken down, I also reuploaded it to GitHub: https://github.com/3kh0/portal-2
1
u/Few-Refuse3402 6d ago
Someone DM me the link to download the source code please
1
u/withmorten 6d ago
Can you DM me the link?
1
u/jwaxy01 6d ago
Can you dm me the link pretty please?
1
u/bookpaige69420 6d ago
lemme guess, someones already added this shit to BEEmod.
wait did that actually happen
1
u/Proxin__ 6d ago
Finally we will get Portal 2 Native on Android
1
u/Hri7566 5d ago
now all we need is episode 3
1
u/Ferromag1 4d ago
Perhaps it's a deliberate slow leak to maintain attention? Not that they need it. There's a reason many are loyal to them.
1
u/MyNameIsNotMia 3d ago
Anyone have footage of devtest_fstop?
1
u/Ilovegman50573 6d ago
For all who need the link here https://gofile.io/d/8Xq7LQSQ
1
u/2401PotatOS 6d ago
Could this be the missing link to a native Quest port? 🤓
1
u/gm_december 6d ago
Gaben’s got a bucket under ceiling leak still fucking scrambling to figure out what it is.
0
u/ProfessionalName6455 5d ago
holy shit valve, FIX YOUR GOD DAMN SECURITY! This is getting ridiculous
0
u/M7mad101010 2d ago
(Genuine question, looking forward for an answer)
How do we know that is original source code and not a decompiled code?
-4
u/Bubu-der-Uhu 5d ago
Who cares about that old stuff leaking, except Tyler McVicker, Valve archaeologist?
-2
u/heanzi 2d ago
i generated a humourus AI video about the best comments - enjoy!
https://www.youtube.com/watch?v=XFmLr360EVo
-13
u/ItsAllOnUHF 6d ago
Bad gamers. BAD! No Half Life 3 for you in 2027.
0
u/[deleted] 5d ago
[deleted] — view deleted comment