Compile Error: "Cannot Find File Specified." Help?

Erk

erk
aa
Aug 6, 2016
443
1,106
Hey, could you put how you fixed it in your post? Other people might use this thread to help them with similar problems.
 

Gale

L1: Registered
Aug 28, 2016
38
14
Valve Software - vbsp.exe (Sep 19 2016)
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\my_projects\ctf_brimstone_a1b.vmf
Brush 901: FloatPlane: bad normal
Side 1
Texture: DEV/DEV_MEASUREGENERIC01B

Vbsp.exe Failed, that's what caused the error. In case he never posts the solution. Another way to get this error is trying to compile off of a .vmf_autosave.
 

Three Million

L4: Comfortable Member
Jul 2, 2015
197
75
Vbsp.exe Failed
Failed as in the program didnt run? When I had Comodo Antivirus installed the AV would block any programs it didnt recognize from running. So when it came to compile my maps I had to whitelist every program (like vbsp.exe) in order to compile my map correctly. This could have been the issue with @Potada
 

Gale

L1: Registered
Aug 28, 2016
38
14
Failed as in the program didnt run? When I had Comodo Antivirus installed the AV would block any programs it didnt recognize from running. So when it came to compile my maps I had to whitelist every program (like vbsp.exe) in order to compile my map correctly. This could have been the issue with @Potada
It failed because of this error:

Brush 901: FloatPlane: bad normal
Side 1
Texture: DEV/DEV_MEASUREGENERIC01B
 

nickybakes

You should've played Rumbleverse
aa
Jul 28, 2015
912
1,741
There's a couple of things that can fail bsp. The most common I can think of is tying a displacement to a brush entity (like making a displacement a func_detail). Also having a brush too close to the edges of the map (if you zoom all the way out on the grid in hammer, you can see the boundaries of the map) can crash vbsp. The reason you get the "can't find file specified" is because when vbsp fails, it doesn't create a bsp file. When vbsp is "done" it's job, vvis steps in and looks for the newly created bsp to add visleafs to. Vrad comes after. However when there is no newly created bsp, then vvis and vrad "can't find the file specified" because it was never created.

There's more than those errors that can crash vbsp and the other compiling tools. You can find them here: https://developer.valvesoftware.com/wiki/Compile_Errors .
 

zahndah

professional letter
aa
Jul 4, 2015
763
647
vvis and vrad "can't find the file specified" because it was never created.

Instead of just doing nothing, they compile for the previous working version of VBSP. This is why sometimes it appears that your map is simply not updating when you update it.
 

Potada

L1: Registered
Jan 28, 2016
38
10
Oh, jeez, sorry. I didn't notice the replies. My issue was just with an error in a texture. Pretty much what Gale pointed out. Using the problem checker and finding the brushes to fix got it to compile my map.(Though, I don't know the technical reasons why it would prevent compiling, but whatever)