Playboy CAM 2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
(It appears that what has been called a version number by many is probably a file format identifier. The Minor version is probably a version counter.)
Line 9: Line 9:
<tt><b>
<tt><b>
char {8}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(CYLBPC  )</font> <br>  
char {8}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(CYLBPC  )</font> <br>  
uint16 {2}&nbsp;&nbsp; - Version Main <font color="purple">(2)</font> <br>  
uint16 {2}&nbsp;&nbsp; - Cam File Type <font color="purple">(2)</font> <br>  
uint16 {2}&nbsp;&nbsp; - Version Sub <font color="purple">(1)</font> <br>  
uint16 {2}&nbsp;&nbsp; - Version <font color="purple">(1)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Number Of File Types <br>  
uint32 {4}&nbsp;&nbsp; - Number Of Segment Types <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' First File Offset <font color="darkgreen">[+12]</font>? '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' First Segment Offset <font color="darkgreen">[+12]</font>? '' </font> <br>  
<br>
<br>
<font color="blue"> ''' // for each type ''' </font> <br>  
<font color="blue"> ''' // for each type ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - File Type Extension/Description <br>  
: uint32 {4}&nbsp;&nbsp; - Segment Type Extension/Description <br>  
: uint32 {4}&nbsp;&nbsp; - Offset to the directory for this file type <br>  
: uint32 {4}&nbsp;&nbsp; - Offset to the directory for this file type <br>  
<br>
<br>

Revision as of 15:47, 5 October 2006

CAM (VERSION 2)


Format Specifications

char {8}     - Header (CYLBPC )
uint16 {2}   - Cam File Type (2)
uint16 {2}   - Version (1)
uint32 {4}   - Number Of Segment Types
uint32 {4}   - First Segment Offset [+12]?

// for each type

uint32 {4}   - Segment Type Extension/Description
uint32 {4}   - Offset to the directory for this file type


// for each type

uint32 {4}   - Number Of Files
uint32 {4}   - null


// for each file of this type
uint32 {4}   - Filename? File ID?
uint32 {4}   - File Offset
uint32 {4}   - File Size
uint32 {4}   - Filename Length


// for each file of this type
char {X}     - Filename


byte {0-2047}      - null Padding to a multiple of 2048 bytes

// for each file

byte {X}     - File Data
byte {0-2047}      - null Padding to a multiple of 2048 bytes

MultiEx BMS

Not written yet


Supported Programs