If you need more instructions than are provided, please go to http://www.quake3stuff.com/q3me/ instead.

These files have been tested in both W2K and W9x.

They have NOT been tested with Return to Castle Wolfenstein, but they will function when given the proper values.

These batch files are just a refinement of the one originally created by ydnar.

 

Place the batch file into your /maps directory, edit, then just drag and drop your map onto it.

You could then create a shortcut to your maps directory, on a toolbar, or your desktop, for convenience.

 

Using the 8.3 file naming convention is the preferred method. If you wish to use long file names, please make sure they are enclosed in quotes. e.g., “C:/Program Files/Quake III Arena”.

 

This is very easy to use, and also easy to change on the fly. After you set it up the first time, you probably only need to change the LIGHT_VAR once in a while.

You only need to change the information in red after the (=) equal signs. ONLY what is in red.

All you're doing is simple text editing, so don’t freak out.

Please note the direction of the slashes, /, and the lack of a trailing / at the ends of the paths.

 

Name it whatever_you_want .bat. e.g., _compile.bat.

(The underscore ( _ ) is only so it will show up at the top of an alphabetically sorted window)

 

A special thanks to SweetnutZ and Dan_M, my guinea pigs.

If you get an out of environment error: http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;q230205

(512 or 1024 sounds better than 4096, but whatever works…)

 

Cut & Paste the below using notepad, editpad, or any other simple text editor. Make sure the extension is .bat.

See the file without the comments…

 

@echo off

 

rem edit to taste for each compile.

rem note: -v (verbose) is preset in general options, and is applied globally.

set LIGHT_VAR=-light -fast -filter -super -patchshadows -bounce 3

set VIS_VAR=-vis –fast -saveprt

set BSP_VAR=-meta -verboseentities

 

rem edit this if you change your mod. this is the name of your mod’s subdirectory.

rem q3f2 for q3f 2.0 (beta), wfa for Weapons Factory Arena, q3ut2 for Urban Terror…

set MOD_DIR=baseq3

 

rem edit once. note the use of \ & / slashes, and the lack of a trailing / at the end of the paths.

rem c:\progra~1\quakei~1 = “c:\program files\quake iii arena”
set QUAKE_PATH=c:/progra~1/quakei~1

set QUAKE_PATH2=c:\progra~1\quakei~1

set Q3MAP_PATH=%QUAKE_PATH2%/radiant/q3map.exe

 

rem these are general options that will be applied to all 3 command lines. you don’t need to touch.

set GEN_OPTIONS=-fs_basepath %QUAKE_PATH% -fs_game %MOD_DIR% -v

 

rem this is the “program”. don’t touch.

set MAP_PATH=%1

%Q3MAP_PATH% %BSP_VAR% %GEN_OPTIONS% %MAP_PATH%

%Q3MAP_PATH% %VIS_VAR% %GEN_OPTIONS% %MAP_PATH%

%Q3MAP_PATH% %LIGHT_VAR% %GEN_OPTIONS% %MAP_PATH%

 

pause

rem there are other options, but pause is here so you can examine the output. Press any key to continue . . .