Norbyte / ositools

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

Script Extender not loading on steam deck #96

Open Tormound opened 2 years ago

Tormound commented 2 years ago

Operating System

Linux

Extender Version

v55

Game Version

v3.6.117.3735

Bug Summary

Doesn't work when used with steam deck, attempted with the launch option thing as well didn't work.

Links

No response

Moredread commented 2 years ago

I haven't tested it, but the filename in the last release is lowercase (dxgi.dll) and uppercase in the launch command (DXGI.dll). Does it work if you change it to lowercase in the launch options? I only tried it with lowercase and it works fine on my Steam Deck.

Linux filesystems are (mostly) case sensitive, while Windows isn't, so depending how Proton handles the loading of overwritten DLLs this could cause issues.

Tormound commented 2 years ago

I haven't tested it, but the filename in the last release is lowercase (dxgi.dll) and uppercase in the launch command (DXGI.dll). Does it work if you change it to lowercase in the launch options? I only tried it with lowercase and it works fine on my Steam Deck.

Linux filesystems are (mostly) case sensitive, while Windows isn't, so depending how Proton handles the loading of overwritten DLLs this could cause issues.

How do you know if the script extender is working? I tried it again by renaming the dxgi to DXGI without the launch option and I notice when loading that it says its loading the script extender. But there's no little thing on the main menu showing the script extender version.

Star-X555 commented 2 years ago

I haven't tested it, but the filename in the last release is lowercase (dxgi.dll) and uppercase in the launch command (DXGI.dll). Does it work if you change it to lowercase in the launch options? I only tried it with lowercase and it works fine on my Steam Deck. Linux filesystems are (mostly) case sensitive, while Windows isn't, so depending how Proton handles the loading of overwritten DLLs this could cause issues.

How do you know if the script extender is working? I tried it again by renaming the dxgi to DXGI without the launch option and I notice when loading that it says its loading the script extender. But there's no little thing on the main menu showing the script extender version.

FYI the console UI doesn't list it. Try accessing the main menu with M&KB controls.

Incidentally the lack of mod support for the controller UI is one of my pet peeves with the game. Most, if not all, UI mods only function properly with mouse and keyboard, making it absolute hell to work with when using the Steam Deck without an external M&KB.

I'd greatly appreciate some effort put into making the controller UI have an automatic "M&KB UI translation layer" as part of the script extender. Hell, a dynamic toggle mid game by, say, a button combo that can be mapped to one of the back buttons on the Steam Deck would be all that's needed.