View Single Post
Old 29th December 2017, 22:59   #47982  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quote:
Originally Posted by mclingo View Post
can you post your batch file please.

thanks
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 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 Now let's import registry file
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
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K
Manni is offline   Reply With Quote