Playboy CAM 2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
m (Format Specs are seriously messed up now, but I have no idea what's good, whats a copy of Type 1, and what needs thrown away...)
imported>Dinoguy1000
m (Format Specs are seriously messed up now, but I have no idea what's good, whats a copy of Type 1, and what needs thrown away...)
(No difference)

Revision as of 00:41, 6 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
uint32 {4}   - length of the data segment type description area

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


    File Type 3 Format

    Currently unfinished

    MultiEx BMS

    Not written yet


    Supported Programs