#shared #simulator #table #microsoft #support #downloading #contents #running

app sequal32/sharedcockpit

Shared cockpit for Microsoft Flight Simulator

17 releases (stable)

2.3.1 Nov 14, 2020
2.3.0 Nov 13, 2020
2.2.0-beta.1 Oct 29, 2020
1.3.0 Sep 7, 2020
0.1.1 Sep 4, 2020

#67 in Simulation

142 stars & 11 watchers

Apache 2.0

335KB
4K SLoC

Rust 3.5K SLoC // 0.1% comments JavaScript 428 SLoC // 0.0% comments Python 29 SLoC // 0.1% comments

https://github.com/Sequal32/yourcontrol forthebadge

Shared Cockpit for Microsoft Flight Simulator 2020.

Table of Contents

Features

  • Frequent and smooth position updates through linear interpolation
  • Transferable controls
  • Configurable aircraft files to sync most switches/knobs
  • Synchronzied button presses on FMCs/GXXXXs

The following aircraft have config files:

  • FBW A32NX Stable + Dev
  • Cessna 152
  • Cessna 172 G1000
  • Diamond DA40
  • Diamond DA62
  • Pitts
  • TBM 930
  • XCub

The airliners have 10x the amount of code than the GA aircraft, so they will take a while to be fully implemented.

Downloading

Option 1 (Recommended):

Download and run the installer.

Option 2 (Includes all compatibilties with other mods, which may break the mod as they get updates):

  1. Download the latest release from here and unzip to a directory of your choice.
    1. Don't click the Download Code button in the home page of the repository.
    2. Don't unzip into Program Files or any other system protected area.
  2. Move the YourControl folder inside of PLACE IN COMMUNITY PACKAGES to the Community folder where you install addons. If you haven't changed the location in the installer, common locations are...
    • Steam: C:\Users[YOUR USERNAME]\AppData\Roaming\Microsoft Flight Simulator\Packages\Community
    • Microsoft Store: C:\Users[YOUR USERNAME]\AppData\Local\Packages\Microsoft.FlightSimulator_\LocalCache\Packages\Community
    • Boxed: C:\Users[YOUR USERNAME]\AppData\Local\MSFSPackages\Community

Running

  1. Launch FS2020, select the same aircraft, weather, and spawn location. Do NOT enable multiplayer unless you're on different servers.

  2. Once everyone has spawned in, start up the included .exe file. Do NOT run as administrator.

  3. In Settings, under the header Active Aircraft, select the .yaml file associated with the aircraft you're flying (both server/clients should do this).

  4. Enter a username, then...

    • Server (Designate 1 person to run):

      1. If your router does not support UPNP, TCP port forward either 7777 or the specified port in the application. If you don't know if your router supports UPNP, you can attempt to connect without any additional steps, and then port forward if needed. If port forwarding is not an option, look into using Hamachi.
      2. Verify that the port was successfully forwarded, and find your IP through this website This program additionally supports IPv6, so if your ISP supports it, port forwarding is not usually required.
      3. Under the server tab, enter port and click start server. You will have initial control of the aircraft.
    • Clients: Enter the server's ip and port under the client section and click connect.

  5. Fly!

  6. To transfer control, navigate to the Connections tab, find your partner's name and click Give Control.

Notes:

  1. Both you and your copilot are recommended to turn off crash physics as there can be some desync issues that stresses your aircraft too much.

  2. For the G1000/FMC/similar systems, only one person should be interacting with a given area at a time. For example, one person flies while the other fills out the flightplan (you should not be filing out the flightplan at the same time), or one person adjusts the transponder while another zooms out the map. This is to avoid desynchronization issues.

  3. Because this mod modifies some of the default aircraft files, other mods that build their mods on top of these aircraft files may be incompatitble. The easiest solution is to disable YourControls in the content manager, or remove YourControls from the community packages.

Support Me!

If you enjoy the mod, considering showing your gratitude with a donation! I've put around a hundred hours of my own time into making this program in order for everyone to have an opportunity to fly together in as many aircraft as possible.

paypal

Troubleshooting

Discord

If you're seeking help for using this program, or would like to beta test more aircraft/features, join the discord!.

Missing DLL

Install Microsoft Visual C++ 2015 Redistributable Update 3 RC to resolve this.

Connection Timed Out

A connection to the server could not be established. Follow the steps for port forwarding and verifying your IP and forwarded port as described above.

Remarks

  • The code's architecture is loosely defined, so looking at the code may prove challenging.
  • Documentation/tutorials for creating aircraft definition files is planned.

Limitations

  • Some knobs are purely animation, and not represented by a local variable therefor cannot be synced, such as the TBM830's oxygen (yet...)

Data Files

If you're looking to create your own aircraft config file, refer to the provided files as examples and the definitions page.

Dependencies

~9–13MB
~259K SLoC