# Replacing Textures for Mod Vehicles

## **Summary**

**Published: Dec 11 2024 by SDH0**\
**Last documented edit: Dec 11 2024 by** [mana vortex](mailto:undefined)

This guide will teach you how to replace textures on a modded vehicle.

## Prerequisites

* [ ] A Wolvenkit Project (see[WolvenKit Projects](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/usage/wolvenkit-projects#create-a-new-wolvenkit-mod-project))\
  Make sure to call it something like `###_projectname`, so that it loads [before](/cyberpunk-2077-modding/for-mod-users/users-modding-cyberpunk-2077/load-order.md) the existing mod
* [ ] A texture (.png) for replacing

## Changing the texture

### 1. Finding the file in the mod

Switch the [Asset Browser](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/editor/asset-browser) to the [Mod Browser](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/editor/asset-browser#mod-browser):

<figure><img src="/files/dqSaXRsCYhXqde04OPLP" alt=""><figcaption></figcaption></figure>

Now, use the [Wolvenkit Search](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/usage/wolvenkit-search-finding-files) to find the texture that you want to replace.\
\&#xNAN;*(I'm going to replace the Livery texture on my Miura)*

* Textures have the file extension `.xbm`
* You can filter the list on the left by file name, or browse the list on the left until you have found the right mod. \\

<figure><img src="/files/3Sbf2kfCeZIkyIDceZUG" alt=""><figcaption></figcaption></figure>

## 2. Adding the required files

{% hint style="info" %}
The files you need are different from mod to mod. However, you need at least the `.xbm` with the actual texture.
{% endhint %}

In the example, I will also add the `.mi` ([material instance](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/materials/re-using-materials-.mi.md)). This file holds the texture's properties (like its path). By adding the .mi file, you can customize the decal even further.

Add the files to your mod by double-clicking them.

<figure><img src="/files/xNrt52IgU6f9PgEMcyxG" alt=""><figcaption><p><br></p></figcaption></figure>

### 3. Exporting the texture

After adding the texture, you can now [export it to .png](/cyberpunk-2077-modding/modding-guides/textures-and-luts/images-importing-editing-exporting.md).

<figure><img src="/files/6gBnU7FNs2sErNEfMVfi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/s66oowD2c5mrPoNvbHvO" alt=""><figcaption></figcaption></figure>

The resulting texture will show up in your project's [`raw` folder](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/editor/project-explorer#raw) (use the `source` tab to see all project files)

<figure><img src="/files/D9r1VliOnYHAGC9JQflO" alt=""><figcaption></figcaption></figure>

### 4. Overwriting the texture

Click the yellow folder shape next to the `.png` file to open the Windows Explorer.\\

<figure><img src="/files/wl8YnhpS1qEqPhLJDzmp" alt=""><figcaption></figcaption></figure>

Now replace the .png with the picture that you want:

{% hint style="warning" %}
The file name must be the same
{% endhint %}

<figure><img src="/files/dulldWKsVJ6528dWPJyc" alt=""><figcaption></figcaption></figure>

### 5. Importing the texture

Now [import your texture](/cyberpunk-2077-modding/modding-guides/textures-and-luts/images-importing-editing-exporting.md#importing-a-texture) back into the `.xbm.`

<figure><img src="/files/RznnTNGvaG8NBADPwgpU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8S7Y14wbImuK6Lr7GOC0" alt=""><figcaption></figcaption></figure>

\
\
![](/files/cs8AJzgP4FfsRa09j99I)\\

{% hint style="success" %}
You can see in the project explorer that your texture has been replaced
{% endhint %}

<figure><img src="/files/6DNgA6WW36JZ5Q7coyUD" alt=""><figcaption></figcaption></figure>

### 6. Testing your mod

[Install your mod](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/menu/toolbar#install-and-launch) and launch the game.

{% hint style="info" %}
You can use the **Install and Launch** button to do both at once!
{% endhint %}

If you spawn the car, you will now see that the texture has changed!

<figure><img src="/files/Jt65yBWfSC05HvyjTdHs" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you want to share your texture edit, you can do so by sharing the installed .archive.
{% endhint %}


---

# 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/cyberpunk-2077-modding/modding-guides/vehicles/problems-and-resolution/replacing-textures-for-mod-vehicles.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.
