home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the DOOM Gurus / TricksOfTheDoomGurus.iso / editors / dehacked / dehacked.hlp < prev    next >
Text File  |  1994-12-11  |  28KB  |  589 lines

  1.                  DeHackEd v2.2
  2.               By Greg Lewis (Tree)
  3.                 gregl@umich.edu
  4.  
  5.  
  6.   This is a general help file for DeHackEd version 2.2.  For more specific
  7. product information, see the file DEHACKED.TXT.  For important start-up 
  8. info and instructions, read README.TXT.  And, if you are more interested 
  9. in simply finding fun stuff to experiment with, check out "Fun with DeHackEd" 
  10. (DHEFUN03.TXT) bundled with the program.  It was originally written by Dan 
  11. Lottero, and includes some wild things to try!
  12.  
  13.  
  14.   This help file is arranged in the following sections:
  15.  
  16.     1.  Patch File Info
  17.     2.  Command Line Options
  18.     3.  DeHackEd.ini Options
  19.     4.  Available Keys
  20.     5.  Mouse Support
  21.     6.  Thing Editor
  22.        a. Thing fields
  23.        b. Bit fields
  24.     7.  Frame Editor
  25.     8.  Ammo Editor
  26.     9.  Sound Editor
  27.        10.  Sprite Editor
  28.        11.  Text Editor
  29.  
  30.   So, without further ado, here it is!
  31.  
  32.  
  33.  1. *** Patch File Info
  34. \------=================
  35.  
  36.   This is some more info on patch files, which may help explain any
  37. difficulties you are having with them.
  38.  
  39.   Patch files are entirely different from WAD files.  WAD files can 
  40. contain level info, sound, and graphics info (stuff normally found in
  41. the Doom WAD file).  They are used simply by typing "doom -file <wadname>" 
  42. at the command line.  Patch files, however, contain info from inside the 
  43. doom.exe file, and cannot be used with the "-file" parameter.  DeHackEd 
  44. is (currently) the only program that can apply these patches and change 
  45. the Doom exe file.
  46.  
  47.   Patch files save ALL the info on Frames, Ammo, Things, Weapons, Sound, 
  48. Sprites, and Text, NOT just changed data.  This way, several people can 
  49. load a specific patch, you KNOW everyone will have the same Doom exe file.
  50. This may change in the near future (a new patch format).
  51.  
  52.   The patch files that DeHackEd 1.3 created saved only 4 pieces of info:
  53. the Frames, Things, Ammo and Weapons.  If you are editing Doom 1.2, 
  54. DeHackEd will only save those pieces of information in order to create 
  55. a patch file backwards-compatible with DeHackEd 1.3.  
  56.  
  57.   It is a good idea to save back-up patch files before messing around
  58. with your Doom exe file.  The standard naming convention for back-up 
  59. patches is "NORMAL??.DEH", where the ?? are replaced by the version
  60. number (see the README.TXT for specific instructions).  Those files are 
  61. then also used for merging patches, as a "clean" copy of your doom.exe 
  62. file.  For example, if you are merging in a patch for Doom 1.666, DeHackEd 
  63. expects to find a clean patch file called "NORMAL16.DEH" in your patch 
  64. directory.
  65.  
  66.  
  67.  2. *** Command Line Options
  68. \------======================
  69.  
  70.   First, an explanation of command line options.  The full command line
  71. syntax for DeHackEd is:
  72.  
  73.   dehacked [doompath] [-load <patch1> <patch2> ...] [-save <patch>]
  74.  
  75.   [doompath] is optional, and specifies a different location for the
  76. doom files, doom.exe and doom.wad, other than the current directory.  
  77.  
  78.   -load <patch1> <patch2> ... will update the doom.exe file with the 
  79. patches called <patch1>, <patch2>, etc and return to the DOS prompt--
  80. great for batch files!.  The first patch is just loaded normally, and all
  81. others after it (if there are any) are merged with the first one.  
  82.  
  83.   And, conversely, the -save <patch> option will save the current 
  84. doom.exe status to a patch file named <patch> and return to the DOS 
  85. prompt.  These options are similar to 'l' and 's' in DeHackEd, although 
  86. when used in DeHackEd the 'l' option requires a 'w' after it to actually 
  87. write the changes to the doom.exe file.  See section 4 for more info on 
  88. 'l'oading, 's'aving, and 'm'erging.
  89.  
  90.   Example command line:
  91.  
  92.     dehacked c:\games\doom -load suprwep5.deh army1.deh
  93.  
  94.   This will start DeHackEd, using the doom.exe file found in c:\games\doom,
  95. will load in the info from the suprwep5.deh patch file.  Then it will
  96. merge in the patch file army1.deh, and return to the DOS prompt.  And of 
  97. course, just typing a plain 'dehacked' will take you straight into the 
  98. DeHackEd main program.
  99.  
  100.  
  101.  3. *** DeHackEd.ini Options
  102. \------======================
  103.  
  104.   Included with DeHackEd 2.2 is a DeHackEd.ini file which can specify
  105. several parameters for DeHackEd.  They allow you to customize where you
  106. want your patch files located, what your doom files are named, and more.
  107. Note: you must keep a space on both sides of the equal signs for a
  108. parameter to be processed properly.  A summary of the allowable command 
  109. line options follows:
  110.  
  111.   #     Start comment lines with a pound sign.  Anything after the pound 
  112.     sign is ignored.
  113.   doomexe = <exename>
  114.     This is the name of your doom.exe file, and full path if necessary.
  115.     This doesn't need to be included if you are running DeHackEd from 
  116.     the directory that your doom.exe file resides in, and it's got the 
  117.     proper name (doom.exe or doom2.exe).
  118.   doomwad = <wadname>
  119.     This is the name of your doom.wad file, and full path if necessary.
  120.     This must be a registered wad file, not a shareware file.  This is
  121.     needed for verification that you are really registered, and not
  122.     just trying to fake it.  Once again, if this is in the same 
  123.     directory that DeHackEd is run from you don't need this parameter.
  124.   doompath = <path>
  125.     This is the path from which you want Doom to be run.  This is only
  126.     used when using the 'r'un option from inside DeHackEd.
  127.   doomargs = <Doom parameters>
  128.     These are command-line parameters that are fed to Doom when it's
  129.     run using the 'r'un option from within DeHackEd.  Useful if you
  130.     are using DeHackEd for a custom patch for a WAD you are writing;
  131.     you can simply include a '-file <wadname>' in this line, and
  132.     Doom will load your level every time DeHackEd runs it.
  133.   patchdir = <path>
  134.     This is the directory that DeHackEd will look in for patch files.
  135.     A nifty way of keeping all of your thousands of .DEH files out
  136.     of the Doom main directory.
  137.  
  138.   The following parameters are all totally optional, and need only be 
  139. used if you have a really wierd doom.exe file.
  140.   doomver = <0 | 1 | 2>
  141.     This is the version of Doom you are hacking.  0 is Doom 1.2, 
  142.     2 is Doom 2 v1.666, and 1 is everything else, Doom 2 v1.666 and
  143.     Doom 2 v1.7(a).  This *must* be included if any of the following 
  144.     options are set.
  145.   doomsize = <size>
  146.     The size of your Doom.exe file.  I've had a few people complain
  147.     that they have a non-standard doom.exe file size, and this may
  148.     fix your problem simply by changing this.  If you get erroneous
  149.     results though, you may have to play with the following params...
  150.   thingoff = <offset>
  151.   soundoff = <offset>
  152.   frameoff = <offset>
  153.   spriteoff = <offset>
  154.   ammooff = <offset>
  155.   weaponoff = <offset>
  156.   textoff = <offset>
  157.     These are the offsets in the Doom exe file for their corresponding
  158.     data chunks.  PLAY WITH THESE AT YOUR OWN RISK.
  159.  
  160.  
  161.  4. *** Available Keys
  162. \------================
  163.  
  164.   Available keys are as follows:
  165.  
  166.   ESC   Exits to DOS.  Or, if you are in an input box, or just about
  167.     *anywhere* in the program for that matter, it will back you
  168.     out to whatever you had previously been doing.
  169.  
  170.   Enter Edits the current field, if it is an editable field.  To leave an
  171.     editing box if you hit Enter by mistake, simply hit ESC.
  172.  
  173.   Space Views, plays, or displays the current field, if applicable.  If
  174.     you are on a "frame" field, such as any of the Thing frames, or
  175.     any field in the Frame table, or the Frame fields in the Ammo 
  176.     editor, you can see the frame that you've got highlighted simply 
  177.     by hitting the spacebar.  (Note:  If you are on the "Next Frame"
  178.     field in the Frame editor you WILL see the next frame, not the
  179.     current frame.)  If the frame you are viewing is the first in a
  180.     series of frames, repeatedly pressing the spacebar will cycle 
  181.     through all of the frames.  Escape will exit.  The spacebar will
  182.     also view the full text strings in the Text Editor.  And it will
  183.     also play the sounds when you are in a sound field (currently not
  184.     quite working yet).
  185.  
  186.   C     The copy command.  This will copy information from one entry to
  187.     another.  The syntax is fairly basic:  enter the number of the
  188.     entry to copy FROM, and the entry number to copy TO.  A clipboard
  189.     for Things is available as Thing #138 (Thing #104 for Doom 1.2),
  190.     which is just a temporary storage Thing (and is not actually
  191.     present in the Doom.exe file).  Note that the Thing names will
  192.     not change... the Thing name is not actually in the Doom.exe, and 
  193.     is just included for your own benefit.  The Thing # is also only 
  194.     for the convenience of the hacker, and is not in the doom.exe 
  195.     file.  A specific Thing # will always have the same Thing Name, 
  196.     and this cannot be changed.
  197.  
  198.   D     Change numeric mode to Decimal.  This displays all numbers as
  199.     normal decimal numbers.  'H' will switch to hexidecimal displays,
  200.     which may be helpful sometimes.
  201.  
  202.   G     Goes to a specific Thing.  If you know exactly which Thing or
  203.     Frame you want to see, go right to it without bothering to
  204.     page around looking.  The Things now have a goto window arranged
  205.     alphabetically by name.  That's so that you don't need to remember
  206.     lots of Thing numbers all the time!
  207.  
  208.   H     Displays all numbers in the hexidecimal number format.  Useful
  209.     for those true hackers who live in hex their whole lives.  Use
  210.     'D' to return to the normal decimal world.
  211.  
  212.   J     Jumps to the information in the current field, in it's respec-
  213.     tive editor.  For example, if you are in the Thing editor, and the
  214.     'Death Frame' is highlighted, and you press the 'j' key, you will
  215.     jump to the Frame editor, with the corresponding Frame number high-
  216.     lighted.  A very handy tool for moving around the various editors.
  217.     Generally it'll jump to a "logical" place, if there is one.
  218.  
  219.   L     Loads a patch file.  You must enter the patch filename, and it
  220.     will replace the current information.  Note that 'w' must still
  221.     be used to make the changes permanent.  You can also do this
  222.     from the command line by typing
  223.         dehacked -load <patchname>
  224.     One caveat:  the load feature was updated to allow automatic 
  225.     conversion of DeHackEd 1.3 patch files to DeHackEd 2.2 patch files.  
  226.     With the patches I've tested I have not noticed any problems, but 
  227.     if you have any difficulties, please let me know.  
  228.     Note: conversion TO Doom 1.2 will NOT work.
  229.  
  230.   M     Merges a new patch file into Doom.  The 'l'oad option overwrites
  231.     all information with the information from the new patch file.  
  232.     The 'm'erge option will do it's best to merge the file that you
  233.     are loading into the Doom exe, without touching any data that may
  234.     already be changed.  It will not always give the expected
  235.     results when the new patch file changes something that's already
  236.     changed in the current Doom exe, but it will usually work.  Also,
  237.     you will need to have a "normal" patch file for Doom to compare
  238.     against.  See the section 1 (patch files) for more information on
  239.     "normal" patch files.
  240.  
  241.   R     Runs Doom.  This option is slightly tempermental, and every once 
  242.     in a while it just flashes the screen and refuses to run Doom.  
  243.     Try it to see if it'll work for you.  It allows you to quickly 
  244.     test-run Doom, to check out the changes you've made (remember to 
  245.     hit 'w' before running!).  After Doom finishes, you will be returned 
  246.     to your current place in the editor to continue working.  You can 
  247.     specify command-line parameters for Doom, and the directory to run 
  248.     Doom from in the DeHackEd.ini file.
  249.  
  250.   S     Save a patch file.  You must enter the patch filename, and it
  251.     will save all editable material to the patch file.  It saves either
  252.     a Doom 1.2 or 1.666 patch depending on what Doom exe you are 
  253.     editing at the time.  You can also do this from the command line 
  254.     by typing
  255.         dehacked -save <filename>
  256.  
  257.   U     Undo all changes.  This reloads the information straight from the
  258.     Doom exe file, and will return you to your most recent 'w'rite
  259.     of the Doom exe file.
  260.  
  261.   W     Writes all changes to the Doom exe file.  This step is necessary
  262.     to get any results!
  263.  
  264.   F2    Thing Editor.  This is the main Thing editor, the default screen in
  265.     DeHackEd.  See section 6 for more detailed Thing info.
  266.  
  267.   F3    Frame Table.  Displays Frame information, in a list format.
  268.     See section 7 for more detailed Frame info.
  269.  
  270.   F4    Ammo/Weapon Editor.  This allows you to edit the ammo and weapon
  271.     amounts and graphics.  Section 8 talks more about this screen.
  272.  
  273.   F5    Sound Table.  A jolly good table of all the sounds.  Check out  
  274.     section 9 for more Sound table info.
  275.  
  276.   F6    Sprite Table.  A handy list of all the sprites, in case someone
  277.     needs it.  Section 10 deals with the Sprites.
  278.  
  279.   F7    Text Editor.  This shows all the text strings in the Doom.exe 
  280.     file.  You can also edit the strings, a capability new to 
  281.     DeHackEd (new to version 2.0, that is).  Section 11 has more info.
  282.  
  283.   F8    Thing List.  This is a Table version of the Thing editor.  It shows
  284.     only the most important Thing information, and is meant as a quick-
  285.     reference guide.
  286.  
  287.  
  288.  5. *** Mouse Info
  289. \------============
  290.  
  291.   Some notes on the mouse support (new to version 2.2).  Generally just
  292. click places to find out what happens!  The new status bars on the top and 
  293. bottom of the screen are there expressly for the mouse users (click on 'em 
  294. to get help, exit, see the "About" window, or switch editors).  Clicking 
  295. on any of the fields will bring up an editing box to let you change the 
  296. value.  Click on the "Thing Name" in the upper left window to Go to any
  297. of the Things by name.  Clicking on any sound or frame names will play the 
  298. sound or show the frame for you.  Right clicking at any time will act 
  299. exactly like the Escape key was pressed (except for exiting the program), 
  300. ie get you out of input boxes, leave the frame viewer, etc.  The way it's 
  301. designed should (hopefully) be intuitive.
  302.  
  303.  
  304.  6. *** Thing Editor
  305. \------==============
  306.  
  307. a.  Thing fields
  308.  
  309.   This is the first thing you see when you start up DeHackEd.  It is also
  310.   one of the main areas of the program.  Edit Things by highlighting the 
  311.   desired field and hitting Enter, or clicking on it with the mouse.
  312.  
  313.   The Player entry is slightly "special" in regards to how much Doom
  314.   uses the info in the Player fields.  Entries such as Speed and Hit
  315.   Points are NOT changable through DeHackEd; they are controlled else-
  316.   where in the exe and aren't easily accessible.  Most of the rest of
  317.   the Player entries, however, are used and can be changed normally.
  318.  
  319.   Thing Number:      The number of the Thing.  Basically it's just for
  320.     reference, numbered in order according to how the Things are stored 
  321.     in the Doom exe file.  Note: these are different between 1.2 and 
  322.     newer versions, because new Things have been added!
  323.   Thing Name:        A short descriptive name for the Thing.  This info
  324.     is NOT stored in the Doom exe file, and thus you can't edit it, and 
  325.     it will always remain the same.  So a Thing #55 (the rocket launcher
  326.     in Doom 1.2) will always be described as a "Rocket Launcher", even 
  327.     if you change it to something entirely different, like a Cacodemon.
  328.   Thing ID#:         This is the Thing's 'identification number' which is 
  329.     used in level developement (WAD files).  Wherever this number 
  330.     appears in a WAD file, this Thing will appear.
  331.   Hit Points:        How much damage it can sustain.  For all non-living 
  332.     Things, it's generally 1000 (not necessary though).
  333.   Speed:             How fast it can go.  Projectiles have their speed
  334.     multiplied by 65536, but DeHackEd displays projectiles the same way 
  335.     it does normal speeds (so you don't need to wade though large numbers 
  336.     for projectile speeds).  Whether a certain Thing is a projectile 
  337.     or not is determined by bit #10, 'Projectile'.  If that 
  338.     bit is set, the speed is displayed as a Projectile, otherwise it 
  339.     is a "normal" speed.  Basically though, just ignore it and 
  340.     DeHackEd will take care of it for you.  =-}
  341.   Width:             The radius of the Thing.  A narrow Thing is harder 
  342.     to hit!  To fit a Thing through a narrow passageway, you need to 
  343.     have the passage slightly wider than twice it's width.  Thus a 
  344.     passage must be 33 to allow the Marine through, even though his 
  345.     actual radius is 16.
  346.   Height:            Same as width, but it's height.  Duh.  :-)
  347.   Missile Damage:    If it's a projectile, how much damage it does upon 
  348.     "death" (explosion).  Note that Lost Souls have this set to 3.
  349.   Reaction Time:     For monsters, their reaction time.  Lower=quicker to 
  350.     attack, higher=slower to attack.
  351.   Pain Chance:       Chance out of 256 that a monster's action/attack will 
  352.     be interrupted by an injury.  The Lost Soul always will (256), and 
  353.     the Spider Boss rarely will (40).
  354.   Mass:              Thing's mass.  Set a trooper's to 1 and watch him fly!  
  355.     Note the Cyberdemon has a high mass, and your rockets don't budge 
  356.     him much.
  357.   Bits:              This is the actual value of all of the bits.  Just
  358.     change this one number if you want to set all of the bits at once
  359.     to something.  See also the Bit fields portion of the text, coming
  360.     up in a few pages (section 6b).
  361.  
  362.   SOUNDS
  363.   Alert:             Sound made when the monster first spots the player,
  364.     or a projectile is launched.  These all point to the sounds in the 
  365.     Sound table.
  366.   Attack:            Sound made during a close attack.
  367.   Pain:              Sound made when the Thing is injured.
  368.   Death:             Sound made when the Thing dies.  For projectiles and 
  369.     barrels, the sound of it's explosion.
  370.   Action:            Sound made when the Thing is just milling around.
  371.  
  372.   FRAMES
  373.   First Normal:      What an inactive thing looks like, or a monster that's 
  374.     not yet active.  All frame numbers refer to the Frame table.  Only
  375.     the first frame is listed, you will need to refer to that Frame
  376.     entry in the Frame table to find out if it's actually a sequence of
  377.     frames.
  378.   First Moving:      A movable Thing's "first steps."
  379.   Injury:            Frame played for an injured Thing.
  380.   Close Attack:      Attacks that are close (clawing imps).
  381.   Far Attack:        Attacks that are far away (imp winding up for a
  382.             fireball attack).
  383.   Death:             Monster death or barrel/projectile explosion.
  384.   Explode Death:     Exploding death (slop!) for players, troopers,
  385.             imps, and sargeants.
  386.   Respawn:           This is the frame that's shown when the Thing comes
  387.     back to life due to the ArchVile.  This field is only shown for 
  388.     versions other than Doom 1.2.  
  389.  
  390.  
  391. b.  Bit Editor
  392.  
  393.    0.Gettable Thing:      Something that can be picked up by the player, 
  394.     like an ammo clip.
  395.    1.Obstacle:            Something that can't be walked through.
  396.    2.Shootable Thing:     It will only take damage if this is set.  Note 
  397.     that barrels also have this set.
  398.    3.Total Invisibility:  The Thing just can't be seen, no-how, no-way.  It
  399.     won't even show up with iddt-iddt.
  400.    4.'Automatics':        From Jason Gorski:  "Okay well if you don't want
  401.     your weapons to auto-lock onto something set the automatics to yes."
  402.     Basically Things like PUFF, TFOG, BLUD, and projectiles.
  403.    5.Semi-Deaf            Monsters become active if they see you (like
  404.     normal), or if you fire a weapon AND there is a direct line of
  405.     sight between you and the monster.  Strange.
  406.    6.In Pain:             Used internally by the Doom exe to determine if a
  407.     monster is in pain or not.
  408.    7.Unknown      
  409.    8.Hangs From Ceiling:  For those gory legs & mangled bodies.  Have it 
  410.     set, well, if the Thing hangs from the ceiling!
  411.    9.No Gravity:          Used for floating monsters and Things that aren't 
  412.     on the ground.
  413.   10.Travels Over Cliffs: Set for projectiles and players.  This bit allows
  414.     the Thing to travel from one sector to another even when the
  415.     dropoff height difference is greater than 16 (or 24?).  Turn this
  416.     on for Imps, and the Imps on E1M1 will jump off their platform
  417.     after you.
  418.   11.Can pick up items:   This Thing (i.e. the player) can pick up Gettable
  419.     Things.
  420.   12.No Clipping:         Same effect as idspispopd/idclip, but also 
  421.     effective for monsters.
  422.   13.Unknown
  423.   14.Floating:            For floating monsters, like the Cacodemon and the
  424.     Lost Soul.
  425.   15.Semi-No Clipping:    Kinda like no-clipping, kinda not.  You can't 
  426.     walk through walls, or trigger any linedefs, but you can walk 
  427.     over any height cliff in your way.
  428.   16.Projectiles:         Set for projectiles.  Allows the projectile to
  429.     leave your body.  If it is turned off, the projectile explodes
  430.     as soon as it is fired, because it originates from "inside" your
  431.     body.
  432.   17.Disappearing Weapon: This is used for weapons such as the shotgun that
  433.     the sargeants use, so that it disappears when picked up in a multi-
  434.     player game.  Normal weapons do not have this set, however, because
  435.     they stick around in normal multi-player games when picked up.
  436.   18.Partial Invisibilty: The Spectre effect.
  437.   19.Puffs (vs. bleeds):  Whether a thing bleeds (bit off) or puffs (bit on)
  438.     when hit.  The barrel is the only default Thing that has this set.
  439.   20.Sliding Helpless:    ???
  440.   21.Unknown
  441.   22.Counts for Kill%     This Thing counts as part of the Kill% at the end
  442.     of the level.
  443.   23.Counts for Item%     Just like Kill%, but for Things.
  444.   24.Unknown
  445.   25.Not in Deathmatch:   Things not present in Deathmatch mode, such as keys
  446.     and the normal "Player" starting spots (deathmatch spots are used
  447.     instead).
  448.   26.Color 1             \ 00-greens->greens       01-greens->browns
  449.   27.Color 2             / 10-greens->indigos      11-greens->dark reds
  450.   28.Unknown             \
  451.   29.Unknown              Perhaps these are unused???
  452.   30.Unknown             /
  453.   31.Unknown            /
  454.  
  455.  7. *** Frame Editor
  456. \------==============
  457.  
  458.   This displays the majority of the Frame information.  Each frame has six
  459.   editable fields (of 8 total that are stored in the exe).  The only two 
  460.   fields that are NOT shown on the screen are always 0 in all of the Frames,
  461.   so I decided it would be pointless to try to squeeze them onscreen also.
  462.  
  463.   Frame #:           This is the number that is specified in the Thing 
  464.     Frame fields.
  465.   Name:              A lookup done on the Text info in the doom.exe file,
  466.     specified by a reference to the Sprite #, the Sprite Table, and
  467.     the Sprite subnumber.
  468.   Sprite #:          The sprite that is shown for this Frame.
  469.   Sprite Sub #:      The individual "picture" (for lack of a better
  470.     word... I think the technical term is "lump") suffix for this Frame.
  471.     In the Doom WAD file, there is (for example) a Sprite called TROO, 
  472.     for the trooper.  The sub # specifies which TROO picture to use... 
  473.     TROOA, TROOB, TROOC, etc.
  474.   Bright Sprite:     This check box is not actually included in the
  475.     Doom.exe file.  The Sprite Sub# is multiplied by 32768 if the
  476.     Sprite is to always be displayed at it's full brightness.  I've
  477.     just changed that into a check box to make it easier to make a
  478.     Sprite bright, or not-bright.  Sprites that are always displayed
  479.     at their full brightness are Lost Souls, plasma bullets, etc... they
  480.     are always visible no matter what the lighting is.
  481.   Next Frame #:      Which Frame to play next.  You can skip a few shotgun
  482.     frames this way, to make the super-fast ("combat") shotgun.
  483.   Duration:          How long the frame stays on the screen.  Make 'em
  484.     all 1 to make the super fast shotgun *really* be super fast!  Notice
  485.     that the notoriously slow BFG has a value of 20 and 10 for a few of
  486.     its Frames.  (hint hint... =-)
  487.   Code pointer:      An offset in the Doom exe file to where it should
  488.     look for the "action" associated with this Frame.  It appears after
  489.     more digging that this value is really useless.  The actual location
  490.     in the code is specified by a relocation table elsewhere in the
  491.     Doom exe, which is referred to instead of the code pointer.
  492.  
  493.  
  494.  8. *** Ammo Editor
  495. \------=============
  496.  
  497.   Weapon Name:       The name of the weapon (not editable)
  498.   Ammo Type:         A pithy description.  This will be 'N/A' when an 
  499.     'unknown' ammo type is given for the Ammo Number.  Ammo type 5 is
  500.     listed as "Unlimited".
  501.   Ammo Number:       0=bullets       3=rockets
  502.              1=shells        4= ??? (none)
  503.              2=cells         5=unlimited (fist/chainsaw)
  504.   Max ammo cap:      The starting capacity for the current type of ammo.  
  505.     It's listed on the right side of the slash on the status bar.  
  506.     Backpacks will double this limit automatically.  This will be 'N/A' 
  507.     for unknown ammo types.
  508.   Ammo per item:     How much ammo you get when you pick up a power-up of the 
  509.     current ammo type.  For example, normally the bullet power-up gives 
  510.     you 10 bullets.  This value is multiplied by 5 for the 'large' 
  511.     power-ups, i.e. boxes of rockets, boxes of shells, etc.  Different 
  512.     difficulty modes also change this.  Also 'N/A' for unknown types.
  513.   Deselect frame:    This is the frame that's shown when another weapon
  514.     is selected and the current weapon drops off the screen.  This is
  515.     the number that Doom refers to in the Frame list for more info.
  516.   Select frame:      The frame that's shown when the weapon is selected
  517.     and is rising onto the screen.
  518.   Bobbing frame:     Frame number for the bobbing weapon.
  519.   Shooting frame:    Frame played when the weapon shoots.
  520.   Firing frame:      Frame that actually shows the "flames" from the
  521.     weapon.
  522.  
  523.  
  524.  9. *** Sound Editor
  525. \------==============
  526.     
  527.   Sound Number:      This is the number that's referenced by the Things
  528.     for each sound.
  529.   Text Offset:       The offset into the Text section where the sound 
  530.     name is found.
  531.   Sound Name:        Found by simply checking the Text section at the
  532.     correct offset.
  533.   0 / 1:             ??? Perhaps some complicated sound thingy.   
  534.   Value:             ??? Another unknown sound value, perhaps something 
  535.     dealing with how the sound was sampled.
  536.  
  537.  
  538. 10. *** Sprite Editor
  539. \------===============
  540.  
  541.   Sprite Number:     The number in the Frame table that refences this
  542.     Sprite.
  543.   Text Offset:       The offset into the Text section where the Sprite
  544.     name is found.
  545.   Sprite Name:       Also found through a simple lookup in the Text
  546.     section.
  547.  
  548.  
  549. 11. *** Text Editor
  550. \------=============
  551.  
  552.   Text Offset:       The offset into the Text section of the current
  553.     Text string.
  554.   Text:              This is the actual text that's located at the
  555.     text offset.
  556.  
  557.   Some notes are in order on the Text viewing, editing, etc.  First of
  558. all, if the Text is longer than about 60 characters (too long to fit on
  559. one line in the general Text screen) three ellipses are displayed at the
  560. end of the line.  Non-printing characters, such as new-lines, tabs, and
  561. other screwy characters are shown by a tilde symbol in the text (~).  
  562.  
  563.   If you want to view the actual text, just hit the Spacebar and a window
  564. will pop up with the actual text string in it.  A newline is shown by a
  565. '\n' shown in black (dark grey), tabs by '\t' in black, and so on.  The
  566. text is formatted in basically the same way that it would be on-screen.
  567.  
  568.   To edit the text, just hit Enter and the view window and an edit window
  569. will pop up.  Enter your new text in the edit window, and hit Escape when
  570. you are done editing.  If you are hitting Escape to cancel the current
  571. editing operation, answer 'n'o when asked if you want your changes saved,
  572. otherwise answer 'y'es and the text will change to your modification.
  573.  
  574.   Because each text string is variable length in the Doom exe file, you 
  575. have only a slight lee-way in how long the edited text needs to be.  The 
  576. minimum and maximum length for the string you are editing are shown on the 
  577. top line of the editing window, along with the current position of the 
  578. character you're on.  You will have a range of 4 characters that the new 
  579. string must fit into.  Typing beyond the maximum number of characters is not 
  580. allowed, and stopping short of the minimum is also not allowed.
  581.  
  582.   The text editor is not exactly a full-fledged version of Wordperfect, so
  583. the only movement key you have is the back-space...  no arrow keys, no
  584. macros, no spell checker, etc. :-)
  585.  
  586.  
  587.   That's about it.  Any more question?  Feel free to write me at
  588. gregl@umich.edu for more information.  Have fun!
  589.