forked from telyn/c2ephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
29 lines (23 loc) · 862 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
To use:
checkout to a folder
require_once c2ephp.php
read the docs at http://telyn.github.io/c2ephp/
The tests are command-line-only and expect to be run in the following manner:
php <file> [arguments]
pray.php
--------
Takes a PRAY file (.agent,.agents,.creature,.family) file as its only argument
Outputs a print_r of the PRAY file's structure.
pray-glst.php
-------------
Takes a .creature or .family file as its only argument.
Outputs a print_r of the creature's history.
pray-extract.php
---------------
Takes a PRAY file as defined above as its only argument
Extracts all the PRAY blocks in the file to a set of binary
files in the format NAME.BLOCKTYPE
pray-frankenstein.php
--------------------
Takes a set of binary files in the format NAME.BLOCKTYPE as its arguments.
Outputs a pray file called 'output.pray' by using each file as a PRAY block.