diff --git a/app/public/icons/gaming/windowed.svg b/app/public/icons/gaming/windowed.svg new file mode 100644 index 0000000..600aa8d --- /dev/null +++ b/app/public/icons/gaming/windowed.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/src/assets/js/scripts.js b/app/src/assets/js/scripts.js index 6d7d558..3c0ce29 100644 --- a/app/src/assets/js/scripts.js +++ b/app/src/assets/js/scripts.js @@ -756,6 +756,10 @@ document.addEventListener("DOMContentLoaded", function () { "Write-Host '-- Disabling Fullscreen Optimizations' -ForegroundColor Green", 'reg add "HKCU\\System\\GameConfigStore" /v "GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d 1 /f', ], + windowedoptimizations: [ + "Write-Host '-- Disabling Optimizations for Windowed Games' -ForegroundColor Green", + 'reg add "HKCU\\Software\\Microsoft\\DirectX\\UserGpuPreferences" /v "DirectXUserGlobalSettings" /t REG_SZ /d "SwapEffectUpgradeEnable=0;" /f', + ], mouseacc: [ "Write-Host '-- Disabling Mouse Acceleration' -ForegroundColor Green", 'reg add "HKCU\\Control Panel\\Mouse" /v "MouseSpeed" /t REG_SZ /d "0" /f', @@ -935,6 +939,7 @@ document.addEventListener("DOMContentLoaded", function () { "disableprefetch", "fullscreenoptimizations", + "windowedoptimizations", "mouseacc", "gamemode", "gamebar", diff --git a/app/src/components/MainPage.astro b/app/src/components/MainPage.astro index 108891b..01114e0 100644 --- a/app/src/components/MainPage.astro +++ b/app/src/components/MainPage.astro @@ -607,6 +607,14 @@ const languages = [ /> + + + + diff --git a/website/src/assets/js/scripts.js b/website/src/assets/js/scripts.js index 6d7d558..3c0ce29 100644 --- a/website/src/assets/js/scripts.js +++ b/website/src/assets/js/scripts.js @@ -756,6 +756,10 @@ document.addEventListener("DOMContentLoaded", function () { "Write-Host '-- Disabling Fullscreen Optimizations' -ForegroundColor Green", 'reg add "HKCU\\System\\GameConfigStore" /v "GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d 1 /f', ], + windowedoptimizations: [ + "Write-Host '-- Disabling Optimizations for Windowed Games' -ForegroundColor Green", + 'reg add "HKCU\\Software\\Microsoft\\DirectX\\UserGpuPreferences" /v "DirectXUserGlobalSettings" /t REG_SZ /d "SwapEffectUpgradeEnable=0;" /f', + ], mouseacc: [ "Write-Host '-- Disabling Mouse Acceleration' -ForegroundColor Green", 'reg add "HKCU\\Control Panel\\Mouse" /v "MouseSpeed" /t REG_SZ /d "0" /f', @@ -935,6 +939,7 @@ document.addEventListener("DOMContentLoaded", function () { "disableprefetch", "fullscreenoptimizations", + "windowedoptimizations", "mouseacc", "gamemode", "gamebar", diff --git a/website/src/components/MainPage.astro b/website/src/components/MainPage.astro index b1af042..c144da6 100644 --- a/website/src/components/MainPage.astro +++ b/website/src/components/MainPage.astro @@ -568,6 +568,14 @@ const languages = [ /> + +