I think my hammer is broken

technicaldifficulties

L1: Registered
Feb 6, 2018
4
0
I just started mapping a while ago before the new patches for tf2, my hammer was fine then but after the recent patches my hammer shortcut was broken so i tried to fix it. When i got hammer working i tried to run the map i was working on and the map wont compile saying the compiler stopped responding. i went on to the half life interloper site and it says i had many leaks in my map even thought post fix of my hammer the map would run smoothly (with no leaks i presumed) and my game would start but now it doesn't. I tried fixing my leaks but they made no sense as they don't expose anything ,but as i tried to fix them more of them opened up and it made no sense why they were leaks so i tried making a new map but it couldn't compile it either. i even tried to compile the map from the tutorial by crash i did and it didn't compile either. i tried to run the map i was working on in-game and it worked but when i modified it the map didn't change. Can i get some help?
 

nᵗʰSonata

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
Can you post an example of a compile log? You might want to try validating the integrity of your game cache, by right-clicking TF2 in your Steam Library, clicking on "Properties", clicking in the "Local Files" tab, and then clicking "Verify Integrity of Game Files". Make sure that your Hammer executable file (hammer.exe) and batch file (hammer.bat) are still in your Team Fortress 2/bin folder. Also check to make sure your GameConfig.txt file looks something like this:
Code:
"Configs"
{
    "Games"
    {
        "Half-Life 2"
        {
            "GameDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2"
            "Hammer"
            {
                "GameData0"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\halflife2.fgd"
                "TextureFormat"        "5"
                "MapFormat"        "4"
                "DefaultTextureScale"        "0.250000"
                "DefaultLightmapScale"        "16"
                "GameExe"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
                "DefaultSolidEntity"        "func_detail"
                "DefaultPointEntity"        "info_player_start"
                "BSP"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
                "Vis"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
                "Light"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
                "GameExeDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2"
                "MapDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\hl2\mapsrc"
                "BSPDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2\maps"
                "CordonTexture"        "tools\toolsskybox"
                "MaterialExcludeCount"        "0"
            }
        }
        "Team Fortress 2"
        {
            "GameDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf"
            "Hammer"
            {
                "GameData0"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\tf-abs.fgd"
                "TextureFormat"        "5"
                "MapFormat"        "4"
                "DefaultTextureScale"        "0.250000"
                "DefaultLightmapScale"        "16"
                "GameExe"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
                "DefaultSolidEntity"        "func_detail"
                "DefaultPointEntity"        "prop_static"
                "BSP"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
                "Vis"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
                "Light"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
                "GameExeDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2"
                "MapDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc"
                "BSPDir"        "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps"
                "CordonTexture"        "tools\toolsskybox"
                "MaterialExcludeCount"        "0"
            }
        }
    }
    "SDKVersion"        "5"
}
If you've done all that and it still isn't fixed, you may want to just uninstall and reinstall TF2 altogether. Can you try and give us more information? What did you change to fix your Hammer shortcut? What maps are you trying to compile?
 

technicaldifficulties

L1: Registered
Feb 6, 2018
4
0
my compile log says this:
** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "G:\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.vmf"

