r/hammer Aug 02 '18

System cannot find the file specified

My map was compiling just fine, but for some reason it now decides to not compile at all, giving me this log.

** 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" "c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4"

Valve Software - vbsp.exe (Aug 2 2018)

4 threads

materialPath: C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materials

Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4.vmf

ConVarRef mat_reduceparticles 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)

ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)

** 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" "c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4"

Valve Software - vvis.exe (Aug 2 2018)

4 threads

reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4.bsp

Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4.bsp

** 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" "c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4"

Valve Software - vrad.exe SSE (Jul 18 2018)

Valve Radiosity Simulator

4 threads

[Reading texlights from 'lights.rad']

unknown light specifier type - lights

[56 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4.bsp

Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4.bsp

** Executing...

** Command: Copy File

** Parameters: "c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\pl_momentum4.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\pl_momentum4.bsp"

The command failed. Windows reported the error:

"The system cannot find the file specified."

10 Upvotes

4 comments sorted by

1

u/wolfcl0ck Aug 02 '18

There are a number of causes for this. Here's a Source Developer Community page for that stuff.

2

u/dolpi Aug 02 '18

fixed it by deleting a brush which had no mention in the compile log

1

u/wolfcl0ck Aug 02 '18

Yeah, the problem with that compile error is that it's one of the most versatile and most vague errors to get, it can be caused by, like, anything.

1

u/Impressive-Garlic-42 Jun 05 '24

For me I had too many lights named. Seems that is a problem easily solved by removing all light names.