GSF Sequencing by Mooshykris at 7:40 PM EDT on July 10, 2007
Hello again,
As before, I have another interesting question regarding PSF file formats.
I have been experimenting with a few trackers, and some MIDI conversion tools such as FruityLoops 6.
Recently a new thought came to me. About the possibility to convert MIDI to GSF or just plain sequence GSF files.
In the case of MIDI to GSF, a way to create a .gsflib file to store GSF instrument samples in, then turn the MIDI files into GSF files, allowing the notes to play through the Library file.
I am wondering this, because I would like to somehow use GSF Instruments, instead of General MIDI instruments.
Assuming I understand your question (which wasn't quite clear to me), I'd have to say that I'm not aware of any tools currently available that do what you're asking. There was/is a tool that can export music from a GBA ROM as a MIDI file. If that's possible, one would assume that getting the audio samples would also be possible.
The reason this tool works is because many GBA games use the same format/driver for the audio. It's the Sappy driver (or something), and CaitSith2 has a tool on his site that can convert Sappy driver games into GSF sets. Once the general Sappy format was/is understood, getting the sequence data for it, and making a MIDI, wouldn't be that hard. It appears that this is what that tool that I mentioned did.
Now, since many games use the same driver, it stands to reason that the data would be similar as well. Meaning, once you understand the format/driver adequately, you should be able to rip the audio samples. As I said though, I'm not aware of any tool that can actually do this. Perhaps there's others here who know of such a tool? SNESOR (I think that was its name) could extract the audio samples from most SNES ROMs. It was interesting using it on Star Ocean... Lots of spoken bits, but all jumbled together (the spoken bits were cut up into split-second pieces. Due to lack of patience, the only way to make it worth using, was to rip the audio bits as one big file, rather than many separate files. This way, you could actually hear what was being said).
Anyway, if you know enough programming, then you could probably use some of the existing tools (if you can get their source code) and make a sample extracting tool. At least, that's what I'd think, going off of what I know/understand. Sorry I couldn't be of more help. Hopefully I was aiming at answering the right question... Mouser X over and out.
It comes with a little GBA ROM that plays MIDIs, so you can practice importing the MIDIs you want to the "kawajuke.gba", then if it works in an emulator, just use Saptapper to rip to GSF! It's pretty simple. :D