Playboy CAM 2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
Currently unfinished<br> | Currently unfinished<br> | ||
<font color="blue"> ''' // for each type ''' </font> <br> | <font color="blue"> ''' // for each type ''' </font> <br> | ||
: uint32 {4} - Segment Type | : uint32 {4} - Segment Type ID<br> | ||
: uint32 {4} - | : uint32 {4} - Byte number of the segment descriptor record<br> | ||
<br> | <br> | ||
<font color="blue"> ''' // for each type ''' </font> <br> | <font color="blue"> ''' // segement descriptor record, one for each segment type ''' </font> <br> | ||
: uint32 {4} - Number | : uint32 {4} - Number of records <br> | ||
: uint32 {4} - | : uint32 {4} - unknown (0x0000) <br> | ||
<br> | <br> | ||
: <font color="blue"> ''' // for each | : <font color="blue"> ''' // data records descriptors for each segment ''' </font> <br> | ||
:: uint32 {4} - | :: uint32 {4} - data record name, ie. p012, p013, p014 etc. <br> | ||
:: uint32 {4} - | :: uint32 {4} - Byte number of the start of data <br> | ||
:: uint32 {4} - | :: uint32 {4} - data length <br> | ||
:: uint32 {4} - | :: uint32 {4} - unknown (0x0000) <br> | ||
<br> | <br> | ||
<h4>File Type 3 Format</h4> | <h4>File Type 3 Format</h4> | ||
Revision as of 19:07, 5 October 2006
CAM (VERSION 2)
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
File header. Common to all .cam files
char {8} - Header (CYLBPC )
uint16 {2} - Cam File Type
uint16 {2} - Version
uint32 {4} - Number Of Segment Types
uint32 {4} - Offset to segment data calculated from the first byte after the segement type id area
Known file types:
File Type 1 Format
Currently unfinished
File Type 2 Format
Currently unfinished
// for each type
- uint32 {4} - Segment Type ID
- uint32 {4} - Byte number of the segment descriptor record
// segement descriptor record, one for each segment type
- uint32 {4} - Number of records
- uint32 {4} - unknown (0x0000)
- // data records descriptors for each segment
- uint32 {4} - data record name, ie. p012, p013, p014 etc.
- uint32 {4} - Byte number of the start of data
- uint32 {4} - data length
- uint32 {4} - unknown (0x0000)
- uint32 {4} - data record name, ie. p012, p013, p014 etc.
File Type 3 Format
Currently unfinished
MultiEx BMS
Not written yet