@echo off
IF %1A == A GOTO NO
IF NOT EXIST %1\doom.wad GOTO NO
cls
echo.Now replacing the original DOOM grafix with Star-Wars grafix
echo.This process will take some minutes... The Syndicate (EOD) ...
echo.
move *.gif %1 > NUL
move dmgraph.exe %1 > NUL
move *.wad %1 > NUL
move Starwars.bat %1 > NUL
cd %1
dmgraph heade1 -s probee.gif -i 31,70
dmgraph heade2e8 -s probee.gif -i 31,70
dmgraph heade3e7 -s probee.gif -i 31,70
dmgraph heade4e6 -s probee.gif -i 31,70
dmgraph heade5 -s probee.gif -i 31,70
dmgraph headf1 -s probef.gif -i 31,70
dmgraph headf2f8 -s probef.gif -i 31,70
dmgraph headf3f7 -s probef.gif -i 31,70
dmgraph headf4f6 -s probef.gif -i 31,70
dmgraph headf5 -s probef.gif -i 31,70
dmgraph headg0 -s probeg.gif -i 31,70
dmgraph headh0 -s probeh.gif -i 31,70
dmgraph headl0 -s probel.gif -i 20,47 
dmgraph heada1 -s probe1.gif -i 31,70
dmgraph headb1 -s probe1.gif -i 31,70
dmgraph headc1 -s probe1.gif -i 31,70
dmgraph headd1 -s probe1.gif -i 31,70
dmgraph heada2a8 -s probe2.gif -i 31,70
dmgraph headb2b8 -s probe2.gif -i 31,70
dmgraph headc2c8 -s probe2.gif -i 31,70
dmgraph headd2d8 -s probe2.gif -i 31,70
dmgraph heada3a7 -s probe3.gif -i 31,70
dmgraph headb3b7 -s probe3.gif -i 31,70
dmgraph headc3c7 -s probe3.gif -i 31,70
dmgraph headd3d7 -s probe3.gif -i 31,70
dmgraph heada4a6 -s probe4.gif -i 31,70
dmgraph headb4b6 -s probe4.gif -i 31,70
dmgraph headc4c6 -s probe4.gif -i 31,70
dmgraph headd4d6 -s probe4.gif -i 31,70
dmgraph heada5 -s probe5.gif -i 31,70
dmgraph headb5 -s probe5.gif -i 31,70
dmgraph headc5 -s probe5.gif -i 31,70
dmgraph headd5 -s probe5.gif -i 31,70
dmgraph headi0 -s probei.gif -i 31,70
dmgraph headj0 -s probej.gif -i 31,70
dmgraph headk0 -s probek.gif -i 31,70
dmgraph bar1a0 -s r2a.gif -i 11,32
dmgraph bar1b0 -s r2b.gif -i 11,32
dmgraph bexpa0 -s r2ea.gif -i 11,32
dmgraph bexpb0 -s r2eb.gif -i 11,32
dmgraph bexpc0 -s bexc0.gif -i 19,32
dmgraph bexpd0 -s bexd0.gif -i 19,32
dmgraph m_skull1 -s rebel.gif -i 0,-1 
dmgraph m_skull2 -s rebel2.gif -i 0,-1 
dmgraph m_epi1 -s epi1.gif -i 0,0
dmgraph m_doom -s swm_dm.gif -i 0,0
dmgraph titlepic -s swtitle.gif -i 0,0
dmgraph sky1 -s stars.gif -i 127,123
dmgraph skula1 -s skul1a.gif -i 20,55
dmgraph skula5 -s skulb.gif -i 20,55
dmgraph skula6a4 -s skullc.gif -i 20,55 
dmgraph skula7a3 -s skulld.gif -i 20,55 
dmgraph skula8a2 -s skulle.gif -i 20,55 
dmgraph skulb1 -s skul1a.gif -i 20,55
dmgraph skulb5 -s skulb.gif -i 20,55
dmgraph skulb6b4 -s skullc.gif -i 20,55 
dmgraph skulb7b3 -s skulld.gif -i 20,55 
dmgraph skulb8b2 -s skulle.gif -i 20,55 
dmgraph skulc1 -s skul1a.gif -i 20,55
dmgraph skulc5 -s skulb.gif -i 20,55
dmgraph skulc6c4 -s skullc.gif -i 20,55 
dmgraph skulc7c3 -s skulld.gif -i 20,55 
dmgraph skulc8c2 -s skulle.gif -i 20,55 
dmgraph skuld1 -s skul1a.gif -i 20,55
dmgraph skuld5 -s skulb.gif -i 20,55
dmgraph skuld6d4 -s skullc.gif -i 20,55 
dmgraph skuld7d3 -s skulld.gif -i 20,55 
dmgraph skuld8d2 -s skulle.gif -i 20,55 
dmgraph skule1 -s skul1a.gif -i 20,55
dmgraph skule5 -s skulb.gif -i 20,55
dmgraph skule6e4 -s skullc.gif -i 20,55 
dmgraph skule7e3 -s skulld.gif -i 20,55 
dmgraph skule8e2 -s skulle.gif -i 20,55 
dmgraph skulf0 -s skulf0.gif -i 20,55
dmgraph skulg0 -s skulg0.gif -i 20,55
dmgraph skulh0 -s skulh0.gif -i 20,55
dmgraph sposa1 -s sposa1.gif
dmgraph sposa2a8 -s sposa2a8.gif
dmgraph sposa3a7 -s sposa3a7.gif
dmgraph sposa4a6 -s sposa4a6.gif
dmgraph sposa5 -s sposa5.gif
dmgraph sposb1 -s sposb1.gif
dmgraph sposb2b8 -s sposb2b8.gif
dmgraph sposb3b7 -s sposb3b7.gif
dmgraph sposb4b6 -s sposb4b6.gif
dmgraph sposb5 -s sposb5.gif
dmgraph sposc1 -s sposc1.gif
dmgraph sposc2c8 -s sposc2c8.gif
dmgraph sposc3c7 -s sposc3c7.gif
dmgraph sposc4c6 -s sposc4c6.gif
dmgraph sposc5 -s sposc5.gif
dmgraph sposd1 -s sposd1.gif
dmgraph sposd2d8 -s sposd2d8.gif
dmgraph sposd3d7 -s sposd3d7.gif
dmgraph sposd4d6 -s sposd4d6.gif
dmgraph sposd5 -s sposd5.gif
dmgraph spose1 -s spose1.gif
dmgraph spose2e8 -s spose2e8.gif
dmgraph spose3e7 -s spose3e7.gif
dmgraph spose4e6 -s spose4e6.gif
dmgraph spose5 -s spose5.gif
dmgraph sposf1 -s sposf1.gif
dmgraph sposf2f8 -s sposf2f8.gif
dmgraph sposf3f7 -s sposf3f7.gif
dmgraph sposf4f6 -s sposf4f6.gif
dmgraph sposf5 -s sposf5.gif
dmgraph sposg1 -s sposg1.gif
dmgraph sposg2g8 -s sposg2g8.gif
dmgraph sposg3g7 -s sposg3g7.gif
dmgraph sposg4g6 -s sposg4g6.gif
dmgraph sposg5 -s sposg5.gif
dmgraph sposh0 -s sposh0.gif
dmgraph sposi0 -s sposi0.gif
dmgraph sposj0 -s sposj0.gif
dmgraph sposk0 -s sposk0.gif
dmgraph sposl0 -s sposl0.gif
dmgraph sposm0 -s sposm0.gif
dmgraph sposn0 -s sposn0.gif
dmgraph sposo0 -s sposo0.gif
dmgraph sposp0 -s sposp0.gif
dmgraph sposq0 -s sposq0.gif
dmgraph sposr0 -s sposr0.gif
dmgraph sposs0 -s sposs0.gif
dmgraph spost0 -s spost0.gif
dmgraph sposu0 -s sposu0.gif
dmgraph tre1a0 -s pinetree.gif -i 25,99
dmgraph tre2a0 -s pinetrs.gif -i 40,160  
dmgraph bossa1 -s epgda1.gif 
dmgraph bossa2a8 -s epgda2a8.gif   
dmgraph bossa3a7 -s epgda3a7.gif   
dmgraph bossa4a6 -s epgda4a6.gif   
dmgraph bossa5 -s epgda5.gif   
dmgraph bossb1 -s epgdb1.gif   
dmgraph bossb2b8 -s epgdb2b8.gif   
dmgraph bossb3b7 -s epgdb3b7.gif   
dmgraph bossb4b6 -s epgdb4b6.gif   
dmgraph bossb5 -s epgdb5.gif   
dmgraph bossc1 -s epgdc1.gif   
dmgraph bossc2c8 -s epgdc2c8.gif   
dmgraph bossc3c7 -s epgdc3c7.gif   
dmgraph bossc4c6 -s epgdc4c6.gif   
dmgraph bossc5 -s epgdc5.gif   
dmgraph bossd1 -s epgdd1.gif   
dmgraph bossd2d8 -s epgdd2d8.gif   
dmgraph bossd3d7 -s epgdd3d7.gif   
dmgraph bossd4d6 -s epgdd4d6.gif   
dmgraph bossd5 -s epgdd5.gif   
dmgraph bosse1 -s epgde1.gif   
dmgraph bosse2 -s epgde2e8.gif   
dmgraph bosse3 -s epgde3e7.gif   
dmgraph bosse4 -s epgde4e6.gif   
dmgraph bosse5 -s epgde5.gif   
dmgraph bosse6 -s epgde7e3.gif   
dmgraph bosse7 -s epgde6e4.gif   
dmgraph bosse8 -s epgde8e2.gif   
dmgraph bossf1 -s epgdf1.gif   
dmgraph bossf2 -s epgdf2f8.gif   
dmgraph bossf3 -s epgdf3f7.gif   
dmgraph bossf4 -s epgde4e6.gif   
dmgraph bossf5 -s epgde5.gif   
dmgraph bossf6 -s epgdf7f3.gif   
dmgraph bossf7 -s epgde6e4.gif   
dmgraph bossf8 -s epgdf8f2.gif   
dmgraph bossg1 -s epgdg1.gif   
dmgraph bossg2 -s epgdg2g8.gif   
dmgraph bossg3 -s epgdg3g7.gif   
dmgraph bossg4 -s epgde4e6.gif   
dmgraph bossg5 -s epgde5.gif   
dmgraph bossg6 -s epgdg7g3.gif   
dmgraph bossg7 -s epgde6e4.gif   
dmgraph bossg8 -s epgdg8g2.gif   
dmgraph bossh1 -s epgde1.gif 
dmgraph bossh2 -s epgde2e8.gif  
dmgraph bossh3 -s epgde3e7.gif  
dmgraph bossh4 -s epgde4e6.gif  
dmgraph bossh5 -s epgde5.gif  
dmgraph bossh6 -s epgde8e2.gif  
dmgraph bossh7 -s epgde7e3.gif  
dmgraph bossh8 -s epgde6e4.gif  
dmgraph bossi0 -s epgdi.gif
dmgraph bossj0 -s epgdj.gif       
dmgraph bossk0 -s epgdk.gif       
dmgraph bossl0 -s epgdl.gif       
dmgraph bossm0 -s epgdm.gif       
dmgraph bossn0 -s epgdn.gif       
dmgraph bosso0 -s epgdo.gif
del *.gif
del dmgraph.exe
goto end

:NO
cls
echo. Error !!!                                                        
echo.
echo. Start [Drive and Directory of Your DOOM Game] (normal: start c:\doom)
:END
