home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 9 / 1995-08_Disc_9.iso / patches / daed11.zip / PATCH.BAT < prev    next >
DOS Batch File  |  1995-05-05  |  1KB  |  70 lines

  1. @echo off
  2.  
  3. if not exist daedalus.ex_ goto errInstalled
  4. if not exist daedalus.exe goto errWrongDir
  5.  
  6. if not exist images\startup\daedclip.bmp goto errSetupMax
  7. if not exist images\startup\puzhlp.bmp goto errSetupMax
  8. if not exist sounds\startup.wav goto errSetupMax
  9.  
  10. echo Installing Daedalus Patch files ...
  11.  
  12. del daedalus.exe
  13. ren daedalus.ex_ daedalus.exe
  14. del mmengine.dll 
  15. ren mmengine.dl_ mmengine.dll
  16. del mmsound.dll 
  17. ren mmsound.dl_ mmsound.dll
  18.  
  19. attrib -r -h  *.nod
  20. del *.nod
  21. ren *.no_ *.nod
  22. attrib +r +h  *.nod
  23.  
  24. attrib -r -h images\startup\daedclip.bmp 
  25. attrib -r -h images\startup\puzhlp.bmp 
  26. attrib -r -h sounds\startup.wav 
  27.  
  28. copy daedclip.bm_ images\startup\daedclip.bmp > nul
  29. copy puzhlp.bm_   images\startup\puzhlp.bmp > nul
  30. copy startup.wa_  sounds\startup.wav > nul
  31.  
  32. attrib +r +h images\startup\daedclip.bmp 
  33. attrib +r +h images\startup\puzhlp.bmp 
  34. attrib +r +h sounds\startup.wav 
  35.  
  36. del puzhlp.bm_   
  37. del daedclip.bm_   
  38. del startup.wa_ 
  39.  
  40. attrib -r -h  *.txt
  41. del *.txt
  42. ren *.mm_ *.mmt
  43. attrib +r +h  *.mmt
  44.  
  45. echo.
  46. echo      ...finished.
  47. echo.
  48. goto end
  49.  
  50. :errInstalled
  51. echo.
  52. echo      This patch has already been installed.
  53. echo.
  54. goto end
  55.  
  56. :errWrongDir
  57. echo.
  58. echo      This patch must be run from the Daedalus directory.
  59. echo.
  60. goto end
  61.  
  62. :errSetupMax
  63. echo.
  64. echo       You need to run setupMax before installing this patch.
  65. echo     
  66. goto end
  67.  
  68.  
  69. :end
  70.