<p></p>
<blockquote>
<p dir="auto">all the <a href="https://github.com/libxmp/libxmp/blob/master/docs/formats.txt">formats</a> supported by libxmp (I don't know if SDL_mixer allows playing them though).</p>
</blockquote>
<p dir="auto">Looking at SDL_mixer's source, it's a bit convoluted... but basically it first looks at the file extension to figure out which decoder to use, and it has a long list of module file extensions, but if it doesn't recognise the extension it checks the file header, and if it doesn't recognise that either it assumes module anyway and tries each of its module playback libraries. libxmp[-lite] apparently doesn't look at the file extension at all, it also tries each of its loaders until one recognises the header.</p>
<p dir="auto">According to feedback so far, libxmp is no worse than libmodplug. Also apparently libmodplug is notorious for security issues, so that Ubuntu actually replaced it with a modplug compatibility layer over libopenmpt (which is a really big library).</p>
<p dir="auto">I asked in Discord whether anyone wanted support for any of those other formats and there wasn't much interest. It's OpenMPT's .mptm which everyone wants but which libxmp doesn't support.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1210110059">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZQLF26XSMCP3M5L64TVYMPCZANCNFSM43UAP7UQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZXR56QCJMPV3L7HSK3VYMPCZA5CNFSM43UAP7U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJAQNA2Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1202/1210110059</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1210110059",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1210110059",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>