Skip to content

nrlquaker/foo_input_adplug_mac

Repository files navigation

foo_input_adplug_mac

A macOS-only foobar2000 input component that adds playback support for RAD (Reality AdLib Tracker) and other AdLib/OPL chiptune formats.

What it's built on

  • 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.

Building

  1. Download the foobar2000 SDK and clone this repo inside its foobar2000/ folder (alongside foo_sample).
  2. Fetch the submodules:
    git submodule update --init --recursive
    (or clone this repo with --recurse-submodules in the first place).
  3. Build and package:
    ./package.sh
    This builds the whole workspace and produces package/foo_input_adplug_mac.fb2k-component.

Licensing

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 COPYING files 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 — see sdk-license.txt and pfc-license.txt in the SDK checkout.

About

foobar2000 component that decodes several old MSDOS and game formats specific to the AdLib / OPL2 sound chip

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages