===========================================================================
Advanced engine needed  : None (Vanilla Doom)
Primary purpose         : Single play
===========================================================================
Title                   : The Ultimate WAD.BAT
Filename                : wad.bat
Author                  : Simon Howard
Author web site         : http://www.soulsphere.org/
Email Address           : [email protected]
Other Files By Author   : greenfish.wad

Description             : This is a batch file I wrote years ago to start
                         Doom.  Instead of tediously having to type
                         "doom2 -file foo.wad -warp 1" when testing a
                         file, you can just type "wad foo".  The batch
                         file is quite clever, though.  You can specify a
                         bunch of WADs on the command line, each with or
                         without the '.wad' extension.  You can also
                         specify extra command-line parameters.
                         "stuffbuf" is included, so that you don't
                         need to press enter at the "you are playing a
                         modified version of Doom" screen.

                         The original documentation is included below.

                         I wrote this years ago, before the Doom source
                         was even released.  Suffice to say I don't use
                         DOS any more :-)

Additional Credits to   : Author of Edmap, for stuffbuf.

===========================================================================

                     ** The ULTIMATE WAD.BAT v4 **

This latest version of the ULTIMATE WAD.BAT has many useful features:
       * Unlimited command line wads, each specified with or
         without the .wad extension.
       * Support for alternate wad directories, for those people who do
         not keep their wads in their doom directory.
       * /w WAD 'list' option: list all files with a .wad extension
       * STUFFBUF included, so you don't have to press enter every
         time you run Doom with a WAD: it 'pushes it for you'.
       * Add your own personal command line options easily.

** How to use WAD.BAT **

- The general format is:
       wad (wad filename)
 eg. Type "wad deca" to start doom with file "deca.wad"
     You could also type "wad deca.wad" to do exactly the same thing.

- You can specify as many wads as you like:
   eg. "wad deca.wad sf sf2.wad tbest" would load doom with
       "deca.wad", "sf.wad", "sf2.wad", and "tbest.wad"

- Doom command lines can be added to the end of the wad.bat command line:
   eg. "wad deca.wad -warp 4" would load "deca.wad" and warp to level 4.

- You can list the .wad files in your WAD directory by typing:
       wad /w
 You can also specify another directory eg. "wad /w c:\" would list
 all the .wad files in the "c:\" directory.

** Advanced configuration options **

You can modify wad.bat and put in your own personal options.

- Command line options. WAD.BAT by default passes "-warp 1" to doom every
 time you run it. To remove this, or add your own options:
       1. Load up wad.bat in MS-DOS Editor (type "edit wad.bat").
       2. Find the line beginning "set com_line=".
       3. Add your own options after the '=' sign, seperated by
          spaces.
       4. Save the file and exit.
    ** IMPORTANT ** If you remove all the options, you must leave an
                    empty space ' ' after the '=' sign. If you don't,
                    things will cack up.

- Using your own exe file. With the release of the Doom source code has
 come a flood of new doom .exe files. WAD.BAT by default uses doom2.exe,
 but you can change this:
       1. Load up wad.bat in MS-DOS Editor (type "edit wad.bat").
       2. Find the line beginning "set doom_exe=".
       3. Add the filename of the exe after the '=' sign, eg "doom3.exe".
       4. Save the file and exit.

- WAD directories. Some people keep their PWAD files in a seperate directory
 to their doom directory: eg, "c:\doom2\wads" rather than "c:\doom2".
 To set your wad directory:
       1. Load up wad.bat in MS-DOS Editor (type "edit wad.bat").
       2. Find the line beginning "set wad_dir=".
       3. Add the location of your wad directory after the '=' sign,
          eg, "set wad_dir=c:\doom2\wads".
       4. Save the file and exit.
    ** IMPORTANT ** If you decide to use your Doom directory to hold
                    WADs, the line MUST read "set wad_dir=."
                    (this is the default)

===========================================================================

* Copyright / Permissions *

You may do anything you like with these files.

* Where to get the file that this text file describes *

The Usual: ftp://archives.3dgamers.com/pub/idgames/ and mirrors