Skip to content

Instantly share code, notes, and snippets.

@t94j0
Created November 6, 2021 20:32
Show Gist options
  • Save t94j0/672cc3ae92453073760a338c60283506 to your computer and use it in GitHub Desktop.
Save t94j0/672cc3ae92453073760a338c60283506 to your computer and use it in GitHub Desktop.
Because listening to audio shitposts is fun

Using Instruments in Space Station 14 on macOS

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.

Installation

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

  1. 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.
  1. Restart SS14 and you're good to go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment