home *** CD-ROM | disk | FTP | other *** search
/ Toolkit for DOOM / DOOMTOOL.ISO / doomhack / another1.zip / FASTGUN.BAT < prev    next >
DOS Batch File  |  1994-07-14  |  1KB  |  59 lines

  1. @echo off
  2. echo.
  3. if !%1==!in set a=i
  4. if !%1==!In set a=i
  5. if !%1==!IN set a=1
  6. if !%1==!out set a=o
  7. if !%1==!Out set a=o
  8. if !%1==!OUT set a=o
  9. if !%a%==! goto help 
  10.  
  11. if NOT EXIST another1.deh goto missing
  12. if NOT EXIST original.deh goto missing
  13. if NOT EXIST doom.exe goto missing
  14. if NOT EXIST dehacked.exe goto missing
  15.  
  16. goto %a%
  17.  
  18. :i
  19. echo Installing the fast weapon patch....
  20. dehacked -load another1.deh >NULL
  21. echo ..Done!
  22. echo.
  23. echo.
  24. echo To uninstall, type :
  25. echo.
  26. echo    FASTGUN OUT
  27. goto end
  28.  
  29. :o
  30. echo Restoring original DOOM executable....
  31. dehacked -load original.deh >NULL
  32. echo ..Done!
  33. goto end
  34.  
  35. :help
  36. echo FASTGUN.BAT is quite simple.
  37. echo.
  38. echo To install the fast weapon patch, type this:
  39. echo    fastgun in
  40. echo.
  41. echo to remove it, type this:
  42. echo    fastgun out
  43. goto end
  44.  
  45. :missing
  46. echo !!WARNING!!
  47. echo Some or all of the files needed to patch and restore DOOM are missing.  
  48. ECHO Make sure the following files are in your DOOM directory:
  49. echo another1.deh
  50. echo original.deh
  51. echo dehacked.exe
  52. echo and your original doom.exe.
  53. echo.
  54. echo Cannot patch doom without these files! if you have lost them, go back to
  55. echo where you got them before and get 'em again.
  56.  
  57. :end
  58. echo.
  59.