home *** CD-ROM | disk | FTP | other *** search
/ Doom 2 Explosion / Doom2Explosion.bin / doom2exp / sounds / dstdmsnd / addsound.bat < prev    next >
DOS Batch File  |  1994-04-10  |  2KB  |  66 lines

  1. @echo off
  2. Echo NEW Compilation of DOOM SOUNDS!! THIS WILL NOT DAMMAGE YOU WAD!
  3. Echo This program will backup your previous sounds from the DOOM.WAD
  4. Echo file, type dmreset.bat to return to your previous sounds.
  5. Echo BE SURE to have pkzip and pkunzip in your path!
  6. Echo.
  7. if exist doom1.wad goto sharewareversion
  8. if not exist dmaud.exe goto dmauderror
  9. if not exist doom.wad goto waderror
  10. goto start
  11. :sharewareversion
  12. Echo 
  13. Echo ERROR: This is the shareware version of Doom
  14. echo I need the registered version.
  15. goto error
  16. :dmauderror
  17. Echo ERROR: This BAT file needs the DMAUD.EXE file (DOOM AUDIO EDITOR)
  18. goto error
  19. :waverror
  20. echo ERROR: Can't find WAV files.
  21. goto error
  22. :waderror
  23. Echo ERROR: Can't find the DOOM.WAD file.
  24. goto error
  25. :start
  26. Echo.
  27. echo Backing up OLD SOUNDS from the DOOM.WAD file... (Please wait!)
  28. dmaud 01 -e 01.bck 
  29. dmaud 12 -e 12.bck
  30. dmaud 13 -e 13.bck
  31. dmaud 14 -e 14.bck
  32. dmaud 15 -e 15.bck
  33. dmaud 36 -e 36.bck
  34. dmaud 43 -e 43.bck
  35. dmaud 50 -e 50.bck
  36. dmaud 52 -e 52.bck
  37. dmaud 60 -e 60.bck
  38. pkzip dmbackup.zip *.bck
  39. del *.bck
  40.  
  41. echo Copying the new sounds to the DOOM.WAD file... (Please wait!)
  42. pkunzip dmsndnw.zip
  43. dmaud 01 -s 01.wav -x
  44. dmaud 12 -s 12.wav -x
  45. dmaud 13 -s 13.wav -x
  46. dmaud 14 -s 14.wav -x
  47. dmaud 15 -s 15.wav -x
  48. dmaud 36 -s 36.wav -x
  49. dmaud 43 -s 43.wav -x 
  50. dmaud 50 -s 50.wav -x
  51. dmaud 52 -s 52.wav -x
  52. dmaud 60 -s 60.wav -x
  53. del *.wav
  54. echo
  55. cls
  56. echo.
  57. Echo All set, type dmreset.bat if you wish to restore your previous sounds.
  58. echo //=-Rogue-=\\, -=Distortion/Atomic=- Sysop of The Kiss of DEATH
  59. echo.
  60. pause
  61. goto end
  62. :error
  63. echo Aborting....
  64. echo.
  65. :end
  66.