home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FMI Superhry 1
/
Superhry-I.bin
/
bonus
/
doom
/
sounds
/
dstdmsnd
/
addsound.bat
< prev
next >
Wrap
DOS Batch File
|
1994-04-10
|
2KB
|
66 lines
@echo off
Echo NEW Compilation of DOOM SOUNDS!! THIS WILL NOT DAMMAGE YOU WAD!
Echo This program will backup your previous sounds from the DOOM.WAD
Echo file, type dmreset.bat to return to your previous sounds.
Echo BE SURE to have pkzip and pkunzip in your path!
Echo.
if exist doom1.wad goto sharewareversion
if not exist dmaud.exe goto dmauderror
if not exist doom.wad goto waderror
goto start
:sharewareversion
Echo
Echo ERROR: This is the shareware version of Doom
echo I need the registered version.
goto error
:dmauderror
Echo ERROR: This BAT file needs the DMAUD.EXE file (DOOM AUDIO EDITOR)
goto error
:waverror
echo ERROR: Can't find WAV files.
goto error
:waderror
Echo ERROR: Can't find the DOOM.WAD file.
goto error
:start
Echo.
echo Backing up OLD SOUNDS from the DOOM.WAD file... (Please wait!)
dmaud 01 -e 01.bck
dmaud 12 -e 12.bck
dmaud 13 -e 13.bck
dmaud 14 -e 14.bck
dmaud 15 -e 15.bck
dmaud 36 -e 36.bck
dmaud 43 -e 43.bck
dmaud 50 -e 50.bck
dmaud 52 -e 52.bck
dmaud 60 -e 60.bck
pkzip dmbackup.zip *.bck
del *.bck
echo Copying the new sounds to the DOOM.WAD file... (Please wait!)
pkunzip dmsndnw.zip
dmaud 01 -s 01.wav -x
dmaud 12 -s 12.wav -x
dmaud 13 -s 13.wav -x
dmaud 14 -s 14.wav -x
dmaud 15 -s 15.wav -x
dmaud 36 -s 36.wav -x
dmaud 43 -s 43.wav -x
dmaud 50 -s 50.wav -x
dmaud 52 -s 52.wav -x
dmaud 60 -s 60.wav -x
del *.wav
echo
cls
echo.
Echo All set, type dmreset.bat if you wish to restore your previous sounds.
echo //=-Rogue-=\\, -=Distortion/Atomic=- Sysop of The Kiss of DEATH
echo.
pause
goto end
:error
echo Aborting....
echo.
:end