Source SDK Fixing (Now for real this time!)

My desktop Source SDK is working great with SteamPipe, but my laptop has issues with the new system. Episode Two content refuses to load in my levels, generating giant “ERROR” models rather than the intended props. The loading log indicates stock HL2 content is being loaded. The SDK loader is obviously defunct and doesn’t work well. The intended Hammer executable in Half-Life 2 doesn’t load the menu to pick the game like my desktop’s Hammer does, for whatever reason.

Is there a way to edit Hammer’s configs without the GUI? I really want to get my SDK working on my laptop again, so I can optimize my mod more effectively with a lower spec system.

Just to be sure, are you asking how to switch configs without that startup box?
In Hammer, go to Tools>Options, then change the one in that dialogue box and hit okay. When you reset Hammer it should be that new config.

No, Hammer flat out won’t load under the Episode Two configuration. I’ll have to get a screencap of the error soon.

Double post to bump and elaborate.
Running the SDK launcher causes many more errors than the Hammer standalone executable due to the new framework. However, on loading from the standalone hammer executable with the Ep2 configuration, the Messages window displays the following error:

Invalid game “C:\Program Files (x86)\Steam\SteamApps\appmanifest_420.acf” found in VPROJECT environment variable, ignoring.

In the level, the only thing seeming to be missing is the weapon_crossbow model, with has an ERROR model taking its place.

Oh good christ on a cream cracker, apparently my desktop SDK is still FUBAR as well. Here, have a compile log.

** Executing...
** Command: "I:\Steam Backup\corefiles\Steam\steamapps\common\Source SDK Base 2007\bin\vbsp.exe"
** Parameters: -game "I:\Steam Backup\corefiles\Steam\steamapps\common\Half-Life 2\ep2" "c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16"

Valve Software - vbsp.exe (Aug 30 2013)
4 threads
materialPath: I:\Steam Backup\corefiles\Steam\steamapps\common\Half-Life 2\ep2\materials
Loading c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.vmf
material "tile/tilewall009g" not found.
Material not found!: TILE/TILEWALL009G
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
material "nature/blendrubbledirt001a" not found.
Material not found!: NATURE/BLENDRUBBLEDIRT001A
material "concrete/concretewall075h" not found.
Material not found!: CONCRETE/CONCRETEWALL075H
material "concrete/concretewall075g" not found.
Material not found!: CONCRETE/CONCRETEWALL075G
material "tile/tilewall009f" not found.
Material not found!: TILE/TILEWALL009F
material "concrete/concretewall076h" not found.
Material not found!: CONCRETE/CONCRETEWALL076H
material "concrete/concretewall076f" not found.
Material not found!: CONCRETE/CONCRETEWALL076F
material "concrete/concretewall075k" not found.
Material not found!: CONCRETE/CONCRETEWALL075K
material "tile/tilefloor010c" not found.
Material not found!: TILE/TILEFLOOR010C
material "tile/tilewall009e" not found.
Material not found!: TILE/TILEWALL009E
material "concrete/concretewall076a" not found.
Material not found!: CONCRETE/CONCRETEWALL076A
material "concrete/blendconcdirt004a" not found.
Material not found!: CONCRETE/BLENDCONCDIRT004A
material "metal/metal_liftbase01" not found.
Material not found!: METAL/METAL_LIFTBASE01
material "nature/blendconcretedirt001a" not found.
Material not found!: NATURE/BLENDCONCRETEDIRT001A
material "concrete/blenddebris001a" not found.
Material not found!: CONCRETE/BLENDDEBRIS001A
material "plaster/plasterwall053c" not found.
Material not found!: PLASTER/PLASTERWALL053C
material "concrete/concretefloor_silo01a" not found.
Material not found!: CONCRETE/CONCRETEFLOOR_SILO01A
material "concrete/concretewall_silo01b" not found.
Material not found!: CONCRETE/CONCRETEWALL_SILO01B
Could not locate 'GameData' key in i:\steam backup\corefiles\steam\steamapps\common\half-life 2\ep2\gameinfo.txt
Patching WVT material: maps/five_mainblock_int16/nature/blendgrassgravel001b_wvt_patch
Patching WVT material: maps/five_mainblock_int16/dev/dev_blendmeasure_wvt_patch
Patching WVT material: maps/five_mainblock_int16/nature/blendrocksand008c_wvt_patch
Patching WVT material: maps/five_mainblock_int16/nature/blenddirtgrass001a_wvt_patch
fixing up env_cubemap materials on brush sides...
Multiple references for cubemap on texture maps/five_mainblock_int16/plaster/plasterwall022c_c17_-66_3530_9!!!
Multiple references for cubemap on texture maps/five_mainblock_int16/plaster/plasterwall022c_c17_-66_3530_9!!!
Multiple references for cubemap on texture maps/five_mainblock_int16/plaster/plasterwall022c_c17_-66_3530_9!!!
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
Processing areas...WARNING: areaportal entity 2727 (brush 637635) touches > 2 areas
Wrote c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.lin
Areaportal leak ! File: c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.lin 
Brush 416944: areaportal brush doesn't touch two areas

