[Bug 47705] New: Newer versions of the Beat Saber mod injector (BSIPA) no longer works

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 31 19:46:51 CDT 2019


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 at winehq.org
          Reporter: yshuiv7 at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list