iczero wrote:I found a potential fix to the random crashing in the middle of the game. Previously, it was fixable by using Gallium Nine, however, if Gallium Nine is not available or does not work for you, and your gpu supports Vulkan, you can use d9vk instead.
d9vk translates DirectX 9 calls into Vulkan instead of opengl (which is what wined3d uses), so it might also be faster.
(can't post links, fix github url yourself)
Instructions:
- Get latest release of d9vk from (github) Joshua-Ashton/d9vk and extract it somewhere
- Find your wine prefix. If you are using steam, it should be at
- Code: Select all
$HOME/.local/share/Steam/steamapps/compatdata/9420/pfx
- Find where you have wine installed. If you already have the correct version in $PATH, then don't include this in the final command. If you are using steam, it should be in
- Code: Select all
$HOME/.local/share/Steam/steamapps/common/Proton\ 3.16/dist/bin
- Run the following in the folder extracted from the release, replacing stuff as appropriate:
- Code: Select all
WINEPREFIX=$HOME/.local/share/Steam/steamapps/compatdata/9420/pfx PATH=$HOME/.local/share/Steam/steamapps/common/Proton\ 3.16/dist/bin:$PATH ./setup_dxvk.sh install
Thanks!
Get latest release of d9vk from (github) Joshua-Ashton/d9vk and extract it somewhere
the link of the github repo:
https://github.com/Joshua-Ashton/d9vk/releases