Electronic Arts MAD (MADV)

From XentaxWiki
Jump to: navigation, search

MAD


Format Specifications

// MAD file format

// little endian

num_of_chunks *
{
   //frame chunk structure
   4 bytes (char) - chunk name // "MADk" - intra frame
                               // "MADm" - inter frame
                               // "MADe" - low-quality-inter frame
   2 bytes (uint16) - size of the chunk
   4 bytes (uint32) - reserved // "0"
   2 bytes (uint16) - max data rate per second
   2 bytes (uint16) - frame_rate // milliseconds per frame
   2 bytes (uint16) - image width (in pixels)
   2 bytes (uint16) - image height (in pixels)
   1 byte (uint8) - unknown
   1 byte (uint8) - quantizer  // frame quantizer
   1 byte (uint8) - frame type / chunk type    // 00 = P-frame
                                               // 01 = I-frame
                                               // 02 = B-frame
   1 byte (uint8) - unknown
   x bytes - chunk data // bitstream
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Electronic Arts MAD (Madcow) video file format.

Games

List of games using the same file format:

  • FIFA '99
  • FIFA 2004
  • FIFA 2005
  • Sim City 4: Rush Hour
  • The Sims 2
  • NBA Live 99
  • Need for Speed 3: Hot Pursuit
  • Need for Speed 4: High Stakes
  • Need for Speed 5: Porsche
  • Need for Speed 6: Hot Pursuit 2
  • NBA Live 2003

Compatible Programs