Handy batch file to fix 3D settings
  1 / 5    
[code]REM Change a registry key and values with Regedit.exe REM and a temporary .reg file. Self contained script. REM REM For magic keyboard numbers go here: REM http://3dvision-blog.com/3053-modifying-all-3d-vision-control-key-combinations-as-you-need/ REM Necessary header for importing .reg file. > "%temp%\Update3DSettings.reg" ECHO Windows Registry Editor Version 5.00 >> "%temp%\Update3DSettings.reg" ECHO. REM Decide which CPU architecture- to set the proper registry keys for x86 and x64. REM Using GOTO instead of IF THEN ELSE because of better compatibility. REM Assume x86 as the architecture. SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\Stereo3D]" REM Reset the key if that's not right. IF "%PROCESSOR_ARCHITECTURE%"=="x86" GOTO EchoKey SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NVIDIA Corporation\Global\Stereo3D]" :EchoKey >> "%temp%\Update3DSettings.reg" ECHO %KEY% REM Now the series of registry dwords for that \Stereo3D key. REM Modify the NVidia dword for SnapShotQuality. $55 is 85 decimal. >> "%temp%\Update3DSettings.reg" ECHO "SnapShotQuality"=dword:00000055 REM Disable LaserSight by default, it sometimes causes performance problems. >> "%temp%\Update3DSettings.reg" ECHO "LaserSightEnabled"=dword:00000000 REM Auto-check the Advanced config settings so Convergence HotKeys are available. >> "%temp%\Update3DSettings.reg" ECHO "StereoAdvancedHKConfig"=dword:00000001 REM Crank default Separation back to max of 100. >> "%temp%\Update3DSettings.reg" ECHO "StereoSeparation"=dword:00000064 REM Reset the take snapshot keyboard key >> "%temp%\Update3DSettings.reg" ECHO "SaveStereoImage"=dword:00000470 REM Reset the keyboard keys for up/down separation. >> "%temp%\Update3DSettings.reg" ECHO "StereoSeparationAdjustLess"=dword:00000272 >> "%temp%\Update3DSettings.reg" ECHO "StereoSeparationAdjustMore"=dword:00000273 REM Reset the keyboard keys for up/down convergence. >> "%temp%\Update3DSettings.reg" ECHO "StereoConvergenceAdjustLess"=dword:00000274 >> "%temp%\Update3DSettings.reg" ECHO "StereoConvergenceAdjustMore"=dword:00000275 REM Let's auto-enable 3D, without going through the test. REM Bypass the Medical Test >> "%temp%\Update3DSettings.reg" ECHO "StereoVisionConfirmed"=dword:00000001 REM Reset from Discover >> "%temp%\Update3DSettings.reg" ECHO "StereoViewerType"=dword:00000001 REM -- No registry key for opening the advanced in game settings disclosure triangle. REM These are all the hot-keys, with default values. Change to suit. REM Reset the main toggle key (Ctrl-T) >> "%temp%\Update3DSettings.reg" ECHO "StereoToggle"=dword:00000254 REM Reset the laser toggle key (Ctrl-F12) >> "%temp%\Update3DSettings.reg" ECHO "ToggleLaserSight"=dword:0000027B REM Reset the green text overlay toggle key (Ctrl-Alt-Ins) >> "%temp%\Update3DSettings.reg" ECHO "ToggleMemo"=dword:00000E2D REM Reset the frustum adjustment key (Ctrl-F11) >> "%temp%\Update3DSettings.reg" ECHO "CycleFrustumAdjust"=dword:0000027A REM Reset the Save Settings key (Ctrl-F7) >> "%temp%\Update3DSettings.reg" ECHO "WriteConfig"=dword:00000276 REM /s is used to avoid an "Are you sure" prompt regedit.exe /s "%temp%\Update3DSettings.reg" REM -- No registry key for Enable stereoscopic 3D checkbox, so we'll directly REM call the activation tool. Change path if this is not correct. REM We call for both 32 bit and 64 bit. If one fails it's not a problem. CALL "C:\Program Files\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable CALL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable [/code] The usual disclaimer- This modifies your [b]REGISTRY [/b]entries. Use at your own risk. Thanks to Qwinn to avoid UAC dialog: [list] [.]Control Panel, search for "policy", select "Edit Group Policy".[/.] [.]Click "Computer Configuration"[/.] [.]Click "Windows Settings"[/.] [.]Click "Scripts (Startup/Shutdown)"[/.] [.]Click "Startup"[/.] [.]Add your batch file.[/.] [/list] Update: Added automatic check for x64 vs. x86 Update: Added Volnaiskra's default key combos, for people to edit. Update: Added Shinra358's auto-enable. Update: Added key to force Discover off.
REM Change a registry key and values with Regedit.exe 
REM and a temporary .reg file. Self contained script.
REM
REM For magic keyboard numbers go here:
REM http://3dvision-blog.com/3053-modifying-all-3d-vision-control-key-combinations-as-you-need/


