## SDK OVERVIEW

IMPORTANT! The SDK is completly independent from the Microsoft Flight Simulator executable, and is simply a collection of tools and resources that can be used to create content for add-on packages. If you have an issue while creating a package then uninstalling and reinstalling the SDK (or installing a previous version of the SDK) will have no effect, as the issue will be with the package itself, and as such you will need to fix the contents of the package (whether that be fixing a GLTF file, or updating some WASM code, etc...).

Microsoft Flight Simulator supports the development of add-ons that can distributed to other users in the form of packages. A package is essentially a collection of files that make up the add-on content being shared, and this can be anything from a custom aircraft to a new airport, or even a combination of multiple different game assets!

NOTE: After reading this overview, please read the page on Using The SDK, as it includes important information on how the contents of the SDK should be used.

### Developer Mode

To create add-on packages correctly you will need to use this SDK in conjunction with  Developer Mode from within the Microsoft Flight Simulator game. You can activate developer mode from the  General options in the game:

Once activated, you will have access to the  Developer Tools from a toolbar across the top of the screen. Note that the majority of these tools cannot be used unless you are within a mission in the game.

The Microsoft Flight Simulator SDK comes in the form of an *.msi (Microsoft Installer file), as do some of the extra samples available for download.

For a full rundown of the different tools available, please see the section on Using Developer Mode.

### System Requirements

The system requirements for using the Dev Tools and the SDK are the same as those for running the Microsoft Flight Simulator game. You can find a full and up-to-date list of these requirements from the following link:

When installing the SDK it will detect the presence of any external tools that are supported by the SDK or required for the SDK to be used. These are:

• 3D Studio Max: The glTF exporter plug-in that comes with the SDK depends on Autodesk 3D Studio Max. During installation, existing installations of 3D Studio Max will be detected and the appropriate plug-in for the installed version will be added. The SDK currently supports 3D Studio Max 2016 (SP2), 2017, 2018, 2019 (SP3) and 2020. You can find out more information on the 3DS Max Tools page.
• Microsoft Visual Studio 2019: Support for  WASM requires Microsoft Visual Studio 2019 with the Clang tools installed. The Clang tools can be installed through the Microsoft Visual Studio Installer under the "Desktop development with C++" workload. The SDK will also install the Microsoft Flight Simulator Platform Toolset for Visual Studio which is used when creating certain types of aircraft gauges and other things.

Note that if you do not have Visual Studio installed (or 3D Studio Max) when you install the SDK, you will need to download and install it, then re-install the SDK to ensure that they are both correctly configured.

### Launcher Tool

The launcher tool is a tool specifically created to provide the developer a faster launch of Microsoft Flight Simulator. This tool basically launches Microsoft Flight Simulator as normal, but forces the game to skip the intro logos and videos that would normally be displayed on load. Future versions of this tool will be targeted to provide more control/options to the user, to benefit from faster access to their Dev Mode environment.

To use this tool, simply call the fsdevmodelauncher.exe executable instead of the normal game shortcut or EXE. You can find this tool from the following SDK path:

<SDK ROOT>\Tools\fsdevmodelauncher\

### SDK Contents

The SDK installation folder is split into the following sub-folders:

• Documentation: The SDK user manual (this document).
• Samples: Multiple example projects you can build from Developer Mode (airplane, scenery, airport...).
• Schemas: A standardized description of glTF formats that can be used to create your own import/export tools. See here for more information: Schemas
• SimConnect SDK: C++ interface to SimConnect, allowing for out-of-process executables to communicate directly with the sim.
• Tools: The different tools available that are not directly part of the Developer Mode (e.g:  glTF exporter)
• WASM

### The Sample Projects

The best way to get a feeling for how development of add-ons works in Microsoft Flight Simulator is by opening one of the provided sample projects from the Developer Mode tools and build it. The documentation has pages for each of the different sample projects that you can find here:

Each page outlines how to build the sample package (where appropriate).

### The Community Folder

The Community folder is the folder where you would place your created packages to have them appear in the game without the need to load them up every time using the Developer Mode Project Editor. The location of this folder will depend on where your copy of Microsoft Flight Simulator came from, as different retailers (OneStore and Steam) will cause the Community folder to be created in different locations.

To find out where the Community folder is for your version of the game, you can open the Virtual File System window from the Tools menu in Developer Mode:

Once you have the Virtual File System window open, you can expand the Packages Folders section, and then simply click on the button:

This will open an explorer window on the Community folder itself, and you can then copy any packages that you want to have permanently installed in Microsoft Flight Simulator to that location.