[HELP] The command failed. Windows reported the error:

marsbar20

L1: Registered
Feb 24, 2012
13
1
I have been working on a map for just over a month now and when i try to compile i get a pop up with this error and a "yes" "no" button:
The command failed. Windows reported the error: "The system cannot find the file specified."

I did get a new computer, though i'm not sure if that is the problem.

EDIT:

I don't know what happened but it started working again, even though i didn't change anything.
 
Last edited:

Kiddnils

L3: Member
Sep 2, 2011
140
224
Make sure the file is saved in the right place. In addition don't use spaces in the mapname. If that doesn't help look for errors in the compile log.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Depending on when the error is appearing, it basically means vbsp isn't running or is crashing. Find the vbsp section of your compile log from hammer(not the file in mapsrc) and post that.
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
Other causes of this error could be specifying a save location that differs from the directory the compile processes reference (vbsp, vvis, vrad). I mention this as you said you had a new computer.

But as YM said, it's likely that the compile is being interrupted.
 

marsbar20

L1: Registered
Feb 24, 2012
13
1
I'm guessing that the stuff in bold is the vbsp section though I may be wrong so I posted the rest of it.

** Executing...
** Command: "c:\program files (x86)\steam\steamapps\marsbar20\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\marsbar20\team fortress 2\tf" "C:\Users\scott\Desktop\KOTH Moving Water\cp_movingwater_V4\cp_movingwater_V4.vmf"

Valve Software - vbsp.exe (Oct 25 2011)
4 threads
materialPath: c:\program files (x86)\steam\steamapps\marsbar20\team fortress 2\tf\materials
Loading C:\Users\scott\Desktop\KOTH Moving Water\cp_movingwater_V4\cp_movingwater_V4.vmf
Patching WVT material: maps/cp_movingwater_v4/nature/blendgroundtograss007_wvt_patch
Patching WVT material: maps/cp_movingwater_v4/cp_mountainlab/nature/blendrocktograss002_wvt_patch
Patching WVT material: maps/cp_movingwater_v4/koth_viaduct_event/blendrockgroundwallforest_viaduct_event002_wvt_patch
Patching WVT material: maps/cp_movingwater_v4/dev/dev_blendmeasure_wvt_patch
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)
Chop Details...done (0)
Find Visible Detail Sides...done (0)
Merging details...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!
done (0)
writing C:\Users\scott\Desktop\KOTH Moving Water\cp_movingwater_V4\cp_movingwater_V4.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_alpinestorm_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_alpinestorm_01 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_alpinestorm_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_alpinestorm_01 to build the default cubemap!
Finding displacement neighbors...

** Executing...
** Command: "c:\program files (x86)\steam\steamapps\marsbar20\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\marsbar20\team fortress 2\tf" "C:\Users\scott\Desktop\KOTH Moving Water\cp_movingwater_V4\cp_movingwater_V4"

Valve Software - vvis.exe (Oct 25 2011)
4 threads
reading c:\users\scott\desktop\koth moving water\cp_movingwater_v4\cp_movingwater_V4.bsp
Error opening c:\users\scott\desktop\koth moving water\cp_movingwater_v4\cp_movingwater_V4.bsp

** Executing...
** Command: "c:\program files (x86)\steam\steamapps\marsbar20\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\marsbar20\team fortress 2\tf" "C:\Users\scott\Desktop\KOTH Moving Water\cp_movingwater_V4\cp_movingwater_V4"

Valve Software - vrad.exe SSE (Oct 25 2011)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[34 texlights parsed from 'lights.rad']

Loading c:\users\scott\desktop\koth moving water\cp_movingwater_v4\cp_movingwater_V4.bsp
Error opening c:\users\scott\desktop\koth moving water\cp_movingwater_v4\cp_movingwater_V4.bsp

** Executing...
** Command: Copy File
** Parameters: "C:\Users\scott\Desktop\KOTH Moving Water\cp_movingwater_V4\cp_movingwater_V4.bsp" "c:\program files (x86)\steam\steamapps\marsbar20\team fortress 2\tf\maps\cp_movingwater_V4.bsp"

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

Wander

L3: Member
Sep 16, 2010
148
55
did you take your compile log through interlopers ?

Cause that says what the problem is, you have displacements with the nodraw texture
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
You have displacement brush(es) that don't have a rendered texture. You need to find those displacements, and fix it.

*This is usually because of nodraw on a displacement. You can easily search for this hidden face by turning off all visgroups and toggle displacements/nodraw to narrow your search down to only the important stuff.