Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/public/icons/gaming/windowed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions app/src/assets/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -935,6 +939,7 @@ document.addEventListener("DOMContentLoaded", function () {
"disableprefetch",

"fullscreenoptimizations",
"windowedoptimizations",
"mouseacc",
"gamemode",
"gamebar",
Expand Down
8 changes: 8 additions & 0 deletions app/src/components/MainPage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,14 @@ const languages = [
/>
</Tab>
<Tab tab="gaming">
<ScriptToggle
title={t["gaming.windowedoptimizations.title"]}
inputId="windowedoptimizations"
icon="/icons/gaming/windowed.svg"
offText={t["common.off"]}
onText={t["common.on"]}
/>

<ScriptToggle
title={t["gaming.fullscreenoptimizations.title"]}
inputId="fullscreenoptimizations"
Expand Down
1 change: 1 addition & 0 deletions app/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Manage Windows Update",
"telemetry.update.desc": "Delay, disable, or reset Windows Update.",
"gaming.fullscreenoptimizations.title": "Disable Fullscreen Optimizations",
"gaming.windowedoptimizations.title": "Disable Optimizations for Windowed Games",
"gaming.mouseacc.title": "Disable Mouse Acceleration",
"gaming.gamemode.title": "Disable Game Mode",
"gaming.gamebar.title": "Disable Game Bar",
Expand Down
1 change: 1 addition & 0 deletions app/src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Gestisci Windows Update",
"telemetry.update.desc": "Posticipa, disabilita o resetta Windows Update.",
"gaming.fullscreenoptimizations.title": "Disabilita Ottimizzazioni Schermo Intero",
"gaming.windowedoptimizations.title": "Disattiva Ottimizzazioni Per Giochi in Finestra",
"gaming.mouseacc.title": "Disabilita Accelerazione Del Mouse",
"gaming.gamemode.title": "Disabilita Modalità Gioco",
"gaming.gamebar.title": "Disabilita Game Bar",
Expand Down
1 change: 1 addition & 0 deletions app/src/i18n/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Windows 업데이트 관리",
"telemetry.update.desc": "Windows 업데이트를 지연, 비활성화 또는 재설정합니다.",
"gaming.fullscreenoptimizations.title": "전체 화면 최적화 비활성화",
"gaming.windowedoptimizations.title": "창 모드 게임에 대한 최적화 비활성화",
"gaming.mouseacc.title": "마우스 가속 비활성화",
"gaming.gamemode.title": "게임 모드 비활성화",
"gaming.gamebar.title": "게임 바 비활성화",
Expand Down
1 change: 1 addition & 0 deletions app/src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Управление Центром обновления",
"telemetry.update.desc": "Отложить, отключить или сбросить настройки Центра обновления Windows.",
"gaming.fullscreenoptimizations.title": "Отключить оптимизацию во весь экран",
"gaming.windowedoptimizations.title": "Отключить оптимизацию для игр в оконном режиме",
"gaming.mouseacc.title": "Отключить акселерацию мыши",
"gaming.gamemode.title": "Отключить игровой режим",
"gaming.gamebar.title": "Отключить Game Bar",
Expand Down
1 change: 1 addition & 0 deletions app/src/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Windows Update Yönetimi",
"telemetry.update.desc": "Windows Update'i geciktirin, devre dışı bırakın veya sıfırlayın.",
"gaming.fullscreenoptimizations.title": "Tam Ekran Optimizasyonlarını Devre Dışı Bırak",
"gaming.windowedoptimizations.title": "Pencereli Oyunlar için İyileştirmeleri Devre Dışı Bırak",
"gaming.mouseacc.title": "Fare Hızlandırmasını Devre Dışı Bırak",
"gaming.gamemode.title": "Oyun Modunu Devre Dışı Bırak",
"gaming.gamebar.title": "Game Bar Devre Dışı Bırak",
Expand Down
3 changes: 3 additions & 0 deletions website/public/icons/gaming/windowed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions website/src/assets/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -935,6 +939,7 @@ document.addEventListener("DOMContentLoaded", function () {
"disableprefetch",

"fullscreenoptimizations",
"windowedoptimizations",
"mouseacc",
"gamemode",
"gamebar",
Expand Down
8 changes: 8 additions & 0 deletions website/src/components/MainPage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,14 @@ const languages = [
/>
</Tab>
<Tab tab="gaming">
<ScriptToggle
title={t["gaming.windowedoptimizations.title"]}
inputId="windowedoptimizations"
icon="/icons/gaming/windowed.svg"
offText={t["common.off"]}
onText={t["common.on"]}
/>

<ScriptToggle
title={t["gaming.fullscreenoptimizations.title"]}
inputId="fullscreenoptimizations"
Expand Down
1 change: 1 addition & 0 deletions website/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Manage Windows Update",
"telemetry.update.desc": "Delay, disable, or reset Windows Update.",
"gaming.fullscreenoptimizations.title": "Disable Fullscreen Optimizations",
"gaming.windowedoptimizations.title": "Disable Optimizations for Windowed Games",
"gaming.mouseacc.title": "Disable Mouse Acceleration",
"gaming.gamemode.title": "Disable Game Mode",
"gaming.gamebar.title": "Disable Game Bar",
Expand Down
1 change: 1 addition & 0 deletions website/src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Gestisci Windows Update",
"telemetry.update.desc": "Posticipa, disabilita o resetta Windows Update.",
"gaming.fullscreenoptimizations.title": "Disabilita Ottimizzazioni Schermo Intero",
"gaming.windowedoptimizations.title": "Disattiva Ottimizzazioni Per Giochi in Finestra",
"gaming.mouseacc.title": "Disabilita Accelerazione Del Mouse",
"gaming.gamemode.title": "Disabilita Modalità Gioco",
"gaming.gamebar.title": "Disabilita Game Bar",
Expand Down
1 change: 1 addition & 0 deletions website/src/i18n/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Windows 업데이트 관리",
"telemetry.update.desc": "Windows 업데이트를 지연, 비활성화 또는 재설정합니다.",
"gaming.fullscreenoptimizations.title": "전체 화면 최적화 비활성화",
"gaming.windowedoptimizations.title": "창 모드 게임에 대한 최적화 비활성화",
"gaming.mouseacc.title": "마우스 가속 비활성화",
"gaming.gamemode.title": "게임 모드 비활성화",
"gaming.gamebar.title": "게임 바 비활성화",
Expand Down
1 change: 1 addition & 0 deletions website/src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Управление Центром обновления",
"telemetry.update.desc": "Отложить, отключить или сбросить настройки Центра обновления Windows.",
"gaming.fullscreenoptimizations.title": "Отключить оптимизацию во весь экран",
"gaming.windowedoptimizations.title": "Отключить оптимизацию для игр в оконном режиме",
"gaming.mouseacc.title": "Отключить акселерацию мыши",
"gaming.gamemode.title": "Отключить игровой режим",
"gaming.gamebar.title": "Отключить Game Bar",
Expand Down
1 change: 1 addition & 0 deletions website/src/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"telemetry.update.title": "Windows Update Yönetimi",
"telemetry.update.desc": "Windows Update'i geciktirin, devre dışı bırakın veya sıfırlayın.",
"gaming.fullscreenoptimizations.title": "Tam Ekran Optimizasyonlarını Devre Dışı Bırak",
"gaming.windowedoptimizations.title": "Pencereli Oyunlar için İyileştirmeleri Devre Dışı Bırak",
"gaming.mouseacc.title": "Fare Hızlandırmasını Devre Dışı Bırak",
"gaming.gamemode.title": "Oyun Modunu Devre Dışı Bırak",
"gaming.gamebar.title": "Game Bar Devre Dışı Bırak",
Expand Down