kirides / GD3D11

D3D11-Renderer for Gothic and Gothic 2
GNU General Public License v3.0
200 stars 18 forks source link

[Linux] Gothic 1 not working with ddraw on Native using lutris and spine #104

Open coxtor opened 2 years ago

coxtor commented 2 years ago

Describe the bug Similar to #103

I've been running Gothic 1 on Linux via Lutris and launching via Spine I have enabled the D3d11 Renderer Clockwork Edition.

After applying the suggestions in #103 I get the following error:

GD3D11: Error!
Failed to find GD3D11 systemfiles!
This means: The GD3D11-folder is missing or corrupt. This can be the result of only copying the ddraw.dll into Gothics system-folder, which isn't enough!
Please check your installation.

In order to enable the renderer, I added d3dcompiler_47.dll and ddraw.dll as Native libraries in winecfg. Since then, the GothicStarter isn't launching Gothic anymore.

More information:

    Gothic 1 is on v1.08k_mod(SP 1.8)
    Renderer v17.8.0 from World of Gothic
    Wine Version is lutris-7.2-2-x86_64 with DXVK v1.10.3, VKD3D v2.6.
    GPU is Intel integrated

Thanks in advance!

pm4rcin commented 1 year ago

I use Lutris too and the only needed overrides are ddraw(set it to n,b). Also don't use the clockwork because it's outdated and the newer versions are much more performant and many bugs were fixed. Here's the link for the latest as of today (it's tagged as pre-release but it doesn't matter because it's working fine). If you use Spine only to patch things I would advice against using it and apply patches manually. As for the patches it's best to use Union since it officially supports wine but also has many plugins that just work on Linux. I don't know which version of Union Spine uses but in my opinion Spine was good tool before Union. It shouldn't be used in 2022 except when you care about features like achievements in it. If you'd like to download Union here's the link. You can download standalone installers or Resource Manager (it's a tool to browse and download Union, plugins to it etc.). Note however that latest version of RM doesn't seem to work on wine(it has problems with updating itself). I have tried different configurations but no luck. But I have standalone installers in my windows VM so I can send some if needed. If you plan to use standalone installers (which are the same as ones on RM) you have to install vcrun2008, vcrun2010 and dotnet48 via winetricks. Also I recommend to enable virtual desktop in Lutris because with it you can access Advanced menu of GD3D11 (aka. ctrl+f11). And I think that's it.

Roever1 commented 1 year ago

hi there, its been a while, but I have a similar issu: when I use Lutris to start Gothi2NightOfTheRaven with the newest renderer in place an error occurs and shows: "GD3D11 doesnt work with his executable". When I run it from the .exe with wine the error doesnt appear, but the GD3D11 is simply not running :-D. Any idea? Thanks a lot!

FakeMichau commented 10 months ago

When I run it from the .exe with wine the error doesnt appear, but the GD3D11 is simply not running :-D.

For that you still need to override ddraw.dll, you can do it via envvars but I personally just use winecfg and doing it there - add ddraw to the override list and that's it.

Tho even doing so will likely just give you the previous error. Make sure you are using the correct version, the one that the error tells you to use.