Skip to content

MusicPlus: Implement libopenmpt for better MOD playback

mazmazz requested to merge public-musicplus-libopenmpt into public-musicplus-core

Better MOD playback! Fixes loop problems identified by Nev3r. Also lets you select instrument filtering.

In future, this lets us mute channels and do other cool shit.

SteelTitanium wrote the original code.

Implementation

  • The binaries require MSVC 2015 runtime. Because we don't want to force this on the user, they are loaded optionally. If they are not available, the game falls back on SDL Mixer for MOD playback.
  • Builds by default on Windows; on Linux, must opt-in by passing OPENMPT=1 into make.
  • No buildbot support yet, because the distros are too old and they don't have libopenmpt-dev.
Edited by mazmazz

Merge request reports