> 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/directx-issues.md).

# DirectX Issues

## <mark style="color:yellow;">After installing GUNZ and running the launcher, you may encounter the following, or similar error:</mark>

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

* To resolve this issue, start with locating your GUNZ Folder, usually found in:\
  \ <mark style="color:yellow;">`C:\Program Files (x86)\GG\GUNZ`</mark><br>
* Right-click the file called "config" and click on "edit"

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

* Scroll down until you see "Width" and "Height"

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

* Now, search "This PC" in your Windows start menu, right click it and go to properties.

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

* Once you're on the page, click on "Display" on the top left ,find the "Display resolution".

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

* Now, enter the first value from "Display resolution" into the "Width" section of the config, and the second value in the "Height" section.

&#x20;

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

{% hint style="danger" %}
Do not save the config file with a .txt extension, the game will not run if it is saved with a .txt extension.\
\
If it's trying to save with the .txt extension, follow the steps below:
{% 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/5gCUfCJQCaCTtOQE1I9h" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://gunz.gitbook.io/gunz-guide/getting-started/troubleshooting/directx-issues.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
