home *** CD-ROM | disk | FTP | other *** search
/ Toolkit for DOOM / DOOMTOOL.ISO / misc / wadwha10.txt < prev    next >
Text File  |  1994-08-22  |  10KB  |  237 lines

  1.                                     WADWHAT
  2.               by Randall R. Spangler (rspangle@micro.caltech.edu)
  3.                              version 1.0 - 8/22/94
  4.  
  5.  
  6. 1.   Introduction
  7.  
  8. Have you ever downloaded a WAD file and wondered which maps it replaced?  Have
  9. you ever wondered if the map you're about to start contains 10 cyberdemons?
  10. And how much ammo can you afford to waste in the map, anyway?
  11.  
  12. If you've had any of these questions, then WADWHAT is for you.  WADWHAT
  13. provides simple, easy-to-read numbers on the contents of any WAD file.  Some
  14. nifty features:
  15.  
  16. *    Prints which maps are contained in the WAD
  17. *    Tells whether a map can be used single-player, cooperative, or deathmatch
  18.      (and prints the number of deathmatch starts)
  19. *    Lists things present in each map at each skill level
  20.      *    Bosses (Barons, Cyberdemons, Spiderdemons)
  21.      *    Monsters
  22.      *    Weapons
  23.      *    Items
  24.      *    Ammo
  25.      *    Total healing and armor
  26. *    Calculates a difficulty rating for each map based on the ratio of monsters
  27.      to ammo
  28. *    FREE
  29.  
  30.  
  31. 2.   Usage Restrictions and Warranty (lack thereof)
  32.  
  33. WADWHAT is free.  Completely free.  Source is even included, for the curious.
  34. (Note that it's even COMMENTED :-)  All I ask is that if you use the source for
  35. WADWHAT in any other program that you give me credit in the documentation.
  36.  
  37. WADWHAT also comes with no warranty of any kind (hey, you get what you pay
  38. for).  Use it at your own risk.  May contribute to global warming and many
  39. other disasters.  If, by some chance, you find a way to melt down your computer
  40. with WADWHAT, you're on your own.
  41.  
  42.  
  43. 3.   How to Use WADWHAT
  44.  
  45. It's pretty simple.  Just give it a series of filenames in the current
  46. directory (wildcards such as *.WAD are ok):
  47.  
  48.      WADWHAT foo.wad g*.wad doom.wad
  49.  
  50. WADWHAT will then print the contents of all the WAD files to your screen.
  51. Because there's quite a bit of output, you might want to pipe the output of
  52. WADWHAT to MORE (which comes with MS-DOS).  This will pause the output every
  53. screenful:
  54.  
  55.      WADWHAT doom.wad | MORE
  56.  
  57.  
  58. 4.   Output Format - Normal
  59.  
  60. When run on a WAD file, WADWHAT will produce output similar to the following:
  61.  
  62. E:\GAMES\DOOM\WADS\GOOD>wadwhat dork.wad
  63. WADWHAT 1.0 by Randall R. Spangler (rspangle@micro.caltech.edu)
  64. ============================================================
  65. PWAD FILE DORK.WAD:
  66. ------------------------------------------------------------
  67. EPISODE 1 MISSION 1             L1    L2    L3   L45 + multi
  68. ------------------------------------------------------------
  69.     Play modes:
  70.         Single player
  71.         Cooperative (4 player)
  72.         Deathmatch (4 starts)
  73.     Bosses:
  74.         Baron                    3     3     3     3 +     0
  75.     Monsters:
  76.         Sergeant                20    20    20    24 +     0
  77.         Imp                     40    40    40    56 +     0
  78.         Demon                   16    16    16    26 +     0
  79.         Lost soul               20    20    20    38 +     0
  80.         Cacodemon               22    22    22    40 +     0
  81.     Weapons:
  82.         Shotgun                  2     2     2     2 +     0
  83.         Chaingun                 2     2     2     2 +     0
  84.         Rocket launcher          2     2     2     2 +     0
  85.         Chainsaw                 2     2     2     2 +     0
  86.     Equipment:
  87.         Invisibility             2     2     2     2 +     0
  88.         Computer map             1     1     1     1 +     0
  89.     Expendibles:
  90.         Bullets               2080  1040  1040  1040 +     0
  91.         Shells                1264   632   632   648 +     0
  92.         Rockets                 24    12    12    12 +     0
  93.         Armor points           832   416   416   416 +     0
  94.         Health points         1418   709   709   709 +     0
  95.     Difficulty:
  96.         Total monster hp      1920  1920  1920  3078 +     0
  97.         Max ammo damage      11408  5704  5704  5816 +     0
  98.         RATIO                0.168 0.337 0.337 0.529 + 0.000
  99.  
  100. At the top of the output is the name of the WAD file.  Id has requested that
  101. all add-on files be PWADs, but you may run across an IWAD or two out there.
  102. After that is the information for each map (the example file contains only one
  103. map).  The columns contain
  104.  
  105.      *    The type of thing being counted
  106.      *    The number present at skill level 1 (I'm Too Young to Die)
  107.      *    The number present at skill level 2 (Hey, Not Too Rough)
  108.      *    The number present at skill level 3 (Hurt Me Plenty)
  109.           *    The number present at skill levels 4 and 5 (Ultra-Violence and
  110.           Nightmare)
  111.           *    The number added in multi-player (cooperative or deathmatch)
  112.           mode
  113.  
  114. If a thing does not appear in a map (for example, dork.wad doesn't have the BFG-
  115. 9000), it won't be listed.
  116.  
  117. Expendibles are calculated differently from the previous sections.  These are
  118. the total amounts of each thing from all possible sources.  For example,
  119. bullets come from clips, the chaingun, boxes of ammo, and killed troopers.
  120. Armor comes from the green and blue armors, and the helmet armor bonuses.
  121.  
  122. Skill level 1 (I'm Too Young to Die) is the same as skill level 2 (Hey, Not Too
  123. Rough), except that all damage to the player is halved and all ammo amounts are
  124. doubled.
  125.  
  126.  
  127. 5.   Output Format - Brief
  128.  
  129. If you're trying to compare a number of WAD files, the full output may be a bit
  130. unwieldy.  WADWHAT has a brief output mode which prints one line per map,
  131. assuming a given skill level:
  132.  
  133. E:\GAMES\DOOM\WADS\GOOD>wadwhat -B4 *.wad
  134. WADWHAT 1.0 by Randall R. Spangler (rspangle@micro.caltech.edu)
  135. File         Map   Play  Bosses  Monsters              Weapons  Equip    RATIO
  136. -------------------c-de--ba-c-s--tr-se-im-de-sp-lo-ca--cpscrpb--bvsiral-------
  137. ANTHILL.WAD  E1M1  4  6   2 1 0  32 35 33 14  1  0  4  1234567  B..IRA.  0.215
  138. BIOTECH.WAD  E1M1  4  9   7 1 0   7  5 38 89  9  1  6  123456.  BV.I...  1.085
  139. CIRCLE.WAD   E1M1  4  4   0 0 0   0  0  0  0  0  0  0  123456.  B......  0.000
  140. DETHMAZE.WAD E1M1  4  4   2 1 0   0 11 12  2 15 18  3  .234567  B.SI...  0.463
  141. SNIPER.WAD   E1M1  4  7   0 0 0   7 38 49  6  1  0  2  .23456.  ...I...  0.055
  142. TREE3.WAD    E1M1  4  4   3 0 0   7 34 53 14  6 13  3  12345..  ...I...  0.544
  143. TREE3.WAD    E1M2  4  4   2 0 0   1 26 51 14  2 11  6  123456.  B.SI...  0.263
  144. TREE3.WAD    E1M3  4  4   3 0 0   5 30 61 24  5 15  7  .2345.7  ..SIR..  0.310
  145. URBNBETA.WAD E1M1  4 17   1 1 1  41  8  0  0  0  7  3  1234567  B.S..A.  0.222
  146. DIEFAST.WAD  E1M1  4  4   0 6 0  22 13 38  7  0  0  3  12.456.  BV.....  2.645
  147. HITMEINF.WAD E1M1  1  5   0 0 0   0  2  0  0  0  0  0  123456.  ...I...  0.014
  148. DORK.WAD     E1M1  4  4   3 0 0   0 24 56 26  0 38 40  12345..  ...I.A.  0.529
  149.  
  150. The brief output has the following sections:
  151.  
  152. File           The file containing the map.
  153. Map            Which map is being replaced.  Some files (TREE3.WAD, for
  154.                example), contain more than one map.
  155. Play           Play modes supported.  "c" is the number of cooperative players,
  156.                and "de" is the number of deathmatch starts.
  157. Bosses         The number of barons, cyberdemons, and spiderdemons.
  158. Monsters       The number of troopers, sergeants, imps, demons, spectres, lost
  159.                souls, and cacodemons.  "++" will be printed if more than 99 of
  160.                a monster are present.
  161. Weapons        Which weapons can be found in the level: 1=chainsaw, 2=pistol,
  162.                3=shotgun, 4=chaingun, 5=rocket launcher, 6=plasma gun, 7=BFG-
  163.                9000.
  164. Equip          Which equipment is present: B=backpack, V=invulnerability,
  165.                S=berserk, I=invisibility, R=rad suit, A=computer map (allmap),
  166.                L=light amp goggles.
  167. RATIO          The difficulty ratio of the map at the specified skill level.
  168.  
  169. Some levels add additional items in multi-player mode.  To see the brief totals
  170. in multiplayer mode, add a 'M' to the end of the -B flag (so "-B4M" instead of
  171. "-B4").
  172.  
  173.  
  174. 6.   Difficulty RATIO
  175.  
  176. The difficulty ratio is an attempt to provide some indication of how
  177. challenging a map is, based on the number of monsters and the amount of ammo in
  178. the map.  Total monster hp is the damage required to kill all the monsters in
  179. the map.  Max ammo damage is the amount of damage that could be done by using
  180. up all the ammo in the map.  This assumes that every pellet from a shotgun
  181. hits, and rockets always hit directly.  The higher the RATIO is, the more
  182. difficult the map.
  183.  
  184. Some numbers from the DOOM episodes:
  185.  
  186. Average of all episodes and skill levels          0.310
  187.  
  188. Average episode 1                                 0.170
  189. Average episode 2                                 0.394
  190. Average episode 3                                 0.368
  191.  
  192. Average skill 1                                   0.187
  193. Average hurt me plenty                            0.308
  194. Average ultra violence                            0.436
  195.  
  196. Easiest map: E1M1, skill 1                        0.010
  197. Hardest map in shareware: E1M8, ultra violence    0.338
  198. Hardest required     map: E3M6, ultra violence    0.738
  199. Hardest secret map: E2M9, ultra violence          0.915
  200.  
  201.  
  202. 7.   Bugs and Limitations
  203.  
  204. If -respawn is used, the effective number of monsters in the map will increase
  205. because they keep coming back to life.
  206.  
  207. The RATIO ignores damage that may be done by exploding rockets, barrels, BFG-
  208. 9000 blasts, and monsters killing each other.  It also doesn't take into
  209. account damage done by the chainsaw or fists.  A better measure of map
  210. difficulty would probably also use the amounts of armor and health available
  211. (any ideas for how they should be counted?)
  212.  
  213. In multi-player mode, there will be slightly less ammo available because each
  214. weapon can only be picked up once per life.  However, players which die start
  215. over with 50 bullets each time, so the net effect is probably small.
  216.  
  217.  
  218. 8.   Information About the Author
  219.  
  220. You can send comments, money, etc. to me at:
  221.  
  222.      Snail mail:    Randall R. Spangler
  223.                     Caltech 116-81
  224.                     Pasadena, CA 91125
  225.  
  226.      Internet:      rspangle@micro.caltech.edu
  227.  
  228. I have also written some inexpensive shareware programs - try them out!
  229. (available by anonymous FTP, or e-mail):
  230.  
  231.    HOWITZER 0.95 (a SuperVGA artillery simulation game, 386 required)
  232.       ftp to ftp.uml.edu, /msdos/Games/Misc/hwitz095.zip
  233.    UNIXCORN 1.3 (enhances any shell or DOS Prompt, for Windows 3.1)
  234.       ftp to oak.oakland.edu, /SimTel/msdos/windows3/unixcn13.zip
  235.       ftp to winftp.cica.indiana.edu, /pub/pc/win3/util/unixcn13.zip
  236.  
  237.