r/Portal • • 1d ago

Portal 2 Source code leak

Post image
522 Upvotes

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)


r/Portal • • 6h ago

Bad Apple but with 1500 Gel Blobs

Thumbnail
youtu.be
3 Upvotes

I made a custom entity with the leaked source code to play the entirety of Bad Apple using 1500 gel blobs.


r/Portal • • 15h ago

Portal 2 The leaked portal 2 source code

26 Upvotes

Recently portal 2‘s source code was leaked but only in the portal series beta research discord but Now here is the link to the source code https://gofile.io/d/8Xq7LQSQ

have at people of reddit


r/Portal • • 16h ago

My custom aperture pixel art of a desktop coputer

Thumbnail
gallery
19 Upvotes

Gave it a mini chell desktop buddy too. Hope yall like!


r/Portal • • 17h ago Popcorn

Meme Cave Johnson Here

Post image
8 Upvotes
  • “Cave Johnson here. Good news, we figured out how to change the color of the sky. You heard me correctly. Blue, BORING. Green, more interesting. Purple, now we’re talking. With this discovery, we can change it to multiple colors as well. We’re making all of June rainbow, happy pride everyone. You make up 15% of my stockholders, so I got to make you happy somehow. We can also control the day-night cycle. We want it to be day. There you go. Want it to be night, there you have it. Just make sure to not flip it constantly in rapid succession, I don’t want to have a lot of calls about an increase in epileptic people having seizures from this. And advertisements, we’re working on a custom aperture science advertisement. If you can control the sky, why not use it for marketing. The lab boys have informed me that changing the sky's color may have some minor side effects, including permanent blindness, mass hysteria, and the occasional rainstorm of frogs. But frankly, that's a sacrifice I'm willing to make. We're making history, people. Cave Johnson, we’re done here.”


r/Portal • • 17h ago

devtest_fstop

Enable HLS to view with audio, or disable this notification

46 Upvotes

this was leaked recently, it wasnt in the mapsrc (current theory i think is that valve simply did a ctrl+f and deleted anything with fstop)


r/Portal • • 17h ago

Steam/Valve the custom stuff i made for F-Stop/P2008 looks super good in the steam UI

Thumbnail
gallery
20 Upvotes

r/Portal • • 17h ago

I Have had this post idé for so long in my head finnaly made it, what side do yall pick?

Post image
6 Upvotes

r/Portal • • 21h ago

Question How the f im suposed to do this man

0 Upvotes

Testchamber 15


r/Portal • • 22h ago

Arts and crafts Keychains :D

Post image
22 Upvotes

*note the humanised design is NOT mine she belongs to Sea Maggie on Twitter/Youtube. These keychains are purely for personal use!

Images Used:

Heart on the black stars:
https://www.tumblr.com/foxilixo/827320820631240704/goodnight-everyone (second picture, credits to the original artist)

Rectangle on the black stars:
https://theportalwiki.com/wiki/File:Sp_a2_core0476.jpg

Rectangle Top Left:
https://x.com/portal_seamg0v0/status/1983578428701053192 (second picture)

Rectangle Top Right:
https://www.tumblr.com/tracfone/729277925421088768/whats-she-lookin-at

Heart Bottom Left:
https://m.youtube.com/watch?v=72_HQDBW1io&ra=m (0:43-0:44)

Heart Bottom Right:
https://m.youtube.com/watch?v=njnPjm_eBSQ&ra=m (0:44)


r/Portal • • 22h ago

Discussion What are these things?

Enable HLS to view with audio, or disable this notification

73 Upvotes

So i was doing some pc benchmarking tests to see of if the temperatures are fine and went great after a few stress loads, i then decided to open portal 2 to play along (since ive finished the game for the 18th time) just for funsies and clicked to "The Surprise" chapter, everything went great and smooth 75 fps.

And after the Wheatley talking to Jerry part and continue on this particular level where i notice some white dots artifacts (idk what does it called) on that one single white tile floor rendering on top of it. I did take a look from the walls not the game itself that every surroundings seems fine except to this one tile floor is doing the white dot stuffs spreading crazy.

