access denied

madmanmick

New Adventurer
Joined
Jan 7, 2006
Messages
39
Reaction score
0
hey when i compile my map in hammer, i get an error saying "access denied". Im using the ZHLT tools which are placed in my Hammer folder. Here is the error:

** Executing...
** Command: Change Directory
** Parameters: C:\games\steam\SteamApps\madmanmick\half-life


** Executing...
** Command: Copy File
** Parameters: "C:\games\steam\SteamApps\madmanmick\half-life\hammer\maps\msc_cliffcaves.map" "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves.map"


** Executing...
** Command: C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlcsg.exe
** Parameters: "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"

* Could not execute the command:
C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlcsg.exe "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"
* Windows gave the error message:
"Access is denied."

** Executing...
** Command: C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlbsp.exe
** Parameters: "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"

* Could not execute the command:
C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlbsp.exe "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"
* Windows gave the error message:
"Access is denied."

** Executing...
** Command: C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlvis.exe
** Parameters: "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"

* Could not execute the command:
C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlvis.exe "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"
* Windows gave the error message:
"Access is denied."

** Executing...
** Command: C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlrad.exe
** Parameters: "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"

* Could not execute the command:
C:\games\steam\STEAMA~1\MADMAN~1\HALF-L~3\hammer\zhlt\hlrad.exe "C:\games\steam\SteamApps\madmanmick\half-life\msc\maps\msc_cliffcaves"
* Windows gave the error message:
"Access is denied."

Whats with that? it never used to be a problem...
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Seems like it's trying to write to the directory, rather than the map, but I couldn't be sure as I never use the internal compiling mechanism of Hammer. I strongly suggest not using it. Get ZHLT 3.3, and use a batch compile instead. You'll have more options, more feedback, and a much better (and faster) compile:

ZHLT3: http://www.zhlt.info/

BatchCompiler: http://nemesis.thewavelength.net/index.php?c=103

See also silly example:
Code:
@echo off
set WADROOT=c:\hlmapping\wads
title Compiling %1.bsp
hlcsg -low "%1.map" -nowadtextures
hlbsp -low "%1.map" 
hlvis -low "%1.map"
hlrad -low -estimate -ambient 0.1 0.1 0.1 -bounce 10 -extra "%1.map"
 

J-M v2.5.5

BANNED
BANNED
Joined
Feb 26, 2005
Messages
5,675
Reaction score
1
Age
35
Location
Nijmegen, the Netherlands.
The parameters '-estimate' and -ambient x.x x.x x.x', what do they do? And I think you forgot '-full' at HLVIS (I might be wrong, it's been a while since I wrote a Batch file to compile a Half-Life map).

Edit: Yup, look at an old Batch file I found for an ESF map of mine:
Code:
cd "C:\Hammer\zhlt"
hlcsg "C:\Hammer\maps\jm_colossus.map" -high -wadautodetect
hlbsp "C:\Hammer\maps\jm_colossus.map" -high
hlvis "C:\Hammer\maps\jm_colossus.map" -high -full
hlrad "C:\Hammer\maps\jm_colossus.map" -high -extra
cd "C:\Hammer\maps"
copy jm_colossus.bsp "D:\Mapping Folder\Other Map Files"
copy jm_colossus.bsp "C:\Games\Steam\SteamApps\[email protected]\half-life\esf\maps"
del jm_colossus.lin
del jm_colossus.p0
del jm_colossus.p1
del jm_colossus.p2
del jm_colossus.p3
del jm_colossus.prt
del jm_colossus.wic
pause
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
I trimmed a bunch of stuff out of mine when I posted it, was apparently sloppy in doing so. ;)

Ambient just sets a minimum light level throughout the map - so you don't get pure blackness anywhere. Set kinda high there, actually, "0.01" may work better.
 
Top