# Folder Structure
All folders are entirely optional, the only requirement for a SubModule to be detected by the Launcher is the SubModule base directory itself and a valid SubModule.xml
For a full example of the folder structure and contents refer to Drive:\\InstallLocation\Mount & Blade II Bannerlord\Modules\Native\
# Folder Descriptions & File Examples
AssetPackages
- Contains TPAC files (may be Taleworlds Package). The TPAC format was introduced at some time during the multiplayer beta, replacing the outdated BRF format of Warband and CRF format of early beta, and is still used today. Can be explored via an unofficial tool TpacTool (opens new window)someasset.tpac
Atmospheres
- Refer to [Atmosphere]Interpolated
interpolatedatmosphere.xml
atmosphere.xml
bin
- Where compiled binaries should go - Refer to [Basic C# Mod]Win64_Shipping_Client
MyModule.dll
GUI
- For most things related to Gauntlet.Brushes
- For Gauntlet Brushes.Prefabs
- For Gauntlet Movies.
ModuleData
- For any general data related to your mod that is in XML format (e.g. items/cultures/gametexts).SceneObj
- For your scenes.
- MyModule
- AssetPackages
-- assetpackage.tpac
- Atmospheres
- Interpolated
-- interpolatedatmosphere.xml
-- atmosphere.xml
- bin
- Win64_Shipping_Client
-- MyModule.dll
- GUI
- Brushes
- Prefabs
- ModuleData
- SceneObj
- SubModule.xml