home *** CD-ROM | disk | FTP | other *** search
/ Walkthroughs & Flybys / WAITE_GROUP.bin / programs / mmplay.mdf < prev    next >
Text File  |  1993-05-16  |  6KB  |  193 lines

  1. .MMPLAY.MDF
  2. %MMPLAY Script Files
  3. .
  4. *Return to Sound Blaster Demos menu
  5. ?Load the prior menu
  6. @sbdemo.mdf
  7. .
  8. *BIGDEMO by Peter White, Niko Boese & Phil Shatz
  9. ?30 Minutes of music and graphics
  10. +%t%\wf\what m
  11. +echo The BIGDEMO requires 520k of free memory to run through to completion 
  12. +echo without error. This PC currently has %what%k free.  
  13. +echo:
  14. +if not exist %sound%\mmplay\mmplay.exe goto nodrive
  15. +if not exist %sound%\sbfmdrv.com goto nodrive
  16. +if not exist %sound%\drv\ct-voice.drv goto nodrive
  17. +echo The Sound Blaster driver files from Creative Labs have been found!
  18. +echo:
  19. +echo If you have a Sound Blaster Pro, make sure all your volume levels are
  20. +echo high enough. Sound Blaster 16 ASP users should choose option 2.
  21. +echo:
  22. +echo Choose either 1 Run this MMPLAY script with the drivers that have   
  23. +echo                 been found on your PC,
  24. +echo:
  25. +echo               2 Install a set of drivers from the CD into your %t%\WF 
  26. +echo                 directory. Your SOUND environment variable will be set
  27. +echo                 to point to these files rather than your existing drivers. 
  28. +echo                 Choosing this setting will alter your configuration
  29. +echo                 until you reboot,
  30. +echo:
  31. +echo               3 Abort and return to the menu system.
  32. +echo:
  33. +%t%\wf\what c "Press either 1,2 or 3 " 123
  34. +echo:
  35. +if %what%==2 goto nodrive
  36. +if %what%==3 goto ab
  37. +goto beg
  38. +:nodrive
  39. +echo Unpacking Creative Labs driver files from the CD... 
  40. +echo:
  41. +%t%
  42. +cd \wf                 >nul
  43. +%c%\programs\sbdrv -o  >nul
  44. +md drv                 >nul
  45. +md mmplay              >nul
  46. +copy ct-voice.drv drv  >nul
  47. +del ct-voice.drv       >nul
  48. +copy mmplay.exe mmplay >nul
  49. +copy *.drv mmplay      >nul
  50. +copy mmplay.cfg mmplay >nul
  51. +del mmplay.exe         >nul
  52. +del *.drv              >nul
  53. +del mmplay.cfg         >nul
  54. +set sound=%t%\wf
  55. +echo:
  56. +echo What interupt setting (IRQ) is your Sound Blaster using? Pro Audio Spectrum
  57. +echo users should try IRQ 5 even if their configuration is set for IRQ 7.
  58. +%t%\wf\what c "Press either 2,3,5 or 7 " 2357
  59. +echo:
  60. +set i=%what%
  61. +echo What I/O port is your Sound Blaster using? 
  62. +%t%\wf\what c "Press either 1 for 220 or 2 for 240 " 12
  63. +echo:
  64. +if %what%==2 goto 24
  65. +rem -------------------------------------------------------------------
  66. +rem If you have to have to change the DMA channel its the D1 just below 
  67. +rem -------------------------------------------------------------------
  68. +set blaster=A220 I%i% D1
  69. +goto beg
  70. +:24
  71. +set blaster=A240 I%i% D1
  72. +:beg
  73. +%c%
  74. +cd\sbdemos\bigdemo
  75. +echo:
  76. +echo Would you like to play this MMPLAY script just once (y/n)? Pressing
  77. +%t%\wf\what c "the N key now will cause the BIGDEMO to play forever." ynYN
  78. +if %what%==N goto forev
  79. +if %what%==n goto forev
  80. +echo:
  81. +echo:
  82. +echo You can abort this MMPLAY script by pressing Ctrl-End
  83. +pause
  84. +%sound%\sbfmdrv
  85. +%sound%\mmplay\mmplay bigdemo.sb
  86. +%sound%\sbfmdrv /u
  87. +%t%
  88. +goto e
  89. +:forev
  90. +echo:
  91. +echo:
  92. +echo About to start the BIGDEMO in an infinate loop. Press Ctrl-C now to abort.
  93. +echo To terminate this demo press Ctrl-End and then Ctrl-C in rapid succession.
  94. +pause
  95. +%sound%\sbfmdrv
  96. +:endless
  97. +%sound%\mmplay\mmplay bigdemo.sb
  98. +goto endless
  99. +:ab
  100. +echo You have aborted
  101. +:e
  102. +echo Returning you to the menu system
  103. +pause
  104. +auto mmplay.mdf
  105. .
  106. *The Fractal Zoom by Starcom 
  107. ?Awesome zoom into fractal worlds
  108. +if not exist %sound%\mmplay\mmplay.exe goto nodrive
  109. +if not exist %sound%\sbfmdrv.com goto nodrive
  110. +if not exist %sound%\drv\ct-voice.drv goto nodrive
  111. +echo The Sound Blaster driver files from Creative Labs have been found!
  112. +echo:
  113. +echo If you have a Sound Blaster Pro, make sure all your volume levels are
  114. +echo high enough. Sound Blaster 16 ASP users should choose option 2.
  115. +echo:
  116. +echo Press either 1 Run this MMPLAY script with the drivers that have   
  117. +echo                been found on your PC,
  118. +echo:
  119. +echo              2 Install a set of drivers from the CD into your %t%\WF 
  120. +echo                directory. Your SOUND environment variable will be set
  121. +echo                to point to these files rather than your existing drivers. 
  122. +echo                Choosing this setting will alter your configuration
  123. +echo                until you reboot.
  124. +echo:
  125. +echo              3 Abort and return to the menu system
  126. +echo:
  127. +%t%\wf\what c "Press either 1,2 or 3 " 123
  128. +echo:
  129. +if %what%==2 goto nodrivers
  130. +if %what%==3 goto ab
  131. +echo:
  132. +echo:
  133. +echo You can abort this MMPLAY script by pressing Ctrl-End
  134. +pause 
  135. +%c%
  136. +cd\sbdemos\starcom
  137. +%sound%\sbfmdrv
  138. +%sound%\mmplay\mmplay starcom.sb
  139. +%sound%\sbfmdrv /u
  140. +%t%
  141. +goto e
  142. +:nodrivers
  143. +echo:
  144. +echo Unpacking Creative Labs driver files from the CD... 
  145. +%t%
  146. +cd \wf                  >nul
  147. +%c%\programs\sbdrv -o   >nul
  148. +md drv                  >nul
  149. +md mmplay               >nul
  150. +copy ct-voice.drv drv   >nul
  151. +del ct-voice.drv        >nul
  152. +copy mmplay.exe mmplay  >nul
  153. +copy *.drv mmplay       >nul
  154. +copy mmplay.cfg mmplay  >nul
  155. +del mmplay.exe          >nul
  156. +del *.drv               >nul
  157. +del mmplay.cfg          >nul
  158. +set sound=%t%\wf
  159. +echo:
  160. +echo What interupt setting is your Sound Blaster using? 
  161. +%t%\wf\what c "Press either 2,3,5 or 7 " 2357
  162. +set i=%what%
  163. +echo:
  164. +echo What I/O port is your Sound Blaster using? 
  165. +%t%\wf\what c "Press either 1 for 220 or 2 for 240 " 12
  166. +echo:
  167. +if %what%==2 goto 24
  168. +set blaster=A220 I%i% D1
  169. +goto beg
  170. +:24
  171. +set blaster=A240 I%i% D1
  172. +:beg
  173. +%c%
  174. +cd\sbdemos\starcom
  175. +echo:
  176. +echo:
  177. +echo You can abort this MMPLAY script by pressing Ctrl-End
  178. +pause
  179. +%sound%\sbfmdrv
  180. +%sound%\mmplay\mmplay starcom.sb
  181. +%sound%\sbfmdrv /u
  182. +%t%
  183. +goto e
  184. +:ab
  185. +echo You have aborted
  186. +:e
  187. +echo Returning you to the menu system
  188. +pause
  189. +auto mmplay.mdf
  190. .
  191. #
  192.  
  193.