home *** CD-ROM | disk | FTP | other *** search
/ DeathMatch 2 for Doom 2 / Deathmatch2.bin / other / lmputil.faq < prev    next >
Text File  |  1995-05-22  |  7KB  |  160 lines

  1. ========================================
  2. Frequently Asked Questions about LmpUtil
  3. ========================================
  4.  
  5. Q : Why do I need to use -viewer when I can press F12 during the demo?
  6.  
  7. A : F12 during the demo will not completely switch you to the other
  8.     player as the status bar, sound, and screen display still shows
  9.     the current player, not the one you switched to. This can be quite
  10.     confusing at times.
  11.  
  12.     You can, for example, get the frag count of the other player by
  13.     viewing the LMP from a different player. (So you don't have to
  14.     ask them how many frags they had...)
  15.  
  16. Q : Will one version of LMP work under another version of Doom?
  17.  
  18. A : That's a tough question. There are several factors that determine
  19.     whether one LMP will work under another version of Doom or not.
  20.     Changes to various parts of the map, enhancements to the Doom engine
  21.     are the main reasons some LMP get out of synch very quickly under
  22.     a different version of Doom.
  23.  
  24.     In general, Deathmatch LMPs recorded with -nomonster have very high
  25.     chance of playing back correctly under another version, where as
  26.     few 1.1 or 1.2 single player LMPs (older LMP format) played back
  27.     correctly under 1.9 (new LMP format).
  28.  
  29.     Some of my favorite 1.2 LMPs that worked under Doom 1.9 are
  30.     rocket.lmp, domino.lmp, etc. (From the LMP collector's edition)
  31.     And all of my Doom II 1.6 Deathmatch LMPs worked under 1.9.
  32.  
  33. Q : Why can't I change the LMP version for my 1.1 or 1.2 LMPs?
  34.  
  35. A : LMP file with version prior to 1.4 use a different format and
  36.     does not contain version number information, as well as some other
  37.     information kept with the newer LMP format. When you display info
  38.     about 1.1 or 1.2 LMPs, blank entry indicates information that
  39.     are not kept with the older LMP file.
  40.  
  41.     To playback the older LMP file, use the -convert option to convert it
  42.     to the newer format first.
  43.  
  44. Q : Does LmpUtil support Heretic LMPs?
  45.  
  46. A : Heretic 1.0 uses the older LMP format like doom 1.2. LmpUtil makes no
  47.     attempt to distinguish Heretic LMPs. It will simply display them as
  48.     Doom 1.2 LMPs. However, you need to pass the -heretic parameter to
  49.     LmpUtil or else the display of LMP's Duration might not be correct.
  50.     You also need the -heretic parameter if you use -cut or -wait, or else
  51.     a invalid LMP file might be produced.
  52.  
  53. Q : I heard something about wildcards support for LmpUtil?
  54.  
  55. A : LmpUtil can now processing multiple LMPs for -ver and -viewer
  56.     parameter. Simply use standard DOS wildcards in place of the LmpFile.
  57.  
  58.     Let's say if you want to set all the LMP version to 1.9 of all the
  59.     LMP files in your current directlry, simply do:
  60.  
  61.     lmputil -ver 1.9 *.lmp
  62.  
  63.     Any invalid file specified will be ignored and an error message will be
  64.     printed indicating the type of error. Ignored files are not modified.
  65.  
  66. Q : What is a game tic? How do I use it with -cut and -wait?
  67.  
  68. A : You simply need to remember that 35 gametics = 1 second. Thus, if you
  69.     want to add 10 seconds of idle time to your LMP, simply do:
  70.  
  71.     lmputil -wait 350 source.lmp target.lmp
  72.  
  73.     Or, if you want to remove the first 321 seconds of the LMP, do:
  74.  
  75.     lmputil -cut 1 11235 source.lmp target.lmp
  76.  
  77.     because 11235 = 321 x 35.
  78.  
  79. Q : Why doesn't -convert support wildcards?
  80.  
  81. A : -convert requires a source.lmp and a target.lmp, so it doesn't make
  82.     much sense supporting wildcards when specifying source.lmp, because
  83.     lmputil won't know what the target file is for each of the matching
  84.     source file.
  85.  
  86.     If you are using 4dos or Ndos, you can easily setup an alias that
  87.     converts all lmps in the current directory, I use the following :
  88.  
  89.     convert lmputil /convert %1 %temp\~.lmp %+ *move %temp\~.lmp %1 /q
  90.     conall for %f in (*.lmp) convert %f
  91.  
  92.     If you are not using 4dos, then GET IT.
  93.  
  94. Q : What hints do you have for using the -cut parameter?
  95.  
  96. A : The -cut was intended to delete a section of LMP, say the first
  97.     3 minutes in which you died 10 times before you successfully beat
  98.     the level. Instead of quit to DOS and start the recording again
  99.     every time you die, you can just press space bar to revive, and
  100.     continue the recording until you succeeded. Then remove the first
  101.     xxx seconds of LMP and only keep what's left.
  102.  
  103.     Whenever you die during recording of a demo, press the space bar to
  104.     revive yourself. Then, stay idle for at least 10 seconds before you
  105.     begin to move. Look at your timer when you have revived. A good
  106.     estimate might be 2 seconds after you pressed spacebar.
  107.  
  108. Q : I did what you said, I was able to remove the section I wanted.
  109.     I can tell because the new lmp started by me holding that pistol.
  110.     It played ok for a while, but then the player goes nuts and died!!
  111.  
  112. A : Ok, I am just going to give it away, -cut doesn't work all the time.
  113.     Even if you were able to precisely remove the section you wanted.
  114.     In fact, it doesn't work at all when I tried it.
  115.  
  116.     I guess the explanation is that there's some randomness to some aspect
  117.     of Doom. Those random variable starts with the same seed when you run
  118.     Doom from DOS, and changes on the fly depends on the player's movement
  119.     and possibly some other factors.
  120.  
  121.     Put in simple terms, monster behavior are different each time you press
  122.     space bar and replay the level. Thus, in theory, if you simply delete
  123.     the first xxx seconds of the LMP, the LMP will never play back correctly.
  124.     But don't take my words for it, try it yourself.
  125.  
  126.     I decided to leave the -cut in the program so you can do some other
  127.     things. Like remove the last 30 minutes of the LMP and so on..
  128.  
  129. Q : What exactly does the -wait do, do I need to use it?
  130.  
  131. A : -wait simply adds some extra waiting time at the end of the LMP, makes
  132.     it a little longer. It is intended to give you more time to look
  133.     at the score should the LMP ended too quickly.
  134.  
  135. Q : LmpUtil says my LMP are missing bytes, what does it mean? what do i do?
  136.  
  137. A : Normally, a LMP should contain complete gametics. However, you may end
  138.     up with LMPs that contains broken gametics, if the game end unexpectly,
  139.     like someone picked up the phone while you were recording a deathmatch,
  140.     or if Doom simply ran out of Demo space (-maxdemo).
  141.  
  142.     You can safely igore the warning. To fill in the empty byte(s), use
  143.     "lmputil -wait 1 old new". This will create a new LMP and fills in any
  144.     missing bytes.
  145.  
  146. Q : I have a LMP file "xxx" that doesn't have the .lmp extension, but when
  147.     I type in "lmputil xxx" it says "xxx.lmp" file not found!!
  148.  
  149. A : Well, by default, if the file specification doesn't contain a period,
  150.     then LmpUtil automatically inserts the ".lmp" extension for you.
  151.  
  152.     To use a LMP file that doesn't have any extension, put a period after
  153.     the file, such as in
  154.  
  155.     lmputil mylmp.
  156.  
  157. Raymond Chi
  158. chiry@po.EECS.Berkeley.EDU
  159. 05-22-95
  160.