SkoolKit requires Python 2.x, version 2.5 or later. (SkoolKit has not been tested with Python 3.x; it almost certainly will not work.) If you’re running Linux or one of the BSDs, you probably already have Python installed. If you’re running Windows, you can get Python here.
In addition to the stock Python distribution, SkoolKit also requires one of the following image-processing libraries:
Either one will do. gdmodule seems to be slower than PIL, but it creates smaller image files. gdmodule is available in Debian, Ubuntu, openSUSE and Mandriva as python-gd; it is apparently not packaged for Fedora. It is also available in FreeBSD and NetBSD as graphics/py-gd, and in OpenBSD as py-gd. PIL is available in Debian, Ubuntu, openSUSE, Mandriva and Fedora as python-imaging. It is also available in FreeBSD and NetBSD as graphics/py-imaging, and in OpenBSD as py-Imaging. Windows users will probably want to use PIL, since it has downloads readily available.
SkoolKit will use gdmodule in preference to PIL if it is available.
Throughout this documentation, commands that must be entered in a terminal window (‘Command Prompt’ in Windows) are shown on a line beginning with a dollar sign ($), like this:
$ ./some-script.py some arguments
On Linux/BSD, the commands may be entered exactly as they are shown (without the dollar sign, of course). On Windows, the dot-slash (./) prefix should be omitted. (The dot-slash prefix may also be omitted on Linux/BSD if you have the current working directory in your PATH, but that is not the norm.)
To generate the HTML version of the Skool Disassemblies, use the skool2html.py script. Open a terminal window, change to the directory containing SkoolKit, and enter this command:
$ ./skool2html.py disassemblies
A few seconds later (or minutes, depending on the speed of your machine), the HTML version of the Skool Disassemblies will be ready in the disassemblies subdirectory (which will have been created if it didn’t already exist).
To create the HTML version of the Contact Sam Cruise disassembly:
$ ./skool2html.py -r csc.ref disassemblies
Now open disassemblies/contact_sam_cruise/index.html in a web browser.