Skip to content

Proxy DLL for d3d9.dll to automatically load libraries into LR2

License

Notifications You must be signed in to change notification settings

SayakaIsBaka/lr2_chainload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lr2_chainload

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.

Usage

  • Copy d3d9.dll and chainload.txt to LR2's directory.
  • Add a line to the chainload.txt file containing a path to a library. For example, if you want to load a file named LRbase62.dll:
# Comments are prefixed with a # character
# One line corresponds to one path to a library; just add more lines if you want to load multiple libraries
# If the file is in LR2's folder
LRbase62.dll
# Or with a full path
X:\My\Folder\LRbase62.dll
  • Launch the game.

You can also load a specific d3d9.dll file instead of the default system one by specifying the following line in chainload.txt:

d3d9_overwrite=<path to external d3d9 DLL>

This is useful if you are running LR2 through some DirectX wrappers, such as dgVoodoo. Before using this option, make sure that the DLL you want to use is 32-bit.

Requirements

About

Proxy DLL for d3d9.dll to automatically load libraries into LR2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages