Closed Xyaren closed 1 year ago
We discussed this in the Discord, several users are experiencing this. We think Logitech broke the SDK with the latest SDK. I've managed to fix it on my machine:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{a6519e67-7632-4375-afdf-caa889744403}\ServerBinary
C:\ProgramData\LGHUB\depots\148856\core\sdks\sdk_legacy_led_x64.dll
Note that the old version of the dll I have in that depots
path might be different for you. The general idea is to tell the SDK to use an older DLL instead of the most recent one.
So for me that would be C:\Program Files\LGHUB\sdks\sdk_legacy_led_x64.dll
?
Discord Discussion: https://discord.com/channels/392093058352676874/1050193328752308284
No, that is the most recent version. Look in that depots
file for another one. I meant that the depot number might differ, i'm not sure.
Interesting.
Does Logitech actually deploy two different versions of the sdk or is this some kind of "backup" folder ?
For me the path is C:\ProgramData\LGHUB\depots\155943\core\sdks\sdk_legacy_led_x64.dll
I'm not sure. My guess is that it has to do with updating. Perhaps when it updates, it leaves those files there.
Quick Update from the Discord: My DLL did not work.
After downloading the one from the discord discussion it, and storing the path in the mentioned registry key, it is working again.
Hello, @Xyaren. Can you share the correct DLL ? Thanks.
sdk_legacy_led_x64.zip (Zipped because you can't upload .dll files)
Version: 9.2.6382.0
Signed on 21. October 2022 22:46:54
I've contacted Logitech about the issue, hopefully they reply!
Thanks, @Xyaren. You rocks !!
Latest G HUB update broke the plugin for me again.
2023.1.364016
Could fix it by following the instructions posted by diogotr7.
I have a suspicion on this; I was having this issue, and prepared an older version of the SDK. The first thing I tried was changing the value of the Artemis key in that registry to the older version, but it still gave me an error. Looking at the default key, I saw that it was actually pointing to a DLL in the Logitech wrapper plugin (which is what brings in the LED colours from those games), and tried changing that one to the newest SDK library (the one in Program Files, not in a depot folder). Worked first try after that. I suspect that it is actually the Logitech wrapper not passing through certain requests properly, causing the SDK pointed to by the Artemis key not to load properly.
I wonder if this has been part of the setup for anybody else who had this error?
I'm thinking about what to do about that wrapper actually, it's a tough problem to solve. Recently i rewrote the artemis side of the wrapper with compatibility for the original, unmodified LGS dll. This makes it so games that do not load custom dlls (battlefield 5, for example), can be used with the wrapper. Here are the main differences:
Note: all this "LedEnginesWrapper" dll does is look at the mentioned registry and load the dll at its path. It does not do any signature checking that i know of. Newer games DO NOT use this binary. I suspect Logitech has a game-dev-only version of this that does check the signature.
For more deep discussion on this I'm always on the Discord if you want @DragRedSim
On both my and my friends computer the Logitech plugin stopped loading with the following exception:
Artemis Build:
20221114.1
LGHUB:2022.11.345634
We tried reinstalling LGHUB with intermittent restarts, but no chance.