Brush 415943: areaportal brush doesn't touch two areas

Brush 403455: areaportal brush doesn't touch two areas

Brush 399471: areaportal brush doesn't touch two areas

Brush 378119: areaportal brush doesn't touch two areas

Brush 378517: areaportal brush doesn't touch two areas

Brush 677275: areaportal brush doesn't touch two areas

Brush 676867: areaportal brush doesn't touch two areas
done (0)
Building Faces...done (0)
Occluder "" straddles multiple areas. This is invalid!
Occluder "" straddles multiple areas. This is invalid!
Occluder "" straddles multiple areas. This is invalid!
Occluder "" straddles multiple areas. This is invalid!
Occluder "" straddles multiple areas. This is invalid!
Chop Details...done (0)
Find Visible Detail Sides...
Merged 1782 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_day01_08_hdr weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_day01_08_hdr to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_day01_08_hdr weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_day01_08_hdr to build the default cubemap!
Finding displacement neighbors...
Found a displacement edge abutting multiple other edges.
Warning: overflowed 1 displacement corner-neighbor lists.Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
material "overlays/it_poster013" not found.
material "overlays/rationpapers01" not found.
Building Physics collision data...
WARNING: Map using power 4 displacements, terrain physics cannot be compressed, map will need additional memory and CPU.
done (0) (2097913 bytes)
Error! prop_static using model "models/props_wasteland/prison_heater002a.mdl", which must be used on a dynamic entity (i.e. prop_physics). Deleted.
Error loading studio model "models/props_wasteland/prison_heater002a.mdl"!
Error! prop_static using model "models/props_wasteland/prison_shelf002a.mdl", which must be used on a dynamic entity (i.e. prop_physics). Deleted.
Error loading studio model "models/props_wasteland/prison_shelf002a.mdl"!
Error loading studio model "models/props_forest/footlocker01_open.mdl"!
Error loading studio model "models/props_forest/bunkbed.mdl"!
Error loading studio model "models/props_forest/bunkbed2.mdl"!
Error loading studio model "models/props_forest/footlocker01_closed.mdl"!
Error loading studio model "models/props_c17/hospital_surgerytable01.mdl"!
Error loading studio model "models/weapons/w_combine_sniper.mdl"!
Error loading studio model "models/props_forest/table_shed.mdl"!
Error! prop_static using model "models/props_wasteland/kitchen_counter001a.mdl", which must be used on a dynamic entity (i.e. prop_physics). Deleted.
Error loading studio model "models/props_wasteland/kitchen_counter001a.mdl"!
Error loading studio model "models/props_wasteland/exterior_fence_notbarbed002a.mdl"!
Error loading studio model "models/props_foliage/vine_wall1.mdl"!
Error loading studio model "models/props_foliage/fallentree_dry01.mdl"!
Error loading studio model "models/props_c17/hospital_railing_256_01.mdl"!
Error loading studio model "models/props_c17/hospital_railing_64_01.mdl"!
Error loading studio model "models/props_c17/hospital_railing_32_01.mdl"!
Error loading studio model "models/props_c17/metalladder004.mdl"!
Error loading studio model "models/props_forest/ladderwood.mdl"!
Error loading studio model "models/props_silo/fanoff.mdl"!
Error loading studio model "models/props_silo/fanhousing.mdl"!
Error loading studio model "models/props_foliage/bush2.mdl"!
Error loading studio model "models/props_foliage/shrub_small.mdl"!
Error loading studio model "models/props_foliage/grass3.mdl"!
Error loading studio model "models/props_silo/silo_server_c.mdl"!
Error loading studio model "models/props_silo/silo_server_b.mdl"!
Placing detail props : 0...1...2...3...4...5...6...7...8.Material NATURE/BLENDGRASSGRAVEL001B uses unknown detail object type coastline_redgrass03!
.Material NATURE/BLENDGRASSGRAVEL001B uses unknown detail object type coastline_redgrass03!
Material NATURE/BLENDGRASSGRAVEL001B uses unknown detail object type coastline_redgrass03!
Material NATURE/BLENDGRASSGRAVEL001B uses unknown detail object type coastline_redgrass03!
Material NATURE/BLENDGRASSGRAVEL001B uses unknown detail object type coastline_redgrass03!
Material NATURE/BLENDGRASSGRAVEL001B uses unknown detail object type coastline_redgrass03!
.9...10
Compacting texture/material tables...
Reduced 7633 texinfos to 3675
Reduced 449 texdatas to 344 (20170 bytes to 15840)
Writing c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.bsp
6 seconds elapsed