REM Necessary header for importing .reg file.
> "%temp%\Update3DSettings.reg" ECHO Windows Registry Editor Version 5.00
>> "%temp%\Update3DSettings.reg" ECHO.

REM Decide which CPU architecture- to set the proper registry keys for x86 and x64.
REM Using GOTO instead of IF THEN ELSE because of better compatibility.

REM Assume x86 as the architecture.
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\Stereo3D]"

REM Reset the key if that's not right.
IF "%PROCESSOR_ARCHITECTURE%"=="x86" GOTO EchoKey
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NVIDIA Corporation\Global\Stereo3D]"

:EchoKey
>> "%temp%\Update3DSettings.reg" ECHO %KEY%


REM Now the series of registry dwords for that \Stereo3D key.

REM Modify the NVidia dword for SnapShotQuality. $55 is 85 decimal.
>> "%temp%\Update3DSettings.reg" ECHO "SnapShotQuality"=dword:00000055

REM Disable LaserSight by default, it sometimes causes performance problems.
>> "%temp%\Update3DSettings.reg" ECHO "LaserSightEnabled"=dword:00000000

REM Auto-check the Advanced config settings so Convergence HotKeys are available.
>> "%temp%\Update3DSettings.reg" ECHO "StereoAdvancedHKConfig"=dword:00000001

REM Crank default Separation back to max of 100.
>> "%temp%\Update3DSettings.reg" ECHO "StereoSeparation"=dword:00000064

REM Reset the take snapshot keyboard key
>> "%temp%\Update3DSettings.reg" ECHO "SaveStereoImage"=dword:00000470

REM Reset the keyboard keys for up/down separation.
>> "%temp%\Update3DSettings.reg" ECHO "StereoSeparationAdjustLess"=dword:00000272
>> "%temp%\Update3DSettings.reg" ECHO "StereoSeparationAdjustMore"=dword:00000273

REM Reset the keyboard keys for up/down convergence.
>> "%temp%\Update3DSettings.reg" ECHO "StereoConvergenceAdjustLess"=dword:00000274
>> "%temp%\Update3DSettings.reg" ECHO "StereoConvergenceAdjustMore"=dword:00000275


REM Let's auto-enable 3D, without going through the test.

REM Bypass the Medical Test
>> "%temp%\Update3DSettings.reg" ECHO "StereoVisionConfirmed"=dword:00000001

REM Reset from Discover
>> "%temp%\Update3DSettings.reg" ECHO "StereoViewerType"=dword:00000001


REM -- No registry key for opening the advanced in game settings disclosure triangle.


REM These are all the hot-keys, with default values. Change to suit.

REM Reset the main toggle key (Ctrl-T)
>> "%temp%\Update3DSettings.reg" ECHO "StereoToggle"=dword:00000254

REM Reset the laser toggle key (Ctrl-F12)
>> "%temp%\Update3DSettings.reg" ECHO "ToggleLaserSight"=dword:0000027B

REM Reset the green text overlay toggle key (Ctrl-Alt-Ins)
>> "%temp%\Update3DSettings.reg" ECHO "ToggleMemo"=dword:00000E2D

REM Reset the frustum adjustment key (Ctrl-F11)
>> "%temp%\Update3DSettings.reg" ECHO "CycleFrustumAdjust"=dword:0000027A

