error while compiling

  • If you're asking a question make sure to set the thread type to be a question!

Gungle

L1: Registered
Sep 22, 2018
49
0
While compiling my map an error message appeared saying: "The command failed. Windows reported the error: 'The system cannot find the file specified' "
The command mentioned:
** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\gg.bsp"
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
Could you post the whole compile log please?
 

Gungle

L1: Registered
Sep 22, 2018
49
0
** 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\gg.vmf"

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\gg.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
**** leaked ****
Entity prop_static (-56.00 -64.00 -60.00) leaked!
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
*** 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...

** 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\gg"

Valve Software - vvis.exe (Aug 2 2018)
4 threads
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.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\gg"

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\gg.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

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

The command failed. Windows reported the error:
"The system cannot find the file specified."
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
It says you have a leak in your map, which you should try and fix. See if that solves the issue
**** leaked ****
Entity prop_static (-56.00 -64.00 -60.00) leaked!
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
it's an error whith the skybox and opening something
Yes, your map needs to be sealed from the void with world brushes. Usually, early maps use the cordon tool or just a hollow box surrounding it
 

henke37

aa
Sep 23, 2011
2,075
515
The skybox error is bogus. Everyone gets it. All that happens is that vbsp won't sub in the skybox as a dummy cubemap. Which doesn't matter since you need to build the cubemaps for real anyway.

The real issue is that vbsp is crashing. Fixing the leak might help with that. Might
 

Gungle

L1: Registered
Sep 22, 2018
49
0
i made a skybox and recompiled, and it dind't show any leak errors. but there were still errors not related to leaks
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\gg.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."
 

Gungle

L1: Registered
Sep 22, 2018
49
0
"The system cannot find the file specified
This error is output by the file copy operation at the end of the compile if there is no .BSP file to copy, or if the destination doesn't exist. It often means that VBSP ran into an error before it could write the .BSP file. Check the VBSP output for any errors.
Be sure you typed your filename correctly, excluding any dashes, periods, etc. If it persists, try typing the file extension as you save it.
If you have not ran the game that you are making a map for, or if the destination that you are trying to place the final .BSP file in does not exist at the time you attempted to compile your map, this error will occur as a result of Hammer lacking the ability to create file folders. This happens to a variety of people, most often when the person receiving the error has recently rebooted their computer after a crash, their computer dying, or a virus or other possible cause of computer data/memory loss. If this happens, all you have to do is run the game you are making the map for, or simply browse to the closest file directory to the one you are trying to put the final .BSP in a file browser, and make a folder named the same as the selected output folder." -source wiki about this error
 

henke37

aa
Sep 23, 2011
2,075
515
In other words, the compile should've halted before it even got that far, because vbsp didn't complete its job.
 

Gungle

L1: Registered
Sep 22, 2018
49
0
** 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\gg.vmf"

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\gg.vmf
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)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
done (0)
writing C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_triage_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_triage_01 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_triage_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_triage_01 to build the default cubemap!
Finding displacement neighbors...

** 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\gg"

Valve Software - vvis.exe (Aug 2 2018)
4 threads
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.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\gg"

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\gg.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

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

The command failed. Windows reported the error:
"The system cannot find the file specified."
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
NODRAW on terrain surface
Try fixing this - don't think it is a compile failing error but worth a shot.