** Executing...
** Command: "I:\Steam Backup\corefiles\Steam\steamapps\common\Source SDK Base 2007\bin\vvis.exe"
** Parameters: -game "I:\Steam Backup\corefiles\Steam\steamapps\common\Half-Life 2\ep2" "c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16"

Valve Software - vvis.exe (Sep 20 2013)
4 threads
reading c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.bsp
reading c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.prt
1373 portalclusters
3530 numportals
BasePortalVis:       0...1...2...3...4...5...6...7...8...9...10 (0)
PortalFlow:          0...1...2...3...4...5...6
** Executing...
** Command: "I:\Steam Backup\corefiles\Steam\steamapps\common\Source SDK Base 2007\bin\vrad.exe"
** Parameters: -ldr -lights noirshadows.rad -StaticPropLighting -StaticPropPolys -TextureShadows -game "I:\Steam Backup\corefiles\Steam\steamapps\common\Half-Life 2\ep2" "c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16"

Valve Software - vrad.exe SSE (Sep 20 2013)

      Valve Radiosity Simulator     
4 threads
Could not find lights.rad in lights.rad.
Trying VRAD BIN directory instead...
Warning: Couldn't open texlight file I:\Steam Backup\corefiles\Steam\steamapps\common\Source SDK Base 2007\bin\lights.rad.
[Reading texlights from 'noirshadows.rad']
[0 texlights parsed from 'noirshadows.rad']

Loading c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.bsp
Loaded alpha texture materials\models\props_combine\combine_bridge.vtf
Loaded alpha texture materials\models\props_foliage\tree_deciduous_01a_branches.vtf
Loaded alpha texture materials\models\props_foliage\tree_deciduous_01a_leaves.vtf
Loaded alpha texture materials\Models\props_c17\fence_alpha.vtf
Loaded alpha texture materials\models\props_foliage\ivy01.vtf
Loaded alpha texture materials\Models\props_c17\fence_alpha.vtf
No vis information, direct lighting only.
Setting up ray-trace acceleration structure... 
** Executing...
** Command: "I:\Steam Backup\corefiles\Steam\steamapps\common\Source SDK Base 2007\bin\vrad.exe"
** Parameters: -hdr -lights noirshadows.rad -StaticPropLighting -StaticPropPolys -TextureShadows -game "I:\Steam Backup\corefiles\Steam\steamapps\common\Half-Life 2\ep2" "c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16"

