Playboy CAM 2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
uint16 {2} - Version <br> | uint16 {2} - Version <br> | ||
uint32 {4} - Number Of Segment Types <br> | uint32 {4} - Number Of Segment Types <br> | ||
uint32 {4} - Offset to | uint32 {4} - Offset to segment data calculated from the first byte after the segement type id area <br> | ||
<br> | <br> | ||
<p><font color="blue" >Known file types:</font><br> | <p><font color="blue" >Known file types:</font><br> | ||
Revision as of 17:39, 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 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
File Type 3 Format
Currently unfinished
MultiEx BMS
Not written yet