# 文件夹结构

所有文件夹都不是必须的，对于SubModule来说，唯一的要求就是启动器必须能够监测到SubModule文件夹自身，以及有效的 [SubModule.xml](https://yigu-studio.gitbook.io/bannerlord-modding-cn/_xmldocs/submodule) 文件。

完整的Mod文件结构与内容可以参考 `盘符:\\安装目录\Mount & Blade II Bannerlord\Modules\Native\`

* `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](https://github.com/szszss/TpacTool)
  * `someasset.tpac`
* `Atmospheres` - [Refer to \[Atmosphere\]](https://yigu-studio.gitbook.io/bannerlord-modding-cn/_xmldocs/atmosphere)
  * `Interpolated`&#x20;
    * `interpolatedatmosphere.xml`
  * `atmosphere.xml`
* `bin` - 编译好的二进制文件放在这里 - [参见 \[基础的 C# Mod制作\]](https://yigu-studio.gitbook.io/bannerlord-modding-cn/_tutorials/basic-csharp-mod)
  * `Win64_Shipping_Client`
    * `MyModule.dll`
* `GUI` - 大多数与Gauntlet有关的内容放在这里。
  * `Brushes` - 存放Gauntlet Brushes。
  * `Prefabs` - 存放Gauntlet Movies。
* `ModuleData` - 任何与你的Mod有关的XML格式数据存放在这里。 (例如：items/cultures/gametexts)
* `SceneObj` - 存放场景。

```
- MyModule
    - AssetPackages
        -- assetpackage.tpac
    - Atmospheres
        - Interpolated
            -- interpolatedatmosphere.xml
        -- atmosphere.xml
    - bin
        - Win64_Shipping_Client
            -- MyModule.dll
    - GUI
        - Brushes
        - Prefabs
    - ModuleData
    - SceneObj
    - SubModule.xml
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yigu-studio.gitbook.io/bannerlord-modding-cn/_intro/folder-structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
