Electronic Arts MAD (MADV): Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(40 intermediate revisions by the same user not shown)
Line 2: Line 2:
* ''' Format Type ''':    Video <br>  
* ''' Format Type ''':    Video <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' Signature ''':    MAD / MADk / MADm / MADe <br>




Line 20: Line 21:
   2 bytes (uint16) - size of the chunk
   2 bytes (uint16) - size of the chunk
   4 bytes (uint32) - reserved // "0"
   4 bytes (uint32) - reserved // "0"
   2 bytes (uint16) - unknown
   2 bytes (uint16) - max data rate per second
   2 bytes (uint16) - frame_rate // milliseconds per frame
   2 bytes (uint16) - frame_rate // milliseconds per frame
   2 bytes (uint16) - image width (in pixels)
   2 bytes (uint16) - image width (in pixels)
   2 bytes (uint16) - image height (in pixels)
   2 bytes (uint16) - image height (in pixels)
   1 byte (uint8) - unknown
   1 byte (uint8) - unknown
   1 byte (uint8) - quantizer   frame quantizer
   1 byte (uint8) - quantizer // frame quantizer
   1 byte (uint8) - frame_type  not valid for all samples
   1 byte (uint8) - frame type / chunk type    // 00 = P-frame
                                              // 01 = I-frame
                                              // 02 = B-frame
   1 byte (uint8) - unknown
   1 byte (uint8) - unknown
   x bytes - chunk data // bitstream
   x bytes - chunk data // bitstream
Line 32: Line 35:
</pre>
</pre>
</div>
</div>
=== MultiEx BMS Script ===
Not written yet.


=== Notes and Comments ===  
=== Notes and Comments ===  


* Electronic Arts MAD video file format.
* Electronic Arts MAD (Madcow) video file format.


=== Games ===  
=== Games ===  
Line 46: Line 45:
* FIFA 2004
* FIFA 2004
* FIFA 2005
* FIFA 2005
* Sim City 4: Rush Hour
* The Sims 2
* NBA Live 99
* NBA Live 99
* NBA Live 2003
* Need for Speed 3: Hot Pursuit
* Need for Speed 3: Hot Pursuit
* Need for Speed 4: High Stakes
* Need for Speed 4: High Stakes
* Need for Speed 5: Porsche
* Need for Speed 5: Porsche
* Need for Speed 6: Hot Pursuit 2
* Need for Speed 6: Hot Pursuit 2
* NBA Live 2003
* Need for Speed: Underground
* NHL 2000
* Sim City 4: Rush Hour
* Sim City 4 Deluxe (PC) (*.MAD)
* The Sims 2
 
=== quickBMS Script ===
 
* [https://zenhax.com/viewtopic.php?p=68463#p68463 EA MAD Demultiplexer]
* [https://zenhax.com/viewtopic.php?p=70702#p70702 EA MAD Demux/Remux scripts]


=== Compatible Programs ===  
=== Compatible Programs ===  


* [https://www.playground.ru/nfs_underground_2/file/need_for_speed_underground_2_ea_audio_video_converter-981042 EA Audio and Video Converter]
* [https://wiki.multimedia.cx/index.php/Electronic_Arts_Sound_eXchange Electronic Arts Sound eXchange (wiki)] / [https://archive.org/details/ea_soundexchange ea_soundexchange (webarchive)] (only to encode audio to EA STR/ASF format for muxing)
* [https://www.playground.ru/nfs_underground_2/file/need_for_speed_underground_2_ea_audio_video_converter-981042 NFS U2 EA Audio and Video Converter] / [https://drive.google.com/file/d/16CPlZUQLcpMdBKnB55AK58bqCzPq9_sJ/view?usp=sharing mirror1]
* VLC Media Player
* VLC Media Player
* [http://ffmpeg.org/ ffmpeg]
* [http://ffmpeg.org/ ffmpeg]
Line 64: Line 72:




[[Category:Complete Complete|Electronic Arts MAD (MADV)]]
[[Category:Complete Almost Done|Electronic Arts MAD (MADV)]]
[[Category:Platform PC|Electronic Arts MAD (MADV)]]
[[Category:Platform PC|Electronic Arts MAD (MADV)]]
[[Category:CE None|Electronic Arts MAD (MADV)]]
[[Category:CE None|Electronic Arts MAD (MADV)]]
Line 70: Line 78:
[[Category:Extension_mad | Extension: mad]]
[[Category:Extension_mad | Extension: mad]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]

Latest revision as of 10:24, 15 May 2022

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