This is a lua wrapper for libopenmpt. It will allow you to parse and play various mod files in luajit or love2d.
Copy openmpt.lua into your project.
Examples:
love .
luajit info.lua
to try it out.On Ubuntu 20.04, I ran sudo apt install luajit libopenmpt-dev
.
I ran brew install luajit libopenmpt
and for love-demos, needed to unsign the love-runtime:
codesign --remove-signature /Applications/love.app/Contents/MacOS/love