> 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/how-to-guides/build-for-fivem-enhanced.md).

# Build Clothing for FiveM Enhanced

Prepare, build and test an addon clothing resource for FiveM Enhanced

Build with **FiveM edition** set to **Enhanced** when your server and players use the Enhanced edition of GTA V. DCT can build an addon clothing resource for that edition and tell you which imported items will be included. If you also support FiveM Legacy, choose **Both**: one run builds a `legacy` and an `enhanced` folder with the same drawable numbers, and you test each on a client of that edition.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-c31618be635819d3cb890fdf4a84890edb0af334%2Fenhanced-poster.webp?alt=media" alt="The Build Project window with the FiveM edition set to Enhanced."><figcaption><p>Choose the FiveM edition that matches the clients you intend to support.</p></figcaption></figure>

{% embed url="<https://gta.clothing/assets/media/v4/enhanced-mobile.mp4?v=e8ddbd129af4>" %}
Open Build Project, set the FiveM edition to Enhanced and choose the server target game build.
{% endembed %}

## Prepare the project

Start with a saved DCT project and a backup. Add the clothing and check the [Error List](https://docs.gta.clothing/basics/essential-knowledge/cloth-analysis-report.md) before you build. DCT can accept supported Enhanced models and textures. When an Enhanced file cannot be made editable for Legacy, DCT marks it **Enhanced-only**; it can still be included in an Enhanced build but will be left out of a Legacy build.

{% hint style="warning" %}
Enhanced output currently supports **addon clothing only**. An active replacement pack or managed Asset Escrow clothing stops an Enhanced build before the output is replaced. Tattoos and overlays that only have Enhanced assets may need conversion or replacement before they can be used. Read the reason DCT shows for each item rather than assuming that every imported file is buildable.
{% endhint %}

You also need a unique clothing collection name, a target game build and a **dedicated output folder**. Do not choose your project folder, its data folder or a directory containing files you edit by hand. DCT replaces its generated output during a build and explains what it will replace before proceeding.

## Build the addon resource

1. Open **Build Project** (or press **Ctrl+K** and paste `>Build project`) and, on the **Output and target** tab, select **FiveM Resource**.
2. Under **FiveM edition**, choose **Enhanced**. Select the target game build used by your server and enter the clothing collection name. [Build Options](https://docs.gta.clothing/basics/essential-knowledge/build-options.md) explains each setting.
3. Choose the dedicated output folder. Read the build overview, especially the items left out, the destination and the complete set of resources DCT expects to generate. Return to the Error List for anything that blocks the build.
4. Select **Build Project**. Keep the window open while it prepares and writes the output. **Cancel** stops the work and cleans up incomplete output; wait for the result before trying again.
5. On success, open the output from the result page and check that every resource named in the overview is present. DCT places Enhanced clothing files in `stream_enhanced`.

{% hint style="info" %}
With **Both**, the Enhanced resources are in the `enhanced` folder of your build output and the Legacy ones in the `legacy` folder. Copy only the matching folder's resources to each server; both sets use the same names.
{% endhint %}

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-8907fe1bfa43df49dd5c43d6462fa733e1135c3b%2Fbuild-project-fivem-enhanced.png?alt=media" alt="The Build Project window on its Output and target tab, with FiveM Resource and the FiveM edition Enhanced selected, the server target game build 3889 mp2026_01 The Kortz Center Heist and the clothes collection name forgestudio, and the Build overview: Target FiveM Enhanced, 16 clothes, one resource with 16 drawables, and an orange note that DCT has not measured the free YMT slots on FiveM Enhanced, that Cfx&#x27;s patch of 2026-11-11 loads add-on clothing again with around 256 slots, and that the server needs a license key with a subscription and MapDataStore raised by one per YMT. The build output folder and the destination are blurred."><figcaption><p>FiveM Enhanced selected, with the Build overview of what the build generates.</p></figcaption></figure>

{% hint style="success" %}
**Tip:** Keep the first Enhanced build small. A top, a pair of shoes, a prop and a few texture variations make a quick server check before you add the rest of a large pack.
{% endhint %}

The first Enhanced build converts every model and texture. Later builds reuse what earlier builds converted and only convert what changed, so rebuilding after a small change is much quicker. After a Durty Cloth Tool update, the first build converts everything again. See [Build cache](https://docs.gta.clothing/basics/essential-knowledge/build-options.md#build-cache).

## Add-on clothing on FiveM Enhanced

{% hint style="warning" %}
Cfx's FiveM for GTA V Enhanced patch of 11 November 2026 loads add-on clothing again, with around 256 slots ([patch notes](https://github.com/citizenfx/rfc/discussions/627), [Cfx's bug thread](https://github.com/citizenfx/rfc/discussions/331)). On 13 November 2026 Cfx added that clothing on FiveM Enhanced currently needs a **server license key with a subscription**, and **MapDataStore raised by one for each YMT**. Some players still reported crashes after the patch, for example with male and female clothing loaded together, so test both genders together on your server.
{% endhint %}

DCT has not measured the free clothing slots on FiveM Enhanced, so it asks before every build that writes add-on clothing for FiveM Enhanced, also for the Enhanced half when you build **Both**:

* **Continue** builds for FiveM Enhanced, for example when your server meets the requirements above. DCT asks again on your next build.
* **Build for FiveM Legacy** switches the project's FiveM edition to Legacy, which loads add-on clothing today, and builds.
* **Cancel build** stops without changing anything.

The [command-line build](https://docs.gta.clothing/how-to-guides/build-from-the-command-line.md#clothing-for-fivem-enhanced) asks the same question: add `--accept-enhanced-warning` to continue, or use `--edition legacy`.

The Build overview shows a FiveM Enhanced line saying that DCT has not measured the free YMT slots on FiveM Enhanced, with the server requirements. Builds that contain only tattoos or facial overlays are not affected. FiveM's raised limit on clothing YMT files, described in [Game Limits and Crashes](https://docs.gta.clothing/game-mechanics/game-limits-and-crashes.md#fivems-raised-limit), does not apply to FiveM Enhanced.

Each such build also leaves an install note beside its resources, with what to do if your players crash: see [Install on a FiveM Enhanced server](#install-on-a-fivem-enhanced-server).

## Install on a FiveM Enhanced server

A FiveM Enhanced clothing build, and the `enhanced` folder of a **Both** build, contains `INSTALL_FIVEM_ENHANCED.txt` next to the resource folders, with the names of your resources filled in. It says:

1. Copy the resource folders from this build into your server's `resources` folder: your clothing resource, and also its thumbnails resource and `dct_inspector` if this build made them.
2. Add an `ensure` line for each of them to your `server.cfg`, then restart the server. The install note lists these lines, and the Build finished page copies them for you when the build includes the [Clothing Inspector](https://docs.gta.clothing/how-to-guides/set-up-the-clothing-inspector-on-your-fivem-server.md).
3. Keep each folder exactly as built. Models and textures are in `stream_enhanced`, which is the folder FiveM Enhanced loads. Do not add a `stream` folder: FiveM Enhanced does not need one, and a resource with both folders can fail to start.
4. Server requirements (Cfx, 13 November 2026): a server license key with a subscription, and MapDataStore raised by one for each clothing YMT. Run the latest cfx-server build. No manifest line is needed, players install nothing, and FiveM Enhanced runs only the newest game build that Cfx supports.

{% hint style="warning" %}
**Known issue (Cfx, 2026-11-13).** Cfx's FiveM Enhanced patch of 11 November 2026 loads add-on clothing again, with around 256 slots ([citizenfx/rfc discussion 627](https://github.com/citizenfx/rfc/discussions/627)). Some players still reported crashes after it, for example with male and female clothing loaded together ([citizenfx/rfc discussion 331](https://github.com/citizenfx/rfc/discussions/331)).
{% endhint %}

If your players crash at about three quarters of the loading screen, check the server requirements in step 4, then stop the clothing resource, or build the project for FiveM Legacy instead, which loads add-on clothing today. Replacing the game's own clothes is not a way around it: Durty Cloth Tool builds FiveM Enhanced as add-on only, and Cfx confirmed that replacements of the game's clothes do not load reliably on FiveM Enhanced yet.

## Deploy and test

Copy the **complete generated resource set** to the server and start every generated resource through your normal FiveM configuration. A split build is one logical pack even when DCT outputs several folders. Leaving out one part can make clothing or its supporting files unavailable.

Join with a **FiveM Enhanced client** on the server's intended game build. Check male and female clothing that you included, props, multiple texture variations and a saved outfit. Move the ped, change camera distance and inspect unusual materials or cloth physics. Confirm the same outfit again after a reconnect or restart. A successful local build and preview do not prove the server has loaded every resource.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-af2621cabc6247e2e2f057d16e34abe84e8b6c91%2Fbuild-poster.webp?alt=media" alt="The Build Project window after a completed build: Build complete for four resources, with the build steps and the resources forgestudio and forgestudio_assets2 to forgestudio_assets4 listed."><figcaption><p>Deploy every folder in the completed build, then test in the target game.</p></figcaption></figure>

## If the result is incomplete

* **An item says Enhanced-only on a Legacy build:** Build and test it as Enhanced, or use DCT's supported conversion workflow and review the Legacy result. Do not assume a Legacy version can always be made without losing information.
* **Build Project refuses a replacement or escrow pack:** Use an addon project without that active content for Enhanced. The [Asset Escrow guide](https://docs.gta.clothing/how-to-guides/use-asset-escrow-clothing.md) covers the supported Legacy workflow.
* **Build Project says a drawable uses a material FiveM Enhanced does not have:** DCT checks this before it changes the output folder and names the drawable, which of its models and the material. Give the parts that use that material another one in your 3D editor and bring the model back with **Replace** in the item's context menu, or choose **Build for FiveM Legacy**. Clothing with cutout (see-through) edges from the [3D model import](https://docs.gta.clothing/basics/useful-to-know/import-and-export-formats.md#id-3d-model-import-experimental) builds with the game's own cutout material, for Enhanced and for every other target, also when you added it before; check its edges in game.
* **Clothing is missing on the server:** Check that the complete generated set was copied and started, the client really uses Enhanced, and the selected target build matches your server. Then inspect the Build Project result and Error List.
* **It looks different in game:** Verify the specific model, texture and material in the 3D Preview, then test the item on the target client again. The preview is a preparation aid, not a game acceptance test.

See [Testing Addon Clothes](https://docs.gta.clothing/getting-started/testing-addon-clothes.md) for a broader in-game checklist.
