> 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/essential-knowledge/cloth-analysis-report.md). Agents can also search and read this documentation through its [MCP server](https://docs.gta.clothing/~gitbook/mcp).

# Cloth Analysis Report

Learn about our Information, Warnings and Errors

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-8ae7b577423fa6b8647be2653d64e8374471726d%2Fanalysis-poster.webp?alt=media" alt="Review findings in the Error List."><figcaption><p>Review findings in the Error List.</p></figcaption></figure>

## Introduction

The **Cloth Analysis Report** in Durty Cloth Tool (DCT) is an essential feature designed to help developers analyze their clothing resources for potential issues, optimizations, and overall quality. The tool automatically generates error, warning, and informational messages to assist users in maintaining high standards of quality and compatibility for their clothing assets.

This documentation will cover:

* **Cloth Analysis Report** overview and purpose
* The **Error List** window and how it works
* Explanation of the different types of messages: **Errors**, **Warnings**, and **Information**
* How these messages are integrated into the tool’s **drawables list**

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-2f6745d7dd48c1b981b23449a5db24d974373fea%2Fanalysing_clothes.png?alt=media" alt="The appearance item list with a warning sign on Female 1 shoes and its tooltip: high heels are on, but the shoe is not rigged for them, so it floats or sinks instead of standing on its heel. Rig as high heel fixes it."><figcaption><p>Durty Cloth Tool Errors, Warnings and Information in Appearance List</p></figcaption></figure>

## Purpose

The **Cloth Analysis Report** ensures that all clothing resources are thoroughly reviewed and optimized before being finalized and used in the game. This analysis helps identify:

* **Potential Issues**: Such as missing or conflicting data in the drawable models or textures.
* **Performance Optimizations**: Opportunities to reduce texture sizes or fix polygon counts.
* **Warnings**: Areas where improvements are suggested, even if they aren’t critical issues.

This reporting system allows modders, developers and content creators to ensure their clothing resources are not only functional but also optimized for the best possible performance, especially in multiplayer environments where efficiency is key.

## The Error List Window

The **Error List Window** is where users can view and manage all the reported issues and suggestions from the Cloth Analysis. It offers a centralized view of all **Errors**, **Warnings**, and **Information** messages across the current project.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-fc8a884f32b8fe2ccd5dbf31253e0b835e070755%2Ferror-list-grouped.png?alt=media" alt="The Error List with all levels shown, 1 error, 2 warnings and 9 messages: the warning High heels without a heel rig on Female 1 shoes with its Fix Rig as high heel, and the messages of Female 2 earrings grouped under the item, each with Optimize model."><figcaption><p>The Error List groups the findings of each item and shows the Fix for each one</p></figcaption></figure>

### Key Features of the Error List Window:

* **Type**: Each message is categorized by its severity with clear icons to distinguish between **Errors**, **Warnings**, and **Informational** messages.
* **Filtering**: Users can filter the messages based on type, such as viewing only Errors or only Warnings by clicking on the related type icon in the top section. A type you turned off says how many findings it hides, for example **3 errors (hidden)**. Search terms and filters stay in your local settings for each project.
* **Sorting:** Easily sort messages by their severity (Level), Code, Description and more
* **Search:** Quickly search thru all messages to find issues of a specific item by typing in the **Search findings** box beside the type buttons, or press **Ctrl+F** to go to it. Choose which columns to show with the columns button at the right end of the same row.
* **Grouping:** Appearance items with two or more findings have an expandable header. A single finding stays on its own labeled row.
* **Details**: Each row holds all related details about the issue, often with specific references to the problematic cloth drawable or texture.
* **Jump to Location**: By double clicking you can simply jump to the related item to take further actions.
* **Thumbnails**: Findings can show the related cloth or texture thumbnail, so you recognise the item without opening it.
* **Quick actions**: Use the action beside a finding to open the relevant optimizer, replace a source or companion file, add a texture, or review the related settings. Review and inspection actions help you investigate; they do not automatically change the item. Point at a **Fix** to read what it does before you click: it opens a tool where nothing changes until you run or save there, changes only the project's settings or data, or rewrites the stored files after you confirm and keeps a restore point in **Backups & History**. A small file mark on the **Fix** button shows a fix that rewrites files.
* **Compare texture...**: In the right-click menu of a texture finding, it shows the finding's variation next to its earlier version that Project History keeps, or next to another variation when there is none, with linked zoom and pan. See [Compare textures](https://docs.gta.clothing/basics/essential-knowledge/user-interface.md#compare-textures).
* **In game**: Every finding also says what it means in game, in a line that starts with **In game:**. For a texture without mip maps, for example, it says the cloth may shimmer, flicker or look grainy from a distance. The line shows in the finding's tooltip in the Error List, under the finding on the item's **Findings** tab and under the selected rule in **Project Settings**.
* **Copy and export**: Copied and exported findings keep the item they belong to.
* **Ignore reviewed findings**: Ignore one finding for an item or texture variation, or ignore that rule for the same target. The choice is saved with the project. Ignored rows are hidden by default and can be revealed and restored from the Error List. Errors that would make the pack differ from the item list, such as a missing or unreadable file, cannot be ignored: fix them or leave the item out of the build, for example with **Build without these items** for one build ([Build Options](https://docs.gta.clothing/basics/essential-knowledge/build-options.md#build-button), [Review and tune project findings](https://docs.gta.clothing/how-to-guides/review-and-tune-project-findings.md)).

### Understanding groups

An appearance item with two or more findings has a header showing its name, finding count and severity summary. A right-pointing arrow means collapsed; a down-pointing arrow means expanded. Click the header to toggle it. A single finding stays on its own labeled row, and filtered groups show visible/total counts.

Use **Expand all** or **Collapse all** from the Error List actions menu. Changing the search expands matching groups temporarily; clearing it restores your previous expansion choices. Copying or exporting filtered findings includes findings inside collapsed groups.

## Error Types

* :exclamation: **Errors**: These are critical issues that prevent a drawable or resource from functioning properly. Errors often result from missing files, broken links between models and textures, or invalid file formats. Errors **must** be resolved before the cloth resource can be built and used correctly in the game.
* :warning: **Warnings**: Warnings are less severe than errors but indicate potential problems that could lead to suboptimal performance or unintended behavior. For example, a drawable may have an excessively high polygon count, or a texture may not be optimized. While the resource may still function, addressing warnings can improve the quality and performance of your cloth resource.
* :bulb: **Information**: These are general messages that provide useful insights about your resources but don’t require immediate action. For example, a message might inform you that a drawable has an unused material that could be cleaned up. Information helps keep your project organized and clean but does not impact functionality.

## Error List Integration with Drawables List

In addition to the **Error List Window**, DCT provides real-time feedback directly within the **Drawables List** itself. This means that when a drawable (such as a piece of clothing) has an issue, it will be flagged in the drawables list with a corresponding icon to indicate whether it has errors, warnings, or informational messages.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-f2c90ad6c37683427f48c6636e7b57163ca741bb%2Fimage.png?alt=media" alt="The appearance item list with a warning sign on Female 1 shoes and the Hoodie greyed out with a blocked sign, New and Left out of the build: no textures."><figcaption><p>Durty Cloth Tool Errors, Warnings and Information in Appearance List</p></figcaption></figure>

Click an item’s error, warning or information indicator to open its **Findings** tab in the details panel. It groups the findings of the drawable and its texture variations, explains what each one means for the build and offers the tool that fixes it. When several findings can be fixed by the same optimizer, one button opens that tool with all of them planned. Clicking a variation’s indicator scrolls to that variation’s findings. To work in the Error List instead, choose **Show findings in Error List** in the item’s context menu. The scope above the list names the item; choose **Show all items** to return to the full list. Severity controls and search continue to work within that scope. For a step by step way through a large project's findings, see [Review and Tune Project Findings](https://docs.gta.clothing/how-to-guides/review-and-tune-project-findings.md).

### Error Reporting in Drawables List

Each item in DCT is monitored for various issues and possible improvements, here are just some examples:

1. **Missing Data**: If a drawable is missing essential elements like textures or models, it will trigger an error.
2. **High Polygon Counts**: DCT warns when a level reaches its configured triangle budget. New projects use 30,000 High, 15,000 Medium and 7,500 Low triangles by default; existing project settings stay unchanged. These are adjustable performance guidelines, not hard game-format limits. The [Model Optimizer](https://docs.gta.clothing/basics/essential-knowledge/model-optimizer.md) uses the same budgets in Automatic mode.
3. **Texture Issues**: If a texture is too large or in an incompatible format, this will be flagged as a warning or error.
4. **LOD Mismatch**: If there is an inconsistency in the levels of detail (LOD) between the different levels of the model, it could generate a warning.
5. **Naming Conflicts**: Duplicate names for drawables of the same type or category can result in conflicts. The tool will warn you when multiple items share the same name or identifier.

A **Wasted UV space** finding shows how much of the texture the clothing uses and how much space the UV optimizer can reclaim. **Fix** opens the [Texture Optimizer](https://docs.gta.clothing/basics/essential-knowledge/texture-optimizer.md) for that drawable. After optimizing, the finding clears when there is no further worthwhile saving, even if the finished texture still contains some empty space.

By providing real-time feedback in the **Drawables List**, users can immediately identify where an issue exists and begin fixing it without needing to manually review each drawable. The icons next to each item will indicate its status, allowing users to prioritize their work.

### Clothing compatibility findings

Alongside the size and quality checks above, DCT reports compatibility findings and points to the relevant repair or review tools:

* **Invalid freemode rig**: the model's weights or bone links are broken in at least one LOD, so it cannot follow the freemode body correctly. The **Rig to freemode body** action (Ultimate) re-rigs clothing from the stock body; see [Rigging and Weight Painting](https://docs.gta.clothing/cloth-modding/rigging-and-weight-painting.md#let-durty-cloth-tool-transfer-the-weights).
* **Single-bone cloth rig**: a top, body, legs, shoes or undershirt whose skin weight sits almost entirely on one bone moves as one rigid piece instead of following the body and looks static or floats in game. You can change the share that counts as "almost entirely" (95% by default) under **Share of skin weight on one bone (%)** for this rule in **Project Settings > Warnings and Validations**. The finding names the LOD, the share and the bone. The **Rig to freemode body** action (Ultimate) gives it the weights of the stock body for you; otherwise rig the model to the freemode skeleton and replace the source. Armor, bags, accessories, decals, masks, hair and props are not checked because rigid bindings are normal there.
* **High heels without a heel rig**: **High heels** is on, but the High LOD carries no weight on one or more of the four heel bones (`EO_L_Foot`, `EO_L_Toe`, `EO_R_Foot`, `EO_R_Toe`), so the heel pose cannot move the shoe. A warning by default that names the missing bones. The **Rig as high heel** action (Ultimate) adds the rig for you; see [High Heels](https://docs.gta.clothing/basics/essential-knowledge/high-heels.md) and [Rigging and Weight Painting](https://docs.gta.clothing/cloth-modding/rigging-and-weight-painting.md#high-heel-rig).
* **Heel rig with high heels off**: the shoe is weighted like a heel but the option is off. The **Enable high heels** action switches it on. Newly imported shoes with the complete rig enable the option automatically, without changing the heel height.
* **Hair cannot be cut by hats**: a hair with no weight on `MH_Hair_Scale` or `MH_Hair_Crown` stays unchanged under hats that cut or hide hair. Informational by default, because very short cuts need no hair scaling. The **Make hair cuttable** action (Ultimate) adds the weights for you; see [Cutting Hairs](https://docs.gta.clothing/basics/essential-knowledge/cutting-hairs.md).
* **Hair without colour support**: hair drawables warn when their recognized materials do not support in-game hair colour rendering.
* **Invalid Shader Use**: a part of the cloth uses a shader that is not a ped shader (a ped shader's name starts with `ped`; `default` is accepted too), so it may show up invisible, unlit or in the wrong colours on the ped. A warning by default. Set a ped shader on that part in Blender or your 3D tool, export again and use **Replace source…**; the Material Editor shows each part's shader but cannot change it.
* **Unknown shader**: DCT does not know the shader of a part, so it cannot tell whether it is a ped shader. The note names the shader's hash, such as `hash_0BADF00D`, so you can find that part's material in your 3D tool. It has no fix, because the shader may be valid. Both shader checks cover freemode projects only.
* **Name suggests the other gender** and **Name suggests another slot**: a cloth's name, or its model's original file name, says something other than where it sits. A model named `mp_f_…` among the male clothing (or `mp_m_…` among the female clothing), or a name such as `lowr_000_u` among the tops, gets a note, typically after you change its gender or type, move it or import it. The note names the name and what it says. The build always uses the gender and type the item list shows, so either move the cloth or rename it. Both are information by default and have no fix; turn either off for this rule in **Project Settings > Warnings and Validations**. The gender note covers freemode projects only.
* **Wasted UV space**: meshes sample only a small part of a large texture. Fix it with the UV crop in [Texture Optimizer](https://docs.gta.clothing/basics/essential-knowledge/texture-optimizer.md).
* **Dark areas carry a colour cast**: the blacks and dark greys of a texture variation all lean towards one colour, such as greenish blacks or purple shadows, so they can look tinted in game, most of all in shadow. The finding names the colour and its strength. Dark cloth that is meant to be navy, olive or brown is left alone. It is information by default and never stops a build. Use **Compare texture...** first if the tint might be intended; **Fix** opens the Texture Optimizer, which neutralises only those dark pixels. It is not part of **Fix safe findings**. See [Colour casts in dark areas](https://docs.gta.clothing/basics/essential-knowledge/texture-optimizer.md#colour-casts-in-dark-areas).
* **Missing normal or specular map**: fix it with [Normal & Specular Maps](https://docs.gta.clothing/basics/good-to-know/normal-and-specular-maps.md).
* **Wind movement on the whole model**: the whole cloth sways in game because every part of the mesh carries full wind movement, usually left behind by the exporter's vertex colour setup. GTA V's own clothing keeps it off. The **Turn off wind movement** action switches it off with a Project History restore point. Clothing painted to sway only in some areas is not flagged. See [Vertex Colors](https://docs.gta.clothing/cloth-modding/vertex-colors.md).
* **Missing or unusable shading data** and **unusable UV coordinates**: the model looks dark, patchy or wrongly lit, usually because the exporter wrote broken normals or tangents, left collapsed triangles behind or produced unreadable UV coordinates. The **Clean up model** action repairs it without a round trip through Blender: it merges duplicate vertices, removes collapsed triangles and rebuilds the broken normals, tangents and UV coordinates, and it shows what will change before anything is written. **Merge vertices by distance** and **Recalculate all normals** work like the Blender operations of the same name. A Project History restore point keeps the original. You can also run it on any drawable from **Optimize and repair** in the right-click menu (or press **Ctrl+K** and paste `>Clean up model`). A model that has no UV coordinates at all still needs a new export.
* **Duplicated vertices**: many vertices of the model repeat each other exactly, as 3ds Max and ZModeler exports without welded vertices often leave them. The cloth looks the same, but the model is larger than it needs to be, so it takes more memory and streams more data. A warning by default, reported when at least 10% of the vertices repeat; you can change that share under **Repeated vertices in percent** for this rule in **Project Settings > Warnings and Validations**. **Fix** opens **Clean up model**, which merges them without changing the look. Clothing with a mesh physics file is not checked.
* **Decal lying on the skin**: a decal whose model lies on the body's skin or just under it, such as a full-body tattoo made from a copy of the freemode body, is hidden by the skin in patches. The 3D preview and its screenshots show it with skin between the patches, which can flicker as the ped moves, and the game is likely to show the same. A warning by default, reported when at least 50% of the decal lies within 1 mm of the skin or under it; you can change that share under **Share of the decal on the skin (%)** for this rule in **Project Settings > Warnings and Validations**. The check needs the freemode body from your GTA V files, so the finding appears only once DCT has read them, for example after you open the 3D preview. A project without a GTA V folder never shows it, and custom ped projects are not checked. The **Lift off the skin** action moves the parts of the decal that lie on the skin 2 mm out on every detail level after you confirm, with a Project History restore point that keeps the original. Parts that already stand off the body keep their place, and the decal's material is not changed. Check the result in game. Alternatively, lift the decal 1 to 2 mm off the body in Blender, preferably with a `ped_decal` shader, and replace the source, or make the tattoo as a tattoo design instead (see [Tattoos & Overlays](https://docs.gta.clothing/tattoos-makeup-and-overlays/addon-tattoos.md)).
* **Broken models and textures**: files that can make clothing invisible, untextured or fail to load in game, each named with what it means there. They are errors by default and stop a build until you fix them, apart from the High LOD and YLD findings, which are warnings. A part over 65,535 vertices, broken triangle indices, cut-off texture data, an impossible texture size and a picture the build cannot use cannot be ignored, because the pack would not contain what the item list shows: fix them, or leave the item out of the build (see [Errors you cannot ignore](https://docs.gta.clothing/how-to-guides/review-and-tune-project-findings.md#tune-rules-without-hiding-real-problems)). A model that loads but renders wrong can be ignored, after a confirmation, and so can a texture whose mip count the graphics card refuses or a compressed texture whose size is not made of whole 4 x 4 blocks, since the game may still load it. The **Texture Optimizer** resizes such a compressed texture, even a tiny 2 x 2 one, to the nearest size that works and keeps its format.
  * **Mesh part over 65,535 vertices**: one part of the model holds more vertices than a part can address. The limit counts per part, so a model can hold more in total. **Split oversized parts** splits the part into parts the game can draw and keeps the item, its slot, textures and settings, with a restore point in Backups & History. When the file no longer records which vertices some of the part's triangles use, the Fix says so: export the model again with the part split up, then use **Replace source…**.
  * **Broken triangle indices**: triangles point at vertices the part does not have, or the triangle list ends partway through a triangle. Replace or repair the source model.
  * **Missing High LOD**: the model has geometry only at a lower level of detail, so up close the game may show nothing or only the coarser model. Replace it with a model that has a High LOD.
  * **YLD without exactly one cloth**: the mesh physics file holds no cloth or several, while every YLD of the game holds one. **Choose companion file…** picks the right YLD.
  * **Texture data cut off**: the texture file stores less than its texture needs. DCT names the texture instead of reporting only a corrupt file. Replace the texture file.
  * **Texture side 0 or over 16,384** and **Mip levels the size does not allow**: the graphics card cannot create such a texture. Export the texture again at a supported size and replace the file.
  * **Picture the build cannot use**: a tattoo design's or facial overlay's picture or texture dictionary is damaged, cut off or empty, or is a DDS in a format GTA V textures do not have (such as a 16-bit float or sRGB DDS). The build would stop at it or write a texture the game cannot use. Save the picture again as PNG, or as DDS in a common format such as DXT5, and use **Replace source…**.
* **Shop apparel entry budget**: the pack is approaching the shared entry list capacity. See [Game Limits and Crashes](https://docs.gta.clothing/game-mechanics/game-limits-and-crashes.md).
* **Drawable and prop limits**: each affected item is named with its index and the runtime consequence. Where DCT can repair the project, the finding can move high heels before flat shoes or restore automatic resource splitting after you confirm the change.

{% hint style="info" %}
**Did you know?** You can fine tune and adjust each threshold in the Project Settings window (or press **Ctrl+K** and paste `>Project Settings`). See [App & Project Settings](https://docs.gta.clothing/basics/good-to-know/app-and-project-settings.md) for more details.
{% endhint %}

### Fix safe findings

Some findings need no choice from you. While the project has any, the Error List toolbar shows **Fix safe findings** with the number of drawables it would repair, for example **Fix safe findings (12)**. It works on every drawable of the project at once, not only on the rows your filters show. When errors it can repair stop a build, the Build window offers it as its first choice (see [When errors stop the build](https://docs.gta.clothing/basics/essential-knowledge/build-options.md#build-button)).

1. Choose **Fix safe findings**. A review list shows each repair and how many drawables or textures it rewrites. Nothing changes yet.
   * **Console byte order** (ticked): turns vertex data stored in console byte order into PC order. Nothing else changes.
   * **Wind on the whole cloth** (ticked): removes a wind weight that every vertex carries, so the cloth stops waving as a whole. The shape stays the same.
   * **Missing mip maps** (ticked): adds the smaller versions a texture needs, so it stays sharp and does not shimmer at a distance. The texture keeps its size. Saving it again can shift colours very slightly, and a texture in an uncommon uncompressed format is compressed.
   * **Texture size and format** (not ticked): repairs these findings as the Texture Optimizer does. It shrinks textures above the size limits, resizes those whose sides are not a power of two and compresses BC2 or uncompressed textures where a finding asks for it.
   * **Broken shading and UV values** (not ticked): runs **Clean up model** with its default options. Shading can change, so tick it yourself if you want it.
2. Untick a repair to leave its drawables as they are, then choose **Fix**.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-302396326834adc2287c11fecd2f392a2221de1a%2Ffix-safe-findings.png?alt=media" alt="The Fix safe findings review list. Console byte order (1 drawable), Wind on the whole cloth (2 drawables) and Missing mip maps (4 textures in 1 drawable) are ticked. Broken shading and UV values (1 drawable) and Texture size and format (5 textures in 2 drawables) are unticked and marked Changes how it looks. Below them: 2 other findings need you, the restore point line, and the Fix and Cancel buttons."><figcaption><p>The review list of Fix safe findings: the repairs that keep the look start ticked, the two that can change it wait for your tick.</p></figcaption></figure>

The repairs that start unticked are marked **Changes how it looks**. Tick them yourself if you want them, and check the result in the 3D preview. Each texture gets only the repairs of the ticked rows that list it, so a texture listed only under **Missing mip maps** keeps its size even when **Texture size and format** is ticked.

Everything fixed in one run becomes one restore point in [Project History](https://docs.gta.clothing/basics/useful-to-know/project-history.md), so one rollback undoes it. Only findings shown as errors or warnings are included. Other findings, including those on textures embedded in a model, keep their own **Fix**, and the review list tells you how many are left.

{% hint style="info" %}
Repairing several drawables at once needs a license. The texture repairs need an active license, as optimizing a selection of textures does; if you continue without one, the model repairs still run.
{% endhint %}

### Missing files

While items miss their model, texture or other files, the Error List toolbar also shows a **Missing files** dropdown with their count. It holds **Find missing files** and, when drawables lost their model, **Remove drawables with missing files**. The first looks for the files in a folder you choose and copies them back after you review them; the second removes the drawables that lost their files in one step that **Undo** puts back. Both are free and are also in the **Tools** menu. A single finding's own **Fix** still replaces that one file. See [Missing Files](https://docs.gta.clothing/basics/useful-to-know/durty-cloth-projects.md#missing-files).

## Error Fixing Workflow

When using the **Error List Window** and **Drawables List**, it’s recommended to follow a simple workflow for addressing issues:

1. **Review Errors First**: Always resolve critical errors first, as they will prevent the project from functioning properly.\
   In many cases these can be issues like clothes that miss textures and similar, in such cases read the error carefully and follow given steps to resolve it.
2. **Address Warnings**: Warnings should be resolved next, as they may affect performance or cause issues down the line, particularly in multiplayer environments.\
   In many cases using our inbuilt Optimization Feature might help but not be taken as the ultimate solution for everything. See [Optimizing Clothes](https://docs.gta.clothing/basics/essential-knowledge/optimizing-clothes.md) for more details.
3. **(optional) Handle Information Last**: Informational messages should be addressed at your discretion, particularly if you’re aiming for maximum optimization and cleanliness in your project. **In most cases they require extensive cloth modding knowledge.**

By working in this structured manner, you can ensure that your project is not only functional but also optimized and clean.

{% embed url="<https://gta.clothing/assets/media/v4/analysis-mobile.mp4?v=c3edf6e0c4d4>" %}
Review the findings of the project in the Error List, filter and search them, open the tool behind a finding and jump to the affected item.
{% endembed %}

## Understanding Quality Advice

Cloth Analysis checks rendered geometry, shader requirements, distance detail levels (LODs), texture dictionaries and mipmaps, and the structure of attached cloth physics files. Polygon totals include every part of each LOD. Missing or barely simplified distance levels can point to useful performance improvements, particularly for detailed ports. These budgets are guidance, not universal GTA V format limits.

{% hint style="info" %}
Material findings check recognized shader support and required data. Primary-only hair and intentionally painted wind, sweat or emissive vertex colors are valid authoring choices. The report does not require one universal orange/black preset. Use the [material channel guide](https://docs.gta.clothing/cloth-modding/ped-material-channels.md) and preview controls for visual checks.
{% endhint %}

A valid freemode rig can also attach parts rigidly or bind them to cloth simulation. High heels and hat-cut hair are judged by the bones the game actually moves: a heel needs weight on the four `EO_` heel bones, a cuttable hair needs weight on `MH_Hair_Scale` or `MH_Hair_Crown`. The shoe warning means the heel pose cannot reach the mesh; the hair note is a quality indicator, since short cuts need no scaling.

Tattoo checks distinguish fully transparent artwork from a fully opaque background. Size advice suggests reducing larger textures when their visible detail permits; it does not ask you to enlarge smaller tattoos. Validation settings control the rules and their severity.

Cloth physics findings cover missing companion files and structural inconsistencies. Wind, pins, collisions and motion quality still need the 3D preview and an in-game check. A simulated-vertex budget refers to the physics mesh, not the polygons of the visible clothing.

## Handling Duplicate Clothing Automatically

In addition to detecting potential issues and optimizations, Durty Cloth Tool also has an advanced system for identifying and managing duplicate clothing items to maintain a clean and efficient project.

### **Automatic Duplicate Detection**

When adding new clothing to a project, the tool automatically checks for duplicates by comparing:

* File content data
* Assigned gender
* Drawable type

If a duplicate is detected while **When an added model already exists in the project** is set to **Ask for every exact duplicate** in Project Settings, a prompt shows the incoming file beside the item already in the project and asks you to **Add anyway** or **Skip**. Tick **Do the same for the remaining duplicates** to answer the remaining duplicates the same way during the active session; **Escape** skips only the one shown. This choice is reset upon restarting the tool, ensuring full control and flexibility each time the tool is used.

All duplicate handling actions are logged, providing a transparent view of how decisions on duplicates are made and allowing users to review these actions at any time.

{% embed url="<https://gta.clothing/assets/media/v4/import-duplicates-mobile.mp4?v=509529573e54>" %}
Review duplicate items during import.
{% endembed %}

### **Project-Wide Duplicate Analysis**

With **Automatic duplicate warnings** enabled in Project Settings, possible duplicate clothes, props and texture variations appear as warnings on the item and in the Error List. This is on for new and existing projects. Select **Resolve duplicate** to compare the two models side by side: each column shows the drawable's name, **Keep this one** for the copy that should stay, its 3D preview and its texture variations. The main button names the suggested action (**Remove duplicate drawable**, **Merge unique textures and remove duplicate** or **Remove duplicate texture**) and runs it with **Enter**; **Esc** or **Cancel** closes the window without changes. When the two copies carry different settings, choose **Keep this one** first. The removal is one step that **Ctrl+Z** takes back. An exact copy can be removed; when unique textures fit on the other drawable, they can be merged before removing the copy. If both drawables are needed to hold their unique textures, only repeated variations are suggested for removal. Choose **Keep both (intentional)** when the match is intentional. A drawable whose file differs but holds the same model as another drawable of the same gender and type, for example a copy whose embedded textures were optimized, gets the warning **Possible same model in another file**. Its **Compare in Find duplicates…** opens **Find & Remove duplicates** on that pair: the list scrolls to its group and marks it **Flagged in the Error List**, shows all drawable types if the type filter hid it, and ticks neither copy, so nothing is removed until you choose. Adding files never waits for this check: newly added models are compared in the background once the add is done. These warnings do not stop a build, and turning them off leaves import duplicate handling and the manual scan unchanged.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-bfc9d091d3dc3047ccf264a9eeaf185f15a21590%2Fresolve-duplicate.png?alt=media" alt="Resolve possible duplicate for two tops with identical model content: the line that their settings differ in Name, Shop, Behaviour flags and Options, a column per drawable with Keep this one, its 3D preview and its texture variations marked Matching or Unique textures, and Remove duplicate drawable, Keep both (intentional) and Cancel."><figcaption><p>Resolve duplicate compares the two drawables side by side</p></figcaption></figure>

DCT also offers a **Find & Remove duplicates...** action in the **Tools** menu (or press **Ctrl+K** and paste `>Find & Remove`). It scans the whole project for drawables and texture variations with identical file content and lists every group it finds: the copy that stays and its duplicates, with thumbnails when thumbnails are enabled for the project. Before the first scan, the window explains what the scan compares, offers the two options (the same drawable in the other gender, the same texture variation on another drawable of the same type) and **Find duplicates**; **Enter** starts it. A running scan shows its progress, the elapsed and remaining time and **Cancel scan** where the results will appear. After a scan the button reads **Scan again**; use it after changing the project in the main window. When nothing is found, the window says so and suggests turning on one of the options. **Reset marked non-duplicates** sits at the bottom left and only appears when you have marked items as not duplicates. Filter the result to one drawable type when reviewing a large project. Every duplicate is ticked for removal; untick what you want to keep, use **Keep this instead** to keep another copy, and use **3D preview** on any entry to compare copies in the 3D preview while the window stays open. By default the same drawable in the other gender and the same texture on another drawable do not count as duplicates, since packs often do that on purpose; two options extend the scan across genders and across drawables. Unique texture variations of a removed drawable move to the kept one, and removal happens only after a confirmation, streamlining the project’s clothing assets for optimal organization and performance.

The scan also finds the same model saved in different files, for example a hair whose embedded textures were optimized in one copy, a copy with other skin weights, or a copy cleaned of collapsed triangles. These drawables form their own group, **drawables with the same model in different files**, in which no copy is ticked for you. Each copy says what differs from the kept one: its embedded textures, its lower detail levels (LOD), its texture variations, or only the file. Compare them with **3D preview**, then tick the copies you want to remove. The kept copy's file stays as it is, with its own embedded textures, and variations that move to it are drawn with its UV layout, so check them in the 3D Preview. On a large project the first scan takes a little longer while DCT reads the models that could match; later scans are as quick as before.

A copy of the same model whose variations all differ is listed as **Merge** and starts unticked: ticking it moves every variation to the kept copy and removes the emptied one. When those variations are the same to you, for example because one copy has fixed mipmaps or another texture size, choose **Delete instead of merging** (**Delete with its variations** on a duplicate that has variations of its own). The copy is then deleted together with those variations, which do not move to the kept copy. **Merge instead** or **Keep its variations** returns the row to its suggestion. **Undo** takes the whole removal back in one step while the project stays open; export a backup first if you want a copy to keep.

With these features, DCT ensures users can maintain clean, organized clothing resources and avoid unnecessary redundancies, supporting high standards of quality and project management.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-d8fc285c4cf46d991b803bf8e3bb43d1c69d9199%2Ffind-duplicates.png?alt=media" alt="Find &#x26; Remove duplicates after a scan: one group of two drawables with the same model, the kept Male 16 top and the ticked duplicate Male 16 top copy, each with 3D preview and Mark as not a duplicate, Keep this instead on the duplicate, and Remove 1 selected duplicate at the bottom."><figcaption></figcaption></figure>

{% embed url="<https://gta.clothing/assets/media/v4/find-duplicates-mobile.mp4?v=74faa4291e17>" %}
Compare duplicate groups and confirm which copies to remove.
{% endembed %}

## Summary

The **Cloth Analysis Report** is a powerful tool in the Durty Cloth Tool, offering detailed feedback on the quality and functionality of clothing resources. By leveraging the **Error List Window**, real-time feedback in the **Drawables List**, and a structured approach to resolving issues, developers can ensure their clothing mods are not only functional but also optimized for performance and compatibility.

Understanding and addressing the different levels of **Errors**, **Warnings**, and **Information** will lead to higher-quality results, whether you are working on Singleplayer DLC or multiplayer cloth resources for FiveM.
