oh...I believe that has to do with a small program instruction that usually starts at the beginning of the midi file?.
I believe I had some of those XG mapping files once upon a time on a cd with Xg Midi...all one had to do was put that programed mapped part on the midi file of choice, at the beginning of the midi file, and it would remap the GM midi to XG Midi on the db50 xg card, and then it would play things correctly....
Have not found that XG cd or book yet myself, as I have visitors from the north at my home now with children until Saturday evening, So not much time to play and seek out the midi stuff I have in boxed states, or in unmarked cd jewel cases, to possibly help at this point.
Might make a hack of that DB50 Board so I could use that...to trigger Sonar/AD2, If as you say controllers work.
But as I have been fiddling to sync a PC AND MAC to MIDI, and that sort of documentation on that must be with my Midi stuff from eons ago....I should make more efforts to get that located...
You may want to try the Learn feature to assign the midi correctly first in AD2, for the type of midi file you are trying to play (if you can find the voicing of the notes of the original, and make sure something very alike is setup in AD2 to play back, then try saving the AD2map, and put that with the original midi and reload, and see if it does anything then?
Any hoot, this is kind of important to me to learn these new plug ins, know if it can be done more quickly other than remapping every drum by chance, or the way to make a map for GS GM XG and KORG or other with proper names to notes and banks, showing when a midi file is opened up, so if something does not play correctly, one can find the out of line percussion and make a change fast...So please do not mind me watching these posts, and chiming in to ask, or adding any input. Perhaps that is what needs to be done for all the midi that is not made with AD2....yah making midi maps..and posting them somewhere for the general standards, and some well known Drum or midi keyboard maps to work right from the get go, would help me, and you.
Be well
Be good!
Regards.