home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fun & Games 31
/
fun_&_games_nr_31.iso
/
fg31
/
levels
/
doom2
/
boothill
/
lmputil.doc
< prev
next >
Wrap
Text File
|
1995-05-22
|
6KB
|
211 lines
Doom LMP Utility System
Version 2.10, 05-22-95
Copyright 1995, Raymond Chi
All Rights Reserved
========
Overview
========
LmpUtil is a program that you can use to display detailed information
about a LMP file. It allows you to set the LMP file version, change
recording player to a different active player, convert 1.0 - 1.2 LMP to
the newer LMP format used with Doom 1.4 - 1.9, remove a section of LMP,
and the ability to add some idle tics at the end of the LMP.
It works with any kind of LMP generated by any version of Doom / Doom II.
Heretic LMP is supported, but requires a special parameter to tell LmpUtil.
============
Installation
============
1) Make a directory and copy all lmputil files to it.
2) add the directory to your path statement in autoexec.bat
Or, if you are using 4dos/Ndos, create an alias that points to
lmputil.exe instead of add the directory to your path.
==========
What's New
==========
The -chop command is implemented. So your -timer 20 lmpfile can now be
exactly 22 minutes long.
You can now omit the .lmp file extension in all cases. If the file
specification doesn't contain any period, then the ".lmp" extension is
added automatically.
The -cut command is removed from the help screen, but it is still
implemented should you want to play with it.
LmpUtil can now display info about multiple files. So you can do
lmputil *
and it will print info on all *.lmp files.
============
Sample Usage
============
To display information about a LMP, simply type :
-> lmputil lmpfile
Change the recording player to the next available player :
-> lmputil -viewer lmpfile
Change the LMP file version to 1.9 :
-> lmputil -ver 1.9 lmpfile
You can combine -viewer and -ver. For example :
-> lmputil lmpfile -ver 1.7 -viewer
will set the LMP version to 1.7, and change the recording player.
In LmpUtil v2.00, wildcards support is added for -ver and -viewer. Say you
want to convert all the LMPs in your current directory to 1.9, the command
to do it is :
-> lmputil -ver 1.9 *.lmp
To convert a 1.1 or 1.2 LMP to the newer LMP format, type :
-> lmputil -convert source target <optional version>
The source and target must not be the same file. Although the program tries
to detect if the 2 files are the same, it will fail if you deliberately
tries to fool it. And in that case, will corrucpt the source file.
If ver is not specified, the target file will have LMP version stamp 1.9.
Although the order of parameter doesn't matter, i.e., you can specify the
lmpfile either before or after the -viewer, there must be a version number
follow -ver; a source, a target, and a optional version after -convert.
So you cannot, for example, do :
-> lmputil -viewer -ver lmpfile 1.6
because a lmp version is expected after -ver.
To add 100 seconds of waiting time at the end of your LMP, do :
-> lmputil -wait 3500 source.lmp target.lmp
the 3500 represent 100 seconds, because 35 gametics is 1 second.
To remove the first 10 minutes of LMP, do :
-> lmputil -cut 1 21000 source.lmp target.lmp
-cut and -wait expect time to be specified in gametics, not seconds.
To convert from time to gametics is very easy :
1) convert the time to seconds
2) multiply the seconds by 35.
You can use either - or / as the parameter indicator. All of the above
examples can be done with / instead of -. So you can do, for example,
-> lmputil /ver 1.6 lmpfile -viewer
If -convert, -cut, -wait is specified, anything after the required parameter
will be ignored. So if you use -heretic, use it as the first parameter.
=============
Sample Output
=============
Here's an output of a LMP recorded with Doom 1.666 :
f:\test>lmputil jayalanw.lmp
LMP Version : 1.6
Skill Level : 2, Hey, not too rough
Episode : 1, Hell on Earth / Knee-Deep in the Dead
Map : 5, The Waste Tunnels / Phobos Lab
Play Mode : DeathMatch 2.0
-respawn : No
-fast : No
-nomonsters : Yes
Recorded by : Indigo
Active Player : Green, Indigo
Game Tick : 106443
Duration : 00:50:41
Here's an output of a 1.2 Lmp :
c:\test\hall>lmputil showdown.lmp
LMP Version :
Skill Level : 4, Ultra-Violence
Episode : 2, The Shores of Hell
Map : 9, Fortress of Mystery
Play Mode :
-respawn :
-fast :
-nomonsters :
Recorded by :
Active Player : Green
Game Tick : 8078
Duration : 00:03:51
And here's the output when wildcards are used :
f:\test>lmputil *.lmp /ver 1.9
■ LEVEL19.LMP : 1.7 » 1.9 [done]
■ LEVEL20.LMP : 1.7 » 1.9 [done]
■ LEVEL21.LMP : 1.7 » 1.9 [done]
■ LEVEL22.LMP : 1.7 » 1.9 [done]
■ LEVEL23.LMP : 1.7 » 1.9 [done]
■ LEVEL24.LMP : 1.7 » 1.9 [done]
■ LEVEL25.LMP : 1.7 » 1.9 [done]
■ LEVEL26.LMP : 1.7 » 1.9 [done]
■ LEVEL27.LMP : 1.7 » 1.9 [done]
9 file(s) processed, 0 file(s) skipped.
===========
Other Notes
===========
This program is free of charge and there is no registration fee.
However, If you like the program and found it useful, send me an e-mail.
You may distribute this program as long as it is unmodified, and contains
the whole package (lmputil.exe, lmputil.doc, lmputil.new and lmputil.faq)
Selling, lending, and leasing this software is not permitted.
If this program is to be put into a Doom type CD of *any* kind, you
*must* get permission from me first.
This is the first program I released into the public, I would appreciate
any feedbacks.
=======
Credits
=======
Of course, credit must go to id software for such an excellent game,
and Uwe Girlich for the unofficial Doom LMP spec 1.10.
===========
Legal Stuff
===========
THIS SOFTWARE AND MANUAL ARE SUPPLIED "AS IS". THE AUTHOR HEREBY
DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE AND ITS
DOCUMENTATION FILE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO DAMAGE TO HARDWARE, SOFTWARE AND/OR DATA FROM USE OF THIS
PRODUCT. IN NO EVENT WILL THE AUTHOR OF THIS SOFTWARE BE LIABLE
TO YOU OR ANY OTHER PARTY FOR ANY DAMAGES. YOUR USE OF THIS
SOFTWARE INDICATES THAT YOU HAVE READ AND AGREE TO THESE AND
OTHER TERMS INCLUDED IN THIS DOCUMENTATION FILE.
Raymond Chi
chiry@po.EECS.Berkeley.EDU
05-22-95