PyMS
v1.2.1

By: poiuy_qwert
  1. Introduction
  2. PyGRP v3.8
  3. PyPAL v1.5
  4. PyLO v1.6
  5. PyTBL v1.7
  6. PyTRG v2.6
  7. PyDAT v1.11
  8. PyGOT v1.2
  9. PyAI v2.4
  10. PyICE v1.8
  11. PyFNT v1.2
  12. PyTILE v1.3
  13. PyPCX v1.0
  14. PyMPQ v1.0
PyLO v1.6

PyLO is used to convert LO? (LOA, LOB, LOD, LOF, LOO, LOS, LOU, LOG, LOL, LOX) to and from TXT files.
  1. Changes
  2. Commandline Options
  3. Syntax
  4. Example Usage


Changes^

PyLO v1.6 PyLO v1.5 PyLO v1.4 PyLO v1.3 PyLO v1.2 PyLO v1.1 PyLO v1.0

Commandline Options^

Note: All LO? files have the same format, just different filename extensions (LOA, LOB, etc).
Option Long Option Description
-h --help Display the command line format and options with small descriptions.
-d --decompile Decompile a LO? file to a TXT file. Default
-c --compile Compile a TXT file to a LO? file.
--gui Opens a file with the GUI


Syntax^

The syntax of a decompiled LO? file is very simple. There are a bunch of framesets, each started with the header Frame:. Under each header (in each frameset), there is a list of overlay coordinates in the form (<x>, <y>). <x> and <y> are both integers in the range -127 to 127, and all framesets must have the same amount of overlays. For example, the Vespene Geyser smoke puff overlay is:
Code
Frame:
    (11, -19)
    (-40, -13)
    (34, 2)
    (127, 127)
    (127, 127)

Frame:
    (11, -19)
    (-40, -13)
    (34, 2)
    (127, 127)
    (127, 127)

Frame:
    (11, -19)
    (-40, -13)
    (34, 2)
    (127, 127)
    (127, 127)

Frame:
    (11, -19)
    (-40, -13)
    (34, 2)
    (127, 127)
    (127, 127)


Example Usage^

Editing the Vespene Geyser smoke puff overlay:
Command Line
python PyLO.pyw geyser.los
  ..edit overlay..
python PyLO.pyw -c gayser.txt




« PyPAL PyLO PyTBL »