Difference between revisions of "Cpt"
From Chrono Compendium
(Created page with "==General Information== ====Chrono Cross==== A cpt file is a container used for other files. Unlike the drp format, it doesn't give a...") |
|||
Line 3: | Line 3: | ||
====Chrono Cross==== | ====Chrono Cross==== | ||
− | A cpt file is a container used for other files. Unlike the [[ | + | A cpt file is a container used for other files. Unlike the [[drp]] format, it doesn't give any information about what those files are, leaving us to guess. |
A cpt begins with a four-byte little-endian giving the number of subfiles it contains, followed by a series of four-byte pointers indicating the beginning of each subfile relative to the beginning of the cpt. A true cpt has an end-of-file pointer as well, but the Chrono Cross CDs also include variations on the format which lack one. After that, the files are packed in one after the other. | A cpt begins with a four-byte little-endian giving the number of subfiles it contains, followed by a series of four-byte pointers indicating the beginning of each subfile relative to the beginning of the cpt. A true cpt has an end-of-file pointer as well, but the Chrono Cross CDs also include variations on the format which lack one. After that, the files are packed in one after the other. | ||
''From'': [[Chrono Cross File Structure]] | ''From'': [[Chrono Cross File Structure]] |
Revision as of 03:41, 20 March 2016
General Information
Chrono Cross
A cpt file is a container used for other files. Unlike the drp format, it doesn't give any information about what those files are, leaving us to guess.
A cpt begins with a four-byte little-endian giving the number of subfiles it contains, followed by a series of four-byte pointers indicating the beginning of each subfile relative to the beginning of the cpt. A true cpt has an end-of-file pointer as well, but the Chrono Cross CDs also include variations on the format which lack one. After that, the files are packed in one after the other.