Doom WAD File Manipulator  Ver 1.03
AKA WadMan
by Carl W. Moore


Disclaimer:
	This program is supplied as-is.  The author assumes no respon-
sibility for trashed drives, etc.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!CAUTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

	Use at your own risk.
	Use common sense when building new PWADs.
	Without knowing the contents of items you're building into new
PWADs, you can quickly create massive PWADs the size of the primary IWADs
or even larger!
	This program also does not give a damn about the name of the output
PWAD file either, so beware of overwriting something you really care about.


	Some knowledge of the contents of IWADs and PWADs IS required to use
this program.  To get some info on this, check out the DMSPEC13 file, which
I've seen on many local BBS's (my own included).



Introduction:   (What is this Thing?)

	Have you been just dying to use your chicken shooting rocket launcher
with DOOM2? How about the She-Devils? How about any one of the fabulous gfx
and sound patches that many people have been making for DOOM 1,2 and 1.6?
Now you can! Without even damaging your original DOOM2.WAD!

	The WadMan is a DOOM PWAD utility that allows you to create and modify
PWADs for ALL versions of DOOM to date, including DOOM2.



Features:

	Primarily this program allows you to cut and paste resources out of many
PWADs and IWADs, rename them if you want to, and group them together into one
PWAD.

	Allows you to use all sprite patches made for DOOM 1.2 and 1.6 with
	DOOM 2.
	(Please see the example section on sprites for instructions).

	Provides a simple way to convert all Level PWADs made in DOOM 1.2, 1.6
format (ExMx) to DOOM2 format (MAPxx).  Note: A DOOM1 texture PWAD is required
in order to use any PWADs converted to DOOM2 from 1.2 or 1.6.




Instructions:

	Basic Interface:

		The WadMan window consists of two listers and a set of buttons
	that control everything the WadMan does.

		The leftmost lister displays the contents of the currently
	loaded PWAD or IWAD. This Input WAD list.
		The rightmost lister displays the items you have selected from
	the left lister, that will be put into the final destination PWAD. This
	is the Output WAD list.


		Buttons:

	Open Input Wad File:
			This brings up a file requester for you to selects WADs
			to load in the LEFT lister.

	Select All:  	Use this button to automatically highlight all resource
			entries in the LEFT lister.

	De-Select ALL:  Use this button to un-highlight all resource entries in
			the LEFT lister.

	Find Entry:	This button will allow you to scan through the LEFT
			lister to quickly find an entry you're looking for.
			Comes in handy when scanning through the big IWADs.

	Select Range:	Allows you to highlight all entries between certain
			resources.
			Example: Suppose you want to highlight all the Sprites.

				You're select range would be:
					S_START
					S_END

			This will highlight all the entries from S_START to
			S_END including S_START and S_END.

	Transfer:	Use this button to move all your highlighted entries in
			the LEFT lister over to the RIGHT lister.
			When an item is transfered, it will appear as the name
			and it will show the path and WAD name of the file it
			will be read from. This allows you to see what files
			all the entries will be coming from.

			Note:
				Any duplicate entries in the RIGHT lister will
			be overwritten.

			Example:
				Suppose you have the E1M1-E1M9 from DOOM.WAD in
			the right lister.  You load up one of your favorite
			PWADs that contains E1M4 (MINE.WAD).  You transfer E1M4
			from the LEFT to the RIGHT.  Now E1M1-E1M3 will read
			DOOM.WAD, E1M4 will read MINE.WAD, and E1M5-E1-M9 will
			read DOOM.WAD.

			When you go to build your new PWAD, E1M1-E1M3 , and
			E1M5-E1M9 will be read from DOOM.WAD and E1M4 will be
			taken from MINE.WAD.

	ReMap:		This button works on the selected entries in the RIGHT
			lister.
			This allows you to quickly make MAPxx levels for DOOM2
			from ExMx levels from DOOM 1.2 or 1.6.
			Note:
				This function doesn't care if the entries you
			have selected are episodes or not!!!  Make sure they
			are.

	Rename:		This button simply allows you to manually rename any
			entry in the RIGHT lister. You could use this button
			to change E1M1-E1M9 to MAP01-MAP09 one at a time
			(Of course the ReMap button does this specific function
			for you automatically).  Entry names are restricted to
			8 characters, any more will be clipped.

	Clear:		Use this button to reset the contents of the RIGHT list
			in case you want to start a new PWAD.

	Output Wad Name:
			This is a text entry that requires a valid path and
			name for your new output PWAD.  Please put your own
			extension on this.

			Example:
				D:\GAMES\DOOM2\CRINGE.WAD

			Make sure this output wad name does NOT overwrite
			another PWAD or IWAD unless you specifically want it
			to.


	Build:		This is the heart of the WadMan.
			This button will begin the process of extracting the
			entries from all the input WADs you specified and
			transferred to the RIGHT list, and storing them into a
			PWAD file named in the Output Wad Name.
			This process could take a while, depending on how many
			entries need to be built into the PWAD.




