# 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 [License Activation](/getting-started/license-activation.md#buying-a-license) for more details.
{% endhint %}

![Short Durty Cloth Tool demo](/files/CGJF5HaANv64xnQngp7G)

{% hint style="warning" %}
**Make sure to have Durty Cloth Tool installed and running before continuing** with this article, see [Quickstart](/getting-started/quickstart.md) 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](/getting-started/license-activation.md) 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](/basics/essential-knowledge/user-interface.md) for more information.
{% endhint %}

<figure><img src="/files/8INnIot0fYfNWU7SC0DK" 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](/basics/useful-to-know/durty-cloth-projects.md) for more information regarding the Durty Cloth Project format and [App & Project Settings](/basics/good-to-know/app-and-project-settings.md) for detailed explanations regarding all available settings.
{% endhint %}

<figure><img src="/files/nqKua856dRUy3zrRoIh2" 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="/files/SLEUfjd3Arn9AQKRGBrc" 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 & Textures](/game-mechanics/drawable-types-and-textures.md) for more information.
{% endhint %}

<figure><img src="/files/UCLEVg7LqBLSdLLz4L1f" 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 & Export Formats](/basics/useful-to-know/import-and-export-formats.md) 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="/files/iYMDLqDOWYZHbRDPcC6I" 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](/basics/good-to-know/auto-cloth-data-resolving.md) to better understand how Durty Cloth Tool automatically helps you resolve cloth information.
{% endhint %}

<figure><img src="/files/WTmDRRSGLs6SH2QV45Bt" 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](/basics/essential-knowledge/high-heels.md) and [Cutting Hairs](/basics/essential-knowledge/cutting-hairs.md) 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 Previewing Clothes](/basics/essential-knowledge/3d-preview-clothes.md)
{% 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](/basics/essential-knowledge/cloth-analysis-report.md) 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](/basics/essential-knowledge/build-options.md) for more information.
{% endhint %}

<figure><img src="/files/JHTTWHeBmv600rG0OBAc" 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="/files/FAGpYkhDQFgi6HLJfDTg" alt=""><figcaption><p>Successfully built Durty Cloth Tool Project</p></figcaption></figure>

## 4. Profit

<figure><img src="/files/g1qUGmSWqxQNiK3RJFxy" 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="/pages/BIydFVbCJc0wJhesUDPm">/pages/BIydFVbCJc0wJhesUDPm</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="/pages/ckTAa7xq7gdtSMTmig4a">/pages/ckTAa7xq7gdtSMTmig4a</a></td></tr><tr><td><strong>Dive deeper</strong></td><td>Discover GTA V clothing game mechanics</td><td><a href="/pages/tDXVn492AmLovxFtlTsF">/pages/tDXVn492AmLovxFtlTsF</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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gta.clothing/getting-started/first-cloth-resource.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
