Chunkify
Breaks a file into equal-size chunks for use with Join
subscriber.
Synopsis
chunkify [options] -i <infile> -o <outfile>
Description
Takes any file as input and breaks it into equal-size chunks for use with
the Join subscriber.
Arguments
- -chan <channel>
- Channel number to be used for this data type.
- -comp <num>
- Compression type. Currently not implemented.
- -cs <size>
- Size of a data chunk in bytes.
- -i <infile>
- Name of input file containing data to be chunkified.
- -memtype <type>
- Default memory type (
MEMTYPE_ANY,
MEMTYPE_DRAM,
or MEMTYPE_VRAM
defined in mem.h)
- -o <outfile>
- Output file containing chunkified data.
- -ti <time>
- Time increment. Each chunk's timestamp is incremented by this
amount.
- -type <type>
- Data type being joined. This is a 4-byte ASCII character that
uniquely identifies a join element (FILM, SNDS, SANM).
Examples
A typical command line for Chunkify is:
chunkify -i Foo.anim -o test.join -type TEST -cs 32768 -chan 4 -ti 0
Chunkify takes the data from input file Foo.anim, chunkifies
the data into chunks of 32,768 bytes with timestamp of 0, and outputs the
chunkified data in test.join. The channel assigned to the chunks is 4.