Guide: How to Correct/Off-Center the 3D LaserSight
I was searching for a way to get Prey(OpenGL) to work in 3D when I stumbled across a comment on MTBS about this on the older Legacy Drivers using the GameConfigs in the Registry, anyway after a bit of tinkering I got it working on 3D Vision in the Profiles. :)
Required:
[url=http://nvidia.custhelp.com/app/answers/detail/a_id/2625]GeForce 3D Profile Manager[/url]
[url=http://gregstoll.dyndns.org/~gregstoll/floattohex/]Floating Point to Hex Converter[/url]
Recommended:
[url=http://notepad-plus-plus.org/download/v6.7.4.html]Notepad++[/url]
Run GeForce 3D Profile Manager, click Export SLI Profiles, and save NVIDIA Profiles.txt. Now open NVIDIA Profiles.txt in Notepad++, to Create a Profile insert the following 'Blank' Profile at the beginning after this section, and before the next Profile, changing the word 'Blank' to match the game you're making a Profile for.
[code]BaseProfile "Base Profile"
SelectedGlobalProfile "Base Profile"[/code]
[code]Profile "Blank"
ShowOn GeForce
ProfileType Application
Executable "Blank.exe"
Setting ID_0x7057e831 = 0x3f800000 // LaserXAdjust
Setting ID_0x70225308 = 0x3f800000 // LaserYAdjust
Setting ID_0x701eb457 = 0x00000001 // Mystery Stereo Setting
Setting ID_0x7058b6e1 = 0x00000001 // LaserSightEnabled
EndProfile[/code]
From here you can Save NVIDIA Profiles.txt, then click the Import SLI Profiles in GeForce 3D Profile Manager and import it and then start the Game. If everything went correctly the LaserSight should be enabled and you're ready to tweak it into place, Alt-Tab out of the game.
Ok, so the 0x3f800000 Hex Value equals a 1.0 Floating Point Value and that's supposed to be relatively Centered on the Screen, both LaserXAdjust and LaserYAdjust at 1.0, and a Value of 0.0 on both Values would move it to the Upper Left-hand corner of the Screen and a Value of 2.0 on both would move it to the Lower Right-hand side(or off-screen).
So if you only need to move it slightly to the Right, you can use the [url=http://gregstoll.dyndns.org/~gregstoll/floattohex/]Floating Point to Hex Converter[/url] to Convert 1.05 to Hex, 0x3f866666. Now you'd just need to Edit the LaserXAdjust Value like so:
[code] Setting ID_0x7057e831 = 0x3f866666 // LaserXAdjust[/code]
Then, Save and Import NVIDIA Profiles.txt again, Alt-Tab back into the game and you should notice that the LaserSight is shifted to the Right. So the basics of it is less than 1.0 shifts X to the Left and Y Up and more than 1.0 shifts X to the Right and Y Down ... from there you can keep tweaking the X/Y coordinates until you get it exactly where you want it.
To Edit an Existing Profile Enable the LaserSight and Add/Edit the LaserX/YAdjust Values.
I was searching for a way to get Prey(OpenGL) to work in 3D when I stumbled across a comment on MTBS about this on the older Legacy Drivers using the GameConfigs in the Registry, anyway after a bit of tinkering I got it working on 3D Vision in the Profiles. :)
Run GeForce 3D Profile Manager, click Export SLI Profiles, and save NVIDIA Profiles.txt. Now open NVIDIA Profiles.txt in Notepad++, to Create a Profile insert the following 'Blank' Profile at the beginning after this section, and before the next Profile, changing the word 'Blank' to match the game you're making a Profile for.
From here you can Save NVIDIA Profiles.txt, then click the Import SLI Profiles in GeForce 3D Profile Manager and import it and then start the Game. If everything went correctly the LaserSight should be enabled and you're ready to tweak it into place, Alt-Tab out of the game.
Ok, so the 0x3f800000 Hex Value equals a 1.0 Floating Point Value and that's supposed to be relatively Centered on the Screen, both LaserXAdjust and LaserYAdjust at 1.0, and a Value of 0.0 on both Values would move it to the Upper Left-hand corner of the Screen and a Value of 2.0 on both would move it to the Lower Right-hand side(or off-screen).
So if you only need to move it slightly to the Right, you can use the Floating Point to Hex Converter to Convert 1.05 to Hex, 0x3f866666. Now you'd just need to Edit the LaserXAdjust Value like so:
Then, Save and Import NVIDIA Profiles.txt again, Alt-Tab back into the game and you should notice that the LaserSight is shifted to the Right. So the basics of it is less than 1.0 shifts X to the Left and Y Up and more than 1.0 shifts X to the Right and Y Down ... from there you can keep tweaking the X/Y coordinates until you get it exactly where you want it.
To Edit an Existing Profile Enable the LaserSight and Add/Edit the LaserX/YAdjust Values.
Cool :) I've added this info and a link to this guide to the wiki:
[url]http://wiki.bo3b.net/index.php?title=Driver_Profile_Settings#Laser_Sight_Settings[/url]
Have you tried messing with LaserZAdjust? In a couple of games I've noticed that the laser sight is closer than I'd like and I wonder if that setting might adjust it? There's a bunch of other settings on the wiki as well that might be worth experimenting with.
It looks like there might be some key bindings you can use to adjust it on the fly - no idea if they work or not, but you can try setting LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus in the same way as other key bindings and see if they do anything.
Have you tried messing with LaserZAdjust? In a couple of games I've noticed that the laser sight is closer than I'd like and I wonder if that setting might adjust it? There's a bunch of other settings on the wiki as well that might be worth experimenting with.
It looks like there might be some key bindings you can use to adjust it on the fly - no idea if they work or not, but you can try setting LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus in the same way as other key bindings and see if they do anything.
2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit
There's also a crosshair keybind feature that was implemented by jenson. It requires swapping out the nvstres.dll with a modified one, so it's probably only useful on older games. But you could bind the crosshair to the right mouse click.
I know the community wrappers have right click convergenge, but I'm unsure about a crosshair bind.
[quote="eqzitara"]Can remove crosshair using console of any source game.(which I think I did for hl2) Can either use nvidia lasersight. Or [url="https://s3.amazonaws.com/Mana84/3dcrosshairfix.zip"]right click nvidia lasersight.[/url][/quote]
There's also a crosshair keybind feature that was implemented by jenson. It requires swapping out the nvstres.dll with a modified one, so it's probably only useful on older games. But you could bind the crosshair to the right mouse click.
I know the community wrappers have right click convergenge, but I'm unsure about a crosshair bind.
eqzitara said:Can remove crosshair using console of any source game.(which I think I did for hl2) Can either use nvidia lasersight. Or right click nvidia lasersight.
I dug up my Prey disc and tried to use both the original and newer modified gldirect opengl32.dll. It gave me the same error with both. The older version is supposedly only compatible with Vista and the newer one adds W7 support. You can see the Nvidia compatibility warning for a brief second, before it kicks out to the error log.
https://forums.geforce.com/default/topic/468348/
I dug up my Prey disc and tried to use both the original and newer modified gldirect opengl32.dll. It gave me the same error with both. The older version is supposedly only compatible with Vista and the newer one adds W7 support. You can see the Nvidia compatibility warning for a brief second, before it kicks out to the error log.
[quote="DarkStarSword"]Cool :) I've added this info and a link to this guide to the wiki:
[url]http://wiki.bo3b.net/index.php?title=Driver_Profile_Settings#Laser_Sight_Settings[/url]
Have you tried messing with LaserZAdjust? In a couple of games I've noticed that the laser sight is closer than I'd like and I wonder if that setting might adjust it? There's a bunch of other settings on the wiki as well that might be worth experimenting with.
It looks like there might be some key bindings you can use to adjust it on the fly - no idea if they work or not, but you can try setting LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus in the same way as other key bindings and see if they do anything.[/quote]Yeah I was hanging out on the wiki pretty much the whole time I was messing around with it. :)
LaserZAdjust: [url=https://forums.geforce.com/default/topic/813241/3d-vision/game-profile-settings-wiki-page/post/4471607/#4471607][s]I couldn't seem to get it to work, I tried it in a game where I was getting a 2D LaserSight and a game that I was getting a 3D one, neither seemed to change but it may need a different value.[/s][/url]
LaserSightProperty: Governs opacity, I was able to script a change from 100% Transparency to 100% Opacity but I can't find a way other than Alt-Tab to 'Refresh' the change in-game.
InGameLaserSight: Attached to a lot of Source games, HL2, LFD2 ... might dynamically use/attach the games crosshair?
LaserSightTrigger: Only attached to the Gears of War Profile(Setting ID_0x70031b88 = 0x80b671f8 InternalSettingFlag=V0), I don't have the game so I'm not sure how it behaves in that game vs others and the Values way to high to be a KeyBind, unless it's a TriggerBind?
InGameLaserSightDX9States: Again, used in certain Source games?
ToggleLaserSight: [s]I couldn't seem to get it to work, unless it's linked to something else.
[/s] Only works when set via the Registry and not via a Profile.
LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus: Same, didn't seem to work. I tried via Registry and Profile.
One of the things I noticed is that it seems like you can set KeyBindings(Some need to be set via Registry) in the Profile on a per game basis and they do overrule the default keys, I tried Depth+/- on the +/- Keys(bb,bd) and not only did it work it disabled F3/F4.
Have you tried messing with LaserZAdjust? In a couple of games I've noticed that the laser sight is closer than I'd like and I wonder if that setting might adjust it? There's a bunch of other settings on the wiki as well that might be worth experimenting with.
It looks like there might be some key bindings you can use to adjust it on the fly - no idea if they work or not, but you can try setting LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus in the same way as other key bindings and see if they do anything.
Yeah I was hanging out on the wiki pretty much the whole time I was messing around with it. :)
LaserSightProperty: Governs opacity, I was able to script a change from 100% Transparency to 100% Opacity but I can't find a way other than Alt-Tab to 'Refresh' the change in-game.
InGameLaserSight: Attached to a lot of Source games, HL2, LFD2 ... might dynamically use/attach the games crosshair?
LaserSightTrigger: Only attached to the Gears of War Profile(Setting ID_0x70031b88 = 0x80b671f8 InternalSettingFlag=V0), I don't have the game so I'm not sure how it behaves in that game vs others and the Values way to high to be a KeyBind, unless it's a TriggerBind?
InGameLaserSightDX9States: Again, used in certain Source games?
ToggleLaserSight: I couldn't seem to get it to work, unless it's linked to something else. Only works when set via the Registry and not via a Profile.
LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus: Same, didn't seem to work. I tried via Registry and Profile.
One of the things I noticed is that it seems like you can set KeyBindings(Some need to be set via Registry) in the Profile on a per game basis and they do overrule the default keys, I tried Depth+/- on the +/- Keys(bb,bd) and not only did it work it disabled F3/F4.
Update:
I found an alternate way of correcting the LaserSight/InGameLaserSight Depth instead of trying to use LaserZAdjust, I found that changing the Rhwscr/Rhwinf Values changed the Min/Max Values of the LaserSight/InGameLaserSight...
The way it seemed to work with Rhwscr is lower Values pushed Min into Depth, closer to Rhwinf(infinity), which gave it less range and made it less responsive, eg the way it's working in Half-Life 2... higher Values push Min closer to Screen Depth and increase range, excessive Values cause the LaserSight to lock to Screen Depth at Min... a little goes a long way here...
Take Half-Life 2 for instance, the Max/Rhwinf Value of 0x38D1B717(0.0001)* is ok but the Min/Rhwscr Value of 0x3DCCCCCD(0.1) is way off making the InGameLaserSight practically useless... as well as using the Mass Effect Profile/LaserSight because they all share the same exact Rhwscr/Rhwinf Values
...but if you use Titanfall's Rhwscr Value of 0x3E19999A(1.5) both InGameLaserSight and LaserSight work extremely well, as far as I could tell it didn't affect anything other than the LaserSight and worked with the fix up on the blog as long as you removed/renamed VS8AA7BCD8(.8AA7BCD8.txt).
*[url=https://gregstoll.dyndns.org/~gregstoll/floattohex/]Hex(Float)[/url]
Update:
I found an alternate way of correcting the LaserSight/InGameLaserSight Depth instead of trying to use LaserZAdjust, I found that changing the Rhwscr/Rhwinf Values changed the Min/Max Values of the LaserSight/InGameLaserSight...
The way it seemed to work with Rhwscr is lower Values pushed Min into Depth, closer to Rhwinf(infinity), which gave it less range and made it less responsive, eg the way it's working in Half-Life 2... higher Values push Min closer to Screen Depth and increase range, excessive Values cause the LaserSight to lock to Screen Depth at Min... a little goes a long way here...
Take Half-Life 2 for instance, the Max/Rhwinf Value of 0x38D1B717(0.0001)* is ok but the Min/Rhwscr Value of 0x3DCCCCCD(0.1) is way off making the InGameLaserSight practically useless... as well as using the Mass Effect Profile/LaserSight because they all share the same exact Rhwscr/Rhwinf Values
...but if you use Titanfall's Rhwscr Value of 0x3E19999A(1.5) both InGameLaserSight and LaserSight work extremely well, as far as I could tell it didn't affect anything other than the LaserSight and worked with the fix up on the blog as long as you removed/renamed VS8AA7BCD8(.8AA7BCD8.txt).
Required:
GeForce 3D Profile Manager
Floating Point to Hex Converter
Recommended:
Notepad++
Run GeForce 3D Profile Manager, click Export SLI Profiles, and save NVIDIA Profiles.txt. Now open NVIDIA Profiles.txt in Notepad++, to Create a Profile insert the following 'Blank' Profile at the beginning after this section, and before the next Profile, changing the word 'Blank' to match the game you're making a Profile for.
From here you can Save NVIDIA Profiles.txt, then click the Import SLI Profiles in GeForce 3D Profile Manager and import it and then start the Game. If everything went correctly the LaserSight should be enabled and you're ready to tweak it into place, Alt-Tab out of the game.
Ok, so the 0x3f800000 Hex Value equals a 1.0 Floating Point Value and that's supposed to be relatively Centered on the Screen, both LaserXAdjust and LaserYAdjust at 1.0, and a Value of 0.0 on both Values would move it to the Upper Left-hand corner of the Screen and a Value of 2.0 on both would move it to the Lower Right-hand side(or off-screen).
So if you only need to move it slightly to the Right, you can use the Floating Point to Hex Converter to Convert 1.05 to Hex, 0x3f866666. Now you'd just need to Edit the LaserXAdjust Value like so:
Then, Save and Import NVIDIA Profiles.txt again, Alt-Tab back into the game and you should notice that the LaserSight is shifted to the Right. So the basics of it is less than 1.0 shifts X to the Left and Y Up and more than 1.0 shifts X to the Right and Y Down ... from there you can keep tweaking the X/Y coordinates until you get it exactly where you want it.
To Edit an Existing Profile Enable the LaserSight and Add/Edit the LaserX/YAdjust Values.
[MonitorSizeOverride][Global/Base Profile Tweaks][Depth=IPD]
http://wiki.bo3b.net/index.php?title=Driver_Profile_Settings#Laser_Sight_Settings
Have you tried messing with LaserZAdjust? In a couple of games I've noticed that the laser sight is closer than I'd like and I wonder if that setting might adjust it? There's a bunch of other settings on the wiki as well that might be worth experimenting with.
It looks like there might be some key bindings you can use to adjust it on the fly - no idea if they work or not, but you can try setting LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus in the same way as other key bindings and see if they do anything.
2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit
Alienware M17x R4 w/ built in 3D, Intel i7 3740QM, GTX 680m 2GB, 16GB DDR3 1600MHz RAM, Win7 64bit, 1TB SSD, 1TB HDD, 750GB HDD
Pre-release 3D fixes, shadertool.py and other goodies: http://github.com/DarkStarSword/3d-fixes
Support me on Patreon: https://www.patreon.com/DarkStarSword or PayPal: https://www.paypal.me/DarkStarSword
I know the community wrappers have right click convergenge, but I'm unsure about a crosshair bind.
https://forums.geforce.com/default/topic/468348/
LaserZAdjust:
I couldn't seem to get it to work, I tried it in a game where I was getting a 2D LaserSight and a game that I was getting a 3D one, neither seemed to change but it may need a different value.LaserSightProperty: Governs opacity, I was able to script a change from 100% Transparency to 100% Opacity but I can't find a way other than Alt-Tab to 'Refresh' the change in-game.
InGameLaserSight: Attached to a lot of Source games, HL2, LFD2 ... might dynamically use/attach the games crosshair?
LaserSightTrigger: Only attached to the Gears of War Profile(Setting ID_0x70031b88 = 0x80b671f8 InternalSettingFlag=V0), I don't have the game so I'm not sure how it behaves in that game vs others and the Values way to high to be a KeyBind, unless it's a TriggerBind?
InGameLaserSightDX9States: Again, used in certain Source games?
ToggleLaserSight:
I couldn't seem to get it to work, unless it's linked to something else.
Only works when set via the Registry and not via a Profile.LaserAdjustXMinus, LaserAdjustXPlus, LaserAdjustYMinus, LaserAdjustYPlus: Same, didn't seem to work. I tried via Registry and Profile.
One of the things I noticed is that it seems like you can set KeyBindings(Some need to be set via Registry) in the Profile on a per game basis and they do overrule the default keys, I tried Depth+/- on the +/- Keys(bb,bd) and not only did it work it disabled F3/F4.
[MonitorSizeOverride][Global/Base Profile Tweaks][Depth=IPD]
I found an alternate way of correcting the LaserSight/InGameLaserSight Depth instead of trying to use LaserZAdjust, I found that changing the Rhwscr/Rhwinf Values changed the Min/Max Values of the LaserSight/InGameLaserSight...
The way it seemed to work with Rhwscr is lower Values pushed Min into Depth, closer to Rhwinf(infinity), which gave it less range and made it less responsive, eg the way it's working in Half-Life 2... higher Values push Min closer to Screen Depth and increase range, excessive Values cause the LaserSight to lock to Screen Depth at Min... a little goes a long way here...
Take Half-Life 2 for instance, the Max/Rhwinf Value of 0x38D1B717(0.0001)* is ok but the Min/Rhwscr Value of 0x3DCCCCCD(0.1) is way off making the InGameLaserSight practically useless... as well as using the Mass Effect Profile/LaserSight because they all share the same exact Rhwscr/Rhwinf Values
...but if you use Titanfall's Rhwscr Value of 0x3E19999A(1.5) both InGameLaserSight and LaserSight work extremely well, as far as I could tell it didn't affect anything other than the LaserSight and worked with the fix up on the blog as long as you removed/renamed VS8AA7BCD8(.8AA7BCD8.txt).
*Hex(Float)
[MonitorSizeOverride][Global/Base Profile Tweaks][Depth=IPD]