-
-
Notifications
You must be signed in to change notification settings - Fork 111
Connecting Mobiflight to MSFS2020 from a remote PC
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
- MobiFlight Connector Installation
- Mobiflight Connector BETA version installation
- Modules
- MobiFlight Connector Files Structure
- MobiFlight Connector Uninstall
- Modules Reset to factory default
- Verifying the WASM module installation and locating the MSFS2020 community folder
- Verifying the WASM module installation and locating the MSFS2024 community folder
- Using a Winwing FCU with MobiFlight
- Using VKB controllers with MobiFlight
- Providing logs from MobiFlight
- MobiFlight Connector How does it work
- Mobiflight Connector Main Window
- Flash module with MobiFlight firmware
- Input and Output devices
- Joysticks
- Midi Boards
- Sim Variables (for Output)
- Input Actions
- Merging configuration files
- Disabling specific COM ports
- Examples Output LEDs
- Examples Input Switch
- Example 7 segment display
- Example Servo motor
- Controlling LEDs with an output shift register
- Adding lots of buttons with an input shift register
- Beginner's guide to input multiplexers
- Key Matrix with standard MobiFlight and Multiplexers
- Tutorial Easy Driver and x.27 or x.40 Stepper Motor
- Tutorial for Airbus VS display via 7-Segment LED Module
- Example Analog Input Potentiometer
- Baron G58 Tutorial Gear, Flaps, Mags, ELT Input Output Programming
- Using Mobiflight to control arduino-based 3rd party panels (RealSimGear GNS530)
- How to use a VNH2SP30 DC motor shield with MobiFlight
- Using 3D printer mainboards
- Playing sounds by sending keystrokes to AutoHotKey
- Using the selector knob on a Honeycomb Bravo
- Using an adjustable 12 position switch as a GA starter
- Brightness of LCD displays with I2C
- Using three-position switches
- Transponder with one Rotary
- Workflow for Creating Flight Simulation Panels ‐ Part 1
- MSFS2020 RPN Tips and Tricks
- MSFS2020 Using the Custom Input Code Box
- MSFS2020 Install WASM module and Event List
- MSFS2020 How to Create and Use User Defined Lvars
- MSFS2020 How to Create a Blinking LED configuration
- MSFS2020 User Defined WASM Module Events Best Practices
- MSFS2020 Developer Mode, Model Behavior dialog and Console window
- MSFS2020 PMDG 737‐700 List of Events that require use of FSUIPC7
-
MSFS2020 PMDG 737‐700 Calibrate throttle idle and reverse thrust using interpolation (Valkyrie)
- MSFS2020 PMDG 737-700 Chrono unit functions implemented in Mobiflight
- Configuring PMDG 737 Parking Brake Lever Auto-Release with a Servo in Mobiflight
- Using encoder to drive a value back and forth within a given range
- Adding a custom board to MobiFlight
- User guide - Community Board and Custom Devices
- Developing your own custom devices/boards