Hammer is not compiling my map... Need help.

Hi, I need some help troubleshooting this problem with hammer map editor. I have never had this before, only recently. I am making a new map for my Garry’s Mod server and it says (The command failed. Windows reported the error:
“The system cannot find the file specified.”) I don’t know what the problem is. Could someone please help. Here is the error log.

** Executing…
** Command: “E:\SteamGames\steamapps\common\Counter-Strike Source\bin\vbsp.exe”
** Parameters: -game -notjunc “E:\SteamGames\steamapps\common\Counter-Strike Source\cstrike” “c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag”

Warning: falling back to auto detection of vproject directory.
Unable to find gameinfo.txt. Solutions:

  1. Read http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
  2. Run vconfig to specify which game you’re working on.
  3. Add -game <path> on the command line where <path> is the directory that gameinfo.txt is in.

Unable to find gameinfo.txt. Solutions:

  1. Read http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
  2. Run vconfig to specify which game you’re working on.
  3. Add -game <path> on the command line where <path> is the directory that gameinfo.txt is in.

** Executing…
** Command: “E:\SteamGames\steamapps\common\Counter-Strike Source\bin\vvis.exe”
** Parameters: -game “E:\SteamGames\steamapps\common\Counter-Strike Source\cstrike” “c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag”

Valve Software - vvis.exe (May 15 2014)
2 threads
reading c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag.bsp
Error opening c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag.bsp

** Executing…
** Command: “E:\SteamGames\steamapps\common\Counter-Strike Source\bin\vrad.exe”
** Parameters: -game “E:\SteamGames\steamapps\common\Counter-Strike Source\cstrike” “c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag”

Valve Software - vrad.exe SSE (May 14 2014)

  Valve Radiosity Simulator     

2 threads
[Reading texlights from ‘lights.rad’]
[2 texlights parsed from ‘lights.rad’]

Loading c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag.bsp
Error opening c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag.bsp

** Executing…
** Command: Copy File
** Parameters: “c:\users\leonardo818\desktop\rp_downtown_v4c_v2_ag.bsp” “C:\Users\Leonardo818\Documents\rp_downtown_v4c_v2_ag.bsp”

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

For one reason or another your vproject is not being set or has not been set to CSS which is in turn causing vbsp to fail it would seem. Run the hammer.bat and see if that fixes it.

I have tried that, same error. I have even reinstalled my pc’s windows.

** Executing…
** Command: “G:\Steam\steamapps\common\Counter-Strike Source\bin\vbsp.exe”
** Parameters: -game -notjunc “G:\Steam\steamapps\common\Counter-Strike Source\cstrike” “c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming”

Valve Software - vbsp.exe (Aug 30 2013)
Command line: “G:\Steam\steamapps\common\Counter-Strike Source\bin\vbsp.exe” “-game” “-notjunc” “G:\Steam\steamapps\common\Counter-Strike Source\cstrike” “c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming”

usage : vbsp [options…] mapfile
example: vbsp -onlyents c:\hl2\hl2\maps est

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 mp 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: “G:\Steam\steamapps\common\Counter-Strike Source\bin\vvis.exe”
** Parameters: -game “G:\Steam\steamapps\common\Counter-Strike Source\cstrike” “c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming”

Valve Software - vvis.exe (Aug 27 2013)
2 threads
reading c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming.bsp
Error opening c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming.bsp

** Executing…
** Command: “G:\Steam\steamapps\common\Counter-Strike Source\bin\vrad.exe”
** Parameters: -game “G:\Steam\steamapps\common\Counter-Strike Source\cstrike” “c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming”

Valve Software - vrad.exe SSE (Sep 16 2013)

  Valve Radiosity Simulator     

2 threads
[Reading texlights from ‘lights.rad’]
[2 texlights parsed from ‘lights.rad’]

Loading c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming.bsp
Error opening c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming.bsp

** Executing…
** Command: Copy File
** Parameters: “c:\users\leona\documents\rp_downtown_v4c_v2_aperture_gaming.bsp” “G:\Steam\steamapps\common\Counter-Strike Source\cstrike\maps\rp_downtown_v4c_v2_aperture_gaming.bsp”

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

[editline]25th July 2015[/editline]

Thanks for the help, stupid me. It was the map. I went back to a previous version of my map and I got an error log unlike what was popping up in the log there. Thanks anyways. :slight_smile: