• "The System cannot find the file specified" Hammer Editor Problam
    12 replies, posted
Hello everyone. I am trying to compile a Garrys Mod map with Hammer but when I do it, it gives me to error: The command failed. Windows reported the error: "The system cannot find the file specified." My Log is here: ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vbsp.exe" ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d" Valve Software - vbsp.exe (Feb 19 2018) 8 threads materialPath: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\materials Loading c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d.vmf ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_-1905_-1568_102 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_-1905_-1568_102 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/nature/water_ati_4416_-1664_-96 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/nature/water_ati_4416_-1664_-96 Can't find surfaceprop sheetrock for material MAPS/RP_DOWNTOWN♥♥♥♥♥♥V1/WALLPAPER/BLUE08_2706_-1563_-136, using default Can't find surfaceprop sheetrock for material MAPS/RP_DOWNTOWN♥♥♥♥♥♥V1/WALLPAPER/BLUE08_-1353_-6275_-136, using default Can't find surfaceprop sheetrock for material MAPS/RP_DOWNTOWN♥♥♥♥♥♥V1/WALLPAPER/BLUE08_1280_6144_-136, using default ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_2656_3245_-136 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_2656_3245_-136 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_1280_6144_-136 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_1280_6144_-136 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_-1205_655_-136 ***need to set $abovewater for material maps/rp_downtown♥♥♥♥♥♥v1/dev/dev_water2_cheap_-1205_655_-136 material "1default/toolsnodraw" not found. Material not found!: 1DEFAULT/TOOLSNODRAW ConVarRef mat_reduceparticles doesn't point to an existing ConVar Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\gameinfo.txt Patching WVT material: maps/rp_downtown_lemon_d/nature/blendcliffgrass001a_wvt_patch Patching WVT material: maps/rp_downtown_lemon_d/de_chateau/rockf_blend_wvt_patch Patching WVT material: maps/rp_downtown_lemon_d/maps/rp_downtown♥♥♥♥♥♥v1/cliff3/bigsand1_2706_-1563_-136_wvt_patch Patching WVT material: maps/rp_downtown_lemon_d/maps/rp_downtown♥♥♥♥♥♥v1/cliff3/bigsand1_4416_-1664_-96_wvt_patch Patching WVT material: maps/rp_downtown_lemon_d/mazur/gtatallgrassblend_wvt_patch Patching WVT material: maps/rp_downtown_lemon_d/maps/rp_downtown♥♥♥♥♥♥v1/xzertel/cliff2_-1353_-6275_-136_wvt_patch Patching WVT material: maps/rp_downtown_lemon_d/nature/gm_construct_grass_wvt_patch fixing up env_cubemap materials on brush sides... Generated env_cubemap patch name : maps/rp_downtown_lemon_d/MAPS/RP_DOWNTOWN♥♥♥♥♥♥V1/BUILDING_TEMPLATE/BUILDING_TRAINSTATION_TEMPLATE002P_4976_1759_-136_4416_-1664_-96 too long! (max = 128) ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vvis.exe" ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d" Valve Software - vvis.exe (Feb 19 2018) 8 threads reading c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d.bsp Error opening c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d.bsp ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vrad.exe" ** Parameters: -both -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d" Valve Software - vrad.exe SSE (Feb 19 2018) Valve Radiosity Simulator 8 threads [Reading texlights from 'lights.rad'] [45 texlights parsed from 'lights.rad'] Loading c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d.bsp Error opening c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d.bsp ** Executing... ** Command: Copy File ** Parameters: "c:\users\thomas jayasinghe\documents\lemonrp downtown map\rp_downtown_lemon_d.bsp" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\rp_downtown_lemon_d.bsp" The command failed. Windows reported the error: "The system cannot find the file specified." Please help as I have tried everything. Thank you, Thomas
Have you tried saving the map with a different name, then re-compiling it?
Tried a different compiler? Especially vbsp. It seems to fail cause the patch material string is too long. A newer compiler may have some more memory there
I have tried saving as a different name but haven't tried or even heard of VBSP.
VBSP is the tool that turns your VMF into a playable BSP file. In this case, an error occurred that prevents the file from being created: Generated env_cubemap patch name : maps/rp_downtown_lemon_d/MAPS/RP_DOWNTOWN♥♥♥♥♥♥V1/BUILDING_TEMPLATE/BUILDING_TRAINSTATION_TEMPLATE002P_4976_1759_-136_4416_-1664_-96 too long! (max = 128) Whenever you use a world material with an env_cubemap as its environment map, the compiler will embed a patched copy of that material into the BSP. The patched copy replaces the reference to env_cubemap by a reference to an actual texture that will be generated when you run the buildcubemaps command. For some reason, the internal path of embedded files may not exceed 128 characters. You'll need to shorten the name of your map and/or replace the material with a copy that has a shorter name/path. bshadow's suggestion might not help if the game engine has the same restriction.
What meterial is at fault here?
Did you decompile rp_downtown and you're trying to recompile it?
Hmm the problam is I have spent hours editing the map and don't want to have to redo everything. I am doing a Downtown map.
Actually I think I may have sorted it. I changed the name of all the files and removed long named textures and I think it has worked!
Nope still broken
Like Blueberry_Pie said your file directory is too long maps/lemonrprealdontcopy/MAPS/RP_DOWNTOWN_TITS_V1/BUILDING_TEMPLATE/BUILDING_TRAINSTATION_TEMPLATE002P_1152_7040_32_2912_6976_-48 too long! (max = 128)
Do you know a good way to fix this because currently when I compile the map, I simply get the original map with a new name. Thank you as always, Thomas
Unforunately I had no choice but to restart and use a different map. I believe the map was just buggy or something as nothing seemed to work with it Thanks for all your time, Thomas
Sorry, you need to Log In to post a reply to this thread.