Batch Compiler Setup (Half-Life) - NemPosted: May 26th, 2003 - 10:43:23 pm

Just downloaded Batch Compiler and don't know what the hell to do with it? This little tutorial should cover everything you need to know from how to set it up to how to compile your first map.

First things first, if you don't already have the program head over to the downloads page, pick it up and install it. The installer is a standard Windows installer so I will leave that to your imagination.

Once you have installed Batch Compiler start the program up. If you get an error when you run it then you need the .NET framework which is linked to on the downloads page. Batch Compiler should look like this when you start it up:

Batch Compiler At Startup

Now some of you may have noticed that there are no controls for compiling your map on the form. This is because Batch Compiler 3.0.0 (and up) work with Batch Compiler Specification (BCS) files. These wonderful dynamic configuration files allow you to use Batch Compiler to compile just about anything that makes use of a batch file, be it a Half-Life map (which this tutorial works on), a map for another game, or even such things as applications.

Six 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 experianced users.
  • SourceTools Normal: The standard Source Tools specification. Recommended for new users.
  • Zoners Tools Advanced: The advanced Zoners Tools specification. Recommended for experianced users.
  • Zoners Tools Legacy: The original Zoners Tools specification.
  • Zoners Tools Normal: The standard Zoners Tools specification. Recommended for new users.

You're welcome to use any specification you wish, I would, however, recommend the Zoners Tools Normal specification because if you are reading this, you are probably a new user. You can always upgrade to the Zoners Tools Advanced specification latter. If you are reading this tutorial you are setting Batch Compiler up for Half-Life mapping so make sure you pick one of the specifications that has the word Half-Life in it. To load the specification simply click it in the Specifications menu. Your screen should look like this:

Zoners Tools Normal Specification

Now that we have the specification open, we need to proceed to set Batch Compiler up to use it. In the Options menu click the Setup button. Your screen should look like this:

Options Form - General Tab

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 BCP (Batch Compiler Preset) file will launch Batch Compiler with that preset loaded.

When you first start Batch Compiler, Batch Compiler will try to find NotePad using system path variables and set it as your Log Viewer. If your Log Viewer is not set you will have to manually browse for an appropriate application. Some appropriate standard windows applications include NotePad and WordPad.

Once you are happy with your settings in the General tab, move over to the Stage Paths tab. Your screen should look like this:

Options Form - Stage Paths Tab

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:

The Stage Paths tab allows you to set the paths to all the tools used in your current specification. Because we are using the Zoners Tools Normal specification file we will first need these tools on our hard drive. If you do not already have Zoners Tools you can download the latest version here or find it in the Mapping Tools pack available here. Note: the Zoners Tools Normal and Zoners Tools Advanced specifications make use of Zoners Tools v3.0.0 and up.

Once you have the tools we can continue with the tutorial. To begin specifying the paths select the CSG tool from the list of tools on your screen. Once selected the bottom text box on the form changes its caption to read CSG Path, its browse button also becomes active as shown below:

Options Form - Stage Paths Tab

Now simply press the browse button (the button with the three dots) and browse to the file located on your hard drive. Continue this process for all the reaming tools. Your screen should look something like this:

Options Form - Stage Paths Tab

Once you are happy with your settings in the Stage Paths tab, move over to the Variables tab. Your screen should look like this:

Options Form - Variables Tab

The Variables tab allows you to set the paths to various other resources used in your current specification. These paths are set in a similar mannor to those of the Stage Paths tab and should be set as follows:

WADRoot: (Game directory.)

  • Half-Life: ...\Steam\SteamApps\address@host.com\half-life
  • Day of Defeat (Official MODs): ...\Steam\SteamApps\address@host.com\day of defeat
  • Natural Selection (3rd Party MODs): ...\Steam\SteamApps\address@host.com\half-life

Output: (BSP output directory.)

  • Half-Life: ...\Steam\SteamApps\address@host.com\half-life\valve\maps
  • Day of Defeat (Official MODs): ...\Steam\SteamApps\address@host.com\day of defeat\dod\maps
  • Natural Selection (3rd Party MODs): ...\Steam\SteamApps\address@host.com\half-life\ns\maps

Your form should look something like this when you're all done:

Options Form - Variables Tab

Once you are happy with your paths click the OK button to return to Batch Compiler's main screen. We are now going to go through the steps for creating a generic "Full" compile preset which you can use for all your maps. Please continue to the next page.

Modified: Mar 24th, 2005 - 6:13:26 pm[ 76414 Views ]

[ 1 2 3 4 ]

1. DivinePosted: Oct 5th, 2004 - 7:17:27 pm

