

	You want to have a quick overview of some of the capacities
	of DeuTex before deciding if it's worth the trouble?

	This file is for you:
	 it will list the contents of TRINITY.WAD (with identification)
	 it will decompose and then recompose TRINITY.WAD.
	 And this in only 3 trivial DeuTex commands.




Requirements:
- You must have TRINITY.WAD, the great PWAD by Steve McCrea. 
	(available on infant2.sphs.edu as TRINITY2.ZIP)
- Doom must be in the \DOOM directory
	(\DOOM2 could work too)
- TRINITY.WAD must be in the current directory.
- You must have *some* room left on your disk :-)
- You must be running DOS 5.0 or higher.
- You must NOT reuse contents of TRINITY.WAd without crediting
  Steven McCrea.
 

	
	 

Explanations:


Look into demo.bat, and search for the string ***DeuTex***
 

Listing the directory:
----------------------

	rem ***DeuTex***
	deutex  -doom \doom     -wadir TRINITY.WAD
		^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^
 (a)---> this tells DeuTex that DOOM.WAD and DOOM.EXE are in
	the \DOOM directory. OPTIONNAL.
 (b)--->this tell DeuTex to list the directory of TRINITY.WAD
	reporting the entry types. Types *could* be wrong, but
	not with Trinity.


Decomposing TRINITY.WAD:
------------------------

	rem ***DeuTex***
	deutex  -doom \DOOM    -dir .    -xtract TRINITY.WAD
		^^^^^^^^^^^    ^^^^^^	 ^^^^^^^^^^^^^^^^^^^
		    (a)		 (b)		 (c)

 (a)---> same as before
 (b)---> this tells DeuTex that it must store the result in
	the directory '.' (which is the current directory)
	You could skip (b), because '.' is the default,
	or you could specify another directory, like -dir TEST	
 (c)---> this tells DeuTex to search for entries in TRINITY.WAD 
	

Recomposing TRINITY.WAD as TRINIDAD.WAD:
----------------------------------------

	rem ***DeuTex****
	deutex  -doom \doom   -dir .   -makep WADINFO.TXT TRINIDAD.WAD
		^^^^^^^^^^^   ^^^^^^   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		    (a)		(b)		(c)		(d)

 (a)---> same as before
 (b)---> same as before
 (c)---> this tells DeuTex to create a new PWAD, from the creation
	directives contained in WADINFO.TXT
 (d)---> this is the name of the created PWAD




Customising TRINITY.WAD:
------------------------



   You can edit WADINFO.TXT, the format is pretty simple to guess.
   (see format.txt for a precise definition of this format)

   - put what you want on a line after the #, because # means 'comments'
   - don't touch to lines with  Begin: or  End:   (they are delimiters)
   - the lines between Begin: and End: describe a section.

	Begin: SOUNDS
     	D_E1M1
	End: SOUNDS

	This tell DeuTex to go into the SOUNDS subdirectory and get
	there a file called D_E1M1.MUS, which is the music of TRINITY.WAD.

	You might wish to delete this D_E1M1 if your souncard crashes
	while playing trinity.

	You could add your own music, for Episode 1 Mission 2 by editing:

	Begin: SOUNDS
	D_E1M1
	D_E1M2
	End: SOUNDS

	Of course the file D_E1M2.MUS must exist... you can generate it
	from D_E1M2.MID (MIDI format) by using MIDI2MUS.



BEWARE: DeuTex is NOT fool proof yet. It should not crash your computer,
but the generated PWAD may crash DOOM if you make mistakes. I'm very 
sorry for this, but I have more urgent optimisations to do than
foolproofing. However, the PWAD generated here should not crash DOOM,
if you use the real TRINITY.WAD as a basis.
