MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
jaimeleon
Posts: 26
Hello everyone,
I tend to be a little disorganized as I learn and test things in Mobiflight, creating devices on the fly to test different aspects of the software. All devices in the Extra - Settings - Mobiflight Modules screen are listed in the order in which they were created. It would be nice to be able to change the order, but I could not find any function within MF to easily change this.

There was a post from last year here where the recommended solution was to delete and create again all devices in the correct order.
https://www.mobiflight.com/forum/message/18110.html

I am too lazy, so I would like to share an easy way to do this that I found by editing the mfmc file in Notepad++, without having to delete or recreate any devices. This is how:

1. As always, please backup your files before you try any editing outside of MFConnector, just in case something bad happens. You have been warned.
2. Open your Mobiflight module mfmc file in Notepad++. Please note the information is stored as an xml type structure and all the devices are listed inside the Config section, in the same order that they are displayed in MFConnector. Each device is on one line section that has the device type at the beginning.
3. Select and Cut each line or group of lines you wish to move. Paste it in the desired location. Make sure you only cut and paste complete sections, i.e. be sure to include the opening and closing brackets, so the xml syntax is not violated. This is important.
4. Repeat step 3 as necessary until you have the order of devices that suits you.
5. Save the file in Notepad++.
6. Open MFConnector. Check Extras-Settings-Mobiflight Modules. Please note the module was loaded with the old device order.
7. Select the module and press "Load Config". Select the appropriate mfmc file you modified earlier. The new order of devices is loaded into MFConnector. Please note the warning badge on the module turned on.
8. You now need to update the configuration in your module so everything is in sync by pressing the "Update Current Config to the Module" button. It is done.

By the way, I also found this same method works to change the order of Inputs and Outputs in the mcc config file.

Enjoy.

Regards,
Jaime
2021-03-20 22:07
icon