Call Of Duty 2 XBox COD

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

COD


Format Specifications

char {4}     - Header (KAPF)
uint32 {4}   - Unknown
uint32 {4}   - Block Size (28)
uint32 {4}   - Unknown (2)
uint32 {4}   - Directory Offset (328)
uint32 {4}   - Unknown (4672)
uint32 {4}   - Offset To The End Of The Filename Directory
byte {12}    - null
uint16 {2}   - Number Of Blocks (8)
uint16 {2}   - Number Of Files
uint32 {4}   - Archive Header Length (76)
uint32 {4}   - Directory Offset (328)
char {8}     - Description ("AUDIO" + nulls to fill)
uint32 {4}   - null
uint16 {2}   - Unknown (1)
uint16 {2}   - Unknown (1)
uint32 {4}   - Unknown (300)
uint32 {4}   - Unknown (4632)

// for each block

uint32 {4}   - Unknown (for the first block, this is the First File Offset)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown (0/1)
byte {12}    - null


uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
byte {16}    - null

// for each file

uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - File Type ID? (0,1,2,3,4)
uint32 {4}   - File Length


// for each file

char {X}     - Filename
byte {1}     - null Filename Terminator
byte {0-3}   - null Padding to a multiple of 4 bytes


byte {X}     - null Padding to offset 32768
byte {X}     - File Data

MultiEx BMS

Not written yet

Notes and Comments

  • Some files have offset=0
  • can't work out the file offsets!


Supported Programs

  • None yet