Connecting Mobiflight to MSFS2020 from a remote PC - MobiFlight/MobiFlight-Connector GitHub Wiki
It is possible to run MobiFlight on a different PC than the one running the MSFS2020 simulator. This can be achieved by establishing a remote IPv4 communication channel between both PCs using Simconnect.
The following steps have to be performed:
- Install the WASM module on the PC running MSFS2020
- Allow remote access to SimConnect on your PC running MSFS2020
- Provide a specific client configuration on the remote PC where MobiFlight is installed
- Trick MobiFlight on the remote PC with a running "flightsimulator.exe" process
So here are the detailed instructions for these steps:
-
Download MobiFlight and copy the installer to a directory of your choice
-
Run the installer, MobiFlight will start
-
Make sure to install the WASM Module when you get prompted, or use the "Extras" menu to do so
-
Navigate to the folder where
Simconnect.xml
is installed-
if you are running the MS Store version of MSFS2020: This file is located in the folder
C:\Users<user_name>\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache
. -
if you are running the Steam version, the file will be located in
C:\Users<user_name>\AppData\Roaming\Microsoft Flight Simulator
-
-
Edit the file named
Simconnect.xml
There are three Simconnect.Comm sections in this file. Select the one that says
<Protocol>IPv4</Protocol>
and now change the<Scope>
fromlocal
toglobal
-
Save this file and restart MSFS2020.
- Create a file in the Mobiflight installation folder and call it
SimConnect.cfg
- inside the file add this
Note the Address is the IP address of the PC running the simulator. The port number should be open in the Windows Firewall config.
[SimConnect] Protocol=Ipv4 Port=500 Address=192.168.1.10
- Because MobiFlight detects the simulator by checking to see if there is a running process called
flightsimulator.exe
on the same PC, we need to trick MobiFlight by having such named process running. You can rename any .exe-file for this, for this example we used a file calledhwinfo.exe
(https://www.hwinfo.com/download/), which is a hardware inspector, download it, install it and renamehwinfo.exe
toflightsimulator.exe
- Run this flightsimulator.exe file, it will minimize to the tray.
- Start Mobiflight. You should be able to see the Simconnect indicator with green checkmark.
- MobiFlight is not responsive - this indicates that it cannot establish a connection to the MSFS2020 PC. Make sure you used the correct IP and port in the
SimConnect.cfg
and that your PCs can talk to each other on the network (check your firewall settings) - MobiFlight doesn't detect the sim running - Make sure have started a "fake" flightsimulator.exe as described above so that MobiFlight can find a running process with that name.
- MobiFlight shows SimConnect established, but not connected to the WASM module - Make sure you have actually installed the MobiFlight WASM module to the community folder on the MSFS2020 PC
For more information see the following links:
https://docs.flightsimulator.com/html/Programming_Tools/SimConnect/SimConnect_CFG_Definition.htm
https://docs.flightsimulator.com/html/Programming_Tools/SimConnect/SimConnect_XML_Definition.htm