# Textures (CLI)

## Exporting

1. **Extract** the textures with `uncook -p` into a folder of your choice. TGA is recommended for CLI version 1.5.1 (latest).

2. **Edit** the TGA file with software such as Photoshop or Krita.

3. Choose the textures you wish to repack and **copy** them to another folder (e.g. `MODDED`), keeping the subfolder structure (the \base folder needs to be the first folder inside the MODDED folder)

{% hint style="info" %}
**Both** .tga and .xbm files are required in the MODDED folder

e.g. `judy_body_wet.xbm` AND `judy_body_wet.tga`
{% endhint %}

## Importing

{% hint style="danger" %}
Do **not** replace existing vanilla archives
{% endhint %}

1. **Import**

   Run `import -p "MODDED FOLDER PATH" -k` this will apply the new TGA texture to the XBM.

2. **Pack**

   Run `pack -p "MODDED FOLDER PATH"`, this will create a new .archive file.

3. **Install**

   **Copy the packed .archive file int**o the **mod folder** of your game: `Cyberpunk 2077\archive\pc\mod` (create this folder if necessary)


---

# 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://wiki.redmodding.org/wolvenkit/wolvenkit-cli/usage/textures-cli.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.
