Bundling the KLN with your aircraft - falcon71/kln90b GitHub Wiki

Normally, the KLN should not be included with the aircraft, to allow users to update the KLN independently of the aircraft. See Hot Swapping and Package Detection on how to detect dynamically, whether the KLN 90B is installed or not.

However, XBox users have no way to download the KLN and therefore you may choose to bundle the KLN within the Marketspace version of your aircraft. The GNU Lesser General Public License v3.0 allows you to distribute the KLN with your aircraft, as long as you make no changes to the source code or distribute the code under the same license.

  1. Download the latest version of the KLN
  2. Copy the folder falcon71-kln90b\html_ui\Pages\VCockpit\Instruments\NavSystems\GPS\KLN90B into your aircraft folder, make sure that the path is unique to your aircraft. The flightplan folder should not be copied and importing flight plans is automatically disabled on the SET 10 page. Remember to update your layout.json when you are done.
  3. Add the following line to the panel.xml and change the path to your unique aircraft path:
<Instrument>
  <BasePath>html_ui/Pages/VCockpit/Instruments/NavSystems/GPS/KLN90B</BasePath><!-- Only needed, if you bundle the KLN with your aircraft. No trailing slashes -->
  [...]
</Instrument>
  1. Either point to the new KLN90B.html file in the panel.cfg or, if you still use package detection, adjust all paths in your KLN90B_int.html.
⚠️ **GitHub.com Fallback** ⚠️