SS14 uses FluidSynth as a backend for playing MIDI files. The FluidSynth dylib is not included as a resource in the game, so we must add it ourselves. Luckily, HomeBrew has formula for this.
- Install fluid-synth
brew install fluid-synth
For M1 users, the ARM version isn't compatible, so you either need to prepend arch -x86_64
or install HomeBrew to /usr/local/homebrew
- Copy the resulting dylib to
/usr/local/lib
HOMEBREW_HOME=/usr/local/homebrew
sudo ln -s $HOMEBREW_HOME/Cellar/fluid-synth/2.2.3/lib/libfluidsynth.3.0.3.dylib /usr/local/lib/libfluidsynth.dylib
- Ensure
$HOMEBREW_HOME
is set to the root of your HomeBrew folder. - The SS13 wrapper, NFluidSynth, calls NativeLibrary.Load to load the dylib. One of the paths it checks is
/usr/local/lib
.
- Restart SS14 and you're good to go