File format · ._02

Compressed Soundtrack & Module Music Files — Format and Recovery

Compressed soundtrack files bundle digital audio samples with playback patterns. Learn how tracker module formats like MDZ, XMZ, S3Z work and how to recove


Compressed soundtrack files are a specialized family of audio containers associated with the "tracker" or "module music" tradition that began on the Amiga in the late 1980s and continues today across the demoscene and game audio communities. Unlike standard audio files (such as WAV or MP3), a module file does not store a single, continuous waveform. Instead, it stores a set of short digital audio samples alongside the musical "patterns" and sequencing data that tell a player how to arrange those samples into a complete composition. A compressed soundtrack file applies lossless data compression to that bundle, reducing storage size while preserving every note and sample intact.

What the Format Is and Where It Is Used

Module files originated with the .mod format on the Commodore Amiga and spawned a large family of related formats — including Extended Modules (.xm), Scream Tracker modules (.s3m), Impulse Tracker modules (.it), and numerous others. Each was typically produced by a piece of music-sequencing software known as a tracker, in which the composer edits note data in a vertical, spreadsheet-like interface rather than on a traditional piano roll.

Because early module files were relatively large for their era (they carried raw PCM sample data), the community developed conventions for compressing them. The most widely used approach was to apply standard lossless compression algorithms — gzip, ZIP, LHA, or bzip2 — to a module file and append a "Z" to the extension. This produced files such as:

  • .mdz — a compressed .mod file (typically ZIP-compressed)
  • .xmz — a compressed .xm file
  • .s3z — a compressed .s3m file
  • .itz — a compressed .it file

In practice these are simply standard compressed archives containing a single module file inside. Playback software such as VLC, Foobar2000, XMPlay, OpenMPT, and various libmodplug-based players can usually decode the outer compression layer and play the inner module transparently.

Structure and Key Technical Facts

A module file — and by extension a compressed soundtrack file — has two logical layers:

  1. The sample data. A collection of short digital audio recordings (instruments, drum hits, synth tones) stored as raw PCM samples. These samples are pitched up or down during playback to produce different notes.
  2. The pattern and sequence data. A set of "patterns" (grids of note numbers, instrument assignments, and controller messages such as volume or pitch effects) and a "pattern list" or order table that defines the order in which those patterns play to form the song.

The number of notes that can sound at once depends on how many tracks (or channels) each pattern contains — early Amiga MOD files supported four, while later formats supported dozens.

Because there has never been a single, formal specification governing how every module variant must be played back, different players sometimes render the same file slightly differently (effects, timing, and sample-loop edge cases can vary). The software vendor's or format author's documentation is authoritative for a given format.

When a module is stored as a compressed soundtrack file, an additional outer layer wraps the module:

  • A standard archive header (for example, a ZIP local-file header beginning with the bytes 50 4B 03 04, or a gzip header beginning with 1F 8B).
  • The compressed payload, which decompresses to the original .mod, .xm, .s3m, or .it file.

Why Compressed Soundtrack Files Become Corrupt or Unreadable

Despite their relatively simple structure, compressed soundtrack files fail for several common reasons:

  • Truncated downloads or transfers. Because the inner module is wrapped in a compressed stream, any byte loss near the end of the file can prevent the decompression layer from producing a complete module.
  • Damaged archive headers. If the outer ZIP or gzip header is overwritten or corrupted, playback software may refuse to open the file even when most of the payload is intact.
  • Bit rot on old storage. Many compressed module files live on aging media — floppy disks, CD-Rs, old hard drives, or long-neglected FTP mirrors — where single-bit errors accumulate over decades.
  • Failed migrations. Copying legacy archives between operating systems with different character encodings or line-ending handling can occasionally damage filenames or metadata, leaving the file unrecognizable to players.
  • Misidentified extensions. Because .mdz and similar extensions are uncommon, users may attempt to open them with the wrong software, leading to a false assumption that the file is corrupt when it is simply being misread.

What Data Can Be Recovered

In most cases, recovery is very promising. A compressed soundtrack file typically contains two independently recoverable layers:

  • The outer archive. Even when the inner data is partially damaged, standard archive-repair techniques can often rebuild the ZIP or gzip structure and extract a usable module.
  • The inner module. Module files are sequential and fairly tolerant of localized damage. A corrupted pattern may produce a brief glitch in one channel, but the remaining patterns, samples, and sequence data usually survive intact.

Recoverable content generally includes the embedded audio samples (which can often be extracted as raw PCM even when the pattern data is unreadable), the pattern/order tables, instrument metadata, song titles, composer credits, and effect data.

How Recovery Works

Our recovery process for compressed soundtrack files proceeds in stages:

  1. Format identification. We inspect the file's magic bytes to determine whether the outer container is ZIP, gzip, LHA, bzip2, or another archive format, regardless of the file extension.
  2. Container repair. If the archive header or central directory is damaged, we rebuild it using known structure signatures, allowing the compressed payload to be extracted.
  3. Decompression and integrity check. We decompress the payload and validate the resulting module against the expected structure for its format (MOD, XM, S3M, IT, and others).
  4. Module-level reconstruction. Where the inner module is damaged, we repair pattern tables, sample length fields, and loop points, and we extract any intact PCM samples for direct use or re-import into a tracker.
  5. Playback verification. Where possible, we verify the repaired file in standard playback software to confirm that the composition plays as expected.

Frequently Asked Questions

What is a compressed soundtrack file?

It is a tracker module file (such as MOD, XM, S3M, or IT) that has been wrapped in a lossless compression layer (commonly ZIP or gzip) to reduce its size. Files of this type often use extensions ending in "Z," such as .mdz, .xmz, .s3z, or .itz.

Are compressed soundtrack files the same as MP3 or other music files?

No. MP3 and similar formats store a single rendered audio stream. A compressed soundtrack file stores individual audio samples plus the note and effect data needed to play them back, which is why the file size is typically much smaller than an equivalent rendered recording.

Why won't my media player open a .mdz or .s3z file?

Some players do not recognize the compressed-module extension directly. In many cases, renaming the file to .zip and extracting it manually will reveal the inner module, which can then be played in a compatible tracker or media player. If extraction fails, the archive itself may be damaged.

Can the audio samples inside a damaged module be recovered?

Yes, in most cases. Even when the sequencing data is partially unreadable, the raw PCM samples embedded in the file can often be extracted individually and saved as standard WAV files.

Is it possible to repair a compressed soundtrack file that was stored on a failing floppy or CD-R?

Usually, yes. Because module files are sequential and their samples are stored as contiguous blocks, we can frequently reconstruct playable content from partially readable media, even when some sectors are unreadable.


If you have a compressed soundtrack or module file that will not open, plays incorrectly, or was recovered from damaged media, send it to our team for a free evaluation. We will assess the file, identify what can be recovered, and provide a clear report before any repair work begins.

Send us your ._02 file for a free evaluation

Our recovery engineers will tell you exactly what can be recovered — at no cost. There is no charge if we cannot recover your data.

Start a free evaluation