Compiling problem (based off tutorial)

Compiling problem (based off tutorial)

Hammer Mapping — Page [1]
danielm
2009 Apr 19 • 4
Using this tutorial
http://www.superjer.com/learn7.php

I copy the stuff in and change it as follows

@echo off
hlcsg -nowadtextures daniel1
hlbsp daniel1
hlvis daniel1
hlrad daniel1
copy daniel1.bsp "F:\Other\Counter Strike\Counter Strike 1.6\cstrike\maps"
cd F:\Other\Counter Strike\Counter Strike 1.6
pause
hl -dev -console -game cstrike +sv_cheats 1 +map daniel1


(my map name is daniel1)
(Yes, counter strike is on my 4 gig USB)
(The directory of it is F:\Other\Counter Strike\Counter Strike 1.6)

Ok, all is fine right?
I run it.

As follows:
hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlcsg -----
Command line: hlcsg -nowadtextures daniel1
Entering daniel1.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ off ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]

0 brushes (totalling 0 sides) discarded from clipping hulls
CreateBrush:
(0.00 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(0.03 seconds)

Error: Could not open wad file \program files\counter strike 1.6\cstrike\cstrike.wad
Error: Could not find WAD file
Description: The compile tools could not locate a wad file that the map was referencing.
Howto Fix: Make sure the wad's listed in the level editor actually all exist



----- END hlcsg -----



hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlbsp -----
Command line: hlbsp daniel1
>> There was a problem compiling the map.
>> Check the file daniel1.log for the cause.

----- END hlbsp -----



hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlvis -----
Command line: hlvis daniel1
>> There was a problem compiling the map.
>> Check the file daniel1.log for the cause.

----- END hlvis -----


I read through it an realise its saying:
Error: Could not open wad file \program files\counter strike 1.6\cstrike\cstrike.wad

So, i copied counter strike to my
C:\program files\
So now it is the following directory
C:\program files\counter strike 1.6\cstrike\cstrike.wad

Then i changed the .bat file to be this:
@echo off
hlcsg -nowadtextures daniel1
hlbsp daniel1
hlvis daniel1
hlrad daniel1
copy daniel1.bsp "C:\program files\counter strike 1.6\cstrike\maps"
cd C:\program files\counter strike 1.6
pause
hl -dev -console -game cstrike +sv_cheats 1 +map daniel1


I run it (yes all files are in zhlt folder).
Exact same error!

Please help!
I want to do it all on my USB if possible

Thankyou for reading.
 
 
 
2009 Apr 19 at 08:12 PDT — Ed. 2009 Apr 19 at 08:13 PDT
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
You have two drives-- C: and F:.

You need to have ZHLT, your CS directory and all WAD files to be on the same drive.
May contain traces of invisible text.
 
 
 
2009 Apr 19 at 08:21 PDT
danielm
2009 Apr 19 • 4
eDan Co. said:
You have two drives-- C: and F:.

You need to have ZHLT, your CS directory and all WAD files to be on the same drive.


they are.

Its all on my USB
My counter strike is in
F:\Other\Counter Strike\Counter Strike 1.6
My ZHLT is here
F:\Other\Counter Strike\Other\zhlt253-17

inside it is my map and the .bat file called daniel1

 
 
 
2009 Apr 19 at 19:07 PDT
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
But where are your wads?
Quote:

\program files\counter strike 1.6\cstrike\cstrike.wad


Doesn't seem to be where CS is installed...
QUACK! QUACK!
 
 
 
2009 Apr 19 at 22:49 PDT — Ed. 2009 Apr 19 at 22:50 PDT
danielm
2009 Apr 19 • 4
Killer-Duck said:
But where are your wads?
Quote:

\program files\counter strike 1.6\cstrike\cstrike.wad


Doesn't seem to be where CS is installed...


exactly
I can physically change the program to look in a different directory, so thats why i tried moving CS to my C:\ so it was in that directory. But it still couldn't find it.

any ideas?
 
 
 
2009 Apr 20 at 02:21 PDT
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
So you have CS on your C: drive and on your USB and you have zhlt and map on your USB, correct?

Now if you want to compile from the C: drive, you have to have everything on the C: drive. So copy your map, zhlt tools and batch file to C: if you don't have them there yet and try again.

Also make sure the .bat file is in the same folder as the compile tools .exe files and the .map file of your map.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2009 Apr 20 at 11:25 PDT — Ed. 2009 Apr 20 at 11:25 PDT
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
Also note, if you've moved around the wads after have added them into Hammer I think you need to re-add them, ("Tools"--->"Options"--->"Textures") then restart Hammer and then re-export your map to .map-file.
QUACK! QUACK!
 
 
 
2009 Apr 20 at 23:06 PDT — Ed. 2009 Apr 20 at 23:23 PDT
danielm
2009 Apr 19 • 4
Thankyou so much!
Turns out the zhlt needed to be in C:/ drive.
I wouldn't of thought of that, cheers guys!

Now to continue and get bored after awhile
 
 
 
2009 Apr 22 at 00:00 PDT
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
danielm said:
Thankyou so much!
Turns out the zhlt needed to be in C:/ drive.
I wouldn't of thought of that, cheers guys!

Now to continue and get bored after awhile


eDan Co. said:
You have two drives-- C: and F:.

You need to have ZHLT, your CS directory and all WAD files to be on the same drive.

QUACK! QUACK!
 
 
 
2009 Apr 22 at 01:02 PDT
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
Seriously, that's the first thing anyone told you... WTF?
May contain traces of invisible text.
 
 
 
2009 Apr 22 at 03:12 PDT
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
Lol that was funny! Do it again!
...and that's the bottom line because Mate de Vita said so.
 
 
 
2009 Apr 22 at 07:41 PDT
Page [1]