REM Reset the Save Settings key (Ctrl-F7)
>> "%temp%\Update3DSettings.reg" ECHO "WriteConfig"=dword:00000276


REM /s is used to avoid an "Are you sure" prompt

regedit.exe /s "%temp%\Update3DSettings.reg"


REM -- No registry key for Enable stereoscopic 3D checkbox, so we'll directly
REM call the activation tool. Change path if this is not correct.
REM We call for both 32 bit and 64 bit. If one fails it's not a problem.

CALL "C:\Program Files\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
CALL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable


The usual disclaimer- This modifies your REGISTRY entries. Use at your own risk.


Thanks to Qwinn to avoid UAC dialog:
  • Control Panel, search for "policy", select "Edit Group Policy".
  • Click "Computer Configuration"
  • Click "Windows Settings"
  • Click "Scripts (Startup/Shutdown)"
  • Click "Startup"
  • Add your batch file.



Update: Added automatic check for x64 vs. x86
Update: Added Volnaiskra's default key combos, for people to edit.
Update: Added Shinra358's auto-enable.
Update: Added key to force Discover off.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

#1
Posted 05/24/2013 11:52 AM   
Wait, you don't enjoy having to change your hotkeys every time? Thats my favorite part of changing drivers.
Wait, you don't enjoy having to change your hotkeys every time? Thats my favorite part of changing drivers.

#2
Posted 05/24/2013 01:11 PM   
This looks really helpful Bo3b, thanks. I have exported a few reg keys, the main one being snapshot quality, but your file is very comprehensive.
This looks really helpful Bo3b, thanks. I have exported a few reg keys, the main one being snapshot quality, but your file is very comprehensive.

Rig: Intel i5-3570K @4.5GHz, 16Gb Ram, SSD, 2xGTX 980 SLI, Win10x64, 3D Vision 2 Asus VG278, Optoma HD66, CyberPowerPC-Fangbook (i7-4810MQ, GTX780M), Driving Force Pro Wheel

3DSolutionGaming: http://www.3dSolutionGaming.com
Helixmod: http://helixmod.blogspot.com
3DMigoto: https://github.com/bo3b/3Dmigoto/wiki

#3
Posted 05/24/2013 03:18 PM   
I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.
I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.

Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate

#4
Posted 05/24/2013 04:19 PM   
For those of you that do not know, here's an article on the Nvidia default screenshot quality http://3dvision-blog.com/2343-how-to-get-better-quality-stereoscopic-3d-screenshots-with-3d-vision/#more-2343
For those of you that do not know, here's an article on the Nvidia default screenshot quality

http://3dvision-blog.com/2343-how-to-get-better-quality-stereoscopic-3d-screenshots-with-3d-vision/#more-2343

#5
Posted 05/24/2013 07:17 PM   
[quote="Cookybiscuit"]Wait, you don't enjoy having to change your hotkeys every time? Thats my favorite part of changing drivers.[/quote]The actual HotKeys used are also in the registry. I use the defaults, but you can add a line to this batch file to set them to whatever you use. I'll see if I can find how they are encoded. They are a key setting like, AdjustConvergencKey=0x206. Some sort of encoding with Ctrl key. Seem to recall 3D-Visionblog talking about this. [quote="Shinra358"]I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.[/quote][s]This is also available in the registry. There is a separate key that has the settings saved for specific games. It should be straightforward to add Convergence+Separation to specific numbers you care about.[/s] Now found in game profiles instead.
Cookybiscuit said:Wait, you don't enjoy having to change your hotkeys every time? Thats my favorite part of changing drivers.
The actual HotKeys used are also in the registry. I use the defaults, but you can add a line to this batch file to set them to whatever you use.

I'll see if I can find how they are encoded. They are a key setting like, AdjustConvergencKey=0x206. Some sort of encoding with Ctrl key. Seem to recall 3D-Visionblog talking about this.

Shinra358 said:I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.
This is also available in the registry. There is a separate key that has the settings saved for specific games. It should be straightforward to add Convergence+Separation to specific numbers you care about. Now found in game profiles instead.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

