SLPTool
SLP Viewer Tool is a GUI application, built with Tkinter and
Python, which views SLP files. It is better than the nongraphical SLP
viewer it replaces, because it is easy to use and it has buttons and
graphical widgets to free you of the burden of the actual thought
needed to use a command-line based application.
You get it here: SLP Viewer Tool &
SLP Python Library
You need the Python Library included with this archive to use the rest
of the tools here anyway, so you might as well download it.
Installing it is easy, after expanding the archive, move SLPLib.py and
SLPPal.py into /usr/lib/python2.2/
or python2.3/ or where-ever
your Python libraries live.
The interface is mostly self-explanitory, but incase it isn't: mess
with it and find out how it works. It can't hurt anything.
It also has an interface to unslp, also mentioned on this page, to
generate pictures from entire SLP files, as opposed to the
one-frame-at-a-time approach taken by SLP Viewer. (Actualy, you can
view multiple frames with it, but each is in it's own window, whereas
unslp draws them all together in a matrix.)
The unslp interface makes sense if you already understand unslp, but if
not, that's simple: unslp wants a pair of numbers, which are the
number of pictures horizontaly and the number of pictures verticaly.
The product of theese two numbers must add up to the number of shapes
(pictures) in the SLP file, which is shown above the list in SLP Viewer
Tool. So pick two numbers that, when multiplied together, give the
number of shapes, and enter them with the Image -> Enter dimensions...
menu item. Then press the 'matrix' button and wait while it makes the
pretty pictures!
unslp
Unslp is here: unslp
Unslp prepares pretty pictures of SLP files. Install it in your
/usr/bin to use it with the viewer tool above. It also depends on the
library shipped with the SLP Viewer Tool. It is a command line program,
although SLPTool provides a graphical front-end for it. See above for
that usage. In it's native command line enviroment, invoke it thusly: unslp <name-of-slp-file.slp> x y
X and Y are the dimensions of the matrix, see above for an explanation.
(If you don't know what to put, just run it with any numbers, it will
tell you they're wrong and give you the number of shapes in the file.)
Unslp must be in /usr/bin or other member of your search path to be
used with SLP Viewer Tool.