Source SDK

Source SDK

LUKELCS Oct 4, 2018 @ 10:41pm
.prt not loading because it doesn't exist in Portal2 hammer
It's not a leak issue, so please don't sudgest it is. I mean, it is, but it shouldn't be.
Everything is fine, but the load point's still there, or it's replaced with a new one (meaning it still thinks there's a leak). The .prt doesn't exist, so I think I might just need one, so that when it reads :

"reading c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest.prt
LoadPortals: couldn't read c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest.prt"

It doesn't do that, and can run the map. I worked really hard on this, and it's my first PeTI map edited in hammer (It was made in the PeTI level editor for info purposes) So while I'm still a total and utter noob, I'm still really satisfied with what I did, I JUST CAN'T PLAY IT!
All I did was astetic, everything gameplay is the same, only "prop static"s, mesh shapes, and surface textures were changed.

I think that because the .prt doesn't even exist, it's still reading the errors, or hammer is just glitching. Either way, if anyone could help me WITHOUT TELLING ME THERES A LEAK WHEN I KNOW THERE ISN'T! I would really apreciate it. Sorry for the yelling. I know there were leaks at one point, however I can pretty much guarantee, that unless the PeTI editor tests have leaks built in, there shoudln't be any.

I'm basicly going to over compansate for the supposed leaks until it works for a while, but I think I'm going to need the .prt if I wanna load the map, and I don't think all the leak compansation in the world is going to fix that. So if you know what I should do, I'd greatly apreciate the advice.

Also, heres the... thing... I can't think of what it's called right now, but I'm sure you know what it is by looking at it. (I do know what it's called, it's name just escapes me at the momment)


CDynamicFunction: Loading library 'Kernel32.dll' (750D0000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 77317930

-------------------------------------------------------------------------------
Running command: cd "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\bin"
-------------------------------------------------------------------------------


-------------------------------------------------------------------------------
Running command: "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\bin\vbsp.exe" -game "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2" "c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest"
-------------------------------------------------------------------------------

CDynamicFunction: Loading library 'Kernel32.dll' (750D0000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 77317930
Valve Software - vbsp.exe (Mar 1 2018)
4 threads
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2\materials
Loading c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest.vmf
ConVarRef gpu_level doesn't point to an existing ConVar
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
**** leaked ****
Entity prop_static (862.00 468.00 648.00) leaked!

FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (1536.0 4096.0 1536.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (2048.0 3584.0 1536.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (512.0 4096.0 1536.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (0.0 3584.0 1536.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (1536.0 2048.0 1536.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (2048.0 2560.0 1536.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (64.0 2048.0 -904.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (64.0 2048.0 2696.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:

*** Suppressing further FindPortalSide errors.... ***
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 578 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (1) (604496 bytes)
Error! To use model "models/a4_destruction/fallingparts_arm64flt.mdl"
with prop_static, it must be compiled with $staticprop!
Error loading studio model "models/a4_destruction/fallingparts_arm64flt.mdl"!
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Water found with no water_lod_control entity, creating a default one.
Compacting texture/material tables...
Reduced 2503 texinfos to 902
Reduced 81 texdatas to 74 (2407 bytes to 2191)
Writing c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest.bsp

nummapplanes: ( 10094 / 65536 )
nummapbrushes: ( 1630 / 8192 )
nummapbrushsides: ( 14014 / 65536 )
num_map_overlays: ( 6 / 512 )
nummodels: ( 98 / 1024 )
num_entities: ( 573 / 16384 )

2 seconds elapsed
CDynamicFunction: Closing library 'Kernel32.dll' (750D0000)

-------------------------------------------------------------------------------
Running command: cd "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\bin"
-------------------------------------------------------------------------------


-------------------------------------------------------------------------------
Running command: "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\bin\vvis.exe" -fast -game "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2" "c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest"
-------------------------------------------------------------------------------

CDynamicFunction: Loading library 'Kernel32.dll' (750D0000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 77317930
Valve Software - vvis.exe (Mar 1 2018)
fastvis = true
4 threads
reading c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest.bsp
reading c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest.prt
LoadPortals: couldn't read c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\hammertest.prt

Finished. Press a key to close.
< >
Showing 1-7 of 7 comments
LUKELCS Oct 4, 2018 @ 10:57pm 
After all this "ITS NOT A LEAK I SWEAR!" Buisness, I repeat the process of "findind" "leaks" and "over compansating" them again and again until... it works?!
IT WORKS?!?!?! IT ACTUALLY WORKS!!!!! There are a couple things that don't quite look as intended, but for the most part it works fine. yes. YEEEEEEESSSSSSS!!!!!!!!
Ignore this post from now on.

Or don't.

If you run into the same issue, keep "fixing" the "leaks" till it works.
Hope that's helpful.
Matt Oct 5, 2018 @ 1:01am 
Originally posted by LUKElcs:
If you run into the same issue, keep "fixing" the "leaks" till it works.
Hope that's helpful.

Is that not what I suggested? Why'd you make a new thread?
Last edited by Matt; Oct 5, 2018 @ 1:01am
LUKELCS Oct 5, 2018 @ 12:29pm 
Reasons. It was kinda late, and... I don't even remmeber much, I was just kinda frutrated and made a new thread because I thought the issue might be a non existent .prt and not... I don't even know. I was mostly just really confused. Thankyou for helping though.
Peacock Rerun Dec 31, 2020 @ 7:13am 
Originally posted by LUKElcs:
If you run into the same issue, keep "fixing" the "leaks" till it works.
Hope that's helpful.
i don't have any leaks
LUKELCS Jan 1, 2021 @ 12:12am 
Originally posted by Skin Tubby Dude:
Originally posted by LUKElcs:
If you run into the same issue, keep "fixing" the "leaks" till it works.
Hope that's helpful.
i don't have any leaks
Thankyou, but this was 2 years ago.
I've both improved, and moved on from hammer levels in that amount of time.
Every now and then I still get replies to these things from 2 years ago.

Like, no problem, you're just being helpful, so thankyou, but how do people keep finding these 2 year old discussions?! XD
Same problem, everything started, added a couple of walls and stopped loading, although there are no leaks at all , Error : LoadPortals: couldn't read c:\steam\steamapps\common\portal 2\sdk_content\maps\STARAQ_KARTA.prt
So im getting the same error but i dont get what you mean my "leaks" or "fixing them"
< >
Showing 1-7 of 7 comments
Per page: 1530 50