[DX9-10-11] Custom convergence/depth settings in locked games
BY CHIRI
BY CHIRI
CONVERGENCE UNLOCKED | SEPERATE SETTING FOR GUNSIGHTS |
UPDATE: Metro Last Light compatible.
Compatibility list[Tested only]
Call of Duty: Black Ops 2
Metro 2033
Metro Last Light
Discussion/author post
-----------------------------------------------------------------------------------------------
Author Notes(Chiri)
I decided to not add mouse specific processing but to add a generic DirectInput button handling: The version which allows a custom Convergence/Separation setting for any device using any possible button (gamepad, keyboard, mouse..).All settings are optional and can be removed in the ini-file, eg: if Separation setting is not there, separation will not be overwritten.
here's an example using the right mouse button:
[OverrideSettings]
Input=Mouse
Action=Button 1
Convergence=2.0
Separation=10.0
The strings "Mouse" and "Button 1" come from DirectInput. If you use a gamepad or a second mouse, just add the Input logging:
[Logging]
Input=1
This will write out all DirectInput devices if no override settings are present. After adding the device as "Input=your device", all possible buttons for this device are logged.
If you can read some C, the attached source code might clear things up if you're confused about my explanations.
UPDATE
Because a lot of people use XBOX360 controllers, I've added XInput support (special API from Microsoft for XBOX accessories). See the ini-file below for an example which I've just successfully tested. In the source code is a list with all possible options.
Included example nvapi.ini:; Example of logging options
[Logging]
;Input=1
;Convergence=1
;Separation=1
; Example of mouse configuration
;[OverrideSettings]
;Input=Mouse
;Action=Button 1
;Convergence=5.0
;Separation=10
; Example of XBOX360 joypad configuration
[OverrideSettings]
XInputDevice=0
Action=LeftTrigger
Convergence=5.0
Separation=10
; Example of generic joystick/joypad configuration
;[OverrideSettings]
;Input=WingMan Cordless Gamepad
;DeviceNr=0
;Action=Button9
;Convergence=5.0
;Separation=10
Editor note[Eqzitara]:Metro Last Light recommended settings: open Nvapi.ini and changing to these lines.Convergence=0.01
;Separation=10.0
FILE HERE[CONTROLLER]
FILE HERE[MOUSE]
FILE HERE[KEYBOARD] DEFAULT KEY IS O
If any of these do not work open nvapi.ini and change the names to match your language spoken [Should be your OS's language]
If your mouse is not working...
-Download Keyboard version HERE
-Install to game folder. Test to make sure O key works in game.
-Download Script: Here
-Turn on script before playing
Special Thanks: pirateguybrush, ddorpm
0 comments:
Post a Comment