> For the complete documentation index, see [llms.txt](https://gunz.gitbook.io/gunz-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gunz.gitbook.io/gunz-guide/getting-started/troubleshooting/game-lags-crashes/disabling-d3d9ex.md).

# 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="https://content.gitbook.com/content/1whb7QHeSxVdzTjBohVZ/blobs/vJEfZXB755j2qGR38ly6/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/1whb7QHeSxVdzTjBohVZ/blobs/QaF4gLk7cqtrnclG7wpk/image.png" 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="https://content.gitbook.com/content/1whb7QHeSxVdzTjBohVZ/blobs/0RhpBtfdOrXPdlqpTf9e/image.png" alt=""><figcaption></figcaption></figure>
* On the dropdown, select “all files”.\ <br>

  <figure><img src="https://content.gitbook.com/content/1whb7QHeSxVdzTjBohVZ/blobs/0P0xxqCLB0DnJjJYwSIv/image.png" 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="https://content.gitbook.com/content/1whb7QHeSxVdzTjBohVZ/blobs/xjasxSGhqrj6kuaCnQaN/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %} <mark style="color:red;">The game must NOT be running when you do this process.</mark>
{% endhint %}
