8088 Corruption TMV

From MultimediaWiki
Revision as of 13:02, 22 July 2014 by Trixter (talk | contribs)
Jump to navigation Jump to search

For a description of the basic method, see 8088 Corruption DAT.

TMV File Format

TMV files have the following header:

'TMAV'     - 4 bytes, header signature
samplerate - 2 bytes, word value, playback sample rate
chunksize  - 2 bytes, word value, audio chunk size per frame
compmethod - 1 byte, specifies the compression method (currently only 0)
charcols   - 1 byte, number of text chars across (currently always 40)
charrows   - 1 byte, number of text chars down (currently always 25)
features   - bitfield, reserved for special handling:

The features bitfield was never used.

To get the playback rate of the file, divide the samplerate by the audio chunk size. For example, a samplerate of 22050 divided by an audio chunk size of 735 gives 22050/735=30, so the playback framerate of the file is 30.

Video Format

For details on the video format, consult 8088 Corruption DAT

Data Resources

Audio Format

The audio format used in 8088 Corruption is simply unsigned, 8-bit PCM played at the rate specified in the header.