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
jimjamdspam
Posts: 2
Hi All,

Bit of a newbie question, which i'm hoping someone here can give me a quick steer on

I've been doing some research lately into options for creating custom sim hardware, and tried out Mobiflight last night after doing some tinkering creating my own app using the simconnect SDK.

I understand that Mobiflight will connect directly to MSFS using simconnect (and indeed I managed to set up a basic display of COM1 freq values using that method). I also understand that historically most sim-interfacing has been done using FSUIPC and memory offsets.

My question is: how far can I go building devices using just the direct sim connection and referncing the sim events? Are there pieces of functionality that can only be acheived using FSUIPC, or is the direct connection viable? I've got a fair amount of experience in development, but none with memory blocks/offsets - and that side of things seems quick inaccesible.
2021-06-16 10:13
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

May some more prefessional users can give you "deeper" informations. If you need this then join our Discord Server. There are guys like "rofl-er" or "DocMoebius" who are professional programmers and can give you 100% informations !

So i will just tell you the basics.....

FSUIPC is technical just a translator.... It also get the Data from the Sim via a interface (Simconnect based) and just "split" them into there Offsetadress based System. The idea is that a Cockpitbuilder NOT must learn programming and handle the "SIM-Interface" himself.... He can use the Data in a more easy way.
Disadvantage.... We are bind on the amount of Data, FSUIPC like to give us...: Specialy in AddOns we get in trouble !

In the past ( older Sims) the main reason to use FSUIPC was, that the interface to Sim was pretty dfifficult for casual users ( FSUIPC e.g. use a DLL to get a own interface) .
BUT in FS2020 there is the WASM .... So a pretty easy access Point to make a interface to the Sim !
Thats why we decide to build NOW our own system ( that no longer need FSUIPC) .

So.... Now there is a point you must think how good your programming skills are.... Cause it is in theroy not needed to Use Mobiflight if you can script the code yourself.
If you need e.g. just one Panel ( lets say a radio) you could write a own Software that read the needed Data and send the needed Inputs to the Sim.
Otherwise.... MF exist and is for free. Ask yourself if you like to invest time for own Software if MF can give you the same.
(For sure.... If you like to build something special that is not posible with MF ( e.g. a Display Typ we not support) ...... Then this is a Option !)


Last Note:
Also think about a "Combination"
Our "Mobiflight WASM Module" is technical a Outstanding Programm. Means it is build to allow Moving Data from and into the Sim !
For sure we use it directly with MF Connector ourself ..... But you can use it also with a own Code!
Means you not use Mobiflight Software..... But you install the Mobiflight WASM and use THIS as the interface to talk to the Sim with your "own Software".


I hope this give you a first impression...... If you have detailed questions..... Ask here or go direct to the Pro Users on DISCORD https://discord.gg/99vHbK7
Good Luck !
2021-06-16 12:41
Avatar
jimjamdspam
Posts: 2
Thank you so much for your detailed reply, definitely 'food for thought'.

Managed to put together a basic radio panel in 30mins with Mobiflight last night and the WASM connection - it's a great tool. Will be looking into other options as well going forward i'm sure (engineer's folly - have to complicate everything!)

Thanks again - fly safe ;)
2021-06-17 14:54
icon