home *** CD-ROM | disk | FTP | other *** search
/ Doom I/II Collection / DM12.ISO / edit / dmtex09b / detex.txt < prev    next >
Text File  |  1994-07-22  |  2KB  |  52 lines

  1. -= DooMtex 0.9b =-
  2. DooMtex is a suite of banged together tools for adding NEW patches
  3. and textures to DooM in PWAD form. WadTool 1.0 and DMGraph 1.1 are
  4. required, hence patches begin in GIF format. The PNAMES and TEXTURE1
  5. resources are extracted and converted to text files for editing.
  6. New textures can thus consist of any number of new and old patches.
  7. DMGraph is used to make the patch LMPs and then all LMPs are
  8. bundled together into a new PWAD, ready for use in DooM and DEU!
  9. Unzip in DooM directory with -d option.
  10. by Steve McCrea - sm@eng.cam.ac.uk - 21st July 1994
  11.  
  12. Setting up:
  13. Copy dmgraph.exe into the DooMtex directory and either change all
  14. occurrences of "doom.wad" in the .exe to "fake.wad" or rename fake.exe
  15. to doom.wad. Careful here! Don't confuse this and the real thing!
  16.  
  17. Use:
  18. (1) Use WadTool to extract TEXTURE1 as texture1.lmp and PNAMES as
  19.     pnames.lmp. Then run Detex to produce a textures.txt file.
  20.     detex pnames.lmp texture1.lmp > textures.txt
  21. (2) Edit the textures.txt file: for each new patch, add a
  22.     corresponding entry at the bottom of the PATCHES section; and
  23.     for each new texture, add a texture entry anywhere in the
  24.     TEXTURES section. Texture entries are
  25.         texname 0 0 width height 0 0 numpats
  26.         xoff yoff patnum patname 1 0
  27.         ...
  28.     To recreate texture1.lmp and pnames.lmp, run Retex.
  29.     retex textures.txt pnames.lmp texture1.lmp
  30. (3) For each new patch, given a GIF "pgore.gif"
  31.     doomtex patch pgore
  32.     will produce a patch LMP "pgore.lmp".
  33.     Doomtex can also produce pictures, sprites and flats as LMPs.
  34. (4) To collect all LMPs into a new WAD "scuz.wad", make sure that all
  35.     the .lmp files you want are in the directory, and type
  36.         lmp2wad scuz *
  37. (5) DEU 5.x has problems with WADs created in this way. This is a "bug"
  38.     in the patch drawing routine in DEU (see the source file
  39.     textures.c). To use the WAD in DEU it needs some space at the end
  40.     of the patches. (The main DooM WAD has all the flats after the
  41.     patches.) To add space using DEBUG:
  42.     debug scuz.wad
  43.     r bx
  44.     [enter a number one higher, e.g. it says 0001: and you say 2]
  45.     w
  46.     q
  47.     will add 64k to the end of the scuz.wad.
  48. (6) Do what you will with the new WAD! Once you have finished with
  49.     DEU, don't forget to remove the 64k of space:
  50.         debug scuz.wad; r bx; [one lower]; w; q
  51.  
  52. Thanks to Elias Papavassilopoulos - ep104@cus.cam.ac.uk for specs.