This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Rotating Maps"
From BZFlagWiki
(formatting) |
(finish off the windows part) |
||
Line 1: | Line 1: | ||
== Windows == | == Windows == | ||
− | + | All paths should be in 8.3 notation e.g. progra~1 not program files | |
− | + | Don't forget to add -g and -time <secs> to your config files. | |
+ | Press CTRL-C twice and "y" to answer "Terminate Batch Job (y/n)?" to exit. | ||
− | + | You will probably need to edit the paths to the bzfs binary and your configuration files. | |
− | + | ||
− | + | ||
− | + | @ECHO OFF | |
− | + | ||
− | + | BREAK ON | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | SET BZFSPATH=c:\progra~1\bzflag~1.2\bzfs.exe | |
IF "%1" == "" SET CONFDIR=c:\your\path\to\conf\files | IF "%1" == "" SET CONFDIR=c:\your\path\to\conf\files |
Revision as of 00:10, 20 February 2007
Windows
All paths should be in 8.3 notation e.g. progra~1 not program files
Don't forget to add -g and -time <secs> to your config files.
Press CTRL-C twice and "y" to answer "Terminate Batch Job (y/n)?" to exit.
You will probably need to edit the paths to the bzfs binary and your configuration files.
@ECHO OFF
BREAK ON SET BZFSPATH=c:\progra~1\bzflag~1.2\bzfs.exe IF "%1" == "" SET CONFDIR=c:\your\path\to\conf\files IF NOT "%1" == "" SET CONFDIR=%1 :loop_top ECHO. FOR %%b IN (%CONFDIR%\*.conf) DO %BZFSPATH% -conf %%b ECHO "Reached end of rotation, starting over. GOTO loop_top