> 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/getting-started/testing-addon-clothes.md).

# Testing Addon Clothes

## How To Test Add-On Cloth Resources 👕

Testing your add-on cloth resources **should always happen in a clean environment**. This means that you should ideally not run any other mods or server resources other than what is ***needed*** to test your new clothes.

Depending on the type of add-on resource, this can be different.

Add-on clothing items will **usually** appear at the end of clothing scripts such as Menyoo or vMenu. Menus can sort, filter or cache clothing differently, so this is not guaranteed. If you are struggling to find them, please reach out to the respective script creators, as we cannot guarantee support for each and every script.

{% hint style="info" %}
Please keep in mind this article is currently work in progress and will be enhanced further (with screenshots etc) in the future.
{% endhint %}

### Testing On alt:V

* Download and setup a clean alt:V [server](https://altv.mp/#/downloads). See the docs for more information regarding [setting up a windows server](https://wiki.altv.mp/wiki/Tutorial:Setup_Windows_Server).
* Download alt:V [Better Clothing Menu](https://github.com/LeCyreaxYT/altv-better-clothing) and put it in your **server / resources folder.** Make sure to add the resource name to the server.cfg file
* Move the Durty Cloth Tool generated add-on generated resources to your server/resources folder Add yourclothtoolresourcename (Should be named like your cloth collection, visible in the build window) to your server.cfg as a seperate line below resources: \[ and before the enclosing ]

Your server.cfg resources configuration could look similar to this:

```
resources: [
  altv-better-clothing,
  newclothes1
  newclothes2
  newclothes3
]
```

The order in which you add your clothing to your server.cfg will usually influence the order it appears *after* the Grand Theft Auto Online clothing. We can of course rearrange our clothing resources to our own preference, such as newclothes2, 1 then 3. The menu may apply its own ordering.

* Start your server and connect to it (localhost)
* Once in your server, press `F6` to open the cloth menu and browse through your newly added clothing.

**They are usually added to the end of the list.**

### Testing On FiveM

{% hint style="danger" %}

#### Please ensure your server has the required custom clothing subscription in the [Cfx.re Portal](https://portal.cfx.re/).

#### The Portal shows the current entitlement for your server key and configured player slots. Without the required entitlement, custom clothes may not appear in-game.

{% endhint %}

{% hint style="info" %}
Alternatively, for an isolated test, you can set your player slots to 10 in your txAdmin or server.cfg. If clothing works there but not with your production configuration, check your server key's current entitlement in the Cfx.re Portal.

*Please refer to their forums on how to do this as we cannot provide support for each and every platform.*
{% endhint %}

* Download and setup a clean [FiveM server](https://docs.fivem.net/docs/server-manual/setting-up-a-server/)
* Download [vMenu](https://github.com/TomGrobbe/vMenu/releases) and place it within your server/resources folder

\*See detailed installation and permission steps [here](https://docs.vespura.com/vmenu/installation/#installation-steps).

* Move the Durty Cloth Tool generated add-on resource to your server / resources folder
* Add `ensure yourclothtoolresourcename` (Should be named like your cloth collection, visible in the build window) to your [server.cfg](https://docs.fivem.net/docs/server-manual/setting-up-a-server-vanilla/#servercfg)
* Start your server and connect to it (localhost)
* Press `M` on your keyboard to open the menu and browse through your newly added clothes. They are usually added to the end or last DLC clothes.

The order in which you add your clothing resources to your server.cfg can influence the order it appears in your clothing menu scripts, usually *after* the original Grand Theft Auto Online clothing. For example;

```cfg
ensure ClothPack4
ensure ClothPack2
ensure ClothPack1
ensure ClothPack3
```

In the example above, we would have 4 clothing packs, however in the order of 4, 2, 1, and 3. We can of course rearrange this to our own preference.

*Please note that we can not provide support for other clothing menus.*

### Testing on Singleplayer

* Download and install **OpenIV** (<https://openiv.com/>)
* Open **OpenIV ASI Manager** and install **ASI Loader & OpenIV.ASI**
  * This allows for loading additional singleplayer mods without editing the original game
  * See the official tutorial by OpenIV regarding this [here](https://openiv.com/?p=1132)
* There now should be a **mods folder** in your games directory. If not, it is highly recommended that you create one. Once you have done so, open this directory.
* Move the by Durty Cloth Tool generated `dlc.rpf` file to this sub folder of your mods folder: `mods/update/x64/dlcpacks` (Create it if its not there)
* In order to make the game load this new dlc.rpf file, we need to modify the games dlclist.xml, this can be done by searching for dlclist.xml using OpenIV and copying it to your mods folder: `mods/update/update.rpf/common/data` (Create it if its not there)
* Edit the last entry of your dlclist.xml file and make sure to add a similar entry with the name of your addon cloth resource (DLC name you have configured in your project settings in Durty Cloth Tool)

```xml
<Item>dlcpacks:/clothpacknew/</Item>
```

Much like in our alt:V and FiveM examples above, the order in `dlclist.xml` can influence the order of your add-on clothing, which will usually appear *after* the default Grand Theft Auto Online clothing;

```xml
<Item>dlcpacks:/clothpacknew/</Item>
<Item>dlcpacks:/clothpacknew3/</Item>
<Item>dlcpacks:/clothpacknew2/</Item>
```

* To apply the new clothes you will need some mod menu, suggested ones are:
  * Menyoo 2.0: [GitHub](https://github.com/itsjustcurtis/MenyooSP/releases), [5mods](https://www.gta5-mods.com/scripts/menyoo-2-0)
  * [Character Menu](https://gta5-mods.com/scripts/charactermenu)
  * *(Please see related installation guides there)*

## Notes

{% hint style="warning" %}
**It is crucial that you are aware of the YMT limits within the game. This can differ depending on the version of your gamebuild.**

Please refer to the [Game Limits and Crashes](/game-mechanics/game-limits-and-crashes.md) page for more information regarding this.
{% endhint %}

{% hint style="info" %}
It is also recommended that your packs are in lowercase, for example `myclothpack1` rather than `MyClothPack1`. It has been reported that uppercase clothing files can / may cause issues.
{% endhint %}
