Playboy CAM 2: Difference between revisions
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} - Header <font color="purple">(CYLBPC )</font> <br> | char {8} - Header <font color="purple">(CYLBPC )</font> <br> | ||
uint16 {2} - | uint16 {2} - Cam File Type <font color="purple">(2)</font> <br> | ||
uint16 {2} - Version | uint16 {2} - Version <font color="purple">(1)</font> <br> | ||
uint32 {4} - Number Of | uint32 {4} - Number Of Segment Types <br> | ||
uint32 {4} - <font color="red"> '' First | uint32 {4} - <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} - | : uint32 {4} - Segment Type Extension/Description <br> | ||
: uint32 {4} - Offset to the directory for this file type <br> | : uint32 {4} - Offset to the directory for this file type <br> | ||
<br> | <br> | ||
Revision as of 15:47, 5 October 2006
CAM (VERSION 2)
- Format Type : Archive
- Endian Order : Little Endian
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
- uint32 {4} - Filename? File ID?
- // for each file of this type
- char {X} - Filename
- 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