Electronic Arts MAD (MADV)

From XentaxWiki
Jump to: navigation, search

MAD

  • Format Type : Video
  • Endian Order : Little Endian
  • Signature : MAD / MADk / MADm / MADe


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
}

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
  • NBA Live 99
  • NBA Live 2003
  • Need for Speed 3: Hot Pursuit
  • Need for Speed 4: High Stakes
  • Need for Speed 5: Porsche
  • Need for Speed 6: Hot Pursuit 2
  • Need for Speed: Underground
  • NHL 2000
  • Sim City 4: Rush Hour
  • Sim City 4 Deluxe (PC) (*.MAD)
  • The Sims 2

quickBMS Script

Compatible Programs