#6
Posted 05/24/2013 09:58 PM   
[quote="bo3b"]I'll see if I can find how they are encoded. They are a key setting like, AdjustConvergencKey=0x206. Some sort of encoding with Ctrl key. Seem to recall 3D-Visionblog talking about this[/quote] Yah, here's the link http://3dvision-blog.com/3053-modifying-all-3d-vision-control-key-combinations-as-you-need/
bo3b said:I'll see if I can find how they are encoded. They are a key setting like, AdjustConvergencKey=0x206. Some sort of encoding with Ctrl key. Seem to recall 3D-Visionblog talking about this


Yah, here's the link

http://3dvision-blog.com/3053-modifying-all-3d-vision-control-key-combinations-as-you-need/

#7
Posted 05/24/2013 11:03 PM   
Updated to support the proper registry key for x64 systems automatically. Should work on both x86 and x64. I'm using the key specified by 3D-Vision Blog as: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NVIDIA Corporation\Global\Stereo3D] Please let me know if this doesn't work right. I don't presently have the ability to test it.
Updated to support the proper registry key for x64 systems automatically. Should work on both x86 and x64.

I'm using the key specified by 3D-Vision Blog as:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NVIDIA Corporation\Global\Stereo3D]

Please let me know if this doesn't work right. I don't presently have the ability to test it.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

#8
Posted 05/25/2013 01:11 AM   
[quote="Shinra358"]I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.[/quote]This is also available in the registry. There is a separate key that has the settings saved for specific games. It should be straightforward to add Convergence+Separation to specific numbers you care about.[/quote] cool. thanks for the info.
Shinra358 said:I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.
This is also available in the registry. There is a separate key that has the settings saved for specific games. It should be straightforward to add Convergence+Separation to specific numbers you care about.

cool. thanks for the info.

Model: Clevo P570WM Laptop
GPU: GeForce GTX 980M ~8GB GDDR5
CPU: Intel Core i7-4960X CPU +4.2GHz (12 CPUs)
Memory: 32GB Corsair Vengeance DDR3L 1600MHz, 4x8gb
OS: Microsoft Windows 7 Ultimate

#9
Posted 05/25/2013 03:45 AM   
Looks like this changed about a year ago. It used to be stored in the Registry under GameConfigs, but that is no longer the case. [url]https://forums.geforce.com/default/topic/517181/3d-vision-profiles-with-latest-3xx-beta/[/url] Now the game settings are stored in the 3D Vision profile itself.
Looks like this changed about a year ago. It used to be stored in the Registry under GameConfigs, but that is no longer the case.

https://forums.geforce.com/default/topic/517181/3d-vision-profiles-with-latest-3xx-beta/

Now the game settings are stored in the 3D Vision profile itself.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

#10
Posted 05/27/2013 01:47 AM   
Seems like as[quote="Shinra358"][quote="Shinra358"]I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.[/quote]This is also available in the registry. There is a separate key that has the settings saved for specific games. It should be straightforward to add Convergence+Separation to specific numbers you care about.[/quote] cool. thanks for the info.[/quote] Isn't that just Ctrl-F7 or am I missing something?
Seems like as
Shinra358 said:
Shinra358 said:I wish there was a game profiler like this that keeps convergeance, depth, etc. for specific games.
This is also available in the registry. There is a separate key that has the settings saved for specific games. It should be straightforward to add Convergence+Separation to specific numbers you care about.


cool. thanks for the info.
Isn't that just Ctrl-F7 or am I missing something?

