# XGen IFF Tool

<div align="left"><figure><img src="/files/C8xqj1OVwe303sU7vqZg" alt=""><figcaption></figcaption></figure></div>

## Overview

Quick editing tool to IFF maps created in XGen. Users can paint, import, bake, and export iff maps.

{% hint style="info" %}
​**This tool will only work for those maps painted 'directly' into an XGen attribute. If you** modified the expression, it will fail to look for the maps.
{% endhint %}

{% embed url="<https://youtu.be/9h-cVN36a2E>" %}

{% embed url="<https://youtu.be/yzjbVql6lyQ>" %}

***

It has 4 main tabs: Primitive, Preview/Output, Modifiers, and Global Expression, which corresponds to XGen’s tabs.

​This shows the current description that the UI is sourcing from. When you switch a XGen Description, or after you create a new map, you can always click on the ‘Refresh’ button to update the UI.

<div align="left"><figure><img src="/files/EOP0ryJyKzqPUajpEjxA" alt=""><figcaption></figcaption></figure></div>

## **Paint:**

<figure><img src="/files/1vTdgCkwOHXg6RERvAoP" alt=""><figcaption></figcaption></figure>

* Clicking on the “Paint” icon will trigger the paint tool, you can start making adjustments.
* The text field will be highlighted in orange, which is to indicate which map is currently active.

## Save:

<div align="left"><figure><img src="/files/9YEQGZZ67SAdmlmELC0w" alt=""><figcaption></figcaption></figure></div>

* Like how you paint any XGen maps, when done with editing maps, click on the save icon to bake it.

## Import:

<div align="left"><figure><img src="/files/0yUHUVz7KsCIBlxlVBLx" alt=""><figcaption></figcaption></figure></div>

* You can “Import” any texture maps you created externally, and assign it to the painting tool. It will pick it up and convert it into Maya 3DPaint.

## **Set Map to Off:**

<div align="left"><figure><img src="/files/nFf5dfe5COZpYeRMz5Gp" alt=""><figcaption></figcaption></figure></div>

* At the moment, it will not auto turn off the button. You can click on the “Off” button to turn the highlight off.

### Export:

<div align="left"><figure><img src="/files/tuL1MP3hMeUc5qQvb6Sz" alt=""><figcaption></figcaption></figure></div>

* If you would like to export any of the maps from Xgen, first, set the resolution, up to 8k, and click the export icon.
* The maps will export into your  /3dPaintTextures/ by default as a .TIF file.
* You can change the path for exported texture

You can export texture one by one by click on the export button beside each map, or export all maps all at once

<div align="left"><figure><img src="/files/iwlJNy0Bsk1fZtVtztsE" alt=""><figcaption></figcaption></figure></div>

***


---

# 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://nobraintools.gitbook.io/maya-groomers-tool/xgen-tools/xgen-iff-tool.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.
