A macOS-only foobar2000 input component that adds playback support for RAD (Reality AdLib Tracker) and other AdLib/OPL chiptune formats.
- AdPlug — the replayer library that does
the actual format parsing and OPL chip emulation (LGPL v2.1+). Vendored as
a git submodule, pinned to
adplug-2.4. - libbinio — AdPlug's binary stream I/O
dependency (LGPL v2.1+). Vendored as a git submodule, pinned to
libbinio-1.5. - The foobar2000 SDK, version
2025-03-07.
- Download the foobar2000 SDK and clone this repo inside its
foobar2000/folder (alongsidefoo_sample). - Fetch the submodules:
(or clone this repo with
git submodule update --init --recursive
--recurse-submodulesin the first place). - Build and package:
This builds the whole workspace and produces
./package.sh
package/foo_input_adplug_mac.fb2k-component.
This project's own code (everything under src/, plus the build/package
scripts) is MIT licensed.
The third-party dependencies vendored as git submodules under third_party/
keep their own licenses, unmodified:
- AdPlug and libbinio are LGPL v2.1-or-later. This component links them
statically, but since the whole project (including these submodules)
builds from source, you can always swap in a modified/different version of
either library and rebuild — see their own
COPYINGfiles for the full license text. - The foobar2000 SDK pieces this links against (
pfc,SDK,helpers,shared,foobar2000_component_client) use their own permissive (BSD-2-Clause-style / zlib-style) licenses — seesdk-license.txtandpfc-license.txtin the SDK checkout.