/plugy_fps_unlock

Plugy code with the FPS unlock/ mouse fix feature from BH 1.9.9

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Build Status

Original Code

PlugY v14

Feature Addition

FPS unlock / mouse fix feature from BH 1.9.9

Add option to remove FPS limit in single player From BH release notes

Video of FPS cap

In game the FPS is capped to 25 and the mouse is choppy, in the menus the FPS is uncapped and the mouse is smoother
https://www.youtube.com/watch?v=WAC4JfPzCTI
FPS video thumbnail

Method

Hex edit the running process D2client.dll

relevant BH code:

Patch* fpsPatch = new Patch(NOP, D2CLIENT, { 0x44E51, 0x45EA1 }, 0, 8);

Notes

FPS Unlock Works for D2 v1.13c and 1.13d Only

The offsets that are present in BH are for v1.13c and v1.13d. BH has not yet added this feature for v1.14+.

Install

Install Plugy v14.02 from http://plugy.free.fr/en/index.html. Copy PlugY.dll from this release and place it into your Diablo II/ folder.

If you already have older versions of Plugy v14.01 or v11.02, use the respective Plugy.dll from this release.

Credits and Discussion

A D2Mods.info / Phrozen Keep thread about this feature and implementations is here. Credit goes out to devurandom, Necrolis, fearedbliss.

@fearedbliss also implemented this FPS unlock feature for Cactus. See the notes.