How to set Batch Compiler

Started by PsYxOpAt mapper
07/11/2009 16:08
Page 1 of 1
PsYxOpAt mapper07/11/2009 16:08(edited 10/02/2011 16:42)

In this tutorial I will show how to set Batch Compiler right. You can download it from here: http://nemesis.thewavelength.net/index.php?c=103
Download Installer NOT Archive. After you download and install Batch Compiler (BC) go to Help--->Check for Updates.
Now you have to set the settings.
Open BC, you will see a white window http://er4o.org/gallery/16c879c762673b38dd751f49c5d912bd.png specifications come with Batch Compiler (they can be found under the Specifications menu). They are:
Quake Tools Legacy: The original Quake Tools specification.
Source Tools Advanced: The advanced Source Tools specification. Recommended for experienced users.
SourceTools Normal: The standard Source Tools specification. Recommended for new users.
Zoners Tools Advanced: The advanced Zoners Tools specification. Recommended for experienced users.
Zoners Tools Legacy: The original Zoners Tools specification.
Zoners Tools Normal: The standard Zoners Tools specification. Recommended for new users.

I'm going to use Zoners Tools Advanced , so press Specifications and select Zoners Tools Advanced. You will see 14th small stages: HLFix, Backup, CSG, BSP, VIS, RAD, RAD2, RipEnt, Shared, Opt_EntData, ResGen, Batch, HL and Steam.
Now you see, that there is nothing selected, so we must do it. Select CSG stage from the 1st order and select No WAD Textures, from the 2nd order select WAD Config Path here you must put the path to your wads X:\Games\Valve\Counter-Strike\valve.
From the 3rd order select your WADS from Valve Hammer Editor (VHE). You must have something like me http://er4o.org/gallery/02813218f644a463d92c67aaa3f6eafd.JPG
Now go to BSP stage and select Max Node Sizeand write 8192.0. At Subdivide write 512.0 then deselect the options http://er4o.org/gallery/2798bb28c2f62d1d7e62bd4b1526aadc.JPG
Next is VIS at Max Distance I wrote 20000, but I think you can leave it default.
Select Vis Type and choose FULL.
Go to RAD. Here you must select more options. From the first order select Extra. If you want yo can select and Costum Shadows + Color Costum Shadows. From the second order select Bounce and write 15,16,17... or more. Select and Derect Scale and write 1. From the 3rd order
select Smooth:180(180=max), Fall Off Mode:Inverse Square, Vis Matrix Legacy. http://er4o.org/gallery/b30678d42b322a48d8020d4da5d72ead.JPG In Additional Parametres write -sparse
From RAD2 select Lights File (this is your lights.rad file) you can find it at Valve Hammer Editor/tools.
From RipEnt choose Parse and Operation--->Export.
Now go to Shared and select Chart and Estimate. At Texture Data write 8192 http://er4o.org/gallery/8d8443628f2c97606ca588af3df90eb1.JPG
Next is Batch, here select all fields from the left and middle part http://er4o.org/gallery/692fbecfb70ad9e442f0cf084f64e746.JPG
From HL select Run Map, No Joystick, MOD-cstrike, Heap Size and Particles 100000 (you can set them to more or less) default is 65536). http://er4o.org/gallery/544796d188b7601363b5ed2cea9bec19.JPG
For Steam select Run Map, MOD, Particles-100000, Game-Counter-Strike. http://er4o.org/gallery/24428573c003c9e90c3f04368b5d6d67.JPG
Now from right you can see all stages.Select CSG, BSP, VIS, RAD, RipEnt, Batch, HL (if you have Non-Steam) and Steam (if you have Steam). http://er4o.org/gallery/f65576397a11824361456666af4f91a9.JPG

Now we have a little more work. If you had done all settings right press: Options menu and then choose Setup.
The General tab contains information specific to the editor itself. Its options are:

Opacity: Set the opacity of the program (make it see through).
Log Viewer: Set the program Batch Compiler uses to view LOG files.
Recent Files: Set the number of recent files to store, this is used for both BCP and MAP files.
Associate With: Press the BCP Files button to associate BCP files with the editor. When associated double clicking a Batch Compiler Preset (BCP) file will launch Batch Compiler with that preset loaded.

The Stage Paths tab allows you to set the paths to all the tools used in your current specification. To begin specifying the paths select the BSP tool from the list of tools on your screen.
Once selected the bottom text box on the form changes its caption to read BSP Path its browse button also becomes active as shown below. http://nemesis.thewavelength.net/images/tutorials/bcsetup5.png
You will need to download the latest Zoner's Half Life Tools (ZHLT) version http://zhlt.info/download-zhlt.html Now when you download ZHLT tools put them into some folder and go back into BC.
Now select CSG select browse and find the path to your ZHLT tools. Do the same for VIS, BSP, RAD, RipEnt (RipEnt.exe is located in Power tools folder). After that press HL(if you have Non-Steam), Steam(if you have Steam) and select the path to the .exe should look something like this. http://er4o.org/gallery/de0eb85f6b6164f97f5e9e93366113ed.JPG
Now go to Variables next to Stage paths. You will see two stages Wad Root: (Game directory) e.g. X:\Games\Valve\Counter-Strike NOT X:\Games\Valve\Counter-Strike\cstrike or X:\Games\Valve\Counter-Strike\valve. For some of you it's just X:\Games\Valve
Output: (BSP output directory.) e.g. X:\Games\Valve\Counter-Strike\cstrike\maps. Your form should look something like this, when you're done: http://er4o.org/gallery/81b7c851fb2edff39b4d71aa1ebe5f86.JPG.

When you are done with that press OK and go to BC main screen. Now you must save your bcp file.Go to:File--->Save Preset and write some name for the .bcp file and click save. You saved .bcp file so you don't need to set up the settings again.
When you are done go back to Options--->Setup. Click on the Presets tab. It should look like this: http://nemesis.thewavelength.net/images/tutorials/bcsetup18.png
Now click the Add button and browse to the location you saved your preset to, select it, and open it. The preset will now be added to your list of presets as shown below: http://er4o.org/gallery/9ddc3fe0898e88f0883f579c1ab4ac53.JPG
You can add as many presets as you want here, and remove them latter by simply selecting them and clicking the Remove button.

juanzEEt07/11/2009 23:18

thanks

Very nice tutorial

laoslyxid mapper22/02/2011 00:25(edited 22/02/2011 00:26)

got some problems with ur settings:
Next is VIS at Max Distance I wrote 20000, but I think you can leave it default.

if i put 20000 in it, the hlvis.exe crashes (not responding)
do i run again with 0(is default?) hlvis.exe runs through without problems
hell took ages unitl i figured out that its that why hlvis.exe crashed xD

but still super nice tut! big thx, helped me alot

$+33LBoDy05/05/2014 14:18

Ok ive done a batch file but what is the use of it ???

KarLi mapper05/05/2014 18:08

@ S+33LBoDy
Batch compiler is recommended to use to compile maps with different options and extras :)
its a great programm to compile maps and i believe 75% of the mappers use it.

Page 1 of 1

Please log in to post replies.