cod4-sdk/bin/CoD4CompileTools/cod4compiletools_runmap.bat

17 lines
377 B
Batchfile
Raw Permalink Normal View History

2008-01-19 00:00:00 +00:00
@ECHO OFF
set treepath=%~1
set mapname=%2
set mpmap=%3
set cmdOptions=%~4
set exeName=iw3sp.exe
if "%mpmap%" == "1" (
set exeName=iw3mp.exe
)
cd %treepath%
echo %exeName% +set logfile 2 +set monkeytoy 0 +set com_introplayed 1 +devmap %mapname% %cmdOptions%
%exeName% +set logfile 2 +set monkeytoy 0 +set com_introplayed 1 +devmap %mapname% %cmdOptions%
cls