Launch Mission Planner with different config.xml files

Hi is there any way to launch Mission Planner and force it to use configA.xml or configB.xml for example? Each with different settings. We have multiple links to our aircraft and normally we launch two instances and then manually set them up but it would be great if we could pre configure the .xmls and just make a shortcut to launch Mission Planner with a specific config.

1 Like

That was exactly what I was looking for thanks so much!!

Hi @Eosbandi

I have been trying to use this for a little while now and keep running into the same issue. I am able to launch MP with configs like config_RFD.xml and config_2.xml. But when I launch it with those I am not able to edit any of the fields or type anything into MP. But If I copy the contents of those files into the default config.xml and run: .\MissionPlanner.exe -config config.xml then they work as expected.

Do you have any insights on this? I am using MP 1.3.81

Thanks!

Hi just fixed it I think

I modified the code to return false when the Alt+D is not being detected:

private bool Instance_ProcessCmdKeyCallback(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData)
{
    // Only intercept Alt + D
    if (keyData == (Keys.Alt | Keys.D))
    {
        GetDescription();
        UpdateTitleBar();
        return true;
    }
    return false;
}