> 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/cloth-modding/complete-walktrough/chapter-4-export-add-to-dct-and-test.md).

# Chapter 4: Export, Add to DCT and Test

## Export the Edited YDD

1. Select the top-level Sollumz Drawable Dictionary. Sollumz includes its hierarchy in the export.
2. In current Sollumz versions, go to `File > Export > RAGE Asset`.
3. For this walkthrough, leave only `CW XML` and `Gen8` enabled. Disable `Native` and `Gen9`. Older or legacy-enabled versions may show `File > Export > CodeWalker XML` instead.
4. Export to the separate `export` folder created during setup.
5. Confirm the new `.ydd.xml` and embedded-texture folder were created.
6. Resolve any Sollumz export warning before continuing.

Keep the original export untouched so you can compare or restart. See [Exporting and Validation](/cloth-modding/exporting-and-validation.md) or the [Sollumz FAQ](https://docs.sollumz.org/support/faq) if the export fails.

## Add the Model to Durty Cloth Tool

Create or open a Durty Cloth Tool project, then:

1. Use **Add Male > Add from file(s)** and select the edited `jbib_004_u.ydd.xml`.
2. Confirm that the item is a Male `JBIB` with the intended universal skin type.
3. Select the imported drawable and press **Add** below its texture-variation list.
4. Select `jbib_diff_004_a_uni.ytd.xml`, or select its diffuse image and let DCT create the YTD.
5. Save the project.

{% hint style="info" %}
There is no need to convert the exported XML back to a YDD/YTD before this step. DCT imports both model and texture XML directly, and canonical names help it resolve the drawable type and skin type. Add the YTD XML manually as shown above; automatic related-file discovery applies to matching binary source files.
{% endhint %}

## Review the Item

Open the [Cloth Analysis Report](/basics/essential-knowledge/cloth-analysis-report.md) and address the reported errors. Review warnings about the model, shader samplers, embedded textures, polygon counts, texture dimensions and mipmaps instead of dismissing them as one group.

Then open the [3D Preview](/basics/essential-knowledge/3d-preview-clothes.md), load the JBIB and:

* Confirm the diffuse, normal and specular appearance.
* Rotate around the new sleeve openings.
* Play animations that raise and bend the arms.
* Inspect the available LODs and camera angles.

{% hint style="info" %}
DCT takes care of the collection filenames, drawable/texture ordering, resource metadata and target-specific output. You can focus on the item instead of hand-authoring the addon YMT and streamed names.
{% endhint %}

## Build and Test

Use [Build Options](/basics/essential-knowledge/build-options.md) to build the selected platform into a clean output folder, then follow the relevant [Testing Addon Clothes](/getting-started/testing-addon-clothes.md) guide.

In-game, test the edited top while walking, running, crouching, jumping and using a vehicle. Try likely undershirt/torso combinations, check daylight and shade, and watch the LOD transitions from several distances. If a problem only appears during movement, return to the weights; if it changes with distance, inspect that LOD; if it changes with lighting, inspect the material, textures and vertex colors.

You have now completed the full authoring path: reference files → Blender/Sollumz → Durty Cloth Tool → built resource → in-game test.