my thing is broken


2. DivinePosted: Oct 5th, 2004 - 7:18:50 pm

When i start ms dos it just sys that same introduction and than it just stops ive made a map before it used to work i dont know what happned. please help

3. BluefangPosted: Oct 6th, 2004 - 12:23:24 pm

first, make sure that you have all of the paths set up correctly

second, make sure that you have the correct settings for each of the compile tools

third, make sure that you do not have any errors in the DOS window.

if you can, copy the contents of the DOS window and paste it here.


if all else fails, try using the HL-Compiled installer (also on the Batch Compiler download page). this will install the Batch Compiler, the latest compile tools, and will set it all up for you. the only thing you need to do is to select the map and press run.

4. mR.sPANKYPosted: Feb 8th, 2005 - 2:55:46 pm
Hey nems would you be able to make some new setup tutorials for the new batch compiler because I have no idea what the variables tab is for and there is no longer any input output tabs in the setup.

5. NemModified: Feb 8th, 2005 - 5:39:04 pm
I'll try to update these tutorials soon, but for now:

The "Variables" tab basically replaces the Input and Ouput path in a more flexible way. For Half-Life specifications there are two fields, these are:
  1. WADRoot: The same as the Input Path in this tutorial.
  2. Output: The same as the Output Path in this tutorial.
For the Source specifications there are three fields, these are:
  1. BinRoot: The path to your bin folder in the sdk (where all the tools are located).
  2. ValveProject: The path to the folder your GameInfo.txt file is in.
  3. Output: The path to the folder to copy your .bsp files to. More less the same as the Output Path in this tutorial.

6. HeAdCrAb KILLAPosted: Apr 27th, 2005 - 1:25:58 pm
When I go to compile my MAP the DOS window (the black one) tells me I have an ERROR and to refer to the LOG text file to find the ERROR. There are NO ERRORS in the LOG file! WTF!!! Need help! - HeAdCrAb KILLA

7. NemPosted: Apr 27th, 2005 - 1:40:15 pm
From within Batch Compiler, go File->View Log File to view your log file. If that doesn't work, try reading the console output to see what the error is.

8. HeAdCrAb KILLAPosted: Apr 27th, 2005 - 3:35:52 pm
I cannot find ANY ERROR reading in the LOG file. The last time I tried compiling in Hammer, an ERROR came up "access is denied," but I don't kno if that has anything to do with this. How do I view this "console?" - HeAdCrAb KILLA

9. NemPosted: Apr 27th, 2005 - 3:56:49 pm
The console is the thing that is telling you to view your log file. Right click on the console and select the text, the pres enter to copy it and paste it here.

10. BluefangPosted: Apr 28th, 2005 - 2:25:03 pm
"The last time I tried compiling in Hammer, an ERROR came up "access is denied," but I don't kno if that has anything to do with this."

sounds like some of your paths are incorrectly setup.

11. Black-DroolPosted: Jul 18th, 2005 - 9:23:13 pm
I love maps, I have made about 25, and don't know much about compiling... :) I really need help. With a nubish username like myself prepare to be annoyed by me!

;)

Help me with "Ripent" What is that?

Where can i find that, and also, you said an MS-DOS screen pops up can compiles ur map... does the MS-DOS screen stay there? or does it quickly disappear and compile unseen?

12. NemPosted: Jul 18th, 2005 - 10:44:34 pm
The only essential stages are CSG, BSP, VIS and RAD.

RipEnt is used for hand editing entities when either the .rmf source is not available or you don't want to recompile.

The DOS window will stay open until you close it, if you have pause enabled in the options menu. You can close Batch Compiler while you are compiling though.

13. Black-DroolPosted: Jul 19th, 2005 - 12:28:59 pm
So wait, what are those "recent Files" for? what do they do, and also my MS-DOS screen pops up for like 1 milisecond then dis-appears, how do I fix that?

happy

14. NemPosted: Jul 19th, 2005 - 11:30:53 pm
They are files you recently opened?

shrug

Your console screen should remain open if "Pause Console" is enabled in the "Options" menu and you have at least on stage checked to run (on the right). If there is a problem with it you might want to run the compile.bat file BC generates (in your Batch Compiler directory) from an MS DOS command prompt to see what the problem is.

15. Black-DroolPosted: Jul 21st, 2005 - 8:53:06 pm
I get this error when I do everything correctly:

Error creating batch script

Error: Outputpath it either not set, or invalid.

What do I do?hiding

[ 1 2 3 4 ]

You must be logged in to post a comment.
New users can register here.
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.022648s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS
π