Compile Errors?

When compiling some tests for lighting in Hammer, the map compiles and the game launches, bringing me to the Main Menu of Black Mesa. When I attempt to load it in console, it gives me a red error saying that there is no such map.

Here is the compile data:
** Executing…
** Command: “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vbsp.exe”
** Parameters: -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”

  • Could not execute the command:
    “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vbsp.exe” -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”
  • Windows gave the error message:
    “Access is denied.”

** Executing…
** Command: “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vvis.exe”
** Parameters: -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”

  • Could not execute the command:
    “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vvis.exe” -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”
  • Windows gave the error message:
    “Access is denied.”

** Executing…
** Command: “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vrad.exe”
** Parameters: -both -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”

  • Could not execute the command:
    “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vrad.exe” -both -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”
  • Windows gave the error message:
    “Access is denied.”

** Executing…
** Command: Copy File
** Parameters: “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls.bsp” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls.bsp”

** Executing…
** Command: c:\program files (x86)\steam\steam.exe
** Parameters: -applaunch 218 -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” +map “halls”

Any advice on how to fix the errors I’m getting would be awesome.

That’s because none of the compile programs are running, your OS is giving you a permissions denial at each stage of the compile.

Try restarting steam and see if that helps. I can recall a few times where my compiler tools wouldn’t run either and just restarting the whole program helped. If that doesn’t work, look into running Hammer as Administrator (you can do so by right-clicking on your SourceSDK launcher).

Thank you for your reply. I am currently still getting the same error in BMS even when ran as Admin and steam and my system is restarted.
maxplayers set to 1
Steam config directory: C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2007\platform\config
Legacy Surround disabled.
exec: couldn’t exec userconfig.cfg
CModelLoader::Map_IsValid: No such map ‘maps/halls.bsp’
map load failed: halls not found or invalid

Is the maps directory of your BMS install set to “Read Only” by windows?

It is.

Well there’s the problem then - uncheck that and you should be fine. :stuck_out_tongue:

When read only is off, the map will still not load.

** Executing…
** Command: “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vbsp.exe”
** Parameters: -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”

  • Could not execute the command:
    “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vbsp.exe” -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”
  • Windows gave the error message:
    “Access is denied.”

** Executing…
** Command: “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vvis.exe”
** Parameters: -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”

  • Could not execute the command:
    “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vvis.exe” -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”
  • Windows gave the error message:
    “Access is denied.”

** Executing…
** Command: “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vrad.exe”
** Parameters: -both -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”

  • Could not execute the command:
    “C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vrad.exe” -both -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls”
  • Windows gave the error message:
    “Access is denied.”

** Executing…
** Command: Copy File
** Parameters: “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls.bsp” “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS\maps\halls.bsp”

** Executing…
** Command: c:\program files (x86)\steam\steam.exe
** Parameters: -applaunch 218 -game “C:\Program Files (x86)\Steam\SteamApps\sourcemods\BMS” +map “halls”

Check the other parts of the directory, it could be set as read-only further up the line. Check sourcemods, then steamapps, then steam, as necessary. Then do the process in reverse to confirm that the read-only flag remains off.

Everything is now correctly not read only, however the map still will not load.

Are you having trouble loading the map in-game, or compiling the map?

If In-Game:
The engine isn’t finding your BSP because VBSP didn’t compile your map. Now that the filepaths are no longer read-only, try recompiling.

In Hammer, check the address to the compile programs. From what I read in your transcripts it says: …\source2 007…, should it not be \source 2007\ ?

I noticed that as well, but if you quote it, the path is fine. I think the forum goofs up formatting, as I’ve seen that before.

I did attempt to fix this, the path looks normal in hammer, however the compile is still failing to compile.

cannot load chapters in half-life 2

Fixed[/SIZE]

A fact of life is that hammer is kind of buggy. I’m sure it’ll be fixed eventually, but until then, try moving your files to another directory.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.