PIC2PIC

An AGI to SCI picture resource converter by John Nickerson (Mokalus of Borg), mokalus@yahoo.com.au
(c) John Nickerson, January 2002

License Agreement

You are hereby granted the right to do whatever you like with this software and it's source code, including redistribution and alteration, on the following conditions:
  1. The author's name and contact details (John Nickerson, mokalus@yahoo.com.au) are not removed or hidden.
  2. The author accepts no responsibility for any damage that may be caused to your hardware, other software, or wetware, through use of the program.
  3. No warranty is given, either express or implied, including, but not limited to, usability or fitness for a particular purpose, except where prohibited by law, and on the planet Neptune ('coz we all know what they're like about warranties).

Executive summary of license agreement

Go nuts, but don't bother me.

Current version

1.2.1b ('b' for 'beta')

Using the program

(The file "pic2pic.exe" has been compiled from "pic2pic.py" with "py2exe", available from Starship Python, and requires "python21.dll" to run.)
(The file "pic2pic.py" requires the Python interpreter, which can be downloaded for free at www.python.org for a variety of platforms.)

The program can be run with either command-line arguments, or user input. The command-line syntax is as follows:

pic2pic agifile scifile

where 'agifile' is the name of the extracted AGI picture resource (version 2),
and 'scifile' is the name of the SCI output file to write.
If no arguments are given on the command line, then the program will prompt for file names during execution. If you have problems getting the program to open files, try specifying the path in full.
There is no command for online help.
The program works with AGIv2 pictures, and will not work with encrypted or compressed v3 pictures.

Further information/programs

To extract AGI pictures: http://members.ozemail.com.au/~ptrkelly/agi/agistudio.html
The AGI picture format: http://members.ozemail.com.au/~ptrkelly/agi/specs/picture/5-1.html
To view SCI pictures: http://www.bripro.com/scistudio/download.html
The SCI picture format: http://freesci.linuxgames.com/scihtml/x1748.html
The Python interpreter and language: http://www.python.org
 

Known issues

  1. Some lines don't connect properly, leading to fill overflows.
Workaround: Using an SCI picture editor (such as is part of SCI Studio), step through the file one instruction at a time, looking for fills that overflow, and draw small lines to close the gaps.

Bug reporting

To report a bug, please email me at mokalus@yahoo.com.au, with the following format:

Name:
Date:
Program version:
Command line used:
Description of error:
Error message (if any):