|
1 |
| -# Navigraph Navigation Data Interface in MSFS |
| 1 | +# Navigraph Navigation Data Interface for MSFS |
2 | 2 |
|
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. |
4 | 12 |
|
5 | 13 | ## Repository Structure
|
6 | 14 |
|
@@ -42,12 +50,15 @@ The default location for navigation data is `work/NavigationData`. If you have b
|
42 | 50 |
|
43 | 51 | 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
|
44 | 52 |
|
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 |
47 | 55 | 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 |
51 | 62 |
|
52 | 63 | ## Building the WASM Module Yourself
|
53 | 64 |
|
|
0 commit comments