home *** CD-ROM | disk | FTP | other *** search
/ PC Player 1994 October / PCPlayerplus10_94.bin / 11h / install / inst.txt < prev    next >
Encoding:
Text File  |  1994-05-02  |  13.6 KB  |  417 lines

  1. ansi > nul
  2. echo   
  3. echo ;>temp.ini
  4. echo ;.INI file for The Eleventh Hour>>temp.ini
  5. echo ;>>temp.ini
  6. echo ;(C) Copyright 1993,1994 Trilobyte, Inc.>>temp.ini
  7. echo ;>>temp.ini
  8. echo [main]>>temp.ini
  9. echo DMABufferSize=16384>>temp.ini
  10. echo TicksPerSecond=300>>temp.ini
  11. echo VideoCard=VESA compatible video card>>temp.ini
  12. echo svga=on>>temp.ini
  13. echo ProgDir=%T11H%:\ID\11HDEMO\>>temp.ini
  14. echo DataDir=%T11C%:\11H\>>temp.ini
  15. type sound.scr
  16. what c "Enter the letter for your sound card -->"ABCDEFGHIJX
  17. echo .
  18. SET T11P=%WHAT%
  19. if %T11P%==X set T11PP=A
  20. if %T11P%==X set T11PI=A
  21. if %T11P%==X set T11PD=A
  22. if %T11P%==X GOTO GETMIDI
  23. echo  
  24.  
  25.  
  26. type port.scr
  27. what C "Enter the letter of your choice -->"ABCDEFGHIJKLMN
  28. echo .
  29. set T11PP=%WHAT%
  30. echo  
  31.  
  32. type irq.scr
  33. what C "Enter the letter of your choice -->"ABCDEFGHIJK
  34. echo .
  35. set T11PI=%WHAT%
  36. echo   
  37.  
  38. type dma.scr
  39. what C "Enter the letter of your choice -->"ABCDEF
  40. echo .
  41.  
  42. set T11PD=%WHAT%
  43.  
  44.  
  45. :GETMIDI
  46. echo   
  47.  
  48. type music.scr
  49. what c "Enter the letter for your sound card -->"ABCDEFGHIJKLMX
  50. echo .
  51. SET T11M=%WHAT%
  52.  
  53.  
  54. if %T11M%==A echo midi=SoundBlaster>>temp.ini
  55. if %T11M%==B echo midi=SoundBlasterASP16>>temp.ini
  56. if %T11M%==C echo midi=SoundBlasterPro1>>temp.ini
  57. if %T11M%==D echo midi=SoundBlasterPro2>>temp.ini
  58. if %T11M%==E echo midi=ProAudioSpectrum>>temp.ini
  59. if %T11M%==F echo midi=ProAudioSpectrum>>temp.ini
  60. if %T11M%==G echo midi=ProAudioSpectrum>>temp.ini
  61. if %T11M%==H echo midi=Sensation>>temp.ini
  62. if %T11M%==I echo midi=Aria>>temp.ini
  63. if %T11M%==J echo midi=AdlibGold>>temp.ini
  64. if %T11M%==K echo midi=Adlib>>temp.ini
  65. if %T11M%==L echo midi=GeneralMidi>>temp.ini
  66. if %T11M%==M echo midi=MT32>>temp.ini
  67. if %T11M%==X echo midi=None>>temp.ini
  68. if %T11P%==A echo pcm=SoundBlaster>>temp.ini
  69. if %T11P%==B echo pcm=SoundBlasterASP16>>temp.ini
  70. if %T11P%==C echo pcm=SoundBlasterPro1>>temp.ini
  71. if %T11P%==D echo pcm=SoundBlasterPro2>>temp.ini
  72. if %T11P%==E echo pcm=ProAudioSpectrum>>temp.ini
  73. if %T11P%==F echo pcm=ProAudioSpectrum>>temp.ini
  74. if %T11P%==G echo pcm=ProAudioSpectrum>>temp.ini
  75. if %T11P%==H echo pcm=Sensation>>temp.ini
  76. if %T11P%==I echo pcm=Aria>>temp.ini
  77. if %T11P%==J echo pcm=AdlibGold>>temp.ini
  78. if %T11P%==X echo pcm=None>>temp.ini
  79.  
  80. if %T11M%==X set T11MP=A
  81. if %T11M%==X set T11MI=A
  82. if %T11M%==X set T11MD=A
  83. if %T11M%==X GOTO AFTERMIDI
  84.  
  85. IF %T11M%==%T11P% GOTO AFTERMIDI
  86. echo  
  87.  
  88.  
  89. type port.scr
  90. what C "Enter the letter of your choice -->"ABCDEFGHIJKLMN
  91. set T11MP=%WHAT%
  92. echo   
  93.  
  94. type irq.scr
  95. what C "Enter the letter of your choice -->"ABCDEFGHIJK
  96. set T11MI=%WHAT%
  97.  
  98. echo   
  99.  
  100. type dma.scr
  101. what C "Enter the letter of your choice -->"ABCDEF
  102. set T11MD=%WHAT%
  103.  
  104.             
  105. :AFTERMIDI
  106. copy temp.ini+cr.txt >nul
  107.  
  108. if %T11P%==A echo [SoundBlaster]>>temp.ini
  109. if %T11P%==B echo [SoundBlasterASP16]>>temp.ini
  110. if %T11P%==C echo [SoundBlasterPro1]>>temp.ini
  111. if %T11P%==D echo [SoundBlasterPro2]>>temp.ini
  112. if %T11P%==E echo [ProAudioSpectrum]>>temp.ini
  113. if %T11P%==F echo [ProAudioSpectrum]>>temp.ini
  114. if %T11P%==G echo [ProAudioSpectrum]>>temp.ini
  115. if %T11P%==H echo [Sensation]>>temp.ini
  116. if %T11P%==I echo [Aria]>>temp.ini
  117. if %T11P%==J echo [AdlibGold]>>temp.ini
  118. if %T11P%==X echo [None]>>temp.ini
  119.  
  120.  
  121. if %T11PP%==A echo port=210>>temp.ini
  122. if %T11PP%==B echo port=220>>temp.ini
  123. if %T11PP%==C echo port=230>>temp.ini
  124. if %T11PP%==D echo port=240>>temp.ini
  125. if %T11PP%==E echo port=250>>temp.ini
  126. if %T11PP%==F echo port=260>>temp.ini
  127. if %T11PP%==G echo port=280>>temp.ini
  128. if %T11PP%==H echo port=290>>temp.ini
  129. if %T11PP%==I echo port=300>>temp.ini
  130. if %T11PP%==J echo port=320>>temp.ini
  131. if %T11PP%==K echo port=330>>temp.ini
  132. if %T11PP%==L echo port=332>>temp.ini
  133. if %T11PP%==M echo port=334>>temp.ini
  134. if %T11PP%==N echo port=336>>temp.ini
  135.  
  136. if %T11PI%==A echo irq=2>>temp.ini
  137. if %T11PI%==B echo irq=3>>temp.ini
  138. if %T11PI%==C echo irq=4>>temp.ini
  139. if %T11PI%==D echo irq=5>>temp.ini
  140. if %T11PI%==E echo irq=6>>temp.ini
  141. if %T11PI%==F echo irq=7>>temp.ini
  142. if %T11PI%==G echo irq=9>>temp.ini
  143. if %T11PI%==H echo irq=10>>temp.ini
  144. if %T11PI%==I echo irq=11>>temp.ini
  145. if %T11PI%==J echo irq=12>>temp.ini
  146. if %T11PI%==K echo irq=15>>temp.ini
  147.  
  148.  
  149. if %T11PD%==A echo dma=0>>temp.ini
  150. if %T11PD%==B echo dma=1>>temp.ini
  151. if %T11PD%==C echo dma=3>>temp.ini
  152. if %T11PD%==D echo dma=5>>temp.ini
  153. if %T11PD%==E echo dma=6>>temp.ini
  154. if %T11PD%==F echo dma=7>>temp.ini
  155.  
  156.  
  157. if %T11P%==A echo pcm=sbdig.adv>>temp.ini
  158. if %T11P%==B echo pcm=sbpdig.adv>>temp.ini
  159. if %T11P%==C echo pcm=sbpdig.adv>>temp.ini
  160. if %T11P%==D echo pcm=sbpdig.adv>>temp.ini
  161. if %T11P%==E echo pcm=pasdig.adv>>temp.ini
  162. if %T11P%==F echo pcm=pasdig.adv>>temp.ini
  163. if %T11P%==G echo pcm=pasdig.adv>>temp.ini
  164. if %T11P%==H echo pcm=tandy.drv>>temp.ini
  165. if %T11P%==I echo pcm=ariadig.adv>>temp.ini
  166. if %T11P%==J echo pcm=algdig.adv>>temp.ini
  167.  
  168. if %T11P%==%T11M% GOTO SETXMI
  169. copy temp.ini+cr.txt >nul
  170.  
  171. if %T11M%==A echo [SoundBlaster]>>temp.ini
  172. if %T11M%==B echo [SoundBlasterASP16]>>temp.ini
  173. if %T11M%==C echo [SoundBlasterPro1]>>temp.ini
  174. if %T11M%==D echo [SoundBlasterPro2]>>temp.ini
  175. if %T11M%==E echo [ProAudioSpectrum]>>temp.ini
  176. if %T11M%==F echo [ProAudioSpectrum]>>temp.ini
  177. if %T11M%==G echo [ProAudioSpectrum]>>temp.ini
  178. if %T11M%==H echo [Sensation]>>temp.ini
  179. if %T11M%==M echo [Aria]>>temp.ini
  180. if %T11M%==J echo [AdlibGold]>>temp.ini
  181. if %T11M%==I echo [Adlib]>>temp.ini
  182. if %T11M%==K echo [GeneralMidi]>>temp.ini
  183. if %T11M%==L echo [MT32]>>temp.ini
  184. if %T11M%==X echo [None]>>temp.ini
  185.        
  186.  
  187. if %T11MP%==A echo port=210>>temp.ini
  188. if %T11MP%==B echo port=220>>temp.ini
  189. if %T11MP%==C echo port=230>>temp.ini
  190. if %T11MP%==D echo port=240>>temp.ini
  191. if %T11MP%==E echo port=250>>temp.ini
  192. if %T11MP%==F echo port=260>>temp.ini
  193. if %T11MP%==G echo port=280>>temp.ini
  194. if %T11MP%==H echo port=290>>temp.ini
  195. if %T11MP%==I echo port=300>>temp.ini
  196. if %T11MP%==J echo port=320>>temp.ini
  197. if %T11MP%==K echo port=330>>temp.ini
  198. if %T11MP%==L echo port=332>>temp.ini
  199. if %T11MP%==M echo port=334>>temp.ini
  200. if %T11MP%==N echo port=336>>temp.ini
  201.  
  202. if %T11MI%==A echo irq=2>>temp.ini
  203. if %T11MI%==B echo irq=3>>temp.ini
  204. if %T11MI%==C echo irq=4>>temp.ini
  205. if %T11MI%==D echo irq=5>>temp.ini
  206. if %T11MI%==E echo irq=6>>temp.ini
  207. if %T11MI%==F echo irq=7>>temp.ini
  208. if %T11MI%==G echo irq=9>>temp.ini
  209. if %T11MI%==H echo irq=10>>temp.ini
  210. if %T11MI%==I echo irq=11>>temp.ini
  211. if %T11MI%==J echo irq=12>>temp.ini
  212. if %T11MI%==K echo irq=15>>temp.ini
  213.  
  214. if %T11MD%==A echo dma=0>>temp.ini
  215. if %T11MD%==B echo dma=1>>temp.ini
  216. if %T11MD%==C echo dma=3>>temp.ini
  217. if %T11MD%==D echo dma=5>>temp.ini
  218. if %T11MD%==E echo dma=6>>temp.ini
  219. if %T11MD%==F echo dma=7>>temp.ini
  220.  
  221. :SETXMI
  222.  
  223. if %T11M%==A echo xmi=sbfm.adv>>temp.ini
  224. if %T11M%==B echo xmi=sbp2fm.adv>>temp.ini
  225. if %T11M%==C echo xmi=sbp1fm.adv>>temp.ini
  226. if %T11M%==D echo xmi=sbp2fm.adv>>temp.ini
  227. if %T11M%==E echo xmi=pasopl.adv>>temp.ini
  228. if %T11M%==F echo xmi=pasopl.adv>>temp.ini
  229. if %T11M%==G echo xmi=pasfm.adv>>temp.ini
  230. if %T11M%==H echo xmi=adlib.adv>>temp.ini
  231. if %T11M%==I echo xmi=ariaxmid.adv>>temp.ini
  232. if %T11M%==J echo xmi=adlibg.adv>>temp.ini
  233. if %T11M%==K echo xmi=adlib.adv>>temp.ini
  234. if %T11M%==L echo xmi=mt32mpu.adv>>temp.ini
  235. if %T11M%==M echo xmi=mt32mpu.adv>>temp.ini
  236.  
  237. copy temp.ini+cr.txt >nul
  238.         
  239. echo   H
  240. echo            ╔═════════════════════════════════════════════════════════╗
  241. echo            ║                                                         ║
  242. echo            ║   The following choices have been made and will be      
  243. echo            ║   used to configure The Eleventh Hour:                  
  244. echo            ║                                                         
  245. echo            ║   Sound Card for voices:                                
  246. echo            ║                                                         
  247. echo            ║   I/O Port Address:         IRQ:         DMA:           
  248. echo            ║                                                         
  249. echo            ║                                                         
  250. echo            ║   Sound Card for music:                                 
  251. echo            ║                                                         
  252. echo            ║   I/O Port Address:         IRQ:         DMA:           
  253. echo            ║                                                         
  254. echo            ║                                                         
  255. echo            ║   (If these choices are acceptible, then they will      
  256. echo            ║    be written into the GROOVIE.INI file.)               
  257. echo            ║                                                         ║
  258. echo            ╚═════════════════════════════════════════════════════════╝
  259.  
  260. if %T11P%==A echo 0H Sound Blaster or compatible
  261. if %T11P%==B echo 0H Sound Blaster ASP / 16
  262. if %T11P%==C echo 0H Sound Blaster Pro 1
  263. if %T11P%==D echo 0H Sound Blaster Pro 2
  264. if %T11P%==E echo 0H Pro Audio Studio 16
  265. if %T11P%==F echo 0H Pro Audio Spectrum Plus /16
  266. if %T11P%==G echo 0H Pro Audio Spectrum
  267. if %T11P%==H echo 0H Tandy Sensation
  268. if %T11P%==I echo 0H Aria
  269. if %T11P%==J echo 0H Adlib Gold
  270. if %T11P%==X echo 0H None
  271. if %T11P%==X goto AFTERPCMS
  272.  
  273. if %T11PP%==A echo 3H 210H 
  274. if %T11PP%==B echo 3H 220H 
  275. if %T11PP%==C echo 3H 230H 
  276. if %T11PP%==D echo 3H 240H 
  277. if %T11PP%==E echo 3H 250H 
  278. if %T11PP%==F echo 3H 260H 
  279. if %T11PP%==G echo 3H 280H 
  280. if %T11PP%==H echo 3H 290H 
  281. if %T11PP%==I echo 3H 300H 
  282. if %T11PP%==J echo 3H 320H 
  283. if %T11PP%==K echo 3H 330H 
  284. if %T11PP%==L echo 3H 332H 
  285. if %T11PP%==M echo 3H 334H 
  286. if %T11PP%==N echo 3H 336H 
  287.  
  288. if %T11PI%==A echo 6H 2 
  289. if %T11PI%==B echo 6H 3 
  290. if %T11PI%==C echo 6H 4 
  291. if %T11PI%==D echo 6H 5 
  292. if %T11PI%==E echo 6H 6 
  293. if %T11PI%==F echo 6H 7 
  294. if %T11PI%==G echo 6H 9 
  295. if %T11PI%==H echo 6H 10
  296. if %T11PI%==I echo 6H 11
  297. if %T11PI%==J echo 6H 12
  298. if %T11PI%==K echo 6H 15
  299.  
  300.  
  301. if %T11PD%==A echo 9H 0 
  302. if %T11PD%==B echo 9H 1 
  303. if %T11PD%==C echo 9H 3 
  304. if %T11PD%==D echo 9H 5 
  305. if %T11PD%==E echo 9H 6 
  306. if %T11PD%==F echo 9H 7 
  307.  
  308. :AFTERPCMS
  309.  
  310. if %T11M%==X echo 40H None
  311. if %T11M%==X goto AFTMID
  312.  
  313.  
  314. if %T11M%==%T11P% echo 40H Same as above
  315. if %T11M%==%T11P% goto AFTMID
  316.  
  317. if %T11M%==A echo 40H Sound Blaster or compatible
  318. if %T11M%==B echo 40H Sound Blaster ASP / 16
  319. if %T11M%==C echo 40H Sound Blaster Pro 1
  320. if %T11M%==D echo 40H Sound Blaster Pro 2
  321. if %T11M%==E echo 40H Pro Audio Studio 16
  322. if %T11M%==F echo 40H Pro Audio Spectrum Plus /16
  323. if %T11M%==G echo 40H Pro Audio Spectrum
  324. if %T11M%==H echo 40H Tandy Sensation
  325. if %T11M%==I echo 40H Aria
  326. if %T11M%==J echo 40H Adlib Gold
  327. if %T11M%==K echo 40H Adlib
  328. if %T11M%==L echo 40H General Midi
  329. if %T11M%==M echo 40H Roland MT-32 or LAPC/1
  330.  
  331.  
  332. if %T11MP%==A echo 33H 210H 
  333. if %T11MP%==B echo 33H 220H 
  334. if %T11MP%==C echo 33H 230H 
  335. if %T11MP%==D echo 33H 240H 
  336. if %T11MP%==E echo 33H 250H 
  337. if %T11MP%==F echo 33H 260H 
  338. if %T11MP%==G echo 33H 280H 
  339. if %T11MP%==H echo 33H 290H 
  340. if %T11MP%==I echo 33H 300H 
  341. if %T11MP%==J echo 33H 320H 
  342. if %T11MP%==K echo 33H 330H 
  343. if %T11MP%==L echo 33H 332H 
  344. if %T11MP%==M echo 33H 334H 
  345. if %T11MP%==N echo 33H 336H 
  346.  
  347. if %T11MI%==A echo 46H 2 
  348. if %T11MI%==B echo 46H 3 
  349. if %T11MI%==C echo 46H 4 
  350. if %T11MI%==D echo 46H 5 
  351. if %T11MI%==E echo 46H 6 
  352. if %T11MI%==F echo 46H 7 
  353. if %T11MI%==G echo 46H 9 
  354. if %T11MI%==H echo 46H 10
  355. if %T11MI%==I echo 46H 11
  356. if %T11MI%==J echo 46H 12
  357. if %T11MI%==K echo 46H 15
  358.                      
  359.  
  360. if %T11MD%==A echo 59H 0 
  361. if %T11MD%==B echo 59H 1 
  362. if %T11MD%==C echo 59H 3 
  363. if %T11MD%==D echo 59H 5 
  364. if %T11MD%==E echo 59H 6 
  365. if %T11MD%==F echo 59H 7 
  366.  
  367.  
  368.  
  369.  
  370.  
  371. :AFTMID
  372.  
  373. what C "3HDo you wish to keep the above configuration? Y / N  --> "NY
  374. if %WHAT%==N echo o
  375. if %WHAT%==N GOTO END
  376. echo es
  377.  
  378.  
  379. rem this part of the program saves the last 4 versions of groovie.ini. If a previous copy of groovie.ini is
  380. rem in this directory, it will be renamed GROOVIE.001. If a copy of GROOVIE.001 already existed, 
  381. rem then prior to rennaming the previous version of groovie.ini to groovie.001, groovie.001 will 
  382. rem be renamed to groovie.002. and so on. so that the oldest of the four files will be named groovie.003, and 
  383. rem the newest will be named GROOVIE.INI.
  384. rem if you wish to keep more than 3 of the previous copies of GROOVIE.INI, you can UNREMARK one or 
  385. rem more of the following lines
  386.  
  387. rem if exist groovie.007 copy groovie.007 groovie.008
  388. rem if exist groovie.006 copy groovie.006 groovie.007
  389. rem if exist groovie.005 copy groovie.005 groovie.006
  390. rem if exist groovie.004 copy groovie.004 groovie.005
  391. rem if exist groovie.003 copy groovie.003 groovie.004
  392.  
  393. if exist groovie.002 copy groovie.002 groovie.003
  394. if exist groovie.001 copy groovie.001 groovie.002
  395. if exist groovie.ini copy groovie.ini groovie.001
  396. copy temp.ini groovie.ini
  397.  
  398. Echo The eleventh hour is configured and ready to play.
  399. echo Type DEMO (ENTER) to begin The Eleventh Hour!
  400.  
  401.  
  402. :end
  403.  
  404. REM CLEANUP
  405.  
  406. set T11H=
  407. set T11C=
  408. set T11P=
  409. set T11PP=
  410. set T11PI=
  411. set T11PD=
  412. set T11M=
  413. set T11MP=
  414. set T11MI=
  415. set T11MD=
  416. set WHAT=
  417.