home *** CD-ROM | disk | FTP | other *** search
/ DeathMatch Manifesto / DEATHMATCH.ISO / walkthru / atomic15 / atomdemo.bat < prev    next >
DOS Batch File  |  1997-01-23  |  4KB  |  161 lines

  1. @echo off
  2.  
  3. if "%2"=="" goto help
  4.  
  5. if "%1"=="00" goto noway
  6. if "%1"=="0" goto noway
  7.  
  8. if "%1"=="5" goto noway
  9. if "%1"=="6" goto noway
  10. if "%1"=="7" goto noway
  11. if "%1"=="8" goto noway
  12. if "%1"=="9" goto noway
  13. if "%1"=="10" goto noway
  14. if "%1"=="11" goto noway
  15. if "%1"=="12" goto noway
  16. if "%1"=="13" goto noway
  17. if "%1"=="14" goto noway
  18. if "%1"=="15" goto noway
  19. if "%1"=="16" goto noway
  20. if "%1"=="17" goto noway
  21. if "%1"=="18" goto noway
  22. if "%1"=="19" goto noway
  23. if "%1"=="20" goto noway
  24. if "%1"=="21" goto noway
  25. if "%1"=="22" goto noway
  26. if "%1"=="23" goto noway
  27. if "%1"=="24" goto noway
  28. if "%1"=="25" goto noway
  29. if "%1"=="26" goto noway
  30. if "%1"=="27" goto noway
  31. if "%1"=="28" goto noway
  32. if "%1"=="29" goto noway
  33. if "%1"=="30" goto noway
  34. if "%1"=="31" goto noway
  35. if "%1"=="32" goto noway
  36. if "%1"=="33" goto noway
  37. if "%1"=="34" goto noway
  38. if "%1"=="35" goto noway
  39. if "%1"=="36" goto noway
  40. if "%1"=="37" goto noway
  41. if "%1"=="38" goto noway
  42. if "%1"=="39" goto noway
  43. if "%1"=="40" goto noway
  44.  
  45. if "%2"=="0" goto sorry
  46. if "%2"=="1" goto sorry
  47. if "%2"=="2" goto sorry
  48. if "%2"=="3" goto sorry
  49. if "%2"=="4" goto sorry
  50. if "%2"=="5" goto sorry
  51. if "%2"=="6" goto sorry
  52. if "%2"=="7" goto sorry
  53. if "%2"=="8" goto sorry
  54. if "%2"=="9" goto sorry
  55.  
  56. if "%2"=="00" goto noway
  57. if "%2"=="12" goto noway
  58. if "%2"=="13" goto noway
  59. if "%2"=="14" goto noway
  60. if "%2"=="15" goto noway
  61. if "%2"=="16" goto noway
  62. if "%2"=="17" goto noway
  63. if "%2"=="18" goto noway
  64. if "%2"=="19" goto noway
  65. if "%2"=="20" goto noway
  66. if "%2"=="21" goto noway
  67. if "%2"=="22" goto noway
  68. if "%2"=="23" goto noway
  69. if "%2"=="24" goto noway
  70. if "%2"=="25" goto noway
  71. if "%2"=="26" goto noway
  72. if "%2"=="27" goto noway
  73. if "%2"=="28" goto noway
  74. if "%2"=="29" goto noway
  75. if "%2"=="30" goto noway
  76. if "%2"=="31" goto noway
  77. if "%2"=="32" goto noway
  78. if "%2"=="33" goto noway
  79. if "%2"=="34" goto noway
  80. if "%2"=="35" goto noway
  81. if "%2"=="36" goto noway
  82. if "%2"=="37" goto noway
  83. if "%2"=="38" goto noway
  84. if "%2"=="39" goto noway
  85. if "%2"=="40" goto noway
  86. if "%2"=="41" goto noway
  87. if "%2"=="42" goto noway
  88. if "%2"=="43" goto noway
  89. if "%2"=="44" goto noway
  90. if "%2"=="45" goto noway
  91. if "%2"=="46" goto noway
  92. if "%2"=="47" goto noway
  93. if "%2"=="48" goto noway
  94. if "%2"=="49" goto noway
  95. if "%2"=="50" goto noway
  96.  
  97. cls
  98. echo Be sure to have this batch file and the appropriate demo file in your
  99. echo registered Duke Nukem 3D: Atomic Edition v1.5 directory or else it won't
  100. echo play back!
  101. echo.
  102. echo.
  103. echo If you have problems running this demo or Duke3D in general contact:
  104. echo    Steffen Itterheim (aka Duke Addict) 100606.2141@compuserve.com
  105. echo.
  106. echo.
  107. echo Note that although I am co-sysop in Apogee's Compuserve forum:
  108. echo.
  109. echo    ***THIS DEMO IS NOT MADE BY OR SUPPORTED BY 3D REALMS***
  110. echo.
  111. echo However feel free to contact me when you have problems and I'll try to
  112. echo help you for the sole reason that I am the author of this file.
  113. echo.
  114. echo    Signed: -Duke Addict :)
  115. echo.
  116. echo.
  117. echo         Now playing back ATOM%1_%2.DMO, press any key to start...
  118. pause>nul
  119.  
  120. cls
  121. more < ATOM%1_%2.txt
  122. echo.
  123. pause
  124. cls
  125.  
  126. duke3d.exe /dATOM%1_%2.DMO
  127.  
  128. echo Finished Playback...
  129. goto exit
  130.  
  131. :help
  132. echo.
  133. echo SYNTAX : ATOMDEMO.BAT [Episode #] [Level ##]
  134. echo.
  135. echo example: ATOMDEMO 1 05
  136. echo                 this will run the demo from Episode 1, Map 5 (E1L5.MAP)
  137. echo          ATOMDEMO 4 11
  138. echo                 this will run the demo from Episode 4, Map 11 (E4L11.MAP)
  139. echo.
  140. goto exit
  141.  
  142. :sorry
  143. echo.
  144. echo Error: the second parameter has only one digit!
  145. echo        If you want to play the demo from Episode 2, Level 8 use this syntax:
  146. echo.
  147. echo          ATOMDEMO 2 08
  148. echo                 note the leading 0 for levels between 1 and 9,
  149. echo                 this is similar to the DNSCOTTYxyy cheat code!
  150. echo.
  151. echo *****************************************************************************
  152. goto help
  153.  
  154. :noway
  155. echo.
  156. echo Sorry, this level does not exist: Episode %1, Level %2
  157. echo.
  158. goto exit
  159.  
  160. :exit
  161.