> For the complete documentation index, see [llms.txt](https://docs.gta.clothing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gta.clothing/basics/useful-to-know/dynamic-config-builders.md). Agents can also search and read this documentation through its [MCP server](https://docs.gta.clothing/~gitbook/mcp).

# Dynamic Config Builders

Learn about our Dynamic Config Builders and how to profit from them

## Introduction

The **Dynamic Config Builders** in Durty Cloth Tool provide an automated way to generate specific configuration files for your cloth resources. These files are dynamically created during the build process, making them in most cases ready for use with various supported scripts, such as clothing store or tattoo shop scripts in multiplayer mods like FiveM.

Dynamic Config Builders streamline the process of setting up these configuration files, saving you time and ensuring your resources are immediately compatible with different scripts. However, they do not ensure the structural or optimization correctness of the resources themselves; their primary role is to generate the necessary configuration files for external scripts. Users simply need to tick the relevant options under **Integration outputs** on the **Advanced** tab of the **Build Project** window, and the Dynamic Config Builders will handle the rest automatically.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-df9cc94a28a178ed0f7bcffbd94848dbb34b044b%2Fbuild-integration-outputs.png?alt=media" alt="The Build Project window on its Advanced tab at Integration outputs: Include the in-game Clothing Inspector with its thumbnail options, Create clothes info dump, and the tattoo options such as Create tattoos info dump and the xnTattoos, qb-tattooshop and ESX-TattooShop config files, unavailable with the note Add a tattoo to a design to use this option because the project has no tattoos. The destination is blurred."><figcaption><p>The config builders under Integration outputs on the Advanced tab. Tattoo options become available once the project has a tattoo.</p></figcaption></figure>

## Supported Dynamic Config Builders

Below is a list of the currently supported Dynamic Config Builders:

<table><thead><tr><th width="374">Config Builder</th><th>Description</th></tr></thead><tbody><tr><td>(FiveM) Rcore-Tattoos config file</td><td>Generates a configuration file for the FiveM Rcore-Tattoos script. <strong>Grab this Tattoo Shop Script here:</strong> <a href="https://store.rcore.cz/package/5199324">https://store.rcore.cz/package/5199324</a></td></tr><tr><td>(FiveM) xnTattoos config file</td><td>Generates a configuration file for the FiveM xnTattoos script</td></tr><tr><td>(FiveM) qb-tattooshop config file</td><td>Generates a configuration file for the FiveM qb-tattooshop script</td></tr><tr><td>(FiveM) ESX-TattooShop config file</td><td>Generates a configuration file for the FiveM ESX-TattooShop script</td></tr><tr><td>(FiveM) illenium-appearance config file</td><td>Generates a configuration file for the FiveM illenium-appearance script resource</td></tr><tr><td>(Menyoo) PedDecalOverlays.xml</td><td>Generates the Singleplayer Menyoo <code>PedDecalOverlays.xml</code> tattoos configuration file (see <a href="https://github.com/itsjustcurtis/MenyooSP/releases">Menyoo SP</a>).</td></tr><tr><td><strong>General Information Dumps:</strong></td><td></td></tr><tr><td>Clothes info dump</td><td>Dumps information related to cloth resources for general development</td></tr><tr><td>Tattoos info dump</td><td>Dumps tattoo-related data for general pipeline or script usage</td></tr></tbody></table>

{% hint style="info" %}
More Dynamic Config Builders can be requested on our [Discord](https://discord.plebmasters.de).
{% endhint %}

## How to Use Dynamic Config Builders

1. **Enabling Config Builders**\
   To use the Dynamic Config Builders, simply tick the related config options under **Integration outputs** on the **Advanced** tab of the **Build Project** window (or press **Ctrl+K** and paste `>Build project`) before you start the build process. Each supported config file type will be listed, and you can choose which ones to generate based on your project needs.
2. **No Customization or Manual Setup**\
   Once a config builder is enabled, there is no further setup or customization required. The system is designed to automatically generate the proper config files based on the cloth resource and the target script.
3. **General Info Dumps**\
   For broader development purposes or for building your own systems (such as clothing shop scripts), you can enable the **Clothes info dump** or **Tattoos info dump**. These files provide detailed data that can be integrated into your own workflows and custom scripts.
   * The clothes info dump lists every texture with its collection and its number inside that collection, plus each cloth's name, tags, shop data, game file names and the build's own warnings.
   * Prefer the collection and that number over global numbers in your scripts: global numbers change with game updates. FiveM's collection natives such as `SetPedCollectionComponentVariation` take them.
   * Each texture also carries the tags of its cloth, so a script can find clothing by tag instead of by a fixed number. The tags stay when you rebuild, so the script still finds the item after a clothing update moved its number.
   * A build with the [Clothing Inspector](https://docs.gta.clothing/how-to-guides/test-clothing-in-game-with-the-clothing-inspector.md) always includes the dumps for the clothing, tattoos and facial overlays it contains, and every player can then download them. Its tattoos info dump also lists each tattoo's name, tags, label and price, the game tattoos whose texture your build replaces and your facial overlays.
4. Copy the generated file contents or entire file to the actual folder / file where this configuration is required, like in your tattoo script. For more specific information please contact the script creator.

{% hint style="info" %}
Keep in mind many of **these script configurations are not meant as "drop-in" fixes**, usually they require additional steps like merging them with your existing configuration or referencing related file somewhere.\
\
**Please get in contact with the Creator that provides support for the used script resource.**
{% endhint %}

{% hint style="warning" %}
Tattoo and Clothing related Dynamic Config Builder Options are only enabled and check-able when Tattoos and/or Clothing in the Cloth Project exists.
{% endhint %}

## Summary

The **Dynamic Config Builders** feature in Durty Cloth Tool makes it easier to generate essential configuration files for various scripts, particularly in FiveM environments. Users can quickly enable the relevant config builders on the **Advanced** tab of the **Build Project** window to generate the required files. Additionally, the info dumps offer valuable resources for custom development or integrating cloth resources into custom scripts.
