Skip to content

Commit b26137b

Browse files
m4rkusMarkus HamburgerSkySails
authored
Add key features and improved setup steps to README (#6)
* chore: adds intro and changes steps for building sample aircraft * Update README.md Co-authored-by: Malte Hallström <[email protected]> * Update README.md Co-authored-by: Malte Hallström <[email protected]> * Update README.md Co-authored-by: Malte Hallström <[email protected]> --------- Co-authored-by: Markus Hamburger <[email protected]> Co-authored-by: Malte Hallström <[email protected]>
1 parent 7b6c460 commit b26137b

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
# Navigraph Navigation Data Interface in MSFS
1+
# Navigraph Navigation Data Interface for MSFS
22

3-
This is a barebones implementation to be able to download up-to-date Navigraph navigation data into MSFS (more specifically into the `work` folder of the aircraft).
3+
The Navigraph Navigation Data Interface enables developers to download and integrate navigation data from Navigraph directly into add-on aircraft in MSFS.
4+
5+
6+
## Key Features
7+
- Navigraph DFD Format: Leverage specialized support for Navigraph's DFD format, based on SQLite, which includes an SQL interface on the commbus for efficient data handling.
8+
- Javascript and WASM support: The navdata interface is accessible from both Javascript (Coherent) and WASM, providing flexibility for developers.
9+
- Supports updating of custom data formats.
10+
- Xbox compatibility: Works on PC and Xbox.
11+
- Persistence: All data is persisted in the `work` folder of the aircraft.
412

513
## Repository Structure
614

@@ -42,12 +50,15 @@ The default location for navigation data is `work/NavigationData`. If you have b
4250

4351
Before building, make sure you have properly created and set an `.env` file in `examples/gauge`! An example can be found in the `.env.example` file in that directory. Replace with your credentials
4452

45-
1. [Download](https://nodejs.org/en/download) Node.js
46-
2. Open the `examples/gauge` folder in a terminal
53+
1. [Download](https://nodejs.org/en/download) and install Node.js
54+
2. Open the `msfs-navigation-data-interface` folder in a terminal
4755
3. Run `npm i` the first time you build, in order to install dependencies
48-
4. Run `npm run build` to build into the `PackageSources` folder of the aircraft sample (or `npm run dev` to build into the `Packages` folder of the aircraft and listen to changes in the source).
49-
5. Make sure the WASM module is included in the [`panel`](examples/aircraft/PackageSources/SimObjects/Airplanes/Navigraph_Navigation_Data_Interface_Aircraft/panel) folder! Look at either [Including in Your Aircraft](#including-in-your-aircraft) or [Building the WASM Module Yourself](#building-the-wasm-module-yourself) for info on that
50-
6. Open the `examples/aircraft/NavigationDataInterfaceAircraftProject.xml` file in the simulator and build there
56+
4. Change directory to `src/js` using `cd src/js`
57+
5. Run `npm run build` to build the interface.
58+
6. Change directory to `examples/gauge` using `cd ../../examples/gauge/`
59+
7. Run `npm run build` to build into the `PackageSources` folder of the aircraft sample (or `npm run dev` to build into the `Packages` folder of the aircraft and listen to changes in the source).
60+
8. Make sure the WASM module is included in the [`panel`](examples/aircraft/PackageSources/SimObjects/Airplanes/Navigraph_Navigation_Data_Interface_Aircraft/panel) folder! Look at either [Including in Your Aircraft](#including-in-your-aircraft) or [Building the WASM Module Yourself](#building-the-wasm-module-yourself) for info on that
61+
9. Open the `examples/aircraft/NavigationDataInterfaceAircraftProject.xml` file in the simulator and build there
5162

5263
## Building the WASM Module Yourself
5364

0 commit comments

Comments
 (0)