• NEED HELP WITH HAMMER!
    8 replies, posted
Hello! this is my first attempt at editing or making a map and I have done everything I believe I needed to but when I try to compile it it says "the command failed. Windows reported the error: "The system cannot find the file specified" I think I added the parameters right but im not positive, these were the parameters the map maker said to use vbsp -notjunc -AllowDynamicPropsAsStatic -NoDefaultCubemap vvis vrad -both -final -AllowDynamicPropsAsStatic I get this in the files reading c:\users\gobli\onedrive\desktop\truenorth\rp_truenorth_v1a_kalypso.bsp Error opening c:\users\gobli\onedrive\desktop\truenorth\rp_truenorth_v1a_kalypso.bsp but I do not have a bsp for my version only the vmf this is the compile logs ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vbsp.exe" ** Parameters: "rp_truenorth_v1a_kalypso-game" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\users\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso" -notjunc -AllowDynamicPropsAsStatic -NoDefaultCubemap Failed to load keyvalues file cfg/mount.cfg! Valve Software - vbsp.exe (Apr 23 2019) Command line: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vbsp.exe" "rp_truenorth_v1a_kalypso-game" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\users\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso" "-notjunc" "-AllowDynamicPropsAsStatic" "-NoDefaultCubemap" usage  : vbsp [options...] mapfile example: vbsp -onlyents c:\hl2\hl2\maps\test Common options (use -v to see all options):   -v (or -verbose): Turn on verbose output (also shows more command                     line options).   -onlyents   : This option causes vbsp only import the entities from the .vmf                 file. -onlyents won't reimport brush models.   -onlyprops  : Only update the static props and detail props.   -glview     : Writes .gl files in the current directory that can be viewed                 with glview.exe. If you use -tmpout, it will write the files                 into the \tmp folder.   -nodetail   : Get rid of all detail geometry. The geometry left over is                 what affects visibility.   -nowater    : Get rid of water brushes.   -low        : Run as an idle-priority process.   -vproject <directory> : Override the VPROJECT environment variable.   -game <directory>     : Same as -vproject. ** 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\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso" Valve Software - vvis.exe (Apr 23 2019) 8 threads reading c:\users\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso.bsp Error opening c:\users\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso.bsp ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vrad.exe" ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\users\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso" -both -final -AllowDynamicPropsAsStatic Valve Software - vrad.exe SSE (Apr 23 2019)       Valve Radiosity Simulator     Command line: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vrad.exe" "-game" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\users\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso" "-ldr" "-final" "-AllowDynamicPropsAsStatic" usage  : vrad [options...] bspfile example: vrad c:\hl2\hl2\maps\test Common options:   -v (or -verbose): Turn on verbose output (also shows more command   -bounce #       : Set max number of bounces (default: 100).   -fast           : Quick and dirty lighting.   -fastambient    : Per-leaf ambient sampling is lower quality to save compute time.   -final          : High quality processing. equivalent to -extrasky 16.   -extrasky n     : trace N times as many rays for indirect light and sky ambient.   -low            : Run as an idle-priority process.   -mpi            : Use VMPI to distribute computations.   -rederror       : Show errors in red.   -vproject <directory> : Override the VPROJECT environment variable.   -game <directory>     : Same as -vproject. Other options:   -novconfig      : Don't bring up graphical UI on vproject errors.   -dump           : Write debugging .txt files.   -dumpnormals    : Write normals to debug files.   -dumptrace      : Write ray-tracing environment to debug files.   -threads        : Control the number of threads vbsp uses (defaults to the #                     or processors on your machine).   -lights <file>  : Load a lights file in addition to lights.rad and the                     level lights file.   -noextra        : Disable supersampling.   -debugextra     : Places debugging data in lightmaps to visualize                     supersampling.   -smooth #       : Set the threshold for smoothing groups, in degrees                     (default 45).   -dlightmap      : Force direct lighting into different lightmap than                     radiosity.   -stoponexit    : Wait for a keypress on exit.   -mpi_pw <pw>    : Use a password to choose a specific set of VMPI workers.   -nodetaillight  : Don't light detail props.   -centersamples  : Move sample centers.   -luxeldensity # : Rescale all luxels by the specified amount (default: 1.0).                     The number specified must be less than 1.0 or it will be                     ignored.   -loghash        : Log the sample hash table to samplehash.txt.   -onlydetail     : Only light detail props and per-leaf lighting.   -maxdispsamplesize #: Set max displacement sample size (default: 512).   -softsun <n>    : Treat the sun as an area light source of size <n> degrees.                    Produces soft shadows.                     Recommended values are between 0 and 5. Default is 0.   -FullMinidumps  : Write large minidumps on crash.   -chop           : Smallest number of luxel widths for a bounce patch, used on edges   -maxchop     : Coarsest allowed number of luxel widths for a patch, used in face interiors   -LargeDispSampleRadius: This can be used if there are splotches of bounced light                           on terrain. The compile will take longer, but it will gather                           light across a wider area.   -StaticPropLighting   : generate backed static prop vertex lighting   -StaticPropPolys   : Perform shadow tests of static props at polygon precision   -OnlyStaticProps   : Only perform direct static prop lighting (vrad debug option)   -StaticPropNormals : when lighting static props, just show their normal vector   -textureshadows : Allows texture alpha channels to block light - rays intersecting alpha surfaces will sample the texture   -noskyboxrecurse : Turn off recursion into 3d skybox (skybox shadows on world)   -nossprops      : Globally disable self-shadowing on static props ** Executing... ** Command: Copy File ** Parameters: "c:\users\gobli\onedrive\desktop\kalypso networks\rp_truenorth_v1a_kalypso.bsp" "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\maps\rp_truenorth_v1a_kalypso.bsp" The command failed. Windows reported the error:   "The system cannot find the file specified." ** Executing... ** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\hl2.exe" ** Parameters: -dev -console -allowdebug -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" +map "rp_truenorth_v1a_kalypso"
The execution parameters are in the wrong order or otherwise messed up, what does your run map configuration look like?
https://files.facepunch.com/forum/upload/472853/8544da67-96f5-4de2-ad1b-80cb534ece49/facepunch1.PNG
For VBSP you need a space between $file and -game Just copy-paste the whole bsp_exe, vis_exe, and light_exe parameters (in text form) here, and I can probably get them in the right order for you.
for bsp_exe I have this: $file-game $gamedir $path\$file -notjunc -AllowDynamicPropsAsStatic -NoDefaultCubemap for vis_exe I have this: -game $gamedir $path\$file for light_exe I have this: -game $gamedir $path\$file -both -final -AllowDynamicPropsAsStatic for copy file I have this: $path\$file.bsp $bspdir\$file.bsp for game_exe I have this: -dev -console -allowdebug -game $gamedir +map $file and I have bsp_exe unchecked since it was like that when I first opened the run map configuration (this is not my map so I figured to keep what was checked checked and what wasn't not
the -game I didn't touch it was like that when I originally opened it so thank you! I will be waiting for a response to save my life!
$bsp_exe -notjunc -AllowDynamicPropsAsStatic -NoDefaultCubemap -game $gamedir $path\$file $vis_exe -game $gamedir $path\$file $light_exe -both -final -AllowDynamicPropsAsStatic -game $gamedir $path\$file That should work.
Thank you so much! I will be sure to let you know if they work, I was told to scrap my project and start a different one. I will be sure to ask for more help if needed but I believe that will work since I don't know much and started a few days ago learning hammer. You are a life saver if that works!
I still get an error of "the specified file cannot be found"
Sorry, you need to Log In to post a reply to this thread.