-
-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1060 from the-P1neapple/patch-1
- Loading branch information
Showing
5 changed files
with
89 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...AtlasDesktop/3. General Configuration/FSO and Game Bar/Disable FSO & Game Bar Support.cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@echo off | ||
|
||
set "___args="%~f0" %*" | ||
fltmc > nul 2>&1 || ( | ||
echo Administrator privileges are required. | ||
powershell -c "Start-Process -Verb RunAs -FilePath 'cmd' -ArgumentList """/c $env:___args"""" 2> nul || ( | ||
echo You must run this script as admin. | ||
if "%*"=="" pause | ||
exit /b 1 | ||
) | ||
exit /b | ||
) | ||
|
||
echo] | ||
( | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_DSEBehavior" /t REG_DWORD /d "2" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d "1" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_EFSEFeatureFlags" /t REG_DWORD /d "0" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_FSEBehavior" /t REG_DWORD /d "2" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_FSEBehaviorMode" /t REG_DWORD /d "2" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_HonorUserFSEBehaviorMode" /t REG_DWORD /d "1" /f | ||
|
||
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "__COMPAT_LAYER" /t REG_SZ /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE" /f | ||
|
||
reg add "HKEY_CURRENT_USER\System\GameBar" /v "GamePanelStartupTipIndex" /t REG_DWORD /d "3" /f | ||
reg add "HKEY_CURRENT_USER\System\GameBar" /v "ShowStartupPanel" /t REG_DWORD /d "0" /f | ||
reg add "HKEY_CURRENT_USER\System\GameBar" /v "UseNexusForGameBarEnabled" /t REG_DWORD /d "0" /f | ||
|
||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Gaming.GameBar.PresenceServer.Internal.PresenceWriter" /v "ActivationType" /t REG_DWORD /d "0" /f | ||
|
||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v "AllowGameDVR" /t REG_DWORD /d "0" /f | ||
|
||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\ApplicationManagement\AllowGameDVR" /v "value" /t REG_DWORD /d "0" /f | ||
|
||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d "0" /f | ||
|
||
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /v "AppCaptureEnabled" /t REG_DWORD /d "0" /f | ||
) > nul 2>&1 | ||
|
||
echo] | ||
echo Finished, FSO and Game Bar are now Disabled. | ||
echo Press any key to exit... | ||
pause > nul | ||
exit /b |
41 changes: 0 additions & 41 deletions
41
...AtlasDesktop/3. General Configuration/FSO and Game Bar/Disable FSO & Game Bar Support.reg
This file was deleted.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
...top/3. General Configuration/FSO and Game Bar/Enable FSO & Game Bar Support (default).cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@echo off | ||
|
||
set "___args="%~f0" %*" | ||
fltmc > nul 2>&1 || ( | ||
echo Administrator privileges are required. | ||
powershell -c "Start-Process -Verb RunAs -FilePath 'cmd' -ArgumentList """/c $env:___args"""" 2> nul || ( | ||
echo You must run this script as admin. | ||
if "%*"=="" pause | ||
exit /b 1 | ||
) | ||
exit /b | ||
) | ||
|
||
echo] | ||
( | ||
reg delete "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_DSEBehavior" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d "0" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_EFSEFeatureFlags" /t REG_DWORD /d "0" /f | ||
reg delete "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_FSEBehavior" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_FSEBehaviorMode" /t REG_DWORD /d "2" /f | ||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_HonorUserFSEBehaviorMode" /t REG_DWORD /d "0" /f | ||
|
||
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "__COMPAT_LAYER" /f | ||
|
||
reg delete "HKEY_CURRENT_USER\System\GameBar" /v "GamePanelStartupTipIndex" /f | ||
reg delete "HKEY_CURRENT_USER\System\GameBar" /v "ShowStartupPanel" /f | ||
reg delete "HKEY_CURRENT_USER\System\GameBar" /v "UseNexusForGameBarEnabled" /f | ||
|
||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Gaming.GameBar.PresenceServer.Internal.PresenceWriter" /v "ActivationType" /t REG_DWORD /d "1" /f | ||
|
||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /f | ||
|
||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\ApplicationManagement\AllowGameDVR" /v "value" /t REG_DWORD /d "1" /f | ||
|
||
reg add "HKEY_CURRENT_USER\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d "1" /f | ||
|
||
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" "AppCaptureEnabled" /f | ||
) > nul 2>&1 | ||
|
||
echo] | ||
echo Finished, FSO is now enabled and you should be able to use Game Bar. | ||
echo Press any key to exit... | ||
pause > nul | ||
exit /b |
37 changes: 0 additions & 37 deletions
37
...top/3. General Configuration/FSO and Game Bar/Enable FSO & Game Bar Support (default).reg
This file was deleted.
Oops, something went wrong.