Peter Swinkels wrote on Yesterday, 08:26:
I tried importing the files for which I wrote my extractor in OpenMPT as a MIDI library. None of them worked. I probably should have explained this more clearly in my initial post. But:
The program I wrote isn't meant for any specific kind of MIDI library. It should work on any file containing any type of data provided there're any *.mid files embedded somewhere in whatever other data there may be. Basically it scans for the "MThd" signature, interprets the header processes the data track by track ("MTrk") until what should be the end of the MIDI data is reached.
If OpenMPT can already do what my program does, I haven't figured it out yet.
What they were talking about is OpenMPT can sift through and load modules contained within the "Unreal Package" format without you needed to open up UnrealEd and export it yourself. (or use UCC's batch export commandlet if present)
OpenMPT also understands some "intermediate" module formats like the one for ASYLUM Sound System (Crusader: No Remorse / No Regret), and Digital Sound Interface Kit. (a lot of indie one person dev MS-DOS games used this one)
"MIDI Libraries" in OpenMPT refer to loading and mapping either a Downloadable Sounds, or Sound Font 2.0 bank so that when you go to import a MIDI as a project file, OpenMPT knows what samples and instrument data to pull into the resulting module.
“I am the dragon without a name…”
― Κυνικός Δράκων