Ksiaze i Tchorz PTC: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 13: | Line 13: | ||
//header | //header | ||
4 bytes (char) - signature // "P&TC" | 4 bytes (char) - signature // "P&TC" | ||
4 bytes (uint32) - file table offset // encrypted | |||
x bytes - data | 4 bytes (uint32) - file table size // encrypted | ||
// data | |||
number_of_files * | |||
{ | |||
x bytes - file data | |||
} | |||
// file table (encrypted) | |||
num_of_files * | |||
{ | |||
24 bytes (char) - file name // e.g. "CREDITS.DAT" | |||
4 bytes (uint32) - file offset | |||
4 bytes (uint32) - file size | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 14:52, 30 January 2022
Back to index | Edit this page
PTC
- Format Type : Archive
- Endian Order : Little Endian
- Signature : P&TC
Format Specifications
//header
4 bytes (char) - signature // "P&TC"
4 bytes (uint32) - file table offset // encrypted
4 bytes (uint32) - file table size // encrypted
// data
number_of_files *
{
x bytes - file data
}
// file table (encrypted)
num_of_files *
{
24 bytes (char) - file name // e.g. "CREDITS.DAT"
4 bytes (uint32) - file offset
4 bytes (uint32) - file size
}
MultiEx BMS Script
Not written yet.
Notes and Comments
None.
Games
List of games using this file format:
- Ksiaze i Tchorz / The Prince and the Coward (PC) (*.PTC)
Compatible Programs
- ScummVM (see "extractor" source code here)