@echo off
echo Making a backup of the old trooper graphics
echo in the directory \oldtroop...
MD oldtroop
dmgraph possA1 -e oldtroop\possa1.gif
dmgraph possA2A8  -e oldtroop\possa2a8.gif
dmgraph possA3A7  -e oldtroop\possa3a7.gif
dmgraph possA4A6  -e oldtroop\possa4a6.gif
dmgraph possA5    -e oldtroop\possa5.gif
dmgraph possB1    -e oldtroop\possb1.gif
dmgraph possB2B8  -e oldtroop\possb2b8.gif
dmgraph possB3B7  -e oldtroop\possb3b7.gif
dmgraph possB4B6  -e oldtroop\possb4b6.gif
dmgraph possB5    -e oldtroop\possb5.gif
dmgraph possC1    -e oldtroop\possc1.gif
dmgraph possC2C8  -e oldtroop\possc2c8.gif
dmgraph possC3C7  -e oldtroop\possc3c7.gif
dmgraph possC4C6  -e oldtroop\possc4c6.gif
dmgraph possC5    -e oldtroop\possc5.gif
dmgraph possD1    -e oldtroop\possd1.gif
dmgraph possD2D8  -e oldtroop\possd2d8.gif
dmgraph possD3D7  -e oldtroop\possd3d7.gif
dmgraph possD4D6  -e oldtroop\possd4d6.gif
dmgraph possD5    -e oldtroop\possd5.gif
dmgraph possE1    -e oldtroop\posse1.gif
dmgraph possE2E8  -e oldtroop\posse2e8.gif
dmgraph possE3E7  -e oldtroop\posse3e7.gif
dmgraph possE4E6  -e oldtroop\posse4e6.gif
dmgraph possE5    -e oldtroop\posse5.gif
dmgraph possF1    -e oldtroop\possf1.gif
dmgraph possF2F8  -e oldtroop\possf2f8.gif
dmgraph possF3F7  -e oldtroop\possf3f7.gif
dmgraph possF4F6  -e oldtroop\possf4f6.gif
dmgraph possF5    -e oldtroop\possf5.gif
dmgraph possG1    -e oldtroop\possg1.gif
dmgraph possG2G8  -e oldtroop\possg2g8.gif
dmgraph possG3G7  -e oldtroop\possg3g7.gif
dmgraph possG4G6  -e oldtroop\possg4g6.gif
dmgraph possG5    -e oldtroop\possg5.gif
dmgraph possH0    -e oldtroop\possh0.gif
dmgraph possI0    -e oldtroop\possi0.gif
dmgraph possJ0    -e oldtroop\possj0.gif
dmgraph possK0    -e oldtroop\possk0.gif
dmgraph possL0    -e oldtroop\possl0.gif
dmgraph possM0    -e oldtroop\possm0.gif
dmgraph possN0    -e oldtroop\possn0.gif
dmgraph possO0    -e oldtroop\posso0.gif
dmgraph possP0    -e oldtroop\possp0.gif
dmgraph possQ0    -e oldtroop\possq0.gif
dmgraph possR0    -e oldtroop\possr0.gif
dmgraph possS0    -e oldtroop\posss0.gif
dmgraph possT0    -e oldtroop\posst0.gif
dmgraph possU0    -e oldtroop\possu0.gif
echo backing up old sounds...
dmaud 29 -e oldtroop\termin.wav
dmaud 20 -e oldtroop\obey.wav
dmaud 21 -e oldtroop\obey2.wav
echo Replacing bad guys with Dalmeks... 
dmgraph possA1 -s adal0000.gif
dmgraph possA2A8  -s adal0001.gif
dmgraph possA3A7  -s adal0002.gif
dmgraph possA4A6  -s adal0003.gif
dmgraph possA5    -s adal0004.gif
dmgraph possB1    -s bdal0000.gif
dmgraph possB2B8  -s bdal0001.gif
dmgraph possB3B7  -s bdal0002.gif
dmgraph possB4B6  -s bdal0003.gif
dmgraph possB5    -s bdal0004.gif
dmgraph possC1    -s cdal0000.gif
dmgraph possC2C8  -s cdal0001.gif
dmgraph possC3C7  -s cdal0002.gif
dmgraph possC4C6  -s cdal0003.gif
dmgraph possC5    -s cdal0004.gif
dmgraph possD1    -s ddal0000.gif
dmgraph possD2D8  -s ddal0001.gif
dmgraph possD3D7  -s ddal0002.gif
dmgraph possD4D6  -s ddal0003.gif
dmgraph possD5    -s ddal0004.gif
dmgraph possE1    -s edal0000.gif
dmgraph possE2E8  -s edal0001.gif
dmgraph possE3E7  -s edal0002.gif
dmgraph possE4E6  -s edal0003.gif
dmgraph possE5    -s edal0004.gif
dmgraph possF1    -s fdal0000.gif
dmgraph possF2F8  -s fdal0001.gif
dmgraph possF3F7  -s fdal0002.gif
dmgraph possF4F6  -s fdal0003.gif
dmgraph possF5    -s fdal0004.gif
dmgraph possG1    -s gdal0000.gif
dmgraph possG2G8  -s gdal0001.gif
dmgraph possG3G7  -s gdal0002.gif
dmgraph possG4G6  -s gdal0003.gif
dmgraph possG5    -s gdal0004.gif
dmgraph possH0    -s hdal0000.gif
dmgraph possI0    -s idal0000.gif
dmgraph possJ0    -s jdal0000.gif
dmgraph possK0    -s kdal0000.gif
dmgraph possL0    -s ldal0000.gif
dmgraph possM0    -s blam0000.gif
dmgraph possN0    -s blam0001.gif
dmgraph possO0    -s blam0002.gif
dmgraph possP0    -s blam0003.gif
dmgraph possQ0    -s blam0004.gif
dmgraph possR0    -s blam0005.gif
dmgraph possS0    -s blam0006.gif
dmgraph possT0    -s blam0007.gif
dmgraph possU0    -s blam0008.gif
echo Replacing sounds...     
dmaud 29 -s extermin.wav -q -x
dmaud 20 -s iobey.wav -q -x
dmaud 21 -s iobey.wav -q -x
echo To use, simply start up Doom and all the troopers
echo will be daleks from Dr. Who!
