home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DeathMatch Manifesto
/
DEATHMATCH.ISO
/
walkthru
/
udoom
/
ultidemo.bat
< prev
next >
Wrap
DOS Batch File
|
1996-10-14
|
3KB
|
130 lines
@echo off
if "%2"=="" goto help
if "%1"=="00" goto noway
if "%1"=="0" goto noway
if "%1"=="5" goto noway
if "%1"=="6" goto noway
if "%1"=="7" goto noway
if "%1"=="8" goto noway
if "%1"=="9" goto noway
if "%1"=="10" goto noway
if "%1"=="11" goto noway
if "%1"=="12" goto noway
if "%1"=="13" goto noway
if "%1"=="14" goto noway
if "%1"=="15" goto noway
if "%1"=="16" goto noway
if "%1"=="17" goto noway
if "%1"=="18" goto noway
if "%1"=="19" goto noway
if "%1"=="20" goto noway
if "%1"=="21" goto noway
if "%1"=="22" goto noway
if "%1"=="23" goto noway
if "%1"=="24" goto noway
if "%1"=="25" goto noway
if "%1"=="26" goto noway
if "%1"=="27" goto noway
if "%1"=="28" goto noway
if "%1"=="29" goto noway
if "%1"=="30" goto noway
if "%1"=="31" goto noway
if "%1"=="32" goto noway
if "%1"=="33" goto noway
if "%1"=="34" goto noway
if "%1"=="35" goto noway
if "%1"=="36" goto noway
if "%1"=="37" goto noway
if "%1"=="38" goto noway
if "%1"=="39" goto noway
if "%1"=="40" goto noway
if "%2"=="00" goto noway
if "%2"=="0" goto noway
if "%2"=="10" goto noway
if "%2"=="11" goto noway
if "%2"=="12" goto noway
if "%2"=="13" goto noway
if "%2"=="14" goto noway
if "%2"=="15" goto noway
if "%2"=="16" goto noway
if "%2"=="17" goto noway
if "%2"=="18" goto noway
if "%2"=="19" goto noway
if "%2"=="20" goto noway
if "%2"=="21" goto noway
if "%2"=="22" goto noway
if "%2"=="23" goto noway
if "%2"=="24" goto noway
if "%2"=="25" goto noway
if "%2"=="26" goto noway
if "%2"=="27" goto noway
if "%2"=="28" goto noway
if "%2"=="29" goto noway
if "%2"=="30" goto noway
if "%2"=="31" goto noway
if "%2"=="32" goto noway
if "%2"=="33" goto noway
if "%2"=="34" goto noway
if "%2"=="35" goto noway
if "%2"=="36" goto noway
if "%2"=="37" goto noway
if "%2"=="38" goto noway
if "%2"=="39" goto noway
if "%2"=="40" goto noway
if "%2"=="41" goto noway
if "%2"=="42" goto noway
if "%2"=="43" goto noway
if "%2"=="44" goto noway
if "%2"=="45" goto noway
if "%2"=="46" goto noway
if "%2"=="47" goto noway
if "%2"=="48" goto noway
if "%2"=="49" goto noway
if "%2"=="50" goto noway
cls
echo Be sure to have this batch file and the appropriate demo file in your
echo Ultimate DOOM v1.9 directory or else it won't play back!
echo.
echo.
echo If you have problems running this demo contact:
echo Steffen Itterheim (aka Duke Addict) 100606.2141@compuserve.com
echo.
echo.
echo.
echo Now playing back ULTIDM%1%2.LMP, press any key to start...
pause>nul
cls
more < ultidm%1%2.txt
echo.
pause
cls
doom.exe -playdemo ultidm%1%2
echo Finished Playback...
goto exit
:help
echo.
echo SYNTAX : DOOMDEMO.BAT [Episode #] [Map #]
echo.
echo example: DOOMDEMO 1 5
echo this will run the demo from Episode 1, Map 5 (E1M4)
echo DOOMDEMO 3 9
echo this will run the demo from Episode 3, Map 9 (E3M9)
echo.
goto exit
:noway
echo.
echo Sorry, this level does not exist: Episode %1, Map %2
echo.
goto exit
:exit