Import asset sources
asset_importPrepares Mount & Blade II assets by copying and validating FBX meshes and textures into a module's AssetSources folder, then reports the Modding Kit import steps.
Instructions
Copies FBX meshes and textures (png/tga/dds/tif/psd/bmp/jpg) into /AssetSources (the folder the Modding Kit editor imports from), checks them (FBX version, texture size, naming) and creates Assets/. Copying is not converting: new files become Assets/*.tpac only through the editor's Resource Browser → Import new asset; the result says what to do next, in which order (materials before FBX, with an editor restart in between) and whether the running editor has the module loaded. Folders are expanded (top level).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Absolute paths of files or folders to import. | |
| module | Yes | Writable module. | |
| reimport | No | Ask the running editor to re-convert replaced sources (default true). New files are converted only through the Resource Browser's Import new asset. | |
| overwrite | No | Replace files that already exist (files over 200 MB are replaced without backup). | |
| subfolder | No | Optional subfolder inside AssetSources. | |
| normalize_names | No | Lower-case names and replace spaces/special characters (default false). |