Resurrecting an old topic, but just a note that if you update RetroPie-Setup to version 4.3.8 or later and reinstall AGS, MIDI playback should now work correctly - no need to install the GUS patches manually. AGS content will also automatically appear in EmulationStation without the need to manually edit any files. I've removed the obsolete instructions from the RetroPie wiki.