Norbyte / ositools

Advanced scripting and mod support for Divinity Original Sin 2
MIT License
373 stars 30 forks source link

Does not work on windows WSL out the box #69

Open DukeAbigor opened 2 years ago

DukeAbigor commented 2 years ago

Windows WSL causes windows to be case sensitive which in makes the .dll never get loaded. Renaming the file to all lower cases fixes the issue.

Dunno if this necessarily needs fixed but I wanted to open an issue in case anyone else was spending ages looking for a solution as well.

Norbyte commented 2 years ago

Hi,

Do you mean DWrite.dll? That's quite strange if it indeed works this way, since the original DLL is literally named DWrite.dll (with uppercase D and W) in the System32 dir and the game also imports it with uppercase letters.

DukeAbigor commented 2 years ago

DXGI.dll had to be renamed to dxgi.dll for my system to load the mod. I couldn't get the mod to run on my computer at all and I've had case sensitivity issues with games and mods in the past cause of WSL so I just tried renaming to lowercases and it immediately solved the problem. Apologies if this wasn't directly the problem and just inadvertently fixed it.

Norbyte commented 2 years ago

Ah right, DXGI is indeed lowercase in sys32 too, so that could be it. I'll fix it in the next patch release.