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!
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.
I've a problem when mobi reads .mcc file: it doesn't give any errors, but it doesn't set the correct pmdg input, it just set it as "normal event".
Details how i proceeded from beginning:
I opened mobi, create a new input (for PMDG 737 COM1 TRANSFER SWITCH), setted up everything, tested it, it worked fine, saved .mcc, close mobi, reopen, file.mcc auto-loaded without errors, but unable to use input setted up. And the problem is that it doesn't load the data as saved in .mcc but it set event ID as a normal one instead of "PMDG EVENT"
I hope that what I wrote can be understandable :')
This is a screenshoot, maybe it could explain better than me
Since I have been working with MobiFlight for a long time, I have used the "old" version of the EventIDs so far.
So I made a backup copy of my active .mcc and loaded the "hot" file.
Then the Config for the COM 1 Transfer Switch was called in the inputs and changed from EventID to PMDG-EventID, the preset was called and accepted with OK. Then the file was saved again and MobiFlight was closed.
After calling MobiFlight again, the correct preset was available in the config
It looks like this in the .mcc file:
Originally:
<config guid = "b1dbba84-aa8b-4870-ba16-d4d52ad88742">
<Active> true </ active>
<description> COM 1 TRANSFER SWITSCH </description>
<settings msdata: InstanceType = "MobiFlight.InputConfigItem, MFConnector, Version = 7.8.2.0, Culture = neutral, PublicKeyToken = null" serial = "FSX02 / SN-cef-d2a" name = "COM 1 TRANSFER SWITCH" type = "button "xmlns: msdata =" urn: schemas-microsoft-com: xml-msdata ">
<Button> <onPress type = "EventIdInputAction" eventId = "70353" param = "536870912" />
<onRelease />
</ Button>
<preconditions />
</ Settings>
</ Config>
New:
<config guid = "b1dbba84-aa8b-4870-ba16-d4d52ad88742">
<Active> true </ active>
<description> COM 1 TRANSFER SWITSCH </description>
<settings msdata: InstanceType = "MobiFlight.InputConfigItem, MFConnector, Version = 7.8.2.0, Culture = neutral, PublicKeyToken = null" serial = "FSX02 / SN-cef-d2a" name = "COM 1 TRANSFER SWITCH" type = "button "xmlns: msdata =" urn: schemas-microsoft-com: xml-msdata ">
<Button> <onPress type = "PmdgEventIdInputAction" eventId = "70353" param = "536870912" aircraft = "B737" />
<onRelease />
</ Button>
<preconditions />
</ Settings>
</ Config>
So there is no error.
The error you showed is not understandable here.
Is it possible that you have MobiFlight in older version installed with admin rights and the last one not?
Looks like a older Bug we got in the past ( Interpolation Checkmark )
Can you guys do another test for me..... (specialy "Afterburner" )
1. Create a Config with PMDG Event.
2. Save it
3. Check mcc file code ( Should be named as "PMDG Event" like in your screenshot )
4. Load that File ( Now it should be shown in Connector as normal Event without Parameter as you explane on screenshot) 5 NOW Save this File by clicking on "file" and "save" ( Without do another change..... Just save the loaded file)
6 Open mcc file with editor again
7. check the config line. If i´m right then NOW this should be also named as normal Event and Parameter is "0" now in the mcc code.
Is this correct ??
If yes then this is a loading bug simmular to the "interpolation checkmark" and the "placeholder" problem in the past.
Pretty sure Sebastian can solve this in same way he solved the other 2 problems !
EDIT
Tip for who is experiencing my same thing:
1. Create your config. using the pmdg offset
2. Save the .mcc (and close Mobi sw)
3. Open the .mcc with a text editor
4. Search "PmdgEventIdInputAction" and replace all with "EventIdInputAction"
5. Save the file
6. Open Mobi and load the just saved .mcc
It will work. This is a temporary solution until the Software Update.
[WARNING: After the update, I thing it'll be possible to replace eventid to pmdgeventid, but it will be very easy or very difficult, depending on your config.]