# First Cloth Resource

## Introduction

Durty Cloth Tool is an extensive tool allowing users to create add-on clothing packs for alt:V, FiveM, Singleplayer and RageMP.

{% hint style="info" %}
**Durty Cloth Tool is a Subscription based licensed Software Tool.** It is actively maintained and supported, please be aware an active Subscription is needed to use this powerful tool in its full glory. Head to [#buying-a-license](https://docs.gta.clothing/license-activation#buying-a-license "mention") for more details.
{% endhint %}

![Short Durty Cloth Tool demo](https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FRgB32O8dTQxEHU1hm1Af%2Fmain_video.gif?alt=media\&token=7a9e1a1f-9e95-4817-82f8-c3610c190517)

{% hint style="warning" %}
**Make sure to have Durty Cloth Tool installed and running before continuing** with this article, see [quickstart](https://docs.gta.clothing/getting-started/quickstart "mention") for a quick guide on how to Download, Install & Start Durty Cloth Tool.
{% endhint %}

{% hint style="info" %}
**If you have an active Durty Cloth Tool Subscription**, before starting, please see [license-activation](https://docs.gta.clothing/getting-started/license-activation "mention") in order to run DCT in fully licensed mode.
{% endhint %}

### Looking for a Video instead?

We can recommend this (meanwhile a little bit outdated) Video on How to Get Started with Durty Cloth Tool!

{% embed url="<https://www.youtube.com/watch?v=MlMMp9maTu8>" %}
(Outdated) Video covering the basics of Durty Cloth Tool and How to Get Started
{% endembed %}

## 1. Creating your first Cloth Project

The first screen you should see is the tool running with a newly created, empty, clothes project. Before we start to add clothes to your cloth project, we will need to finish setting up the project and save it somewhere.

{% hint style="info" %}
See our article about the [user-interface](https://docs.gta.clothing/basics/essential-knowledge/user-interface "mention") for more information.
{% endhint %}

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2F3AbfAUpKbgwbNRCiSgWp%2Fimage.png?alt=media&#x26;token=b166bc4a-bc25-442e-bbd5-0a0f3e2cfd60" alt=""><figcaption><p>Durty Cloth Tool with an empty / new Project</p></figcaption></figure>

**Open the Project Settings** by clicking on "**⚙️Settings**" in the bottom right of the application. This will open the Project Settings window where we will have to define the following required fields:

* **Project Name**\
  Enter a simple desired name for this cloth project
* **DLC Name**\
  Setting Project Name will automatically set the DLC Name too, you can keep it that way in most cases
* **Project Output / Save Folder**\
  This is the folder where your Cloth Project with all its data will be stored, choose wisely

{% hint style="info" %}
See our article about the [durty-cloth-projects](https://docs.gta.clothing/basics/useful-to-know/durty-cloth-projects "mention") for more information regarding the Durty Cloth Project format and [app-and-project-settings](https://docs.gta.clothing/basics/good-to-know/app-and-project-settings "mention") for detailed explanations regarding all available settings.
{% endhint %}

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FC95r1qu1dF0SKykAvwye%2Fimage.png?alt=media&#x26;token=b567ad21-e4f8-4320-81b9-4f0c2311e176" alt=""><figcaption><p>Durty Cloth Tool Project Settings Window</p></figcaption></figure>

If you have done setting up your Cloth Project, you can **go ahead and quickly save it** in order to be able to continue working on it at some later point.

{% hint style="info" %}
It is considered as best practice to keep the .dctproject file near the Project Output folder, for example on the same directory level as the `clothproject_` folder of your Cloth Project.
{% endhint %}

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FOvwvOYwDxo2mZ1aime5h%2Fimage.png?alt=media&#x26;token=cabb0cac-a81f-43d2-a7a0-c0fd8858ec56" alt=""><figcaption><p>Durty Cloth Tool Project Save dropdown</p></figcaption></figure>

Congratulations, you have finished setting up your first Cloth Project 🥳. In the next steps we will continue by adding our first clothes to it 👕

## 2. Adding Clothes to your Cloth Project

Before adding clothes to your Cloth Project, we will quickly have to cover what exactly we consider a Cloth:

* **YDD File** (Drawable) is the game file format that holds cloth model information, **basically an untextured model of the cloth** you are adding.
* **YTD File** (Texture) is the game file format that holds texture information, **basically a texture variation of the cloth** you are adding.

{% hint style="info" %}
See our article about [drawable-types-and-textures](https://docs.gta.clothing/game-mechanics/drawable-types-and-textures "mention") for more information.
{% endhint %}

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FH0aRs0kOXQKKtrjb7buD%2Fimage.png?alt=media&#x26;token=f37015bc-53ac-4e19-a700-2bd11b78b47f" alt=""><figcaption><p>Durty Cloth Tool Options for adding clothes</p></figcaption></figure>

Durty Cloth Tool offers many options for adding either male or female clothes to your cloth project. We will quickly cover them:

* :card\_box: **Import package**, the most easy way to get clothes added. Imports `*.dctpackage` files which contain all information related to one or multiple clothes. See [import-and-export-formats](https://docs.gta.clothing/basics/useful-to-know/import-and-export-formats "mention") for more details.
* :transgender\_symbol: **Add**, offers various methods to add clothes where the target gender will be automatically resolved.
* :man: **Add Male**, offers various methods to add specifically male clothes. Useful in cases where Add method is not able to determine the target gender automatically.
* :woman: **Add Female**, offers various methods to add specifically female clothes. Useful in cases where Add method is not able to determine the target gender automatically.

{% hint style="info" %}
In most cases ':transgender\_symbol: Add > :open\_file\_folder: Add from folder(s)' should be the best option as it should be able to automatically detect most of the information needed by the file names.
{% endhint %}

{% hint style="warning" %}
You will **require cloth files (YDD & YTD) in order to continue**. \
\
We **suggest to** [**check out Forge Hub**](https://forge.plebmasters.de/hub/Cloth)**, our GTA V Content publishing platform**. It features lots of free clothes from amazing creators.
{% endhint %}

In our test we will continue by downloading a simple female dress by Quixotic on Forge Hub: <https://forge.plebmasters.de/hub/Cloth/1680/dione_dress>

When downloaded and extracted it should contain a bunch of YDD and YTD files like this.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FxVFOXjRPpbuREp0a9QhJ%2Fimage.png?alt=media&#x26;token=b45c6c36-5ec6-4ab1-ae81-d9608914faae" alt=""><figcaption><p>Downloaded and extracted cloth files</p></figcaption></figure>

As you can see these file names don't contain any gender / ped name, this is why we have to select any of the options from the ":woman: **Add Female**" dropdown. In this case we will choose ":woman: **Add Female >** :open\_file\_folder: **Add from folder(s)**".

{% hint style="info" %}
See our article about [auto-cloth-data-resolving](https://docs.gta.clothing/basics/good-to-know/auto-cloth-data-resolving "mention") to better understand how Durty Cloth Tool automatically helps you resolve cloth information.
{% endhint %}

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FobCetsxWdNVnEbUijvKD%2FDCT-AddClothes.gif?alt=media&#x26;token=42ddbf91-c06a-496d-bee2-beced6e033c3" alt=""><figcaption><p>Adding female clothes in Durty Cloth Tool</p></figcaption></figure>

{% hint style="info" %}
**When adding High Heels or Clothes that support the Cut Hairs option (Hats, Masks etc)** on the right side for hairs, you can read [high-heels](https://docs.gta.clothing/basics/essential-knowledge/high-heels "mention") and [cutting-hairs](https://docs.gta.clothing/basics/essential-knowledge/cutting-hairs "mention") to find out how to configure these specifically.
{% endhint %}

{% hint style="info" %}
If you have licensed DCT Version you can **make full use of our 3D Preview feature** in order to see your added clothes in much more detail. See this article for more information: [3d-preview-clothes](https://docs.gta.clothing/basics/essential-knowledge/3d-preview-clothes "mention")
{% endhint %}

{% hint style="info" %}
**Your added clothes got a ❗** :bulb: **or other icon in front of it**? In this case Durty Cloth Tool automatically recognized an issue with the added cloth or has some useful information for you about it, see our article about [cloth-analysis-report](https://docs.gta.clothing/basics/essential-knowledge/cloth-analysis-report "mention") for more information.
{% endhint %}

## 3. Building your Cloth Project to a Cloth Resource

If you have finished adding clothes and made sure you are happy with the options, you can open the build window to generate your desired GTA 5 addon cloth resource output.

Select your target resource type / platform, give your cloth pack collection a unique (short)name and select the output directory of your addon pack.

{% hint style="info" %}
See our article about [build-options](https://docs.gta.clothing/basics/essential-knowledge/build-options "mention") for more information.
{% endhint %}

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FsZqI8JMMZWLS9eopZEbg%2Fimage.png?alt=media&#x26;token=c43bb070-3cc8-4737-9b6f-8826a085b0a7" alt=""><figcaption><p>Durty Cloth Tool Project Build Window</p></figcaption></figure>

Pressing "**Build**" should end up creating your addon cloth resource at the selected output location. From here on you can take these files and copy it to your desired server resources folder.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FRGzuHpDraU3L0jaGPcwL%2Fimage.png?alt=media&#x26;token=dbdd9311-37d7-448f-b367-3c3c64c5e97b" alt=""><figcaption><p>Successfully built Durty Cloth Tool Project</p></figcaption></figure>

## 4. Profit

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2FrToQ5XLGMp5EFHiCT8Ei%2F4c62b8664b2aa5d5c16e080936e52a88.gif?alt=media&#x26;token=e922bed1-8cbb-4ce3-98f5-a15c6c4dcef5" alt=""><figcaption></figcaption></figure>

You just created your first GTA 5 addon cloth resource yaaayyy!&#x20;

{% hint style="success" %}
**Make sure to always save your project** using the "File > Save" menu item, so you can always continue working on your GTA 5 addon cloth pack by adding, removing or replacing files.
{% endhint %}

Lets continue by testing your newly created GTA 5 addon cloth resource! Click on one of the cards below to continue. See you there 🚀

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Test your addon clothes</strong></td><td>See how to easily test your Addon Clothes 🧪</td><td><a href="testing-addon-clothes">testing-addon-clothes</a></td></tr><tr><td><strong>Dig into DCT Essential Knowledge</strong></td><td>Learn how to benefit from our powerful features 👕</td><td><a href="../basics/essential-knowledge">essential-knowledge</a></td></tr><tr><td><strong>Dive deeper</strong></td><td>Discover GTA V clothing game mechanics</td><td><a href="../game-mechanics">game-mechanics</a></td></tr></tbody></table>

#### Alternatively we can recommend this (meanwhile a little bit outdated) In Depth Guide to Durty Cloth Tool by Onslaught

{% embed url="<https://www.youtube.com/watch?v=ba86DBN396k>" %}
Video covering some of the more advanced topics in Durty Cloth Tool
{% endembed %}
