Thursday, June 2, 2011


So you have made your cs map and want to test it, but you are unable to compile it correctly, well today I am going to teach you how you can compile you cs map its very easy to compile btw.

So lets start

1. First you need to download Zhlt compiler

You can download it from HERE
(File is password protected, password is taqi)

2. Extract Zhlt folder on your desktop

3. Now open your map file (.rmf) in Valve hammer Editor

4. Click on File menu and than click on Export to .MAP

 Export it in Zhlt folder (which is located on your desktop), and name it mymap.

5. Now in Zhlt folder we need to create a text file, so right click and than New and click on Text Document

6. Now open this text file and paste the below code in it

@echo off
hlcsg -nowadtextures mymap
hlbsp mymap
hlvis mymap
hlrad mymap
copy mymap.bsp "C:\Program Files\Valve\cstrike\maps"
cd "C:\Program Files\Valve"
hl -dev -console -game cstrike +sv_cheats 1 +mapmymap

In line # 6 and 7 replace the game path according to your game, and save it

 Now we have to convert this text file into .bat (Batch file)

7. So right click on  it and click on Rename or simply press F2

At this point you should see the file name along with its extention i.e. mymap.txt

If you are unable to see .txt than please refer to this POST than come back here

8. If you are able to see the extension, than just replace the .txt with .bat, and hit enter

After renaming the file icon will change like this

Now double click on mymap.bat file and it will start compiling you map and at the end you should see a mesage  "Press any key to continue".

After compiling, it will automatically start cs using your map. If it doesn't than manually start cs and click on New Game Select your map and click on start

1 comment: