home *** CD-ROM | disk | FTP | other *** search
/ WADS of WADS / WadsOfWads.1994.zip / OTHER / WADWHAT / WADWHAT.TXT < prev   
Text File  |  1994-08-28  |  13KB  |  282 lines

  1.                                      WADWHAT
  2.                by Randall R. Spangler (rspangle@micro.caltech.edu)
  3.                               version 1.1 - 8/28/94
  4.  
  5.  
  6. 1.   Introduction
  7.  
  8. Have you ever downloaded a WAD file and wondered which maps it
  9. replaced?  Have you ever wondered if the map you're about to start
  10. contains 10 cyberdemons?  And how much ammo can you afford to waste in
  11. the map, anyway?
  12.  
  13. If you've had any of these questions, then WADWHAT is for you.
  14. WADWHAT provides simple, easy-to-read numbers on the contents of any
  15. WAD file.  Some nifty features:
  16.  
  17. *    Prints which maps are contained in the WAD
  18. *    Tells whether a map can be used single-player, cooperative, or
  19.      deathmatch (and prints the number of deathmatch starts)
  20. *    Lists things present in each map at each skill level
  21.      *    Bosses (Barons, Cyberdemons, Spiderdemons)
  22.      *    Monsters
  23.      *    Weapons
  24.      *    Items
  25.      *    Ammo
  26.      *    Total healing and armor
  27. *    Calculates a difficulty rating for each map based on the ratio of
  28.      monsters to ammo
  29. *    Calculates an average brightness of the level - how well lit it
  30.      is
  31. *    Prints the number of secrets, triggers, and sectors with nukeage
  32.      floors
  33. *    FREE
  34.  
  35. What's new in version 1.1:
  36.  
  37. *    Fixed count of light amp goggles
  38. *    Total damage and monster hit points can be >65000 now
  39. *    Fixed divide-by-zero errors if there was no additional ammo in
  40. the level
  41. *    Prints average light level (not counting blinking lights)
  42. *    Prints number of secret sectors, nukeage sectors, total sectors
  43. *    Prints number of triggers, total linedefs
  44. *    Prints presence/absence of reject resource
  45. *    Fixed multi-player map info (-B4 and -B4M now print differently)
  46. *    Now has separate columns for each skill level of multi-player
  47. info
  48.  
  49.  
  50. 2.   Usage Restrictions and Warranty (lack thereof)
  51.  
  52. WADWHAT is free.  Completely free.  Source is even included, for the
  53. curious.  (Note that it's even COMMENTED :-)  All I ask is that if you
  54. use the source for WADWHAT in any other program that you give me
  55. credit in the documentation.
  56.  
  57. WADWHAT also comes with no warranty of any kind (hey, you get what you
  58. pay for).  Use it at your own risk.  May contribute to global warming
  59. and many other disasters.  If, by some chance, you find a way to melt
  60. down your computer with WADWHAT, you're on your own.
  61.  
  62.  
  63. 3.   How to Use WADWHAT
  64.  
  65. It's pretty simple.  Just give it a series of filenames in the current
  66. directory (wildcards such as *.WAD are ok):
  67.  
  68.      WADWHAT foo.wad g*.wad doom.wad
  69.  
  70. WADWHAT will then print the contents of all the WAD files to your
  71. screen.  Because there's quite a bit of output, you might want to pipe
  72. the output of WADWHAT to MORE (which comes with MS-DOS).  This will
  73. pause the output every screenful:
  74.  
  75.      WADWHAT doom.wad | MORE
  76.  
  77.  
  78. 4.   Output Format - Normal
  79.  
  80. When run on a WAD file, WADWHAT will produce output similar to the
  81. following:
  82.  
  83. E:\GAMES\DOOM\WADS\GOOD>wadwhat sly1.wad
  84. WADWHAT 1.1 by Randall R. Spangler (rspangle@micro.caltech.edu)
  85. ==============================================================================
  86. PWAD FILE SLY1.WAD:
  87. ------------------------------------------------------------------------------
  88. EPISODE 2 MISSION 1             S1    S2    S3   S45 |    M1    M2    M3   M45
  89. ------------------------------------------------------------------------------
  90.     Play modes:
  91.         Single player
  92.         Cooperative (4 player)
  93.         Deathmatch (8 starts)
  94.     Bosses:
  95.         Baron                    3     3     3     3 |     3     3     3     3
  96.         Cyberdemon               0     0     1     1 |     0     0     1     1
  97.     Monsters:
  98.         Trooper                  5     5     8     8 |     5     5     8     8
  99.         Sergeant                20    20    20    20 |    26    26    26    26
  100.         Imp                      7     7     7    13 |    14    14    14    20
  101.         Demon                   12    12    12    12 |    14    14    14    14
  102.         Spectre                  7     7     7     7 |     9     9     9     9
  103.         Lost soul               25    25    26    26 |    29    29    30    30
  104.         Cacodemon                6     6     7     8 |     9     9    10    11
  105.     Weapons:
  106.         Shotgun                  3     3     2     2 |     3     3     2     2
  107.         Chaingun                 3     3     3     3 |     3     3     3     3
  108.         Rocket launcher          2     2     2     2 |     2     2     2     2
  109.         Plasma gun               4     4     3     3 |     4     4     3     3
  110.         BFG-9000                 2     2     2     2 |     2     2     2     2
  111.         Chainsaw                 1     1     1     1 |     1     1     1     1
  112.     Equipment:
  113.         Backpack                 5     5     5     5 |     5     5     5     5
  114.         Berserk                  2     2     2     2 |     2     2     2     2
  115.         Invisibility             3     3     3     3 |     3     3     3     3
  116.         Lite amp goggles         1     1     1     1 |     2     2     2     2
  117.     Expendibles:
  118.         Bullets               1870   935   950   950 |  1870   935   950   950
  119.         Shells                1016   508   480   480 |  1104   552   524   524
  120.         Rockets                 88    44    44    44 |    98    49    49    49
  121.         Cells                 1160   580   520   520 |  1160   580   520   520
  122.         Armor points          1600   800   600   600 |  2800  1400  1200  1200
  123.         Health points         2118  1059   984   984 |  2738  1369  1344  1344
  124.         Barrels                 61    61    61    61 |    77    77    77    77
  125.     Difficulty:
  126.         Total monster hp      1187  1187  1643  1719 |  1467  1467  1923  1999
  127.         Max ammo damage      13062  6531  6230  6230 | 13878  6939  6638  6638
  128.         RATIO                0.091 0.182 0.264 0.276 | 0.106 0.211 0.290 0.301
  129.     Other info:
  130.         Average brightness             165 (0=dark, 255=bright)
  131.         Secrets                          1
  132.         Nukeage / sectors         2 /  112
  133.         Triggers / linedefs     134 /  886
  134.         Reject resource                YES
  135.  
  136. At the top of the output is the name of the WAD file.  Id has
  137. requested that all add-on files be PWADs, but you may run across an
  138. IWAD or two out there.  After that is the information for each map
  139. (the example file contains only one map).  The columns contain
  140.  
  141.      *    The type of thing being counted
  142.      *    The number present at skill level 1 (I'm Too Young to Die)
  143.      *    The number present at skill level 2 (Hey, Not Too Rough)
  144.      *    The number present at skill level 3 (Hurt Me Plenty)
  145.           *    The number present at skill levels 4 and 5 (Ultra-
  146.           Violence and Nightmare)
  147.           **** Similar numbers, but for multi-player (cooperative or
  148.           deathmatch) mode
  149.  
  150. If a thing does not appear in a map (for example, dork.wad doesn't
  151. have any Rad Suits) it won't be listed.
  152.  
  153. Expendibles are calculated differently from the previous sections.
  154. These are the total amounts of each thing from all possible sources.
  155. For example, bullets come from clips, the chaingun, boxes of ammo, and
  156. killed troopers.  Armor comes from the green and blue armors, and the
  157. helmet armor bonuses.
  158.  
  159. Skill level 1 (I'm Too Young to Die) is the same as skill level 2
  160. (Hey, Not Too Rough), except that all damage to the player is halved
  161. and all ammo amounts are doubled.
  162.  
  163. A level with a low average brightness (128 or less) will be poorly
  164. lit; one with a high brightness (220 or more) will be very well lit,
  165. with only a few dark nooks.  Secret sectors and sectors with nukeage
  166. (floors which damage you) are counted. Triggers are lines which open
  167. doors, drop lifts, and so on when you walk over, push, or shoot them.
  168. The total number of sectors or linedefs is a good gauge of level
  169. complexity.  The REJECT resource speeds up drawing the level - the
  170. same level will play more smoothly if this is present.
  171.  
  172.  
  173. 5.   Output Format - Brief
  174.  
  175. If you're trying to compare a number of WAD files, the full output may
  176. be a bit unwieldy.  WADWHAT has a brief output mode which prints one
  177. line per map, assuming a given skill level:
  178.  
  179. E:\GAMES\DOOM\WADS\GOOD>wadwhat -B4 *.wad
  180. WADWHAT 1.1 by Randall R. Spangler (rspangle@micro.caltech.edu)
  181. File         Map   Play  Bosses  Monsters              Weapons  Equip    RATIO
  182. -------------------c-de--ba-c-s--tr-se-im-de-sp-lo-ca--cpscrpb--bvsiral-------
  183. ANTHILL.WAD  E1M1  4  1   2 1 0  32 35 33 14  1  0  4  12.4567  B..IRA.  0.227
  184. BIOTECH.WAD  E1M1  4  0   7 1 0   7  5 38 89  9  1  6  123456.  BV.I..L  1.085
  185. CIRCLE.WAD   E1M1  4  0   0 0 0   0  0  0  0  0  0  0  123456.  B......  0.000
  186. DORK.WAD     E1M1  4  0   3 0 0   0 24 56 26  0 38 40  12345..  ...I.AL  0.529
  187. TREE3.WAD    E1M1  4  0   3 0 0   7 34 53 14  6 13  3  12.45..  ...I..L  0.557
  188. TREE3.WAD    E1M2  4  0   2 0 0   1 26 51 14  2 11  6  12...6.  B.SI...  0.270
  189. TREE3.WAD    E1M3  4  0   3 0 0   5 30 61 24  5 15  7  .2345.7  ..SIR..  0.322
  190. URBNBETA.WAD E1M1  4  1   1 1 1  41  8  0  0  0  7  3  1234567  B.S..AL  0.222
  191.  
  192.  
  193. The brief output has the following sections:
  194.  
  195. File           The file containing the map.
  196. Map            Which map is being replaced.  Some files (TREE3.WAD,
  197.                for example), contain more than one map.
  198. Play           Play modes supported.  "c" is the number of cooperative
  199.                players, and "de" is the number of deathmatch starts.
  200. Bosses         The number of barons, cyberdemons, and spiderdemons.
  201. Monsters       The number of troopers, sergeants, imps, demons,
  202.                spectres, lost souls, and cacodemons.  "++" will be
  203.                printed if more than 99 of a monster are present.
  204. Weapons        Which weapons can be found in the level: 1=chainsaw,
  205.                2=pistol, 3=shotgun, 4=chaingun, 5=rocket launcher,
  206.                6=plasma gun, 7=BFG-9000.
  207. Equip          Which equipment is present: B=backpack,
  208.                V=invulnerability, S=berserk, I=invisibility, R=rad
  209.                suit, A=computer map (allmap), L=light amp goggles.
  210. RATIO          The difficulty ratio of the map at the specified skill
  211.                level.
  212.  
  213. Some levels add additional items in multi-player mode.  To see the
  214. brief totals in multiplayer mode, add a 'M' to the end of the -B flag
  215. (so "-B4M" instead of "-B4").
  216.  
  217.  
  218. 6.   Difficulty RATIO
  219.  
  220. The difficulty ratio is an attempt to provide some indication of how
  221. challenging a map is, based on the number of monsters and the amount
  222. of ammo in the map.  Total monster hp is the damage required to kill
  223. all the monsters in the map.  Max ammo damage is the amount of damage
  224. that could be done by using up all the ammo in the map.  This assumes
  225. that every pellet from a shotgun hits, and rockets always hit
  226. directly.  The higher the RATIO is, the more difficult the map.
  227.  
  228. Some numbers from the DOOM episodes:
  229.  
  230. Average episode 1, "Hurt Me Plenty"               0.177
  231. Average episode 2, "Hurt Me Plenty"               0.399
  232. Average episode 3, "Hurt Me Plenty"               0.374
  233.  
  234. Average "I'm Too Young to Die"                    0.096
  235. Average "Hey, Not Too Rough"                      0.192
  236. Average "Hurt Me Plenty"                          0.317
  237. Average "Ultra-Violence"                          0.448
  238.  
  239. Easiest map: E1M1, "I'm Too Young to Die"         0.013
  240. Hardest map in shareware: E1M8, "Ultra-Violence"  0.493
  241. Hardest required     map: E3M6, "Ultra-Violence"  0.738
  242. Hardest secret map: E2M9, "Ultra-Violence"        0.915
  243.  
  244.  
  245. 7.   Bugs and Limitations
  246.  
  247. If -respawn is used, the effective number of monsters in the map will
  248. increase because they keep coming back to life.
  249.  
  250. The RATIO ignores damage that may be done by exploding rockets,
  251. barrels, BFG-9000 blasts, and monsters killing each other.  It also
  252. doesn't take into account damage done by the chainsaw or fists.  A
  253. better measure of map difficulty would probably also use the amounts
  254. of armor and health available (any ideas for how they should be
  255. counted?)
  256.  
  257. In multi-player mode, there will be slightly less ammo available
  258. because each weapon can only be picked up once per life.  However,
  259. players which die start over with 50 bullets each time and can pick up
  260. each weapon again, so the net effect is probably small.
  261.  
  262.  
  263. 8.   Information About the Author
  264.  
  265. You can send comments, money, etc. to me at:
  266.  
  267.      Snail mail:    Randall R. Spangler
  268.                     Caltech 116-81
  269.                     Pasadena, CA 91125
  270.  
  271.      Internet:      rspangle@micro.caltech.edu
  272.  
  273. I have also written some inexpensive shareware programs - try them
  274. out!  (available by anonymous FTP, or e-mail):
  275.  
  276.    HOWITZER 0.95 (a SuperVGA artillery simulation game, 386 required)
  277.       ftp to ftp.uml.edu, /msdos/Games/Misc/hwitz095.zip
  278.    UNIXCORN 1.3 (enhances any shell or DOS Prompt, for Windows 3.1)
  279.       ftp to oak.oakland.edu, /SimTel/msdos/windows3/unixcn13.zip
  280.       ftp to winftp.cica.indiana.edu, /pub/pc/win3/util/unixcn13.zip
  281.  
  282.