Proxy d3d9.dll
for auto-loading libraries during LR2's startup.
Almost all of the relevant code was adapted from emskye96's infinitas_chainload project.
The proxy DLL template was generated using maluramichael's dll-proxy-generator project.
- Copy
d3d9.dll
andchainload.txt
to LR2's directory. - Add a line to the chainload.txt file containing a path to a library.
- Launch the game.