Help with notepad

Help with notepad

Hammer Mapping — Page [1] 2
Soul13lade
2007 Dec 28 • 15
1 ₧
i followed your tutorial and when i open up the file it does nothing can you help me out?

@echo off
hlcsg -nowadtextures First_Map
hlbsp First_Map
hlvis First_Map
hlrad First_Map
copy First_Map.bsp "C:Program files\Steam\SteamApps\Skittlezbeef16\counter-strike\cstrike\maps"
pause
"C:Program files\Steam\Steam.exe" -applaunch 10 -dev +sv_cheats 1 +map First_Map
 
 
 
2007 Dec 28 at 02:46 PST
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
did you change the file's extension to *.bat?

is it in the right folder?

when you say "nothing happens", it opens but doesn't compile? what DOES happen?

please elaborate. XD
May contain traces of invisible text.
 
 
 
2007 Dec 28 at 03:34 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
yes it is a .bat file it is in the folder with ZHLT but when i open it up it doesnt compile just opens up notepad
 
 
 
2007 Dec 28 at 11:10 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
Ah, you might have changed your file associations to open it with notepad...

Open a command prompt, give the full path to the *.bat file (eg "C:\Documents and Settings\your username\My Maps\My_map.bat"). If you're running Vista then obviously it'll be under C:\Users. If the path has spaces in it then you will need quotes around it.
 
 
 
2007 Dec 28 at 19:26 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
ok well im a little confused on how to do it. I opened the command prompt and it has the begining C:\Documents and Settings\Kyle>
but the file with the .bat file isnt in documents and settings its in C:\ZHLT\First_map.bat
I tried typing in the command prompt the real location after the part it always has but that just gives me an error saying its not recognized as an internal or external command im pretty sure im doing something wrong just i dont know what it is can you tell me.
 
 
 
2007 Dec 29 at 13:42 PST
melloyellow582
The Original Portmanteau

Brisk.
2005 Mar 21 • 12862
666 ₧
well, what im thinking the problem is, is that you arnt able to view regular file types. you need to:
You need to disable extension hiding in Windows.

All you have to do is click Tools -> Folder Options on the menu bar of an open folder. Then click the View tab on the window that pops up. Locate "Hide extensions for known file types" and make sure it is NOT checked. Then click OK and you're done!

taken straight out of the tutorial baby.
 
 
 
2007 Dec 30 at 00:09 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
well i did what you said and hide extensions but then when i tried to open up the .bat file again all it did ounce again was open up notepad
 
 
 
2007 Dec 30 at 15:49 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
You don't want to hide the extensions, you want to show them...

If that still doesn't work try using the command prompt, give the command

CD C:\ZHLT\

then type First_map.bat
If mellow is right, however, it might not have that name... you could always try "First_map.bat.txt" but I don't know how that would work out.
 
 
 
2007 Dec 30 at 18:28 PST
SuperJer
Websiteman

2005 Mar 20 • 6629
It sounds like you didn't UNcheck the Hide Extensions option. If you uncheck it you'd see your file is really named "First_Map.bat.txt" and that's why it opens in notepad.
 
 
 
2008 Jan 1 at 14:02 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
what i meant is i unhide it i typed it wrong but then i did the command prompt command and ounce again all it opened was the notepad i have no idea whats wrong with it but can you guys find what it
 
 
 
2008 Jan 2 at 19:01 PST
SuperJer
Websiteman

2005 Mar 20 • 6629
If it is opening in Notepad, then it is NOT names something.bat

It is named something.bat.txt or just something.txt
 
 
 
2008 Jan 4 at 11:16 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
thanks alot yea im stupid for not understanding that my bad but thank you a whole lot it worked.
 
 
 
2008 Jan 5 at 13:25 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
alrite well i just tried to compile it and at the end it says
The system cannot find the path specified
0 files copied
then the press any key to continue i was just wondering if thats anything bad cause when i press any key after you said counter strike should load the map but it doesnt i also dont get a .err file in the folder so thats not the problem
 
 
 
2008 Jan 5 at 13:36 PST
melloyellow582
The Original Portmanteau

Brisk.
2005 Mar 21 • 12862
666 ₧
sounds like you put in the wrong path into your maps folder. double check that path actually exists.
 
 
 
2008 Jan 5 at 14:41 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
wait im a little bit confused in how to check if the path is right.
 
 
 
2008 Jan 6 at 00:21 PST
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
Just copy the map to the cstrike/maps folder maually
Free Steam Games
 
 
 
2008 Jan 6 at 01:02 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
well i dont know what moving the map into the cstrike maps folder would do in the first place but i did it and its still saying the say same thing
 
 
 
2008 Jan 6 at 01:17 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
ok well i got that map to work but i made another one recently and when i compile it it creates the .err file when i looked at the log under hlbsp it gives the error cannot open Box_of_Death.po how do i fix this?
 
 
 
2008 Jan 6 at 01:31 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
just wondering if anyones even been looking at this hopeing to get a reply someday
 
 
 
2008 Jan 17 at 14:37 PST
SuperJer
Websiteman

2005 Mar 20 • 6629
That error means that HLBSP didn't finish for some reason. Look in the .log for an earlier error from HLBSP.
 
 
 
2008 Jan 17 at 14:49 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
there was no error earlier its the first one on the page but heres the whole log

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 Box_of_Death
Error: Can't open Box_of_Death.p0

----- 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 Box_of_Death
>> There was a problem compiling the map.
>> Check the file Box_of_Death.log for the cause.

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



hlrad 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 hlrad -----
Command line: hlrad Box_of_Death
>> There was a problem compiling the map.
>> Check the file Box_of_Death.log for the cause.

----- END hlrad -----



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 Box_of_Death
>> There was a problem compiling the map.
>> Check the file Box_of_Death.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 Box_of_Death
>> There was a problem compiling the map.
>> Check the file Box_of_Death.log for the cause.

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



hlrad 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 hlrad -----
Command line: hlrad Box_of_Death
>> There was a problem compiling the map.
>> Check the file Box_of_Death.log for the cause.

----- END hlrad -----



 
 
 
2008 Jan 20 at 19:14 PST
SuperJer
Websiteman

2005 Mar 20 • 6629
You are not even running HLCSG. It has to be run first. What does your batch file look like?

Also you are running HLBSP, HLVIS, and HLRAD twice each (bad).
 
 
 
2008 Jan 21 at 01:14 PST
Soul13lade
2007 Dec 28 • 15
1 ₧
alright well i dont know why hlcsg isnt running because its in the file everything else is and what exactly is the batch file?
 
 
 
2008 Jan 23 at 08:34 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2008 Jan 23 at 18:18 PST
SuperJer
Websiteman

2005 Mar 20 • 6629
Please post the contents of your batch (.bat) file.
 
 
 
2008 Jan 24 at 12:14 PST
Page [1] 2