• The infamous "The system cannot find the file specified."
    6 replies, posted
Yes, I am aware of the popularity of this compile error, but unfortunately, no other forum threads I've been able to find had the answer. So, to the point: I was able to compile this map yesterday, and when I got back to it today, fixed a few things and then compiled, I was prompted with the lovely message "The command failed. Windows reported the error: "The system cannot find the file specified."". I sent the .vmf to a friend who was much more proficient in Hammer than I was, and he was able to compile just fine without this error. I am aware of "Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\ep2\gameinfo.txt" in the compiler, but my friend had the same thing listed in the compiler without issue. So, here's the compile log. [QUOTE]** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vbsp.exe" ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2" "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.vmf" Valve Software - vbsp.exe (Nov 1 2013) 8 threads materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\materials Loading C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.vmf Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\ep2\gameinfo.txt Patching WVT material: maps/mobile_home_new/nature/blendgrassgrass001a_wvt_patch Patching WVT material: maps/mobile_home_new/concrete/blendroad_broken01_wvt_patch fixing up env_cubemap materials on brush sides... Material RealWorldTextures/glass_break is depending on itself through materialvar $crackmaterial! Ignoring... 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... Merged 116 detail faces...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! done (0) writing C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.prt...Building visibility clusters... done (0) Creating default LDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Creating default HDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Finding displacement neighbors... Finding lightmap sample positions... Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10 Building Physics collision data... WARNING: Map using power 4 displacements, terrain physics cannot be compressed, map will need additional memory and CPU. done (0) (393448 bytes) Error Vertex File models/props_interiors\sink_kitchen.vvd checksum 1863050342 should be 650641979 ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vvis.exe" ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2" "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new" Valve Software - vvis.exe (Nov 1 2013) 8 threads reading c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp Error opening c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vrad.exe" ** Parameters: -both -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2" "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new" Valve Software - vrad.exe SSE (Nov 1 2013) Valve Radiosity Simulator 8 threads [Reading texlights from 'lights.rad'] [48 texlights parsed from 'lights.rad'] Loading c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp Error opening c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp ** Executing... ** Command: Copy File ** Parameters: "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\maps\mobile_home_new.bsp" The command failed. Windows reported the error: "The system cannot find the file specified."[/QUOTE] The only thing I did since yesterday that COULD have done something was add the Left 4 Dead 2 content into ep2. My friend did the same without an issue. So, is there something wrong with the way I have hammer configured? I don't know how it could have changed since last night. I did try changing directories of the .vmf and that did nothing either. I also made another simple map to test, and it compiled just fine. Below is a picture of the configurations in Hammer, if that will help with anything. [IMG]http://i.imgur.com/8mNkLsr.png[/IMG] Any help is appreciated. Sorry if it was just a simple little thing that I overlooked. Thanks, Eli
Sometimes the last error is not the main issue. [quote] NODRAW on terrain surface! NODRAW on terrain surface! NODRAW on terrain surface! NODRAW on terrain surface! .... WARNING: Map using power 4 displacements, terrain physics cannot be compressed, map will need additional memory and CPU. [/quote] Try fixing those before you worry about the error you are currently reporting. If you think its anything with your setup, you can try a basic map to test your config.
Alright, those things are fixed. I already made another map and compiled it without an issue. Here's the compile log with the same issue as before: [QUOTE]** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vbsp.exe" ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2" "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.vmf" Valve Software - vbsp.exe (Nov 1 2013) 8 threads materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\materials Loading C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.vmf Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\ep2\gameinfo.txt Patching WVT material: maps/mobile_home_new/nature/blendgrassgrass001a_wvt_patch Patching WVT material: maps/mobile_home_new/concrete/blendroad_broken01_wvt_patch fixing up env_cubemap materials on brush sides... Material RealWorldTextures/glass_break is depending on itself through materialvar $crackmaterial! Ignoring... 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... Merged 116 detail faces...done (0) Merging details...done (0) FixTjuncs... PruneNodes... WriteBSP... done (0) writing C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.prt...Building visibility clusters... done (0) Creating default LDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Creating default HDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Finding displacement neighbors... Finding lightmap sample positions... Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10 Building Physics collision data... done (0) (104122 bytes) Error Vertex File models/props_interiors\sink_kitchen.vvd checksum 1863050342 should be 650641979 ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vvis.exe" ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2" "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new" Valve Software - vvis.exe (Nov 1 2013) 8 threads reading c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp Error opening c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vrad.exe" ** Parameters: -both -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2" "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new" Valve Software - vrad.exe SSE (Nov 1 2013) Valve Radiosity Simulator 8 threads [Reading texlights from 'lights.rad'] [48 texlights parsed from 'lights.rad'] Loading c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp Error opening c:\users\eli\documents\map stuff\nice_mobile_house\mobile_home_new.bsp ** Executing... ** Command: Copy File ** Parameters: "C:\Users\Eli\Documents\Map stuff\nice_mobile_house\mobile_home_new.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\ep2\maps\mobile_home_new.bsp" The command failed. Windows reported the error: "The system cannot find the file specified."[/QUOTE]
Go through and compile your map using visgroups. First start with only World Geometry. If it builds, then go to the next group and compile again. Continue until you get the error again, and then trouble shoot whatever is causing the issue.
What does your build programs tab look like in hammer config?
mobile_home_new.vmf > save as mobile_home_new2.vmf > close file > open mobile_home_new2.vmf > save as mobile_home_new.vmf (and overwrite) > delete mobile_home_new2.vmf > compile This little workaround has always worked for me in the past, don't know how or why.
What always works for me is saving it under the games maps folder. So saving the vmf under hl2/maps works for me.
Sorry, you need to Log In to post a reply to this thread.