> For the complete documentation index, see [llms.txt](https://rejuvenate.gitbook.io/witcher-prescence/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rejuvenate.gitbook.io/witcher-prescence/guides/troubleshooting.md).

# Troubleshooting

If your discord rich presence appears to not be working try all of the following:

### Deleting x64.final.redscripts

If your scriptslog.txt file was not being created, this should fix it.

1. Navigate to your `The Witcher 3 Wild Hunt GOTY\content\content0`
2. Delete the `x64.final.redscripts` file and relaunch your game. (The file will be regenerated.)

### Check if scriptslog.txt is generating text

Check if scriptslog.txt file is generating text: `Documents/The Witcher 3/scriptslog.txt`&#x20;

{% hint style="warning" %}
`scriptslog.txt` needs to generate text in order for the mod to work. If the there is no text in the file, only one line in the file, or the file does not exist:
{% endhint %}

1. Ensure that `-net -debugscripts` arguments are correctly configured
2. Ensure that `scriptslog.txt` has read/write file permissions enabled for everyone on Windows (right click scriptslog.txt > properties > security).
3. Delete x64.final.redscripts (see above)

### Ensure scriptslog.txt is generating correct values

scriptslog.txt should print out hundreds lines containing **rpc** with data.

<figure><img src="/files/JLLaXaRwUNvpXkjCEmyb" alt=""><figcaption><p>Screenshot of correct scriptslog.txt</p></figcaption></figure>

If you don't see lines containing **rpc**, then the .asi failed to load into your game.&#x20;

Ensure **dinput8.dll** is in the same directory as **witcher3.exe**.&#x20;

If the .asi still isn't loading, try replacing the **dinput8.dll** file with an older version of the [Ultimate Asi Loader](https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases) (x64 version). Sometimes using **dsound.dll** instead of **dinput8.dll** fixes it for some people (use one or the other).

### Ensure mod is installed correctly

Ensure **WitcherPresence.asi** and **dinput8.dll** is in both `bin/x64` and `bin/x64_dx12`
