home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deathday Collection
/
dday.bin
/
edit
/
dmtex09b
/
detex.txt
< prev
next >
Wrap
Text File
|
1994-07-22
|
2KB
|
52 lines
-= DooMtex 0.9b =-
DooMtex is a suite of banged together tools for adding NEW patches
and textures to DooM in PWAD form. WadTool 1.0 and DMGraph 1.1 are
required, hence patches begin in GIF format. The PNAMES and TEXTURE1
resources are extracted and converted to text files for editing.
New textures can thus consist of any number of new and old patches.
DMGraph is used to make the patch LMPs and then all LMPs are
bundled together into a new PWAD, ready for use in DooM and DEU!
Unzip in DooM directory with -d option.
by Steve McCrea - sm@eng.cam.ac.uk - 21st July 1994
Setting up:
Copy dmgraph.exe into the DooMtex directory and either change all
occurrences of "doom.wad" in the .exe to "fake.wad" or rename fake.exe
to doom.wad. Careful here! Don't confuse this and the real thing!
Use:
(1) Use WadTool to extract TEXTURE1 as texture1.lmp and PNAMES as
pnames.lmp. Then run Detex to produce a textures.txt file.
detex pnames.lmp texture1.lmp > textures.txt
(2) Edit the textures.txt file: for each new patch, add a
corresponding entry at the bottom of the PATCHES section; and
for each new texture, add a texture entry anywhere in the
TEXTURES section. Texture entries are
texname 0 0 width height 0 0 numpats
xoff yoff patnum patname 1 0
...
To recreate texture1.lmp and pnames.lmp, run Retex.
retex textures.txt pnames.lmp texture1.lmp
(3) For each new patch, given a GIF "pgore.gif"
doomtex patch pgore
will produce a patch LMP "pgore.lmp".
Doomtex can also produce pictures, sprites and flats as LMPs.
(4) To collect all LMPs into a new WAD "scuz.wad", make sure that all
the .lmp files you want are in the directory, and type
lmp2wad scuz *
(5) DEU 5.x has problems with WADs created in this way. This is a "bug"
in the patch drawing routine in DEU (see the source file
textures.c). To use the WAD in DEU it needs some space at the end
of the patches. (The main DooM WAD has all the flats after the
patches.) To add space using DEBUG:
debug scuz.wad
r bx
[enter a number one higher, e.g. it says 0001: and you say 2]
w
q
will add 64k to the end of the scuz.wad.
(6) Do what you will with the new WAD! Once you have finished with
DEU, don't forget to remove the 64k of space:
debug scuz.wad; r bx; [one lower]; w; q
Thanks to Elias Papavassilopoulos - ep104@cus.cam.ac.uk for specs.