👚
Durty Cloth Tool - Documentation
WebsitePricingDiscordDownload Latest
  • Welcome
  • Changelogs
  • Getting Started
    • Quickstart
    • License Activation
    • First Cloth Resource
    • Testing Addon Clothes
    • First Addon Tattoo
    • Working Together
    • Frequently Asked Questions
  • Basics
    • Essential Knowledge
      • User Interface
      • Build Options
      • 3D Previewing Clothes
      • Items Position Number
      • Cloth Analysis Report
      • Optimizing Clothes
      • Cutting Hairs
      • High Heels
      • Audio Presets
    • Good to know
      • App & Project Settings
      • First Person & Tint Effects
      • Integrated Search
      • Auto Cloth Data Resolving
      • Placeholders/Dummy Ids
      • Addon Tattoos
    • Useful to know
      • Shortcuts
      • Import & Export Formats
      • Creator Info
      • Dynamic Config Builders
      • Durty Cloth Projects
      • Logs
      • Themes
  • Game Mechanics
    • Game Limits and Crashes
    • Prop Mask Models
    • Mesh Physics (YLD)
    • Model Alternations
    • Drawable Types & Textures
    • Files Naming
    • Behaviour Flags
    • Shop Meta File
Powered by GitBook
On this page
  • Introduction
  • How It Works
  • Attributes Resolved by the System
  • Important Folder Structure Requirements
  • Handling Missing Information
  • Use Case: Large Clothing Packs (EUP Packs)
  • Drag and drop directly from OpenIV / CodeWalker
  • Benefits of Auto Cloth Data Resolving
  • Summary

Was this helpful?

  1. Basics
  2. Good to know

Auto Cloth Data Resolving

Learn about our automatic Cloth Data resolving Feature

PreviousIntegrated SearchNextPlaceholders/Dummy Ids

Last updated 6 months ago

Was this helpful?

Introduction

Durty Cloth Tool provides a robust feature known as Auto Cloth Data Resolving, designed to streamline the process of importing and configuring clothing items by automatically extracting key details from the file names of the clothing resources. This feature is particularly useful for large clothing packs, such as EUP Packs, by automating the setup of drawables, textures, alternation models, and mesh physics files.

How It Works

The auto-resolve feature identifies and resolves relevant attributes of the clothing files based on their naming patterns. It supports key properties like drawable type, gender, skin type, related textures, alternation models, and mesh physics files. However, for the system to function correctly, certain guidelines in the file structure and naming must be followed.

Attributes Resolved by the System

  1. Gender:

    • The system recognizes gender from file name prefixes such as mp_m_ for male clothing or mp_f_ for female clothing.

  2. Drawable Type:

    • The tool identifies the type of clothing item (e.g., tops, shoes, masks) from specific keywords in the file name, such as jbib, feet, berd, etc.

  3. Skin Type:

    • The system automatically assigns skin type based on the filename. If the clothing item requires skin tone data (e.g., shoes that reveal the legs or arms), it assigns the appropriate classification.

    • Universal skin tone items are marked with _u (universal, no skin tone data) or _r (skin tone-specific clothing); items requiring skin tone adjustments are resolved based on file structure and content.

  4. Related Textures:

    • Texture files (.ytd) with matching prefixes to the drawable (.ydd) files are automatically grouped and assigned. The texture files must follow the naming pattern of their associated drawable for correct resolution.

  5. Alternation Models:

    • The system can also automatically detect alternation models. These are additional drawable models that complement the main clothing piece and are typically denoted by suffixes such as _1, _2, etc.

    • For example, these alternation models might be used for clothing variations that accommodate large masks or other accessories, preventing visual clipping of hairs.

  6. Mesh Physics Files:

    • If the clothing requires a mesh physics file (.yld), the tool will attempt to resolve it automatically by searching for a file with the same base name but ending in .yld.

See Files Naming for more details regarding the required game files naming.

Important Folder Structure Requirements

For the auto-resolve system to work correctly, all related files (such as textures, alternation models, and mesh physics files) must be placed in the same folder as the primary clothing drawable. The tool relies on this folder structure, along with the matching file name patterns, to accurately link related files together.

  • Textures: Must share a matching prefix with the drawable file to be resolved.

  • Alternation Models: Must have the same base name as the primary model, with suffixes like _1, _2, etc., to indicate the alternation.

  • Mesh Physics Files: Should share the same base name as the clothing model and end in .yld for automatic resolution.

Handling Missing Information

If a file name doesn’t fully resolve all the necessary properties, the tool will prompt the user with a Drawable Options dialog (as shown in the image), prefilled with any information the system was able to extract. From there, users can manually adjust or fill in missing details like:

  • Cloth Type: The category of clothing (e.g., Component or Prop).

  • Drawable Type: Specific item type, such as hats, shoes, masks, or torso items.

  • Skin Type: For body parts that require skin tone adjustments, users can select the appropriate type (_u for universal/_r for skin tone data).

Use Case: Large Clothing Packs (EUP Packs)

When working with large clothing packs like EUP Packs, this feature becomes highly valuable. Users can mass import hundreds of files, and the system will resolve most of the critical details automatically. This minimizes manual setup time and ensures accuracy when integrating third-party resources.

Drag and drop directly from OpenIV / CodeWalker

Making it easier than ever to import files. With this feature, you can:

  • Effortlessly import files by simply dragging and dropping them into the tool, whether they're from Windows File Explorer, OpenIV, or CodeWalker.

  • Save time and streamline your workflow by eliminating the need to manually export & import files one-by-one.

  • Enjoy a more user-friendly and intuitive experience adding files from GTA V file explorers

Benefits of Auto Cloth Data Resolving

  • Efficiency: The ability to resolve multiple properties (textures, alternation models, etc.) automatically from file names significantly speeds up the workflow.

  • Accuracy: By following proper naming conventions, the tool reduces the risk of errors during manual input.

  • Mass Import Support: Ideal for working with large clothing packs, allowing for fast and reliable import and configuration.

Summary

Durty Cloth Tool’s Auto Cloth Data Resolving feature is an essential tool for cloth maintainers dealing with large collections of clothing items. It ensures fast, accurate, and reliable resolution of cloth properties based on file names, reducing manual work and increasing productivity. By adhering to recommended file-naming conventions and keeping related files in the same folder, users can fully benefit from this powerful feature.

Durty Cloth Tool Easy Mass Import powered by Auto Cloth Data Resolving demo
Durty Cloth Tool Drawable Options popup
Example of dragging and dropping files from OpenIV and CodeWalker