https://bugs.winehq.org/show_bug.cgi?id=47705
Bug ID: 47705 Summary: Newer versions of the Beat Saber mod injector (BSIPA) no longer works Product: Wine Version: 4.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: yshuiv7@gmail.com Distribution: ---
# Context
BSIPA in a mod injector, I don't know the full detail about how it works, but here is the relevant bits"
1. a proxy winhttp.dll is loaded by the game instead of the real winhttp.dll 2. the proxy does some magic. a mono module is injected into the game. 3. the proxy loads the original winhttp.dll, and proxy the function calls 4. the injected mono code is run, and it tries to call some function in the proxy winhttp.dll, using [DllImport("winhttp")]. 5. step 4 fails with EntryPointNotFoundException.
naturally, to get 1~3 to work, i need to add winhttp=native,builtin override.
# Theory
step 3 causes wine to load the builtin winhttp.dll, and the builtin winhttp.dll is used from this point on. thus the function called in step 4 is not found.
# Experiment
i changed the override to winhttp=native only, rename the wine builtin winhttp.dll to winhttp_alt.dll, which is an alternative name the proxy will use to load winhttp. everything works after that.
# System info
the game was run from steam with proton 4.11-3
https://bugs.winehq.org/show_bug.cgi?id=47705
--- Comment #1 from yshuiv7@gmail.com --- i am not certain if this is a wine bug or not. i filed this issue just in case.
https://bugs.winehq.org/show_bug.cgi?id=47705
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de