# Menus This page outlines the different options available to you from [The Material Editor](../the-material-editor/) menus. ### File {{< image-center src="images/2_DevMode/material_editor/menu/menu_file.png" alt="The Material Editor File Menu" >}} The **File** menu has the following options: - ##### New This option permits you to create a new material to be added to the current User materials for the package. You will first be asked to give a material **context**, which defines where the material is supposed to be used: {{< image-center src="images/2_DevMode/material_editor/menu/menu_material_context.png" alt="The Context Menu When Creating A New Material" >}} Once you click on the context to use, [The Material Inspector](../the-material-inspector/) will open and you can edit the new material contents. - ##### Delete Selecting this will delete the currently selected material. When you select this option you will be shown a confirmation window that also explains that when you delete the material any texture images that are no longer referenced will be removed as well from the package. ### View {{< image-center src="images/2_DevMode/material_editor/menu/menu_view.png" alt="The Material Editor View Menu" >}} The **View** menu has the following options: - ##### Bitmap Manager This option opens the Bitmap Manager window. From here you can see all of the bitmap images that are have been added to the Material Editor as part of the current package. For more information please see the page on [The Bitmap Manager](../the-bitmap-manager/). - ##### Material Inspector Selecting this will open the Material Inspector window. This window may also open automatically when a new material is created. You can find out more about this window from the page on [The Material Inspector](../the-material-inspector/). ### Debug {{< image-center src="images/2_DevMode/material_editor/menu/menu_debug.png" alt="The Material Editor Debug Menu" >}} The **Debug** menu offers a few tools to help debug materials and the textures/bitmaps that they use. The options are: - ##### Clean Unused Textures With this option you can request that the material editor does a clean of all the bitmaps used for textures in the current package. This will attempt to remove (delete) from the project those files that are not referenced by any material. Note that **this process is permanent and cannot be undone** and deleted textures cannot be recovered. - ##### Diagnostics With this option you can check the material library that you're creating and see if there are any issues. This option will perform the following procedures: - Enumerate all materials in the material library and check that the bitmaps they reference exist (i.e. the file exists) - Enumerate all image files in the material library directory and check they are valid (ie: not empty) - Check that there isn't any image file that is not used by any material Any issues that the tool finds will be shown in [The Console](../../../menus/debug_info/the-console/) window. - ##### Create .FLAGS Using this option you can have the Material Editor recreate the `*.FLAGS` files for all the materials that you have defined using Microsoft Flight Simulator 2024 standards. The `*.FLAGS` file is a simple text file that has only one line, starting with `_DEFAULT=` and followed by the "flags" that are used to tell the compiler what kind of output `ktx2` file to create for the texture. You can find out more information on this file from the following section: . {{< callout context="note" title="NOTE" icon="outline/bulb" >}} This is a deprecated feature only used in specific cases. For SimObject and Scenery Object textures, you should be using the {{< link "../../../models-and-textures/plugins/3ds-max-plugin/texture-tool/" >}}Texture Tool{{< /link >}} {{< /callout >}}