home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 19
/
CD_ASCQ_19_010295.iso
/
vrac
/
lmpc21.zip
/
LMPC.DOC
< prev
next >
Wrap
Text File
|
1994-10-24
|
7KB
|
187 lines
LMPC
The DOOM LMP Control Program
Public Version 2.1 24 October, 1994
by Uwe Girlich
(girlich@aix520.informatik.uni-leipzig.de)
1. Introduction
***************
LMPC is a small utility to handle DOOM LMP files.
It is based upon the information in the "Unofficial LMP format description".
With LMPC you can get informations about a LMP, change the version and
viewing player's number and (this is the main part) you compile and
recompile a LMP from and to a LS file. LS stands for "Lmp Source".
2. Command line parameters
**************************
LMPC is a command line oriented program.
2.1 Syntax description
======================
Syntax: LMPC
Description: If you start LMPC without any command line parameters you
receive the following syntax message:
LMP Control
LMPC (c) U. Girlich, October 1994, Version 2.1
"LMPC" Action FileName1 [FileName2]
Action can start with "-" or "/".
-i FileName prints out informations about this LMP.
-vn FileName1 FileName2 changes the DOOM version of FileName1 to n
and stores in FileName2.
-pn FileName1 FileName2 changes the recording player to n (0<=n<=3)
and stores in FileName2.
-s LMPFile LSFile recompiles the LMP to a LS file.
-l LSFile LMPFile compiles the LS to a LMP file.
2.2 Information about a LMP
===========================
Syntax: LMPC -i LMPFile
InputFile: LMPFile
Description: LMPC reads the LMP file LMPFile and prints out some information
like version number, episode, map, skill, number of players,
deathmatch/altdeath, nomonsters etc.
Please note: in the old format there is no version information,
so if you check ie a 1.2 LMP file you receive only the vague
information v<1.4 instead of v1.2.
2.3. Version change
===================
Syntax: LMPC -vn LMPInFile LMPOutFile
InputFile: LMPInFile
OutputFile: LMPOutFile
Description: LMPC reads the LMP file LMPInFile, changes the version number
to n and stores the result in LMPOutFile. LMPC uses the old
header format for version numbers <1.4 and the new format
for version numbers >=1.4.
Please note: LMPInFile must be different to LMPOutFile.
There is no guarantee for a special LMP file
to work with the new version!!
2.4 Player's view change
========================
Syntax: LMPS -pn LMPInFile LMPOutFile
InputFile: LMPInFile
OutputFile: LMPOutFile
Description: LMPC reads the LMP file LMPInFile, changes the number of the
player with the main view (status bar, sound) and stores the
result in LMPOutFile.
This works only with new LMP's, since old LMP's are always
recorded from the view of the first player and there is no
information about this in the header.
Please note: LMPInFile must be different to LMPOutFile.
2.3. LMP Recompiler
===================
Syntax: LMPC -s LMPFile LSFile
InputFile: LMPFile
OutputFile: LSFile
Description: LMPC reads the LMP file LMPFile, recompiles it to the LMP source
and stores the result in the LS file LSFile.
LMPC appends at the end of the LS file some useful additional
informations. For each player there is a statistics about his
favorite movement codes and the portion of WT. Since you can
achive with keyboard/joystick only a few special movement codes,
is is very easy to detect, if the player used a keyboard or a
mouse. Some new players don't use strafe, so LMPC shows also
this handicap.
From the favorite movement codes you can easily deduce the
number behind a prospective -turbo parameter. Until now you
have to do this for yourself, but I hope, that in the next
version a heuristic algorithm calculates this number.
2.4. LMP Compiler
===================
Syntax: LMPC -l LSFile LMPFile
InputFile: LSFile
OutputFile: LMPFile
Description: LMPC reads the LS source file LSFile, compiles it to the
LMP format and stores the result in the LMP file LMPFile.
3. Known bugs
*************
If the quit byte of a multiplayer LMP does not appear after the last game
tic of the last player but, say after the last game tic of the first player,
then this last (uncomplete) action does not appear in the LS file. LMPC
analyses only full game tics. Since DOOM itselft produces only well formed
LMP files, it's not a real bug. Since DOOM can play back also such LMP files
(you can produce them with LMPC -l) it must be fixed anyway.
The LS text parser is very simple and may produce sometimes wrong things.
Please inform me, if you wrote (or prduced with LMPC -s) a correct LS file
('correct' is described in ls.doc) and LMPC -l can not compile it.
4. History of LMPC
******************
1.0 30.08.1994 lmpc10.zip (31.08.1994 posted in a.b.d,a.g.d)
* first public version
1.01 31.08.1994 lmpc101.arj (01.09.1994 posted in a.b.d,a.g.d)
* bug fixed in WT statistics
* LS description / LMPC program reference splitted in LS.DOC / LMPC.DOC
* New heuristic algorithm to discover former version changes.
* History added in LMPC.DOC
* Terry (terry@usis.com) wrote also a doom utility (I don't know it)
with the archiv name lmpc10.zip. Therefore I changed to the ARJ archiv.
2.0 11.10.1994 lmpc20.arj (internal beta test release)
* the LMP compiler is ready after all!
2.01 12.10.1994 lmpc201.arj (internal beta test release)
* recompiler bug fixed (UT/FW and NW in the same game tic)
* compiler parser improved (token length test)
* NW8 (8 gives you the chainsaw directly) added
2.1 24.10.1994 lmpc21.arj (25.10.1994 posted in a.b.d)
* after a error free beta test phase nothing changed, new public version
Plan for 2.2
I will add a heuristic algorithm to calculate the -turbo value from the
favorite movement bytes.
For further information on LMP's look in the "Unofficial LMP format
description". The current version is 1.10 (LMP110.DOC on infant2).
Uwe Girlich 24 October, 1994
girlich@aix520.informatik.uni-leipzig.de