Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.41 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.41 KB

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