Rip GBA Sappy Music to BSTRM/Looping OGG?

Discussion in 'NDS - ROM Hacking and Translations' started by Coolperez8, Mar 5, 2017.

  1. Coolperez8

    Coolperez8 GBAtemp Regular

    Mar 17, 2013
    United States
    So, I have a GBA game, specifically Final Fantasy IV Advance. It uses the SAPPY sound engine just like Pokemon games do. I know I can dump a MIDI of the song, but I don't think SAPPY dumps the MIDI with looping, and even if it did I don't have any software that can convert a looping MIDI with soundfont to a looping OGG file or BSTRM file. Looping OGG files have this in the metadata:
    - LOOPSTART (Point where the loop starts, in samples)
    - LOOPLENGTH (Number of samples after the sample where the loop starts)

    So, is there any way I can dump and automatically loop the song myself?
  2. Kurausukun

    Kurausukun GBAtemp Regular

    Apr 6, 2014
    United States
    If it uses Sappy, it works (or can be forced to work) with GBAMusRiper, which includes looping in MIDIs as markers. If you use Anvil Studio, you can convert the marker positions to samples and loop your OGG or BR/C/FSTM that way.

    Also you're in the wrong section but whatever.