Source Filmmaker

Source Filmmaker

Soup'um Oct 10, 2016 @ 2:05am
[FIXED] Can't find leak, no corodinates and no pointfile
So here's a interesting problem. I'm attempting to port a Garry's Mod map to SFM, and according to the log it has a leak. But it doesn't give any coordinates, and for whatever reason it doesn't generate a pointfile. I've tried looking for obvious leaks in the map, but to no avail. I've also tried checking the "Check For Problems" section but it doesn't come up with any errors.

Here's the log:


-------------------------------------------------------------------------------
Running command: cd "C:/SteamLibrary/steamapps/common/SourceFilmmaker/game/bin"
-------------------------------------------------------------------------------


-------------------------------------------------------------------------------
Running command: "C:/SteamLibrary/steamapps/common/SourceFilmmaker/game/bin\vbs
.exe" -game "C:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod" "C:
Users\Thesuperindigo\Desktop\ph_pirateship_d.vmf"
-------------------------------------------------------------------------------

Valve Software - vbsp.exe (Dec 16 2013)
8 threads
materialPath: C:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod\mat
rials
Loading C:\Users\Thesuperindigo\Desktop\ph_pirateship_d.vmf
Could not locate 'GameData' key in c:\steamlibrary\steamapps\common\sourcefilmm
ker\game\usermod\gameinfo.txt
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
**** leaked ****
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...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 (0) (168558 bytes)
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 389 texinfos to 342
Reduced 16 texdatas to 13 (375 bytes to 258)
Writing C:\Users\Thesuperindigo\Desktop\ph_pirateship_d.bsp
0 seconds elapsed


Anyone have ideas? I'm a bit new to all this Hammer and porting buisness.
Last edited by Soup'um; Oct 12, 2016 @ 8:42am
< >
Showing 1-15 of 15 comments
Soup'um Oct 10, 2016 @ 6:21pm 
Hi. Sorry for the long response time, timezones and the like.

I've attempted using the method outlined in the wiki page you linked to, but it still gives no coordinates or pointfile. I'm starting to suspect it's a area portal leak, which is a problem since I don't know how to find one, let alone fix it.

I've also attempted restarting Steam and restarting my PC. No luck.

I've also attempted making all portals part of the world geometry. No luck on that either.

If it's any help, it's not creating a .prt file either.
Last edited by Soup'um; Oct 10, 2016 @ 6:32pm
[FL] TheSiphon Oct 10, 2016 @ 7:13pm 
Which Gmod map is it? Can you share a link to it if it's a workshop map.
[FL] TheSiphon Oct 10, 2016 @ 7:26pm 
No idea what might be causing the leak. Could be some problem with a brush somewhere. If you try to load pointfile where does the red line lead to? Does it appear at all?
Soup'um Oct 10, 2016 @ 7:27pm 
That's the thing, it doesn't MAKE a pointfile, nor does it give coordinates.
Tawnie Cockthrust Oct 10, 2016 @ 9:49pm 
Originally posted by The Soup:
That's the thing, it doesn't MAKE a pointfile, nor does it give coordinates.

Then you've got a lot of issues. Click "entity report" and see all the things in the map, such as brushes/portals/props. Click any that you suspect are causing issues and click "go to" then check visually if they're leaking.
Soup'um Oct 11, 2016 @ 2:39am 
The thing is, i don't have entities enabled. When i decompile the map wih entites it says there are two non solid entities, and crashes. Even if i disable every entity checkbox but allow entites, it crashes.
Pte Jack Oct 11, 2016 @ 9:26am 
Have you tried using the hammer for the game that the map was made for? Just to see if it loads in that?
Tawnie Cockthrust Oct 11, 2016 @ 12:30pm 
Originally posted by Pte Jack:
Have you tried using the hammer for the game that the map was made for? Just to see if it loads in that?

Yeah OP, do this. If that is a Gmod map, set up the Source SDK for Gmod then try compiling with that version of Hammer.


Also, have you actually played this map in-game? There could be obvious errors in the map itself. Whoever created it might not have created it correctly.
Last edited by Tawnie Cockthrust; Oct 11, 2016 @ 12:32pm
Soup'um Oct 11, 2016 @ 6:05pm 
I've played the map in game, no faults I could see. I'll go back and check the console when I load the map.

