.PTM

PTM File

PolyTracker Module
Ask a question
QUICK ANSWER

A PTM file is a PolyTracker Module, a mid-1990s tracker music format that stores audio samples and pattern-based composition data in a single binary file. Open it with OpenMPT (free, Windows) or XMPlay. Note that Microsoft MapPoint (discontinued 2014) also used .ptm for map files, which is a completely unrelated format.

Developer: Lone Ranger of AcmE (PolyTracker tracker software author) Category: Audio Files MIME: audio/x-mod
OPENS ON Windows macOS Linux
Related: .OPUS · .M3U · .M3U8 · .WFP

On this page

19k+ extensions indexed
Last reviewed Sep 7, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PTM file format?

A .ptm file is a PolyTracker Module - a binary tracker music file produced by PolyTracker, a DOS-era tracker application developed by Lone Ranger of AcmE around 1994-1995. Like other module formats of the period, a .ptm file bundles both sequencing data (patterns, note and effect commands, channel assignments) and raw PCM audio samples into a single self-contained binary, so no external soundfont or sample library is needed for playback.

PolyTracker was designed as an enhanced alternative to ScreamTracker 3, so the .ptm format is structurally close to .s3m: it supports up to 32 simultaneous channels, uses a similar pattern-row layout, and shares much of its effect command syntax. Samples are stored as 8-bit or 16-bit PCM at rates between 8,000 and 44,100 Hz, with the rate defined individually per sample.

The format went through approximately twelve internal revisions; a version byte in the header distinguishes variants. .ptm files have no universal magic-byte signature - identification relies on header structure analysis. Typical file sizes run from 50 KB to 2 MB, with sample data accounting for most of the bulk.

PolyTracker was quickly superseded by Impulse Tracker in 1995. Today .ptm files are a niche relic of the 1990s demoscene; modern playback is handled by OpenMPT, libopenmpt (cross-platform library), and XMPlay on Windows.

Security & safety

RISK: LOW

PTM files are binary audio data files with no executable code. Opening one in OpenMPT or XMPlay is safe. There are no known exploits targeting PTM parsing in current players. Exercise usual caution when downloading files from unknown demoscene archive mirrors.

Format details

in a nutshell
FULL NAMEPolyTracker Moduleaka PTM file, Poly Tracker module
DEVELOPERLone Ranger of AcmE (PolyTracker tracker software author)since Circa 1994-1995 (PolyTracker tracker software)
CATEGORYAudio Files
MIME TYPEaudio/x-mod
TYPEBinary music module file - contains digital audio samples and pattern/sequence data for tracker-style playback
This extension is also used by…
  • Microsoft MapPoint Map File - Microsoft MapPoint (GIS/route planning software, EOL December 2014) also used .ptm for its proprietary OLE2-based map documents. The db_name 'Microsoft MapPoint map file' refers to this meaning, but all db_programs are audio tracker programs - the dominant current format is PolyTracker Module.
  • Photometric Texture Map - HP Labs Polynomial Texture Map (.ptm) - a relighting image format for cultural heritage digitization; uses hex signature 50 54 4D 46 at offset 40.

Programs that open PTM files

Windows5 apps
XMPlay Free Drag the .ptm onto XMPlay; the built-in OpenMPT-based plugin handles PTM playback.
OpenMPT Open-source File > Open the .ptm file. OpenMPT is the definitive modern tracker/player for all major module formats including PTM.
Impulse Tracker Free DOS-era tracker; runs only under DOSBox on modern hardware. Historical reference only.
DigiTrakker Free Legacy DOS tracker; runs under DOSBox only. Historical reference.
Winamp (with in_mod plugin) Free Winamp with the in_mod (ModPlug) input plugin plays PTM modules. Winamp 5.9x (latest, 2022) is available; ensure the in_mod plugin is enabled.
macOS2 apps
CocoModX Free Legacy macOS tracker/player; the macmusic.org link in db is dead. Use a modern libopenmpt-based player instead.
libopenmpt-based player Open-source Several macOS media players use libopenmpt for module playback (e.g. Nulloy, Clementine with gstreamer-openmpt). Install libopenmpt and a player that uses it.
Linux1 app
libopenmpt / openmpt123 Open-source openmpt123 --play file.ptm - command-line playback; available in most distro repos (apt install openmpt123).

Technical details

deep spec
File structureBinary header + pattern data blocks + raw PCM sample data
Byte orderLittle-endian
Channel supportUp to 32 simultaneous channels
Sample encoding8-bit or 16-bit PCM; encoding defined per individual sample
Sample rate range8,000-44,100 Hz; rate set individually per sample
Pattern capacityUp to 128 patterns per module
Instrument/sample slotsUp to 255 instruments or samples
Header fields28-byte song name, tempo/BPM value, channel count, pattern order table
Format revision byteApproximately 12 known internal revisions; distinguished by version byte in header
Magic bytesNone; identified by header layout structure analysis - no fixed signature
Typical file size50 KB - 2 MB; sample data dominates file size
CompressionNone; raw PCM samples and uncompressed pattern data
Structural basisDerived from ScreamTracker 3 (.s3m); shares pattern layout and effect command syntax
OS originMS-DOS (original); modern playback on Windows, macOS, and Linux via libopenmpt
ReleasedCirca 1994-1995 (PolyTracker tracker software)
Latest versionNo formal versioning; approximately a dozen format revisions existed including customized test versions
Specificationfileformats.archiveteam.org

PTM conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PTM files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PTM files.

Frequently asked questions

How do I play a PTM file?
Use OpenMPT (free, Windows) - File > Open. Or use XMPlay with the in_mod plugin. On Linux, use openmpt123 from the terminal.
What program created PTM files?
PolyTracker, a DOS-era music tracker software by Lone Ranger of AcmE (circa 1994-1995). It was designed as an improved ScreamTracker 3.
How do I convert a PTM file to MP3?
Open in OpenMPT, then File > Export as Wave to get a WAV, and encode to MP3 with Audacity or a command-line encoder.
Is PTM related to Microsoft MapPoint?
No. Microsoft MapPoint (GIS software, discontinued December 2014) also used the .ptm extension for map files, but those are an OLE2-format GIS document with no relation to tracker music. If your file came from a music or demoscene context, it's a PolyTracker Module.
Does Winamp still play PTM files?
Yes, Winamp 5.9x (released 2022) with the in_mod (ModPlug) input plugin supports PTM. Ensure the plugin is enabled in Winamp preferences.
What format is most similar to PTM?
S3M (ScreamTracker 3) - PTM was designed as an evolution of S3M. IT (Impulse Tracker) is the richer successor format. All three are playable in OpenMPT.

References

1Poly Tracker module - Just Solve the File Format Problemfileformats.archiveteam.org
2OpenMPT - Module formats supportedwiki.openmpt.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.NOMEDIAAndroid No-Media Marker File
7.BINCD/DVD Disc Image (BIN/CUE)
8.RPMSGRestricted Permission Message
9.MDMarkdown Document
10.TMPTemporary File

Related extensions

.OPUSOpus Audio File (Ogg Opus)
.M3UM3U Media Playlist (MP3 URL)
.M3U8UTF-8 M3U Playlist / HLS (HTTP Live Streaming) Playlist
.WFPWaveFront Program file (Turtle Beach)
.XSPFXSPF - XML Shareable Playlist Format (pronounced 'spiff')
.AMRAdaptive Multi-Rate (AMR) audio

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z