home *** CD-ROM | disk | FTP | other *** search
/ The Complete Doom Accessory Pack 2 / TheCompleteDoomAccessoryPackVolumeII.iso / miscutil / doomfix / playdoom.bat < prev    next >
DOS Batch File  |  1994-03-12  |  4KB  |  93 lines

  1. echo off
  2. REM    Written/Analyzed by Wayne Sikes, K&W Computer Works.
  3. REM
  4. REM    This file is part of the DOOMEZ package.  It lets you play ANY
  5. REM    DOOM episode/mission with special powers and weapons YOU want by
  6. REM    performing the following functions. Note that this file runs DOOM in
  7. REM    single-player mode and no editing is done on modem players.  See the
  8. REM    readme.doc file for info on editing modem save files.
  9. REM        1)  DOOM is called and setup for running in developmental mode.
  10. REM            You must pass into this batch file the episode, mission, 
  11. REM            and skill level as command line parameters.  Episodes are
  12. REM            numbered 1-3, missions 1-9, and skill levels 1-5 for DOOM1.2
  13. REM            and 1-4 for DOOM1.1. These parms are passed into the first 
  14. REM             run of DOOM via the developmental -wart E M and -skill S 
  15. REM            command line switches. 
  16. REM            This will force DOOM to load your specified episode and 
  17. REM            mission and will also setup for the passed-in skill level. 
  18. REM            When DOOM finishes the initial game setup and you are given 
  19. REM            the play screen, SAVE THE MISSION (via the F2 key) IN THE 
  20. REM            TOP SAVE SLOT.  This will force the mission to be saved in 
  21. REM            file doomsav0.dsg.
  22. REM        2)  Control will be passed to the DOOMFIX routine.  DOOMFIX will
  23. REM             open the doomsav0.dsg file and will edit it using the 
  24. REM            DOOMFIX.CFG file commands.  See the readme.doc file that
  25. REM            came with the DOOMEZ package for more info on customizing
  26. REM            the DOOMFIX run. DOOMFIX can edit MANY save file parameters.
  27. REM            DOOMFIX will tell you the save file parameters that have
  28. REM            been changed.  When DOOMFIX is done, your doomsav0.dsg file
  29. REM            will have been edited and you are ready to play DOOM.  Note
  30. REM            that DOOMFIX.EXE and DOOMFIX.CFG MUST be in your \doomdata
  31. REM            area if you are playing DOOM version 1.1.  If playing DOOM
  32. REM            version 1.2, the DOOMFIX files must be in your \doom area.
  33. REM        3)  Lastly, DOOM will be called again, and the doomsav0.dsg file
  34. REM            will be passed to it via the developmental mode command line
  35. REM            switches.  Play DOOM normally from here on.  Notice that 
  36. REM            you have lots of extra ammunition, health, etc!  The only 
  37. REM            time you'll need to rerun this batch file is when you want
  38. REM            to begin a new episode/mission that is out-of-series with
  39. REM            the missions you've just been playing. 
  40. REM    
  41. REM    Because of the MANY save file setups for missions, the user is forced
  42. REM    to do this type of save file manipulation in order to play a custom
  43. REM    DOOM game while at the same time getting lots of neat extra goodies.
  44. REM    Of course, you can warp to any DOOM mission using the development modes,
  45. REM    and using the in-game cheat switches (iddqd, idbehold, etc.) you can get
  46. REM    special powers and ammo, but you still won't be able to make the
  47. REM    special changes required for getting the capability that DOOMFIX gives
  48. REM    you!
  49. REM
  50. REM
  51. echo     Custom DEVELOPMENTAL MODE setup for DOOM 
  52. if "%1" == "" goto USAGE
  53. if "%2" == "" goto USAGE
  54. if "%3" == "" goto USAGE
  55. cls
  56. cd \doom
  57. echo     Calling DOOM to setup episode, mission, skill level...
  58. echo     This initial DOOM run sets up the mission parameters. Let the game
  59. echo     load and then SAVE the setup without playing the game.  Save to
  60. echo     the TOP SAVE SLOT in the game!
  61. pause
  62. DOOM  -devparm -wart %1 %2  -skill %3
  63. cls
  64. echo     Ready for DOOMFIX editing on DOOMSAV0.DSG, abort here if needed...
  65. pause
  66. REM    #####################################################################
  67. REM    ##  Comment out the next line if you are playing DOOM 1.2.  Leave ###
  68. REM    ##  it active if playing DOOM 1.1. Add a REM statement to the line###
  69. REM    ##  beginning, i.e., REM cd \doomdata, to comment it out.      ###
  70. REM    #####################################################################
  71. cd \doomdata
  72. doomfix
  73. echo     Ready to run DOOM using DOOMSAV0.DSG, abort here if needed...
  74. pause
  75. cls
  76. cd \doom
  77. DOOM -devparm -loadgame 0
  78. cls
  79. echo    End custom DOOM run...
  80. goto EXIT
  81.  
  82. :USAGE
  83. cls
  84. echo    USAGE:     playdoom   episode[1-3]  mission[1-9]  skill[1-5 or 1-4] 
  85. echo    Enter command line arguments to specify the episode, mission, and
  86. echo    skill level you want.  For example, "playdoom 1 3 4" will run this
  87. echo    routine for episode 1, mission 3, and skill level 4.
  88. goto EXIT
  89.  
  90.  
  91. :EXIT
  92. REM    END OF PLAYDOOM.BAT        
  93.