Skip to content

Proxy library that fixes a few issues in older L2 clients

License

Notifications You must be signed in to change notification settings

ritsuwastaken/dinput8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dinput8 for L2 · build status

A proxy library for L2, compatible with DxWrapper and ReShade.

  • Blocks API calls to SetDeviceGammaRamp from d3ddrv.dll to prevent changes to the system brightness.
  • Skips The game may not be consistent because AGP is deactivated. Please activate AGP for consistancy. warning.

❗ You won't be able to adjust the brightness via the in-game menu or l2.ini. Use ReShade instead.

ReShade settings

Select Levels.fx (installed by default), set White point to your preference, e.g. 140-160.

Download

Get the latest version from Releases.

Usage

Put dinput8.dll into the system folder of L2.
If the file is already in use (e.g. by L2HUB), you can rename dinput8.dll from this project to version.dll.

Build

# Configure the project
cmake . -B 'build' -G 'Visual Studio 17 2022' -A Win32
# Build the library to ./build/Release/dinput8.dll
cmake --build 'build' --config Release