> For the complete documentation index, see [llms.txt](https://docs.motorica.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.motorica.com/documentation/style-cloning/reference/data-preparation.md). Agents can also search and read this documentation through its [MCP server](https://docs.motorica.com/~gitbook/mcp).

# Data Preparation

What your animation files need before you upload them for a Style Clone, and what upload errors and warnings mean.

Motorica learns from every frame you upload, so your animation should be production quality before it goes into a style dataset. The app shows the same guidelines when you add a style dataset.

## Skeleton

Retarget your animation to the Motorica skeleton hierarchy before you export it. Download the skeleton from [Motorica Character Rig Skeleton](https://docs.motorica.com/resources-and-references/motorica-character-rig-skeleton.md). If you use MotionBuilder, follow [Export MotionBuilder Mocap Data](https://docs.motorica.com/documentation/style-cloning/how-to-guides/export-motionbuilder-mocap-data.md).

## File requirements

| Property            | Accepted values                                  |
| ------------------- | ------------------------------------------------ |
| Format              | .bvh, or .fbx (experimental)                     |
| Frame rate          | 30, 60 or 120 fps                                |
| Maximum file size   | 512 MB                                           |
| Animations per file | One                                              |
| Contents            | Skeleton and animation only. Leave out the mesh. |

Export baked animation, with a key on every frame, rather than relying on interpolation between keyframes.

{% hint style="warning" %}
**FBX support is experimental.** FBX files can be read differently from how they look in your DCC. If an FBX gives unexpected results in the preview, try exporting the same take as .bvh.
{% endhint %}

## Clean data

Clean up your data after the shoot. Remove jitter, foot sliding, ground penetration and other artefacts. Small flaws you leave in can show up in your Style Clone.

Also remove anything that isn't the performance, including:

* T-poses and calibration poses
* moments where the actor talks to the director
* mistakes such as trips and stumbles
* any movement you don't want the model to learn

## Keep it focused

* Include only the movement you want the model to learn, performed in the style.
* If your character moves differently in different states, such as normal combat and crouched, create a separate style dataset for each state.

## Amount and coverage

A dataset should total about 10 minutes of animation. Cover every type of movement you want to generate. If you want runs or strafes from your Style Clone, the dataset needs runs and strafes. For what to shoot, see [Mocap Recording Guidelines](https://docs.motorica.com/documentation/style-cloning/reference/mocap-recording-guidelines.md) and the [Dance Card Shot List](https://docs.motorica.com/documentation/style-cloning/reference/dance-card-shot-list.md).

## Root Motion

You don't need to keyframe your own root motion. Motorica extracts it automatically for every file you upload. If your files already have root motion you want to keep, you can switch extraction off for those files. See [Edit an Animation's Root Motion Data](https://docs.motorica.com/documentation/style-cloning/how-to-guides/edit-an-animations-root-motion-data.md).

## Errors and warnings

Motorica checks every file you upload. Results show in the **Errors** and **Warnings** columns of the dataset's **Animation files** table. Click an entry to read the full message.

### Errors

An error means the file can't be used as it is. Motorica checks:

| Check                         | How to fix it                                                                                                                                                                                                              |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| File name and format          | Make sure the file is .fbx or .bvh and meets the [file requirements](#file-requirements).                                                                                                                                  |
| Skeleton naming and hierarchy | Retarget the animation to the [Motorica skeleton](https://docs.motorica.com/resources-and-references/motorica-character-rig-skeleton.md) and export again.                                                                 |
| The file can be read          | Export the file again. If it's an FBX, try .bvh. MotionBuilder users can follow [Export MotionBuilder Mocap Data](https://docs.motorica.com/documentation/style-cloning/how-to-guides/export-motionbuilder-mocap-data.md). |

To fix an error, select the file and click **Delete**. Fix the file in your DCC, then upload it again.

### Warnings

A warning means the file was accepted, but something in its motion may need attention. That includes the extracted root motion. Open the file in the 3D preview, then:

* **If the root path or facing direction is wrong**, adjust the root motion. See [Edit an Animation's Root Motion Data](https://docs.motorica.com/documentation/style-cloning/how-to-guides/edit-an-animations-root-motion-data.md).
* **If the motion itself has a problem**, such as jitter, sliding or a stumble, fix it in your DCC and upload it again, or delete the file.
* **If the clip looks right**, you can keep it.

## Review before training

Preview every file in the dataset before you start style cloning. The **Dataset checkup** tracks which files you've viewed. Even a file with no warnings can have problems that an automatic check won't catch. See [Create a Style Clone](https://docs.motorica.com/documentation/style-cloning/how-to-guides/create-a-style-clone.md).
