# Disabling D3D9EX

## <mark style="color:yellow;">If GUNZ still freezes/crashes despite the previous fixes, we will disable D3D9EX.</mark>

* To disable D3D9EX, start with locating your GUNZ files/folder, usually located at:\
  \ <mark style="color:yellow;">`C:\Program Files (x86)\GG\GUNZ`</mark><br>
* Find and open the `config.xml` file, as shown below.

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

* Find and change D3D9EX from “true” to “false”.

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

{% hint style="danger" %} <mark style="color:red;">Do not save the config file with a .txt extension, the game will not run if it is saved with a .txt extension.</mark>\
\ <mark style="color:red;">If it's trying to save with the .txt extension, follow the steps below:</mark>
{% endhint %}

* Hit File in the top left, and “Save as”...<br>

  <figure><img src="/files/9tNWMEbwH0DUFOYoTeRx" alt=""><figcaption></figcaption></figure>
* On the dropdown, select “all files”.\ <br>

  <figure><img src="/files/tvFSXBMIOlbp1gq8TwyI" alt=""><figcaption></figcaption></figure>
* Manually save it as “config.xml” on your desktop (not just “config”, you must add the extension too). Once done, drag the file into your GUNZ folder and replace the original config file with the new one.

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

{% hint style="danger" %} <mark style="color:red;">The game must NOT be running when you do this process.</mark>
{% 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://gunz.gitbook.io/gunz-guide/getting-started/troubleshooting/game-lags-crashes/disabling-d3d9ex.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.
