Open RacerXNFS opened 8 years ago
What hardware are you using for lighting? Also, Payday TH and Payday 2 suffer themselves, without lightfx extender, extra long exit times.
I've been playing Payday 2 since the closed beta and have rarely observed this. And removing LFXe fixes the issue.
Current supported hardware is a Logitech G300s mouse.
I've observed this myself as well, but I dismissed it as an issue on my end (as I don't own the hardware that causes this issue).
It seems to be an issue with the Corsair SDK (or the connection LFXE makes to it). When it's enabled, it can't unload the Corsair SDK properly and it hangs when LFXE calls FreeLibrary
(if I remember correctly).
I might try to workaround it by skipping the FreeLibrary
call (or whatever is hanging when unloading) and see how that works. Ideally however, we don't want that, since we leave traces behind of a loaded library (might cause a memory leak), but since the game is closing anyway, I don't think it matters that much.
I have the same problem. CUE Version 1.16. K65RGB and Metro Last Light
Same in Broforce as stated here: https://github.com/Archomeda/lightfx-extender/issues/30
Any chance the devs could have a look at it? Seems like (at least in Broforce) the LightFX "Stop" function is never even called. So something else must be causing it? When I find some time I'll try to trace what is the last function called before crashing.
Tested a few different games with LightFX Extender, and they all have some odd side-effect when used with it. All games tested on Windows 10 64bit and the latest version of LightFX Extender.
Ghost EXE: Upon closing the game, the EXE itself will remain open and must be manually closed via Task manager. This is easily missed, as the game will appear to have closed and the EXE will use very little memory. If the game was launched via Steam, it will say you are still in-game.
Hang: Upon closing the game, the game will freeze and must be manually closed via Task manager. This is NOT the same as the trace, is very intrusive and will generate a "Not Responding" prompt by Windows.
Crash: Upon closing the game, the game will crash.
Special mention: Supreme Commander 2 both crashes AND ghosts. If you close the game normally, you're left with a ghost EXE. But if you try to play the game at all, you'll crash. You can only make it as far as the main menu.
If it helps, I closed Supreme Commander 2 and immediately went to delete LFXe from the directory, but it wouldn't let me because the game was still open, and using a file. That's how I found the game had a ghost issue. The file was CUESDK_2013.dll, so maybe this is what's causing the ghost EXE issue on the other games?