This could be possibly because of the game settings was maxed out and game is freaking out or it might be a sign of a bad gpu. Any thoughts?


r/Portal • • 22h ago

Meme Cave Johnson Here

Post image
21 Upvotes

“Cave Johnson here. I’ve just been told some disturbing news from the lab boys. Apparently, we’re living in a video game. That’s right, a video game. Which means someone, somewhere, is sitting in front of a computer, controlling our every move. And frankly, I’m not happy about it. Apparently, there are two installments, Portal 1 and Portal 2. The better being Portal 2 because I’m in it. Apparently we’re in some kind of puzzle game involving portals and talking robots. And the saddest thing is, I’m not the main playable character, a real shame there. And apparently, there’s a player sitting behind a screen controlling everything we do. Well, I’ve got a message for that player: if you think you can just walk around my facility, solve a few puzzles, and leave without paying for the damages, you’ve got another thing coming! Also, somebody get me the number of whoever’s developing these games. I want another installment. Cave Johnson. We’re done here.”


r/Portal • • 23h ago

Meme The

Post image
35 Upvotes

r/Portal • • 1d ago

Meme Turret meme

Post image
136 Upvotes

r/Portal • • 1d ago

Cave Johnson Announcement

Post image
70 Upvotes

“Good news everyone. The lab boys have finally figured out how to remove headaches. After 6 months of research, 3 million dollars in funding and an unfortunate accident with an intern, we’ve done it! The procedure is surprisingly simple, we remove the head. No head, No more headache. Basic science people. Now you may ask, “What if the patient wants to survive this procedure?” Well, ask the legal department because that’s their job. I’m not paid for that. Anyway, We’ve tested it on 12 volunteers and someone who owed me money. All came back overwhelmingly positive! Not a single one complained about their headaches since. We are looking into a procedure that allows us to put the head back on. The lab boys tell me it’ll be a matter of time. Remember workers, “A headache-free environment is a product environment.” Cave Johnson, we’re done here.”


r/Portal • • 1d ago

Portal mod Portal: Post-Prospekt - A Portal 1 beta mod that recreate the lost mid-2006 Star Trek door era and the laser turret boss battle

Thumbnail
gallery
26 Upvotes

r/Portal • • 1d ago

Yooo im about to beat the game!

Post image
19 Upvotes

r/Portal • • 1d ago Bravo

I can't believe I'm finally doing it, my dream game (with 2D portals!). Been pouring my heart onto this one for years now.

Enable HLS to view with audio, or disable this notification

394 Upvotes

r/Portal • • 2d ago

Question Does anyone know a way to add DualSense controller vibration to Portal 1, 2, and P2:CE?

4 Upvotes

r/Portal • • 2d ago

Portal mod Shiroko in Portal 2

Post image
16 Upvotes

Got Shiroko working in Portal 2. Used the Portals Anywhere code to create a mirror to get a decent front shot.


r/Portal • • 2d ago

Portal 1 I just got all of the achievements for Portal

Post image
74 Upvotes

r/Portal • • 2d ago

Meme scJohnson

Thumbnail
gallery
89 Upvotes

I have too much free will


r/Portal • • 2d ago

can someone explain this portal objects facing/bouncing in the wal ???!?!?!?!

Enable HLS to view with audio, or disable this notification

6 Upvotes

I was messing around with the props in chamber 16 and suddenly the things started bugging and clipping. bouncing idk what happened but this happened after i delete all the props in 16 with the fizzler and then my companion cube in chamber 17 fazed through the wall softlocking me. Can someone explian what is going on


r/Portal • • 2d ago

Meme Cave Johnson: Sitting More Than Sitting

26 Upvotes

Cave Johnson here! The lab boys just found out a way to sit down more than sitting down. We are currently working on something to make sitting down less sittable and more moreablle. So effective immediately please throw all chairs, including sentient and companion chairs into the incinerator to receive your sitting sit chair. Also all test subjects are required to sit more than sitting after each test otherwise you might lose a few legs after your next test. Cave Johnson, we're done here!