home *** CD-ROM | disk | FTP | other *** search
/ DeathMatch for Doom 1 & 2 / DeathMatch.bin / other / howto.txt < prev    next >
Text File  |  1995-05-20  |  14KB  |  302 lines

  1. note: Aug 23rd, 1994:
  2.  
  3. There is a new utility called WACKER (currently beta7) that will do
  4. almost everything explained here. Check it out.
  5.  
  6. ========================== additional note 07/01/94 =====================
  7.  
  8.     When I wrote the following text, DEU 5.21 was not available yet.
  9. Keep in mind that you may be able to do all of what I describe by
  10. using only DEU 5.21 with the X, I, R and G command. All you need it
  11. to put the modified GIF file in DOOM.WAD with DMGRAPH, extract it to
  12. a raw file with DEU's X command, put the original graphic back in
  13. DOOM.WAD, load your map in DEU, the include the modified graphic with
  14. the I command, then read the graphic in the PWAD with the R command
  15. and lastly, group the two PWADs with the G command. You may include
  16. as many PWADS as you want (DEMOS too), but DEU has a limit of 12 open
  17. files at a time. You'll have to group the PWADs in seperate DEU sessions
  18. if you have more than 12.
  19.  
  20. ========================================================================
  21.  
  22.  
  23. Hi,
  24.     I'm the author of FOREST.WAD (get FORESTxx.ZIP on many sites), and
  25. am also a beta tester of DEU. When I released FOREST 1.1, I was the
  26. first (to my knowledge) to release a PWAD that included new graphics
  27. and new demos. I thought it would be nice for other DOOMers to be able
  28. to do what I did, so I will try to explain how I did it in a simple
  29. language. I will include BATCH files and DIR files so that you can
  30. use them as examples to do it.
  31.  
  32. **********
  33. Before I begin, this is VERY IMPORTANT, WAD MASTER PUTS AN IWAD MARKER
  34. AT THE BEGINNING OF THE PWAD FILE, PLEASE, PLEASE, PLEASE, BEFORE 
  35. UPLOADING ANY NEW WADS CREATED USING IT, CHANGE THE "I" TO A "P" BEFORE
  36. WITH ANY HEX EDITOR. This is probably because it was written before 
  37. ID released information (or someone else) about the IWAD-PWAD formats.
  38. **********
  39.  
  40.  
  41. You will need these files:
  42.  
  43. WT100.ZIP (Wad tools 1.0) to view the graphics in the DOOM.WAD file
  44.               and find the name of the texture you want to change.
  45.  
  46. DMGRAP10.ZIP (Doom graph 1.0) to extract and store a GIF file to/from
  47.               the DOOM.WAD file.
  48.  
  49. DMAUD11.ZIP (Doom audio 1.1) to extract and store audio files to/from
  50.               the DOOM.WAD file (I didn't do it, but you could also
  51.               include new sounds in a PWAD file)
  52.  
  53. WDMSTR05.ZIP (Wad Master 1.0) to extract the raw data from your new
  54.               levels and the modified textures or sound from the 
  55.               DOOM.WAD file.
  56.  
  57.  
  58. How does it all come together?
  59.    Once you have created your level with DEU (or any other editor)
  60. decide what texture you want to change, find out what it's name is in
  61. the DOOM.WAD file with WT and extract it with DMGRAPH. For example if
  62. you want to change the SP_DUDE2 texture, you will find with WT that
  63. it's name is WALL50_2, so use the command "DMGRAPH WALL50_2 -e file.gif".
  64. You will want to check the insertion point for when you put the modified
  65. graph back in with "DMGRAPH WALL50_2 -v". Once you have the GIF, do what
  66. you want (I used PhotoFinish to edit it), store it back in DOOM.WAD
  67. with the command "DMGRAPH WALL50_2 -s newfile.gif -i 63,123" (make a
  68. copy of it first to be able to put back the original in) so that you can
  69. extract the RAW file with WAD Master. 
  70.  
  71.     To use WadMaster, you need to create a reference DIR file with
  72. WADDIR. If your new map is called "NEWMAP", and we want the
  73. dir file to be NEWMAP.DIR then type:
  74. "WADDIR NEWMAP.WAD >MEWMAP.DIR". Once you have the DIR file, you must
  75. edit it so that seperate entries (levels, if you have more than one
  76. level) do not go in the same directory. Look at the first few lines
  77. (without the comment), they will be like this:
  78. E1M1\                    E1M1\                   0
  79. THINGS                   THINGS                  10
  80. LINEDEFS                 LINEDEFS                952
  81.  
  82. you must add a dospath to the first column like this:
  83. E1M1\                    E1M1\                   0
  84. E1M1\THINGS              THINGS                  10
  85. E1M1\LINEDEFS            LINEDEFS                952
  86.  
  87. (make sure the column 2 starts at the same place)
  88.  
  89. Once you've done that, you can extract the raw data to dos files
  90. in a directory, so create a directory (like NEWMAP) and type the command
  91. "UPKWAD -o NEWMAP NEWMAP.DIR NEWMAP.WAD" and this will extract all
  92. the resources in the PWAD map you created to the directory NEWMAP.
  93.  
  94. OK! now let's put the modified GIF in there! Look at the order in which
  95. the DOOM.WAD directory is (do WADDIR >DOOM.DIR) so that you can put the
  96. new graphic in the proper order (it won't work otherwise). You will want 
  97. to copy the NEWMAP.DIR file to an other name, let's say NEWMAP1.DIR and
  98. edit it to add the proper references to it. WALL50_2 is in the P2 section,
  99. so you need to add the folowing lines at the end of the NEWMAP1.DIR file:
  100.  
  101. P2_START\                P2_START\               0
  102. P2_START\WALL50_2        WALL50_2                17544
  103. P2_END\                  P2_END\                 0
  104.  
  105. (notice that the DEMO1-3 are just before the E1M1 entry, so you could
  106. put the lines as they apear in DOOM.DIR just before the E1M1 line in
  107. NEWMAP1.DIR and copy any demo lmp for your PWAD to NEWMAP\DEMOx (no LMP
  108. extention). That's how I did it)
  109.  
  110. Once you've done that, create a WAD DIR file to be able to extract the
  111. raw graphic from DOOM.WAD (after storing the modified GIF, let's call
  112. it NEW50_2.GIF in DOOM.WAD with "DMGRAPH WALL50_2 -s NEW50_2.GIF"). You
  113. will also need to create an other directory, let's say GRAPHIC. So, 
  114. create the WAD DIR file like this: (let's call it GRAPHIC.DIR)
  115.  
  116. P2_START\                P2_START\               0
  117. P2_START\WALL50_2        WALL50_2                17544
  118. P2_END\                  P2_END\                 0
  119.  
  120. and type the command "UPKWAD -o GRAPHIC.DIR" (it used DOOM.WAD by default)
  121. and you will have a new file in GRAPHIC\P2_START call WALL50_2. I 
  122. copied the raw files to an other name, but you don't have to. You can
  123. just copy it like this "COPY GRAPHIC\P2_START\WALL50_2 NEWMAP\P2_START"
  124.  
  125. Now we're ready to put the new graphic and demos in a PWAD file. So
  126. type the command "PKWAD -o NEWMAP NEWMAP1.DIR TOTAL.WAD". Remember that
  127. you have to use a modified wad dir file (that's why I typre NEWMAP1.DIR
  128. instead of just NEWMAP.DIR) that includes the new files you want 
  129. included in the new PWAD file, like the DEMOs, graphic or sound
  130. resources. You can put anything there!
  131.  
  132. To finish it off, here's a copy of a series of files I used to create
  133. FOREST.WAD, I will not explain them here because you should be able
  134. to figure it out, if not, there is documentation that comes with
  135. Wad master, I figured it out, I'm sure you can.
  136.  
  137. ------------------------- getpics.bat -------------------------------
  138.  
  139. @echo off
  140. cls
  141. echo Storing new graphics in DOOM.WAD...
  142. dmgraph sky2 -s forest.gif -i 127,123 >nul
  143. dmgraph wall50_2 -s new50_2.gif -i 63,123 >nul
  144. dmgraph mwall5_1 -s new5_1.gif -i 63,123 >nul
  145. dmgraph mwall4_2 -s new4_2.gif -i 63,123 >nul
  146. dmgraph credit -s newcred.gif -i 0,0 >nul
  147. echo Unpacking new graphics to raw files...
  148. upkwad -o graph graph.dir >nul
  149. echo Putting normal graphics back in DOOM.WAD...
  150. dmgraph sky2 -s sky2.gif -i 127,123 >nul
  151. dmgraph wall50_2 -s wall50_2.gif -i 63,123 >nul
  152. dmgraph mwall5_1 -s mwall5_1.gif -i 63,123 >nul
  153. dmgraph mwall4_2 -s mwall4_2.gif -i 63,123 >nul
  154. dmgraph credit -s credit.gif -i 0,0 >nul
  155. echo Copying raw graphics to .pic files...
  156. copy graph\p2_start\sky2 newsky2.pic >nul
  157. copy graph\p2_start\wall50_2 new50_2.pic >nul
  158. copy graph\p2_start\mwall5_1 new5_1.pic >nul
  159. copy graph\p2_start\mwall4_2 new4_2.pic >nul
  160. copy graph\credit newcred.pic >nul
  161.  
  162. ------------------------- graph.dir --------------------------------
  163. # DOOM WAD FILE DIRECTORY LISTING
  164. # LINES STARTING WITH # ARE IGNORED
  165. # EACH LINE CONTAINS DOSFILE WADFILE SIZE
  166. # THIS FILE CAN BE USED TO UNPACK/PACK WAD FILES
  167. # DO NOT CHANGE THE ORDER OF THESE LINES!!!!
  168. # HOWEVER, DELETION IS OKAY
  169. CREDIT                   CREDIT                  68168
  170. P2_START\                P2_START\               0
  171. P2_START\WALL50_2        WALL50_2                17544
  172.