Playboy CAM 2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
(Added known file types)
(Added known file types)
(No difference)

Revision as of 16:22, 5 October 2006

CAM (VERSION 2)


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

Known file types:

  • 1  animsndd.cam, pregame[ ,f,g,i,s,u].cam, textdat[a,f,g,i,p,s,u].cam files
  • 2  everything not listed in other types
  • 3  soundesc.cam

  • 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


    // 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

    File Type 3 Format

    Currently unfinished

    MultiEx BMS

    Not written yet


    Supported Programs