home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DeathMatch Manifesto
/
DEATHMATCH.ISO
/
walkthru
/
atomic15
/
atomdemo.bat
< prev
next >
Wrap
DOS Batch File
|
1997-01-23
|
4KB
|
161 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"=="0" goto sorry
if "%2"=="1" goto sorry
if "%2"=="2" goto sorry
if "%2"=="3" goto sorry
if "%2"=="4" goto sorry
if "%2"=="5" goto sorry
if "%2"=="6" goto sorry
if "%2"=="7" goto sorry
if "%2"=="8" goto sorry
if "%2"=="9" goto sorry
if "%2"=="00" 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 registered Duke Nukem 3D: Atomic Edition v1.5 directory or else it won't
echo play back!
echo.
echo.
echo If you have problems running this demo or Duke3D in general contact:
echo Steffen Itterheim (aka Duke Addict) 100606.2141@compuserve.com
echo.
echo.
echo Note that although I am co-sysop in Apogee's Compuserve forum:
echo.
echo ***THIS DEMO IS NOT MADE BY OR SUPPORTED BY 3D REALMS***
echo.
echo However feel free to contact me when you have problems and I'll try to
echo help you for the sole reason that I am the author of this file.
echo.
echo Signed: -Duke Addict :)
echo.
echo.
echo Now playing back ATOM%1_%2.DMO, press any key to start...
pause>nul
cls
more < ATOM%1_%2.txt
echo.
pause
cls
duke3d.exe /dATOM%1_%2.DMO
echo Finished Playback...
goto exit
:help
echo.
echo SYNTAX : ATOMDEMO.BAT [Episode #] [Level ##]
echo.
echo example: ATOMDEMO 1 05
echo this will run the demo from Episode 1, Map 5 (E1L5.MAP)
echo ATOMDEMO 4 11
echo this will run the demo from Episode 4, Map 11 (E4L11.MAP)
echo.
goto exit
:sorry
echo.
echo Error: the second parameter has only one digit!
echo If you want to play the demo from Episode 2, Level 8 use this syntax:
echo.
echo ATOMDEMO 2 08
echo note the leading 0 for levels between 1 and 9,
echo this is similar to the DNSCOTTYxyy cheat code!
echo.
echo *****************************************************************************
goto help
:noway
echo.
echo Sorry, this level does not exist: Episode %1, Level %2
echo.
goto exit
:exit