Closed Fijxu closed 1 year ago
Please do not inject code into anti-cheat enabled games (NVAPI is an exception as it's not injection). This will get you banned.
Could you try direct copy instead of symlinks? Symlinks can have issues when the Steam Container Runtime is used.
Could you try direct copy instead of symlinks? Symlinks can have issues when the Steam Container Runtime is used.
Oh yeah i have to note that i copied the files and i didn't symlink them because the DLL doesn't load as you said, sorry about that.
I disabled Steam Container Runtime using SteamTinkerLaunch, now it loads the LatencyFlex plugin without any problems.
But this is still an issue. If it can't be solved and the only workaround is disabling the Steam Container Runtime then feel free to close it.
Yeah I think the hiccups with container runtime is pretty much a limitation of this bridge approach. For the in-development LFX2 I've opted for PE binaries only which should suffer less from all this dynamic library ABI and containerization problem.
When i setup LatencyFlex for Unity games and start them from Steam this error appears in the Bepinex output (from the
LogOutput.log
file in the Bepinex folder):Games tested:
The error is always almost the same, with
System.EntryPointNotFoundException: winelfx_WaitAndBeginFrame
on itAs i said, this only happens when launching the game from Steam. But if i launch the game maually (using the command
WINEDLLOVERRIDES="winhttp=n,b" LFX=1 proton <gameexecutable.exe>
in a command line prompt) it loads without any problems and the output is:Thing that i checked:
WINEDLLOVERRIDES="winhttp=n,b" LFX=1 %command%
latencyflex_layer.dll
andlatencyflex_wine.dll
to the system32 folder of the compatdata folder of the game