Skip to content

Add dxgi to the proxy export list#103

Open
HetCreep wants to merge 1 commit into
NeighTools:masterfrom
HetCreep:feat/dxgi-proxy
Open

Add dxgi to the proxy export list#103
HetCreep wants to merge 1 commit into
NeighTools:masterfrom
HetCreep:feat/dxgi-proxy

Conversation

@HetCreep
Copy link
Copy Markdown

@HetCreep HetCreep commented Jun 6, 2026

What

Adds the public dxgi.dll exports (CreateDXGIFactory, CreateDXGIFactory1, CreateDXGIFactory2, DXGIDeclareAdapterRemovalSupport, DXGIGetDebugInterface1) to proxylist.txt so the proxy also works when renamed to dxgi.dll.

Why

Some Unity 6 IL2CPP games - DMM titles especially - touch winhttp very early (their own networking/DRM), and with the winhttp.dll proxy host they silently fail to launch (#102). Those games import dxgi.dll too, so dxgi.dll is a clean alternative host - but the proxy currently exports no dxgi functions, so renaming it to dxgi.dll leaves the game unable to resolve CreateDXGIFactory* and it crashes on startup.

The proxy already picks its real host by its own filename (proxy.h -> system32\<name>.dll), so as dxgi.dll it forwards to the system dxgi correctly - only the export list was missing.

Testing

  • CI build green (the existing Windows build).
  • Built the x64 release, renamed it dxgi.dll, and launched Princess Connect! Re:Dive (DMM, Unity 6000.0.58f2, IL2CPP) with it: the game starts and BepInEx bootstraps, whereas the winhttp.dll host silently fails to launch the same game.

Additive only - winhttp.dll / version.dll are unaffected (they just carry a few extra unused exports, the same way winhttp and version already share one list).

Refs #102

Some Unity 6 IL2CPP games (e.g. DMM titles) touch winhttp early enough that the
winhttp proxy host fails to launch them, but they import dxgi too. Forwarding the
dxgi exports lets the same proxy work when renamed to dxgi.dll, giving those games
a working host. Additive: other hosts are unaffected. Refs NeighTools#102.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant