home *** CD-ROM | disk | FTP | other *** search
/ Doom 2 Explosion / Doom2Explosion.bin / doom2exp / sounds / dmgoofy / dmgoofy.bat next >
DOS Batch File  |  1994-01-14  |  7KB  |  244 lines

  1. @echo off
  2. if %1a==a goto inst
  3. if not exist DOOM.WAD goto chkshareware
  4. :back
  5. if not exist DMAUD.EXE goto nodmaud
  6. if not exist %1\SND1.WAV goto badpath
  7.  
  8. set DMGOOFY=fine
  9. goto header
  10. :fine2
  11. echo.
  12. echo     You are about to permanently change the sounds in the copy of Doom
  13. echo specified on the command line.  THIS PROCESS IS IRREVERSABLE!  If you
  14. echo want to be able to have the original sounds back again, either back up
  15. echo the DOOM.WAD(registered) or DOOM1.WAD(shareware) file before executing
  16. echo this program or be prepared to reinstall Doom from the original disks.
  17. echo. 
  18. echo If you do not wish to proceed, you may press Ctrl-C now.
  19. echo.
  20. echo Otherwise, Please press any key...
  21. pause > NUL
  22. echo.
  23. echo Beginning Process...
  24. echo.
  25. echo Installing Sound 1.....
  26. dmaud 1 -q -s %1\snd1.wav
  27. echo Installing Sound 2.....
  28. dmaud 2 -q -s %1\snd2.wav
  29. echo Installing Sound 3.....
  30. dmaud 3 -q -s %1\snd3.wav
  31. echo Installing Sound 4.....
  32. dmaud 4 -q -s %1\snd4.wav
  33. echo Installing Sound 5.....
  34. dmaud 5 -q -s %1\snd5.wav
  35. echo Installing Sound 6.....
  36. dmaud 6 -q -s %1\snd6.wav
  37. echo Installing Sound 7.....
  38. dmaud 7 -q -s %1\snd7.wav
  39. echo Installing Sound 8.....
  40. dmaud 8 -q -s %1\snd8.wav
  41. echo Installing Sound 9.....
  42. dmaud 9 -q -s %1\snd9.wav
  43. echo Installing Sound 10.....
  44. dmaud 10 -q -s %1\snd10.wav
  45. echo Installing Sound 11.....
  46. dmaud 11 -q -s %1\snd11.wav
  47. echo Installing Sound 12.....
  48. dmaud 12 -q -s %1\snd12.wav
  49. echo Installing Sound 13.....
  50. dmaud 13 -q -s %1\snd13.wav
  51. echo Installing Sound 14.....
  52. dmaud 14 -q -s %1\snd14.wav
  53. echo Installing Sound 15.....
  54. dmaud 15 -q -s %1\snd15.wav
  55. echo Installing Sound 16.....
  56. dmaud 16 -q -s %1\snd16.wav
  57. echo Installing Sound 17.....
  58. dmaud 17 -q -s %1\snd17.wav
  59. echo Installing Sound 18.....
  60. dmaud 18 -q -s %1\snd18.wav
  61. echo Installing Sound 19.....
  62. dmaud 19 -q -s %1\snd19.wav
  63. echo Installing Sound 20.....
  64. dmaud 20 -q -s %1\snd20.wav
  65. echo Installing Sound 21.....
  66. dmaud 21 -q -s %1\snd21.wav
  67. echo Installing Sound 22.....
  68. dmaud 22 -q -s %1\snd22.wav
  69. echo Installing Sound 23.....
  70. dmaud 23 -q -s %1\snd23.wav
  71. echo Installing Sound 24.....
  72. dmaud 24 -q -s %1\snd24.wav
  73. echo Installing Sound 25.....
  74. dmaud 25 -q -s %1\snd25.wav
  75. echo Installing Sound 26.....
  76. dmaud 26 -q -s %1\snd26.wav
  77. echo Installing Sound 27.....
  78. dmaud 27 -q -s %1\snd27.wav
  79. echo Installing Sound 28.....
  80. dmaud 28 -q -s %1\snd28.wav
  81. echo Installing Sound 29.....
  82. dmaud 29 -q -s %1\snd29.wav
  83. echo Installing Sound 30.....
  84. dmaud 30 -q -s %1\snd30.wav
  85. echo Installing Sound 31.....
  86. dmaud 31 -q -s %1\snd31.wav
  87. echo Installing Sound 32.....
  88. dmaud 32 -q -s %1\snd32.wav
  89. echo Installing Sound 33.....
  90. dmaud 33 -q -s %1\snd33.wav
  91. echo Installing Sound 34.....
  92. dmaud 34 -q -s %1\snd34.wav
  93. echo Installing Sound 35.....
  94. dmaud 35 -q -s %1\snd35.wav
  95. echo Installing Sound 36.....
  96. dmaud 36 -q -s %1\snd36.wav
  97. echo Installing Sound 37.....
  98. dmaud 37 -q -s %1\snd37.wav
  99. echo Installing Sound 38.....
  100. dmaud 38 -q -s %1\snd38.wav
  101. echo Installing Sound 39.....
  102. dmaud 39 -q -s %1\snd39.wav
  103. echo Installing Sound 40.....
  104. dmaud 40 -q -s %1\snd40.wav
  105. echo Installing Sound 41.....
  106. dmaud 41 -q -s %1\snd41.wav
  107. echo Installing Sound 42.....
  108. dmaud 42 -q -s %1\snd42.wav
  109. echo Installing Sound 43.....
  110. dmaud 43 -q -s %1\snd43.wav
  111. echo Installing Sound 44.....
  112. dmaud 44 -q -s %1\snd44.wav
  113. echo Installing Sound 45.....
  114. dmaud 45 -q -s %1\snd45.wav
  115. echo Installing Sound 46.....
  116. dmaud 46 -q -s %1\snd46.wav
  117. echo Installing Sound 47.....
  118. dmaud 47 -q -s %1\snd47.wav
  119. echo Installing Sound 48.....
  120. dmaud 48 -q -s %1\snd48.wav
  121. echo Installing Sound 49.....
  122. dmaud 49 -q -s %1\snd49.wav
  123. if exist DOOM1.WAD goto done
  124. echo Installing Sound 50.....
  125. dmaud 50 -q -s %1\snd50.wav
  126. echo Installing Sound 51.....
  127. dmaud 51 -q -s %1\snd51.wav
  128. echo Installing Sound 52.....
  129. dmaud 52 -q -s %1\snd52.wav
  130. echo Installing Sound 53.....
  131. dmaud 53 -q -s %1\snd53.wav
  132. echo Installing Sound 54.....
  133. dmaud 54 -q -s %1\snd54.wav
  134. echo Installing Sound 55.....
  135. dmaud 55 -q -s %1\snd55.wav
  136. echo Installing Sound 56.....
  137. dmaud 56 -q -s %1\snd56.wav
  138. echo Installing Sound 57.....
  139. dmaud 57 -q -s %1\snd57.wav
  140. echo Installing Sound 58.....
  141. dmaud 58 -q -s %1\snd58.wav
  142. echo Installing Sound 59.....
  143. dmaud 59 -q -s %1\snd59.wav
  144. echo Installing Sound 60.....
  145. dmaud 60 -q -s %1\snd60.wav
  146. echo Installing Sound 61.....
  147. dmaud 61 -q -s %1\snd61.wav
  148. goto done
  149.  
  150.  
  151. :header
  152. cls
  153. echo.
  154. echo.
  155. echo                _________________________________
  156. echo                  Goofy Doom Sound Replacements
  157. echo.
  158. echo                        Brought to you by
  159. echo.                    
  160. echo                          The Skywalkyr
  161. echo.
  162. echo                         Thanks to: Gaea
  163. echo                --------------------------------- 
  164. echo.
  165. if %DMGOOFY%==inst goto inst2
  166. if %DMGOOFY%==fine goto fine2
  167. if %DMGOOFY%==nodmaud goto nodmaud2
  168. if %DMGOOFY%==nodoom goto nodoom2
  169. if %DMGOOFY%==badpath goto badpath2
  170. goto end
  171.  
  172. :inst
  173. set DMGOOFY=inst
  174. goto header
  175. :inst2
  176. echo.
  177. echo To run, simply unzip this archive to a temporary directory, then invoke
  178. echo this batch file from your Doom directory as follows:
  179. echo.
  180. echo  DMGOOFY path_to_archive
  181. echo.
  182. echo path_to_archive is the location of the files that accompanied this program.
  183. echo.
  184. echo.
  185. echo     I hope this brings you as many laughs as it did me.  REGISTER DOOM!
  186. echo The people of id need to be encouraged to make many many more awesome
  187. echo games in the future, so show your support by registering your Doom today.
  188. echo Besides, Episodes two & three make one look like a day at Disneyland! :-)
  189. echo.
  190. echo.
  191. echo.
  192. goto end
  193.  
  194. :nodmaud
  195. set DMGOOFY=nodmaud
  196. goto header
  197. :nodmaud2
  198. echo.
  199. echo.
  200. echo    You must have a copy of DMAUD.EXE, the Doom sound editor written by Bill
  201. echo Neisius in order to use this program, and it must be in the Doom directory
  202. echo that you are currently in.
  203. echo.
  204. echo.
  205. goto end
  206.  
  207. :nodoom
  208. set DMGOOFY=nodoom
  209. goto header
  210. :nodoom2
  211. echo.
  212. echo.
  213. echo    You must run this program from the Doom directory where you want the
  214. echo sounds installed.
  215. echo.
  216. echo.
  217. goto end
  218.  
  219. :badpath
  220. set DMGOOFY=badpath
  221. goto header
  222. :badpath2
  223. echo.
  224. echo.
  225. echo    You must specify the path where this batch and its accompanying files
  226. echo can be located.  ex.  C:\DOOM>DMGOOFY \TEMP
  227. echo where \TEMP contains the files from this archive.
  228. echo.
  229. echo.
  230. goto end
  231.  
  232. :chkshareware
  233. if not exist DOOM1.WAD goto nodoom
  234. goto back
  235.  
  236. :done
  237. echo.
  238. echo Done!  Now go laugh your BFG off!
  239. echo.
  240. echo.
  241.  
  242. :end
  243. SET DMGOOFY=
  244.