home *** CD-ROM | disk | FTP | other *** search
/ DeathMatch 2 for Doom 2 / Deathmatch2.bin / other / tlr_inst.bat < prev    next >
DOS Batch File  |  1994-12-10  |  2KB  |  74 lines

  1. @ECHO OFF
  2. CLS
  3.  
  4. REM Check to see if the proper files exist
  5.  
  6. IF NOT EXIST DMADDS11.EXE GOTO error1
  7. IF NOT EXIST RESORT0.WAD GOTO error1
  8. IF NOT EXIST DOOM2.WAD GOTO error2
  9.  
  10. ECHO Installing THE LAST RESORT DEATHMATCH EPISODE.
  11. ECHO.
  12. ECHO This install program will run DMADDS11.EXE to create RESORT.WAD, which 
  13. ECHO contains the new sprite graphics. This will NOT modify your DOOM2.WAD. 
  14. ECHO RESORT.WAD will be about 3.8 megabytes in size, so make sure you have 
  15. ECHO the free disk space before continuing.
  16. ECHO.
  17. ECHO WARNING: This will only work for Doom II
  18. ECHO.
  19. CHOICE /c:yn /n Continue? 
  20. If errorlevel 2 GOTO end
  21.  
  22. IF EXIST RESORT.WAD GOTO error3
  23.  
  24. :part2
  25. dmadds11 RESORT0.WAD RESORT.WAD
  26. CLS
  27. ECHO.
  28. ECHO DMADDS11 operation complete. You should now have a new sprite wad called
  29. ECHO RESORT.WAD. You may also delete RESORT0.WAD to save disk space. For more
  30. ECHO information on playing TLR, please refer to the file TLR_INFO.TXT
  31. ECHO.
  32. ECHO To play right this minute (but, alas, not in Deathmatch), type:
  33. ECHO.
  34. ECHO doom2 -file last.wad resort.wad
  35. ECHO.
  36. goto end
  37.  
  38. :error1
  39. ECHO.
  40. ECHO ERROR: Install file not found.
  41. ECHO.
  42. ECHO        One or more of the install files needed to install TLR
  43. ECHO        Could not be found. Please make sure both DMADDS11.EXE and
  44. ECHO        RESORT0.WAD are in the same directory as your DOOM2.WAD.
  45. ECHO.
  46. goto errend
  47.  
  48. :error2
  49. ECHO.
  50. ECHO ERROR: DOOM2.WAD not found.
  51. ECHO.
  52. ECHO        I could not find your DOOM2.WAD. Please make sure the
  53. ECHO        files DMADDS11.EXE, RESORT0.WAD and TLR_INST.BAT are in
  54. ECHO        the same directory as your DOOM2.WAD
  55. goto errend
  56.  
  57. :error3
  58. ECHO.
  59. ECHO Um, you already have RESORT.WAD created in your DOOM2 directory.
  60. ECHO I will need to delete it before I continue.
  61. ECHO.
  62. CHOICE /c:yn /n Shall I delete it?
  63. If errorlevel 2 GOTO errend
  64. del RESORT.WAD
  65. GOTO part2
  66.  
  67. :errend
  68. ECHO.
  69. ECHO TLR installation aborted.
  70. ECHO.
  71. goto end
  72.  
  73. :end
  74.