home *** CD-ROM | disk | FTP | other *** search
/ CD Player 1994 January / CdPlayer94-01.iso / demos / dragonsp / dragon.bat < prev    next >
DOS Batch File  |  1993-08-05  |  2KB  |  97 lines

  1. @echo off
  2.  
  3. rem
  4. rem     DragonSphere -- demo disk driver batch file
  5. rem
  6. rem     by Brian Reynolds       14-Jul-93
  7. rem
  8.  
  9. if not exist config.dra install
  10.  
  11. set mads=
  12. call setsnd.bat
  13.  
  14. :loopdemo
  15. cls
  16. echo ***************************************************
  17. echo *                  DRAGON SPHERE                  *
  18. echo * Copyright (c) 1993 by MicroProse Software, Inc. *
  19. echo ***************************************************
  20. echo * "DRAGON"         Runs full demo once            *
  21. echo * "DRAGON GAME"    Runs game demo only            *
  22. echo * "DRAGON LOOP"    Loop opening demo (no ESC key) *
  23. echo ***************************************************
  24. echo Loading DRAGON SPHERE demonstration (version 1.01) . . .
  25. if "%1" == "loop" goto noesc
  26. if "%1" == "LOOP" goto noesc
  27. echo (Press ESC key at any time to exit).
  28. echo.
  29.  
  30. :noesc
  31.  
  32. pauses
  33. if errorlevel 2 goto noemsmem
  34. if errorlevel 3 goto noconvmem
  35.  
  36. if "%1" == "game" goto game
  37. if "%1" == "GAME" goto game
  38.  
  39. if "%1" == "LOOP" goto next
  40. if "%1" == "loop" goto next
  41.  
  42. :next
  43. echo Loading DRAGON SPHERE cinematic demo . . .
  44. echo.
  45. animview %mpslabs% -p @demodisk.res
  46. if "%1" == "LOOP" goto loopdemo
  47. if "%1" == "loop" goto loopdemo
  48.  
  49. if errorlevel 1 goto done
  50.  
  51. goto startgame
  52.  
  53. :game
  54. animview %mpslabs% -p @labslogo.res
  55. if errorlevel 1 goto done
  56.  
  57. :startgame
  58. echo Loading DRAGON SPHERE interactive demo . . .
  59. echo.
  60. sphere -p %mpslabs%
  61.  
  62. :done
  63. cls
  64. echo DRAGON SPHERE --
  65. echo    Coming in Fall 1993 to a
  66. echo       software store near you!
  67. echo.
  68.  
  69. goto stop
  70.  
  71. :noemsmem
  72. cls
  73. echo In order to run the DRAGON SPHERE demo, you must
  74. echo have an EMS driver installed.  You must also have at least
  75. echo 2 megabytes (total) of memory in your system.  An EMS driver
  76. echo can generally be installed by adding the line:
  77. echo     device=c:\dos\emm386.exe
  78. echo to your CONFIG.SYS file.
  79. goto nomem
  80.  
  81. :noconvmem
  82. cls
  83. echo You do not have enough free memory to run the DRAGON
  84. echo demo.  You must have at least 575,000 bytes of free memory
  85. echo (as shown by the CHKDSK or MEM command) in order to view
  86. echo the demo.  Usually, easiest way to free up memory is to
  87. echo remove "TSR" programs from your AUTOEXEC.BAT file.
  88. echo.
  89.  
  90. :nomem
  91. echo.
  92. echo We are very sorry for the inconvenience.
  93. echo.
  94. :stop
  95. set mpslabs=
  96.  
  97.