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).
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
.
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 tolocalhost: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
.
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
- Go
- Make (optional)