Valve Software - vrad.exe SSE (Sep 20 2013)

      Valve Radiosity Simulator     
4 threads
Could not find lights.rad in lights.rad.
Trying VRAD BIN directory instead...
Warning: Couldn't open texlight file I:\Steam Backup\corefiles\Steam\steamapps\common\Source SDK Base 2007\bin\lights.rad.
[Reading texlights from 'noirshadows.rad']
[0 texlights parsed from 'noirshadows.rad']

Loading c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.bsp
Loaded alpha texture materials\models\props_combine\combine_bridge.vtf
Loaded alpha texture materials\models\props_foliage\tree_deciduous_01a_branches.vtf
Loaded alpha texture materials\models\props_foliage\tree_deciduous_01a_leaves.vtf
Loaded alpha texture materials\Models\props_c17\fence_alpha.vtf
Loaded alpha texture materials\models\props_foliage\ivy01.vtf
Loaded alpha texture materials\Models\props_c17\fence_alpha.vtf
No vis information, direct lighting only.
Setting up ray-trace acceleration structure... 
** Executing...
** Command: Copy File
** Parameters: "c:\users\maingear shift\dropbox\five source control\maps\main block\five_mainblock_int16.bsp" "I:\Steam Backup\corefiles\Steam\steamapps\common\Half-Life 2\ep2\maps\five_mainblock_int16.bsp"

I’m guessing my config isn’t set up right. Where are the Ep1 and 2 FGDs? Did they get rolled into the main hl2 FGD?

I can’t look right now, but if memory serves they’re located in steamapps/common/Half-Life 2/ under ep1 and ep2 subfolders.

Edit: Nope. I was wrong.

EDIT: Nevermind, I misunderstood the issue.

Have you checked the tool and game integrities through Steam? It seems like a whole crapton of content is in the wrong place for you, or blatantly missing.

While I’m not 100% sure, I do think Valve tried to roll everything into one Half-Life 2 folder like Deathmonkey said.

If the issue is with the missing content, I’m 98% sure that the FGD has nothing to do with that, just entities. I’m actually not sure why the SDK has issues finding episodic content. I have to extract the content ato a folder nd manually mount them in the gameinfo.txt that the SDK uses.

It could be that the update failed to execute properly, or failed to clean some stuff up or something, which means the integrity would be wrong.

And yes, everything is in the Half-Life 2 folder now. But that hasn’t given me any problems.

Tried verifying my game cache for all HL2 and episodes, as well as the SDK bases and tools. Now my custom compile parameters are gone! AYFKM…

And it still doesn’t work?

By the way, I recommend using VBCT to compile rather than Hammer. That way you don’t need to deal with lost compile parameters, among other benefits.

I’ll have to look into that, sounds nice.

Also, on startup of the editor, the following message leads in the messages bar:

Invalid game “c:\programfiles (x86)\steam\steamapps\accountname\half-life 2\hl2” found in VPROJECT environment variable, ignoring."

Rather odd, considering my whole editor has been running from drive I:\ this whole time. It probably has to do with how I uprooted the install to an external hard drive for transfer to this computer.

Yeah uh, if you moved your Steam directory, you should probably re-download stuff just in case the configs got screwed over. That sounds like the root of the problem.

I’m pretty sure I tried that, but I’ll back up my data and give it another go.

After deleting and cleanly reinstalling all HL2 engine related materials, the VPROJECT environment variable error still exists. Goddamn it.

Hm. Try this?

The error in the startup is gone! Thanks for that, I’ll have to post a message thanking TopHatt for that too (He used to frequent another forum I’m on).

EDIT: Nope. Crossbow still shows up as an error, my custom static prop shadows compiling mode is gone, and for some reason the compiler spits back “Access is Denied” for every. single. compile. tool.

I occasionally get the VPROJECT error too, but it doesn’t seem to cause any problems for whatever reason. Odd.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.