Valve Software - vbsp.exe (Mar 6 2018)
4 threads
material "dev/compositormultiply" not found.
material "dev/compositoradd" not found.
material "dev/compositorlerp" not found.
material "dev/compositorselect" not found.
material "dev/compositorblend" not found.
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials
Loading G:\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.vmf
"dev/dev_measuregeneric01b" - "materials/dev/dev_measuregeneric01b.vtf": cached version doesn't exist
Can't find surfaceprop concrete for material DEV/DEV_MEASUREGENERIC01B, using default
Can't find surfaceprop dirt for material CUSTOMDEV/DEV_MEASUREWALL01RED, using default
material "dev/dev_blendmeasure" not found.
Material not found!: DEV/DEV_BLENDMEASURE
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
material "dev/dev_blendmeasure2" not found.
Material not found!: DEV/DEV_BLENDMEASURE2
Can't find surfaceprop concrete for material CUSTOMDEV/DEV_MEASUREGENERIC01RED, using default
"dev/dev_measurewall01d" - "materials/dev/dev_measurewall01d.vtf": cached version doesn't exist
Can't find surfaceprop dirt for material DEV/DEV_MEASUREWALL01D, using default
Can't find surfaceprop glass for material GLASS/GLASSWINDOW001A, using default
Can't find surfaceprop dirt for material CUSTOMDEV/DEV_MEASUREWALL01BLU, using default
Can't find surfaceprop concrete for material CUSTOMDEV/DEV_MEASUREGENERIC01BLU, using default
Can't find surfaceprop metal for material METAL/CHICKEN_WIRE001, using default
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
**** leaked ****
Entity func_respawnroomvisualizer (-1117.21 -2168.00 21.33) leaked!

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


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


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (776.0 1484.0 592.8)
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: Brush 19564:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (776.0 1484.0 528.8)
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: Brush 19564:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-625.6 1339.1 24.1)
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: Brush 16955:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-630.5 1339.0 24.2)
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: Brush 16955:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (-630.5 1339.2 24.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: Brush 16955:

Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (1)
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
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) (267864 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 1331 texinfos to 1146
Reduced 14 texdatas to 13 (371 bytes to 321)
Writing G:\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.bsp
Wrote ZIP buffer, estimated size 467, actual size 387
1 second elapsed
CMaterialDict::Shutdown m_MissingList count: 7

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "G:\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1"

Valve Software - vvis.exe (Mar 6 2018)
4 threads
reading g:\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.bsp
reading g:\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.prt
LoadPortals: couldn't read g:\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.prt


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -both -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "G:\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1"

Valve Software - vrad.exe SSE (Mar 6 2018)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
unknown light specifier type - lights

[56 texlights parsed from 'lights.rad']

Loading g:\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.bsp
No vis information, direct lighting only.
Setting up ray-trace acceleration structure... Done (0.38 seconds)
8243 faces
6 degenerate faces
996024 square feet [143427456.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
sun extent from map=0.000000
23 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (4)
Build Patch/Sample Hash Table(s).....Done<0.0118 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (3)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (6)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 34/1024 1632/49152 ( 3.3%)
brushes 715/8192 8580/98304 ( 8.7%)
brushsides 6579/65536 52632/524288 (10.0%)
planes 7384/65536 147680/1310720 (11.3%)
vertexes 13456/65536 161472/786432 (20.5%)
nodes 6738/65536 215616/2097152 (10.3%)
texinfos 1146/12288 82512/884736 ( 9.3%)
texdata 13/2048 416/65536 ( 0.6%)
dispinfos 0/0 0/0 ( 0.0%)
disp_verts 0/0 0/0 ( 0.0%)
disp_tris 0/0 0/0 ( 0.0%)
disp_lmsamples 0/0 0/0 ( 0.0%)
faces 8243/65536 461608/3670016 (12.6%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 3174/65536 177744/3670016 ( 4.8%)
leaves 6773/65536 216736/2097152 (10.3%)
leaffaces 9618/65536 19236/131072 (14.7%)
leafbrushes 5047/65536 10094/131072 ( 7.7%)
areas 2/256 16/2048 ( 0.8%)
surfedges 56880/512000 227520/2048000 (11.1%)
edges 30382/256000 121528/1024000 (11.9%)
LDR worldlights 23/8192 2024/720896 ( 0.3%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 1674/32768 16740/327680 ( 5.1%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 28800/65536 57600/131072 (43.9%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 1464280/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 0/16777216 ( 0.0%)
entdata [variable] 43111/393216 (11.0%)
LDR ambient table 6773/65536 27092/262144 (10.3%)
HDR ambient table 6773/65536 27092/262144 (10.3%)
LDR leaf ambient 11456/65536 320768/1835008 (17.5%)
HDR leaf ambient 6773/65536 189644/1835008 (10.3%)
occluders 0/0 0/0 ( 0.0%)
occluder polygons 0/0 0/0 ( 0.0%)
occluder vert ind 0/0 0/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/1036 ( 0.1%)
pakfile [variable] 387/0 ( 0.0%)
physics [variable] 267864/4194304 ( 6.4%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 27658
Writing g:\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.bsp
13 seconds elapsed
Valve Software - vrad.exe SSE (Mar 6 2018)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
unknown light specifier type - lights

[56 texlights parsed from 'lights.rad']

Loading g:\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.bsp
No vis information, direct lighting only.
Setting up ray-trace acceleration structure... Done (0.38 seconds)
8243 faces
6 degenerate faces
996024 square feet [143427456.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
sun extent from map=0.000000
23 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (4)
Build Patch/Sample Hash Table(s).....Done<0.0124 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (2)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (6)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 34/1024 1632/49152 ( 3.3%)
brushes 715/8192 8580/98304 ( 8.7%)
brushsides 6579/65536 52632/524288 (10.0%)
planes 7384/65536 147680/1310720 (11.3%)
vertexes 13456/65536 161472/786432 (20.5%)
nodes 6738/65536 215616/2097152 (10.3%)
texinfos 1146/12288 82512/884736 ( 9.3%)
texdata 13/2048 416/65536 ( 0.6%)
dispinfos 0/0 0/0 ( 0.0%)
disp_verts 0/0 0/0 ( 0.0%)
disp_tris 0/0 0/0 ( 0.0%)
disp_lmsamples 0/0 0/0 ( 0.0%)
faces 8243/65536 461608/3670016 (12.6%)
hdr faces 8243/65536 461608/3670016 (12.6%)
origfaces 3174/65536 177744/3670016 ( 4.8%)
leaves 6773/65536 216736/2097152 (10.3%)
leaffaces 9618/65536 19236/131072 (14.7%)
leafbrushes 5047/65536 10094/131072 ( 7.7%)
areas 2/256 16/2048 ( 0.8%)
surfedges 56880/512000 227520/2048000 (11.1%)
edges 30382/256000 121528/1024000 (11.9%)
LDR worldlights 23/8192 2024/720896 ( 0.3%)
HDR worldlights 23/8192 2024/720896 ( 0.3%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 1674/32768 16740/327680 ( 5.1%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 28800/65536 57600/131072 (43.9%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 1464280/0 ( 0.0%)
HDR lightdata [variable] 1464280/0 ( 0.0%)
visdata [variable] 0/16777216 ( 0.0%)
entdata [variable] 43111/393216 (11.0%)
LDR ambient table 6773/65536 27092/262144 (10.3%)
HDR ambient table 6773/65536 27092/262144 (10.3%)
LDR leaf ambient 11456/65536 320768/1835008 (17.5%)
HDR leaf ambient 11456/65536 320768/1835008 (17.5%)
occluders 0/0 0/0 ( 0.0%)
occluder polygons 0/0 0/0 ( 0.0%)
occluder vert ind 0/0 0/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/1036 ( 0.1%)
pakfile [variable] 387/0 ( 0.0%)
physics [variable] 267864/4194304 ( 6.4%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 27658
Writing g:\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.bsp
13 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "G:\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\koth_fortress_A1.bsp"


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\hl2.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" +map "koth_fortress_A1" -steam

also my batch and exe file for hammer were there but 2 dll files were in a diffrent drive for my computer. I was working on a koth map that as i was working on i tested it in game several times. also when the new competitive patch came out, i tried to play tf2 but it wont start saying a texture was corrupt so i reinstalled tf2 and it worked , i also didnt check hammer as i thought it would be fine. can i also know where to find the gameconfig.txt? as when i went into my config file there was no txt file
 
Last edited:

henke37

aa
Sep 23, 2011
2,075
515
Yeah, those leaks aren't your fault. VBSP can't find the material files that lets it know that the materials are solid.
 

nᵗʰSonata

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
Your GameConfig.txt file is found in your \bin folder, the same place Hammer is. Have you verified your game cache yet? Also I noticed that your using two drives, a C drive, which is where your Hammer is being run from, and a G drive, where it seems you've copied your \Steam folder from your \Program Files (x86) folder, which might be part of your problem. You may want to copy your map from G:\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.vmf to C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\koth_fortress_A1.vmf, and see if that fixes your problem at all