Some Specific Examples Follow.

	Example 1:  You want to use your She-Devil patch with DOOM2.

		If you've already patched your DOOM 1.2 wad with the She-Devs,
	then this is really easy.

	(1) - Run WadMan, (duh).
	(2) - Select Open Input Wad File and open your DOOM2.WAD (yes, the big
		15 meg+ wad file).
	(3) - After a few seconds you'll see the whole WAD entry set for DOOM2
		in you're LEFT lister.
	(4) - Hit the Select Range button and select S_START through S_END
		All entries from S_START to S_END will be highlighted now.
	(5) - Now hit the Transfer button.
		S_START to S_END should now all appear in the RIGHT list.
	(6) - Select Open Input Wad File and open up your DOOM.WAD file that
		has the She-Dev patch in it.
		This should look very similar to the DOOM2.WAD list.
	(7) - Use the Find Entry button to search for SARG
	(8) - Now select ALL of the SARGxxxx entries in the LEFT list. There's
		a bunch of them. These entries contain the gfx for the what is
		normally the pink demons. But should be She-Devils if you've
		had the WAD patched.
	(9) - Now hit Transfer again.
		If you browse through your RIGHT list now, you should see that
		every entry in the list except for the SARG entries are going
		to come out of DOOM2.WAD and all the SARG stuff is going to
		come out of DOOM.WAD.
	(10) - Now type in a file name in the Output Wad File field.
		Something like C:\DOOM2\D2GFX.WAD.

		Note:
			This new PWAD containing all the sprites from DOOM2 is
		going to be about 4.5 meg, so be sure you have the disk space
		for it!

	(11) - Hit Build.  After a few seconds or a few minutes, depending on
		your system, you'll have a new PWAD called D2GFX.WAD.
		Use this WAD like any other PWAD, "-file D2GFX.WAD".



	Example 2 : You want to convert one of your favorite DOOM 1.2 or 1.6
		PWADs to DOOM 2.

		Note:
			To use any DOOM 1.2 or 1.6 PWAD with DOOM 2, you need
		to use the DOOM1-2.WAD texture set with the new levels.
			These textures are found in a file called DOOM1-2.ZIP
		And can be obtained on most BBSs that alot of DOOM WADs and
		utils, mine included.

		(1) - Once again, run WadMan.
		(2) - Select Open Input Wad File and load up the WAD that
			contains the levels you want to convert to DOOM 2.
		(3) - Select the entries in the LEFT window and Transfer them
			to the RIGHT.

			Example:
			Your PWAD contains E1M1-E1M9.
			Drag-Select these entries and Transfer them to the
			RIGHT side.

		(4) - Now drag-select these entries in the RIGHT window.
		(5) - Hit the ReMap button to do a quick rename starting at the
			number you specify, or use Rename to manually change
			each one, if you don't want them consecutively re-
			numbered.
		(6) - Now, if you want, you can include the textures PWAD I
			mentioned above in the final DOOM2 PWAD, just by
			loading the DOOM1-2.WAD file into WadMan, select all
			the entries and transfer them over to the RIGHT list.

			If you don't do this, then you'll have to include that
			PWAD (DOOM1-2.WAD), on your DOOM2 command line.  But it
			will save you disk space, if you have a bunch of WADs
			you want to convert to DOOM2.
		(7) - Follow steps 10 and 11 from above to complete your new
			PWAD.




	The possible uses for WadMan are infinite. These are just a few. Use
your imagination. But be careful. Remember, WadMan doesn't care about what it
overwrites, so pay attention to all your Input and Output PWADs.


	Any ideas, flames, etc., can be directed to me.

	Carl W. Moore
	Sysop: The Cutting Edge BBS  (505)-479-4064