jagobagascon / FSControl

A Flight Simulator Controller Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FS Control

CI Build and Prerelease

Release

A small application to remotely control Flight Simulator.

It exposes an http server where you can connect using your browser (either from your computer or remotely from a mobile device or an iPad).

web/img/app.png

Installation

You can go to the releases page to download the latest FSControl binary.

You will also need the SimConnect DLL. It should be installed $(MSFS_SDK)\SimConnect SDK\lib.

Running

The application will look for the SimConnect DLL in the current working directory, the path where the FSControl binary is located and also in C:\MSFS SDK\SimConnect SDK\lib. If your MSFS SDK is located somewhere else, you can change the search path by using the -sdk option.

Executing the downloaded app will start an HTTP server in the port 8080.

You can run it from the command line and pass the following options:

  • -address: The address where the app will be accessed. Set this to localhost:8080 to disable remote access to the server. Or :<PORT> if you just want to customize the port used.

If the windows firewall asks for permission and you want to access the application remotely (a mobile phone or a tablet) you have to allow the application to open the port 8080. Otherwise you can deny its access and still use the app from localhost:8080.

Development

You can run the code locally by cloning this repo and calling:

go run cmd/fscontrol/main.go

Static files (html, css, js) are embedded into the binary and served from there. So if you want to work on them without having to restart the server every time you can use the --dev flag and the application will serve them from disk:

go run cmd/fscontrol/main.go --dev

Dev Tools

  • Go
  • Make (optional)

About

A Flight Simulator Controller Server


Languages

Language:Go 71.9%Language:JavaScript 20.4%Language:CSS 5.9%Language:HTML 1.6%Language:Makefile 0.2%