|25 Jul 2011||#1|
| || |
I have a script I use to use for Windows XP but seems some batch commands have changed.. I want to be able to toggle on/off DirectX in Windows 7. Anyone know if this works in Windows 7 and how to fix the script?
@Echo off Title "Toggling DX Mode" ::Mode CON: COLS=35 Lines=5 Reg query HKLM\SOFTWARE\Microsoft\DirectDraw|Findstr /I "emulationonly">Nul If %Errorlevel%==1 (Set _CurMode=0x0)&Goto _Test For /F "Tokens=3 skip=3" %%I In ('Reg query HKLM\SOFTWARE\Microsoft\DirectDraw /V EmulationOnly') Do Set _CurMode=%%I :_Test If %_CurMode%==0x0 (Set _Setting=Disable) Else (Set _Setting=Enable) ::Set Mode=1 to Disable, Mode=0 to Enable Set _Mode=0 If /I "%_Setting%"=="Disable" Set _Mode=1 If /I "%_Setting%"=="Enable" Set _Mode=0 Reg Add HKLM\SOFTWARE\Microsoft\DirectDraw /V EmulationOnly /T REG_DWORD /D %_Mode% /F>Nul Reg Add HKLM\SOFTWARE\Microsoft\Direct3D\Drivers /V SoftwareOnly /T REG_DWORD /D %_Mode% /F>Nul Echo Acceleration has been %_Setting%d Ping 220.127.116.11 -n 1 -w 5000>Nul
For /F "Tokens=3 skip=3" %I In ('Reg query HKLM\SOFTWARE\Microsoft\DirectDraw /V EmulationOnly') Do Set _CurMode=%I
|My System Specs|
|27 Jul 2011||#6|
| || |
It's an old windows type game... Actually several games written in rtp.. I find when I disable the directx the games would no longer flicker when I go to full screen. So the toggle is what I used to do that.. rtp games are games written by fans with rpg maker which is not a new program at all so tends to have some minor issues and one is full screen flickers on many of the games.
|My System Specs|
|Similar help and support threads for2: DirectX toggle?|
|How to reinstall DirectX 11 or repair DirectX 11||Software|
|Geforce GT 220 is compatible with DirectX 10 but installs DirectX 11??||Drivers|
|DXDiag shows DirectX 11 but Windows Experience Index shows DirectX 10||Performance & Maintenance|
|Having DirectX Problem, Specifically DirectX Diagnostic||Performance & Maintenance|
|Radeon HD 5750 directx 10 or directx 11||Graphic Cards|
|DirectX issue - setup has detected that one or more directx component||Graphic Cards|
|toggle gadgets on/off?||Gadgets|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 01:06 AM.