-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto register data structs with SimConnect#RegisterDataDefinition
- Loading branch information
Showing
7 changed files
with
185 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.env | ||
build-vfrmap-upload.sh | ||
vfrmap.exe | ||
vfrmap-win64.zip | ||
request_data.exe | ||
_vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# msfs2020-go | ||
|
||
simconnect package [msfs2020-go/simconnect](simconnect/) connects to microsoft flight simulator 2020 using golang. | ||
|
||
cross-compiles from macos/linux, no other dependencies required. produces a single binary with no other files or configuration required. | ||
|
||
## status | ||
|
||
[msfs2020-go/simconnect](simconnect/) package currently only implements enough of the simconnect api for [examples](examples/) and [vfrmap](vfrmap). | ||
|
||
## download | ||
|
||
program zips are uploaded [here](https://github.com/lian/msfs2020-go/releases) | ||
|
||
## tools | ||
|
||
* [vfrmap](vfrmap/) web server that shows your current MSFS2020 plane position in google maps inside the browser | ||
|
||
## examples | ||
|
||
* [examples/request_data](examples/request_data/) port of `MSFS-SDK/Samples/SimConnectSamples/RequestData/RequestData.cpp` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# msfs2020-go/vfrmap | ||
|
||
web server that shows your current MSFS2020 plane position in google maps inside the browser | ||
|
||
## install | ||
|
||
* download latest release zip [here](https://github.com/lian/msfs2020-go/releases) | ||
* unzip `vfrmap-win64.zip` | ||
|
||
## run | ||
* run `vfrmap.exe` | ||
* browse to http://localhost:9000 | ||
|
||
## arguments | ||
|
||
* `-v` show program version | ||
* `-api-key` use your own gmap api-key | ||
* `-verbose` verbose output | ||
|
||
## change visualisation | ||
|
||
if you want to change how the webpage looks then copy and change [index.html](html/index.html) to the same folder as `vfrmap.exe` and relaunch the program. | ||
|
||
## compile | ||
|
||
`GOOS=windows GOARCH=amd64 go build github.com/lian/msfs2020-go/vfrmap` or see [build-vfrmap.sh](https://github.com/lian/msfs2020-go/blob/master/build-vfrmap.sh) | ||
|
||
## screenshots | ||
|
||
![screenshot](https://i.imgur.com/YllMEvG.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters