home *** CD-ROM | disk | FTP | other *** search
/ Doom 2 Explosion / Doom2Explosion.bin / doom2exp / programs / doomm450 / rundemo.bat < prev    next >
DOS Batch File  |  1994-06-01  |  888b  |  33 lines

  1. @echo off
  2. if not exist *.wad goto nodoom
  3.  
  4. choice "Which episode do you want to run the demo for: " /c:123
  5. if errorlevel 3 goto 3
  6. if errorlevel 2 goto 2
  7. if errorlevel 1 goto 1
  8.  
  9. :1
  10. doom -playdemo seclev1 -nomonsters
  11. goto end
  12. :2
  13. if not exist DOOM.WAD goto no
  14. doom -playdemo seclev2 -nomonsters
  15. goto end
  16. :3
  17. if not exist DOOM.WAD goto no
  18. doom -playdemo seclev3 -nomonsters
  19. goto end
  20. :no
  21. echo.
  22. echo It has been detected that you are using the Sharware version of DOOM.
  23. echo You need to register DOOM in order to use Episodes 2 and 3.  If you
  24. echo do have the registered version, you must run RUNDEMO from the directory
  25. echo which contains your DOOM.WAD file.
  26. goto end
  27. :nodoom
  28. echo.
  29. echo It has been detected that you do not have DOOM in the current directory.
  30. echo You must copy all the relevant files to your DOOM directory and run
  31. echo RUNDEMO from there.
  32. :end
  33.