home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deathday Collection
/
dday.bin
/
others
/
sounds
/
dmwierd
/
inst.bat
< prev
next >
Wrap
DOS Batch File
|
1994-01-16
|
5KB
|
182 lines
@echo off
if "%2"=="y" ren doom1.wad doom.wad
if not exist doom.wad goto error1
if not exist dmaud.exe goto error2
if not exist %1\sound12.raw goto extract
goto insert
:extract
echo extracting original sounds ... (Please wait!)
dmaud 1 -q -e %1\sound1.raw
dmaud 2 -q -e %1\sound2.raw
dmaud 3 -q -e %1\sound3.raw
dmaud 4 -q -e %1\sound4.raw
dmaud 5 -q -e %1\sound5.raw
dmaud 6 -q -e %1\sound6.raw
dmaud 7 -q -e %1\sound7.raw
dmaud 8 -q -e %1\sound8.raw
dmaud 9 -q -e %1\sound9.raw
dmaud 10 -q -e %1\sound10.raw
dmaud 11 -q -e %1\sound11.raw
dmaud 12 -q -e %1\sound12.raw
dmaud 13 -q -e %1\sound13.raw
dmaud 14 -q -e %1\sound14.raw
dmaud 15 -q -e %1\sound15.raw
dmaud 16 -q -e %1\sound16.raw
dmaud 17 -q -e %1\sound17.raw
dmaud 18 -q -e %1\sound18.raw
dmaud 19 -q -e %1\sound19.raw
dmaud 20 -q -e %1\sound20.raw
dmaud 21 -q -e %1\sound21.raw
dmaud 22 -q -e %1\sound22.raw
dmaud 23 -q -e %1\sound23.raw
dmaud 24 -q -e %1\sound24.raw
dmaud 25 -q -e %1\sound25.raw
dmaud 26 -q -e %1\sound26.raw
dmaud 27 -q -e %1\sound27.raw
dmaud 28 -q -e %1\sound28.raw
dmaud 29 -q -e %1\sound29.raw
dmaud 30 -q -e %1\sound30.raw
dmaud 31 -q -e %1\sound31.raw
dmaud 32 -q -e %1\sound32.raw
dmaud 33 -q -e %1\sound33.raw
dmaud 34 -q -e %1\sound34.raw
dmaud 35 -q -e %1\sound35.raw
dmaud 36 -q -e %1\sound36.raw
dmaud 37 -q -e %1\sound37.raw
dmaud 38 -q -e %1\sound38.raw
dmaud 39 -q -e %1\sound39.raw
dmaud 40 -q -e %1\sound40.raw
dmaud 41 -q -e %1\sound41.raw
dmaud 42 -q -e %1\sound42.raw
dmaud 43 -q -e %1\sound43.raw
dmaud 44 -q -e %1\sound44.raw
dmaud 45 -q -e %1\sound45.raw
dmaud 46 -q -e %1\sound46.raw
dmaud 47 -q -e %1\sound47.raw
dmaud 48 -q -e %1\sound48.raw
dmaud 49 -q -e %1\sound49.raw
dmaud 50 -q -e %1\sound50.raw
dmaud 51 -q -e %1\sound51.raw
dmaud 52 -q -e %1\sound52.raw
dmaud 53 -q -e %1\sound53.raw
dmaud 54 -q -e %1\sound54.raw
dmaud 55 -q -e %1\sound55.raw
dmaud 56 -q -e %1\sound56.raw
dmaud 57 -q -e %1\sound57.raw
dmaud 58 -q -e %1\sound58.raw
dmaud 59 -q -e %1\sound59.raw
dmaud 60 -q -e %1\sound60.raw
dmaud 61 -q -e %1\sound61.raw
:insert
echo Replacing Sound #8
dmaud 8 -q -s %1\fire.wav
echo Replacing Sound #9
dmaud 9 -q -s %1\bill-ted.wav
echo Replacing Sound #11
dmaud 11 -q -s %1\explo.wav
echo Replacing Sound #14
dmaud 14 -q -s %1\presto.wav
echo Replacing Sound #19
dmaud 19 -q -s %1\holyshit.wav
echo Replacing Sound #20
dmaud 20 -q -s %1\barney3.wav
echo Replacing Sound #21
dmaud 21 -q -s %1\butthead.wav
echo Replacing Sound #23
dmaud 23 -q -s %1\ni.wav
echo Replacing Sound #24
dmaud 24 -q -s %1\groovy.wav
echo Replacing Sound #26
dmaud 26 -q -s %1\barney1.wav
echo Replacing Sound #27
dmaud 27 -q -s %1\meepmeep.wav
echo Replacing Sound #28
dmaud 28 -q -s %1\woos.wav
echo Replacing Sound #29
dmaud 29 -q -s %1\barney8.wav
echo Replacing Sound #30
dmaud 30 -q -s %1\bum.wav
echo Replacing Sound #31
dmaud 31 -q -s %1\you-sick.wav
echo Replacing Sound #32
dmaud 32 -q -s %1\barney2.wav
echo Replacing Sound #33
dmaud 33 -q -s %1\doc.wav
echo Replacing Sound #34
dmaud 34 -q -s %1\barney5.wav
echo Replacing Sound #35
dmaud 35 -q -s %1\barney7.wav
echo Replacing Sound #36
dmaud 36 -q -s %1\death.wav
echo Replacing Sound #37
dmaud 37 -q -s %1\fya.wav
echo Replacing Sound #38
dmaud 38 -q -s %1\asswipe.wav
echo Replacing Sound #39
dmaud 39 -q -s %1\sucks.wav
echo Replacing Sound #40
dmaud 40 -q -s %1\fartnock.wav
echo Replacing Sound #41
dmaud 41 -q -s %1\joy.wav
echo Replacing Sound #42
dmaud 42 -q -s %1\dumbass.wav
echo Replacing Sound #43
dmaud 43 -q -s %1\fool.wav
echo Replacing Sound #44
dmaud 44 -q -s %1\beavis.wav
echo Replacing Sound #45
dmaud 45 -q -s %1\b&b.wav
echo Replacing Sound #46
dmaud 46 -q -s %1\barney3.wav
echo Replacing Sound #48
dmaud 48 -q -s %1\explo.wav
echo Replacing Sound #52
dmaud 52 -q -s %1\wizz.wav
echo Replacing Sound #53
dmaud 53 -q -s %1\wise.wav
echo Replacing Sound #55
dmaud 55 -q -s %1\choad.wav
echo Replacing Sound #56
dmaud 56 -q -s %1\barney6.wav
echo Replacing Sound #58
dmaud 58 -q -s %1\nolike.wav
echo Replacing Sound #59
dmaud 59 -q -s %1\toads.wav
if "%2"=="y" ren doom.wad doom1.wad
echo .
echo Installation complete :-)
echo The original sounds have been extracted to files called SOUND#.raw
echo where # is the sound number in the .WAD file.
echo .
echo To reinstall the original sounds run the DEINST.BAT program
echo .
echo If you use high res 256 color pictures for Windows wallpaper then
echo check out the file doom_bmp.zip at ftp.uwp.edu
echo I have taken 30 screen shots from the registered version and, using
echo Graphics Workshop for Windows, converted them to 640x480 BMP files.
echo .
goto end
:error1
echo .
echo You must already have DOOM for this to work! You either
echo .
echo a) Forgot to copy the batch files to the DOOM directory
echo b) Don't know what you are doing - see dmwierd.txt
echo .
goto end
:error2
echo .
echo Since you are using sound files you must have DMAUD.EXE first !
echo It can be found by anonymous ftp at
echo .
echo ftp.uwp.edu in /pub/msdos/games/id/home-brew/doom
echo .
goto end
:end