As for setting up Source SDK for Garry's Mod, I'm not sure how one does that. Do you just download it from Steam's tool section or do I need to go looking on modding sites?

In the meantime, I'm gonna go try decompiling it for Garry's Mod, and if that doesn't work I'll try hand compiling it by running vbsp from the Command Prompt.
Tawnie Cockthrust Oct 11, 2016 @ 6:37pm 
Originally posted by The Soup:
I've played the map in game, no faults I could see. I'll go back and check the console when I load the map.

As for setting up Source SDK for Garry's Mod, I'm not sure how one does that. Do you just download it from Steam's tool section or do I need to go looking on modding sites?

In the meantime, I'm gonna go try decompiling it for Garry's Mod, and if that doesn't work I'll try hand compiling it by running vbsp from the Command Prompt.

You just need to change your game configuration, I believe. When you open Hammer from the source SDK, go into settings and under the Configuration settings, it'll show like half life/tf2/etc, you just need to Select Gmod.

There's several ways of setting up Hammer for Gmod, apparently

https://steamcommunity.com/sharedfiles/filedetails/?id=479967401
Soup'um Oct 11, 2016 @ 11:21pm 
I fixed it. I disabled func_areaportals/_window and compiled it in Command Prompt using vbsp, vvis and vrad. Works just fine now.

I think I found the reason it wouldn't edit in hammer as well. This is what comes out if you decompile with all the entites enabled and then recompile using vbsp:

Valve Software - vbsp.exe (Dec 16 2013)
8 threads
materialPath: C:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod\mate
rials
Loading C:\SteamLibrary\steamapps\common\SourceFilmmaker\game\usermod\maps\ph_pi
rateship_dx.vmf
Could not locate 'GameData' key in c:\steamlibrary\steamapps\common\sourcefilmma
ker\game\usermod\gameinfo.txt
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...Wrote C:\SteamLibrary\steamapps\common\SourceFilmmaker\game\u
sermod\maps\ph_pirateship_dx.lin
Areaportal leak ! File: C:\SteamLibrary\steamapps\common\SourceFilmmaker\game\us
ermod\maps\ph_pirateship_dx.lin
Brush 5514: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5558: areaportal brush doesn't touch two areas

Brush 5558: areaportal brush doesn't touch two areas

Brush 5514: areaportal brush doesn't touch two areas

Brush 5574: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5523: areaportal brush doesn't touch two areas

Brush 5523: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5558: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5523: areaportal brush doesn't touch two areas

Brush 5514: areaportal brush doesn't touch two areas

Brush 5514: areaportal brush doesn't touch two areas

Brush 5558: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5558: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5558: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5514: areaportal brush doesn't touch two areas

Brush 5565: areaportal brush doesn't touch two areas

Brush 5479: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas

Brush 5602: areaportal brush doesn't touch two areas

Brush 5574: areaportal brush doesn't touch two areas

Brush 5602: areaportal brush doesn't touch two areas

Brush 5574: areaportal brush doesn't touch two areas

Brush 5574: areaportal brush doesn't touch two areas

Brush 5602: areaportal brush doesn't touch two areas

Brush 5602: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas

Brush 5507: areaportal brush doesn't touch two areas

Brush 5479: areaportal brush doesn't touch two areas

Brush 5479: areaportal brush doesn't touch two areas

Brush 5507: areaportal brush doesn't touch two areas

Brush 5479: areaportal brush doesn't touch two areas

Brush 5472: areaportal brush doesn't touch two areas
done (1)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 2722 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...



Thanks for the help.
timwey399 Dec 16, 2018 @ 6:28am 
how did you disable it tho?
Soup'um Dec 16, 2018 @ 5:27pm 
@lua_openscript word.exe
Oof, it's been a while (original thread was in 2016!), so I'm not sure how much I can help. If I remember correctly, I unchecked func_areaportal/_window when I decompiled it using BSPSource. [github.com]

By the way, make sure you've got no other option before you recompile a map in command prompt. You won't be able to edit the map in Hammer, there WILL be errors that you'll need to work around when using SFM itself, and it is highly tedious.

If you need the recompiled ph_Pirateship, I think I can send you the files.
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Oct 10, 2016 @ 2:05am
Posts: 15