-
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
nornalbion edited this page Mar 31, 2011
·
5 revisions
A collection of PHP code designed to work with the file formats used by the c2e engine, or its open source clone: openc2e.
Check out the documentation at http://nornalbion.github.com/c2ephp/
To view a demo of some of the features available, check out http://lab.nornalbion.com/c2ephp/
These file formats include:
- The PRAY format, for such things as .agents files etc.
- The s16/c16 format, used for sprites.
- ATT files.
- CAOS scripts.
- The GLST format, which defines a creature’s history
Current capabilities:
- Decode C16/S16/SPR files and output as PNG data.
- Decode Creature 1 and Creatures 2 COB files and represent their contents as associative arrays.
- Decode PRAY files/strings including the following block types (others can be decompressed and the raw data exported):
- All tag blocks (AGNT,DSAG,EXPC,DSEX,EGG,LIVE) (tags represented as arrays)
- Creature History (GLST) blocks, with events represented as CreatureHistoryEvent objects.
- Creature photo (PHOT) blocks, represented as an S16File object.