#11
Posted 05/27/2013 03:38 AM   
Works great. I think the reason why everyone assumes that 720P 3D gaming on projectors is worse then it is, is because of our godawful screenshots. Then uploading it onto 3d vision live hurts it even more. [That and people don't understand they are using a 1080P native res display and we are using a 720P. So when they go to 720p its not a fair comparison.] Not sure why I didnt bother with "gaming photographer's" settings before now. They do the work and make it look gorgeous. Im positive my monitor would ghost like crazy. I didnt even put 4xms sgssaa on yet and can't wait. [url]https://s3.amazonaws.com/3drequest/alicemadnessreturns02_85.jps[/url] [url]http://photos.3dvisionlive.com/eqzitara/image/51a8089f5ec346322e0000e1/[/url]
Works great. I think the reason why everyone assumes that 720P 3D gaming on projectors is worse then it is, is because of our godawful screenshots. Then uploading it onto 3d vision live hurts it even more. [That and people don't understand they are using a 1080P native res display and we are using a 720P. So when they go to 720p its not a fair comparison.]

Not sure why I didnt bother with "gaming photographer's" settings before now. They do the work and make it look gorgeous. Im positive my monitor would ghost like crazy. I didnt even put 4xms sgssaa on yet and can't wait.
https://s3.amazonaws.com/3drequest/alicemadnessreturns02_85.jps
http://photos.3dvisionlive.com/eqzitara/image/51a8089f5ec346322e0000e1/

Co-founder of helixmod.blog.com

If you like one of my helixmod patches and want to donate. Can send to me through paypal - eqzitara@yahoo.com

#12
Posted 05/31/2013 02:16 AM   
I updated the batch file on the first post to include the hot keys for snapshot, separation, and convergence. I don't know, and could not quickly find, the registry key for SLI setting. If anyone knows, I can add that. Also, I could not be sure I wasn't going to break something if I were to re-enable S3D via registry, so I don't do that one. Maybe use that as a reminder that you want to run the batch file, or a reboot for auto-fix.
I updated the batch file on the first post to include the hot keys for snapshot, separation, and convergence.

I don't know, and could not quickly find, the registry key for SLI setting. If anyone knows, I can add that.

Also, I could not be sure I wasn't going to break something if I were to re-enable S3D via registry, so I don't do that one. Maybe use that as a reminder that you want to run the batch file, or a reboot for auto-fix.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

#13
Posted 06/27/2013 07:00 AM   
Thanks again for the BAT, b03b. If anyone is like me and likes to remap all the other 3Dvision-related keys as well, the commands are below. [code] REM Reset the main toggle key >> "%temp%\Update3DSettings.reg" ECHO "StereoToggle"=dword:00000060 REM Reset the laser toggle key >> "%temp%\Update3DSettings.reg" ECHO "ToggleLaserSight"=dword:00000063 REM Reset the green text overlay toggle key >> "%temp%\Update3DSettings.reg" ECHO "ToggleMemo"=dword:0000006E REM Reset the frustum adjustment key >> "%temp%\Update3DSettings.reg" ECHO "CycleFrustumAdjust"=dword:00000066 REM Reset the Save Settings key >> "%temp%\Update3DSettings.reg" ECHO "WriteConfig"=dword:0000006a [/code]
Thanks again for the BAT, b03b.

If anyone is like me and likes to remap all the other 3Dvision-related keys as well, the commands are below.
REM Reset the main toggle key
>> "%temp%\Update3DSettings.reg" ECHO "StereoToggle"=dword:00000060

REM Reset the laser toggle key
>> "%temp%\Update3DSettings.reg" ECHO "ToggleLaserSight"=dword:00000063

REM Reset the green text overlay toggle key
>> "%temp%\Update3DSettings.reg" ECHO "ToggleMemo"=dword:0000006E

REM Reset the frustum adjustment key
>> "%temp%\Update3DSettings.reg" ECHO "CycleFrustumAdjust"=dword:00000066

REM Reset the Save Settings key
>> "%temp%\Update3DSettings.reg" ECHO "WriteConfig"=dword:0000006a

ImageVolnaPC.com - Tips, tweaks, performance comparisons (PhysX card, SLI scaling, etc)

#14
Posted 07/02/2013 08:30 AM   
Thanks for adding those. I edited the first post to include them now too. (But I set the key values to their defaults.) Runs on my computer with no untoward affects, but people might want to edit the list down to just the items they care about for their own file.
Thanks for adding those. I edited the first post to include them now too. (But I set the key values to their defaults.)

Runs on my computer with no untoward affects, but people might want to edit the list down to just the items they care about for their own file.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

#15
Posted 07/03/2013 10:18 AM   
  1 / 5    
Scroll To Top