diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 3f4b469..dd7059e 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -12,6 +12,8 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Befor
- **Move the mouse pointer out of the way** (issue #172): when the launcher shows up on the TV, the pointer goes to the bottom-right corner of the game screen (twice, since Steam recenters it while opening) and goes back where it was when you return to the PC. On by default; turn it off in Settings or under System → When entering console mode. Based on @JarJarShinks' version in #173. (#177)
- Redesigned title bar: on the Console interface the background runs up to the top edge of the window (no grey strip) and the minimize, maximize and close buttons are white, with the same soft highlight as the interface's own buttons; on the Desktop interface the icon and name are larger and the buttons fill the bar's height. (#182)
- Console interface: new sounds. Move, confirm and back use glass and "minimize" sounds from Kenney's Interface Sounds pack (CC0), and switching tabs (LB / RB) gets its own sound, a crystal tick made by the Selene theme's sound script (MIT). The sounds play only with the controller (and the keyboard): mouse clicks, in the Console interface or the session menu, no longer make a sound. (#183)
+- **One interface, with a guided tour**: Console Mode now has only the Console interface, which also works with the mouse and the keyboard (click the tabs, Page Up / Page Down, Enter and Esc). The Desktop interface and the Interface option are gone; what only it had moved to the System tab: the FPS counter (style, size, position, colour and items), the custom app's arguments and process to watch, the diagnostics report and the app's version. Under the list, the System tab shows what the setting in focus does. On the Session tab, the screens are drawn again like in Windows' display settings: each one where it sits on the desk and at its real proportions (a screen standing up shows standing up), the ones that are off dashed. The first time you open it, a tour highlights the tabs, the launchers, the play button, the screens, the quick settings, the settings and the controller shortcuts (A goes on, B skips); to see it again, System → App → Tutorial. (#184)
+- **Opening**: when it opens, the Console Mode logo "powers on" in the dark: the power light on the base comes on and pulses, the screen draws itself and lights up green, the >_ is typed with a blinking cursor and the name appears, with an entrance sound, while the app loads (about 3 s); then it fades into the interface. Any button, click or key skips it. The official opening is Console Mode's own, but now and then (about 1 in 8) the app opens with one inspired by the Xbox 360 (green ribbons spinning into an orb of light) or the PS4 (waves of light over blue) as a surprise, each with that console's startup sound. System → App picks the **opening style** (picking any, Console Mode's own included, keeps it and ends the surprises), plays the opening right away, picks **None** for the app to open straight away with no opening, or turns just the sound off. It doesn't show when the app starts hidden (with Windows or in the tray). (#184)
### Fixes
- Custom app: Console Mode moves only the program's largest window to the game screen, instead of every window Windows reports as its main one; a tooltip is no longer stretched over the TV. (#175)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 54beb48..2d4bc06 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,8 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CH
- **Tirar o ponteiro do mouse do caminho** (issue #172): quando o iniciador aparece na TV, o ponteiro vai para o canto inferior direito da tela de jogo (duas vezes, porque a Steam o recentraliza ao abrir) e, ao voltar ao PC, volta para onde estava. Ligado por padrão; desligue em Ajustes ou em Sistema → Ao entrar no modo console. Baseado na versão de @JarJarShinks no #173. (#177)
- Barra de título redesenhada: na interface Console, o fundo vai até a borda de cima da janela (sem a faixa cinza) e os botões de minimizar, maximizar e fechar ficam brancos, com o mesmo realce suave dos botões da interface; na interface Desktop, o ícone e o nome ficam maiores e os botões ocupam a altura toda da barra. (#182)
- Interface Console: sons novos. Mover, confirmar e voltar usam sons de vidro e de "minimizar" do pacote Interface Sounds da Kenney (CC0), e trocar de aba (LB / RB) ganhou um som próprio, um tique de cristal gerado pelo script de sons do tema Selene (MIT). Os sons tocam só com o controle (e o teclado): clicar com o mouse, na interface Console ou no menu da sessão, não faz mais som. (#183)
+- **Uma interface só, com tour guiado**: o Console Mode passa a ter apenas a interface Console, que também funciona com mouse e teclado (clique nas abas, Page Up / Page Down, Enter e Esc). A interface Desktop e a opção Interface saíram; o que só existia nela foi para a aba Sistema: o contador de FPS (estilo, tamanho, posição, cor e itens), os argumentos e o processo a acompanhar do aplicativo personalizado, o relatório de diagnóstico e a versão do app. Embaixo da lista, a aba Sistema mostra o que faz o ajuste em foco. Na aba Sessão, as telas voltam a aparecer como nas configurações de vídeo do Windows: cada uma onde fica na mesa e na proporção real (um monitor em pé aparece em pé), e as desligadas tracejadas. Na primeira vez que você abre, um tour destaca as abas, os iniciadores, o botão de jogar, as telas, os ajustes rápidos, as configurações e os atalhos do controle (A avança, B pula); para ver de novo, Sistema → App → Tutorial. (#184)
+- **Abertura**: ao abrir, o logo do Console Mode "liga" no escuro: a luz de energia da base acende e pulsa, a tela se desenha e acende verde, o >_ é digitado com o cursor piscando e o nome aparece, com um som de entrada, enquanto o app carrega (uns 3 s); depois passa para a interface com um fade. Qualquer botão, clique ou tecla pula. A abertura oficial é a do Console Mode, mas de vez em quando (cerca de 1 em cada 8) o app abre de surpresa com uma inspirada no Xbox 360 (faixas verdes girando até um orbe de luz) ou no PS4 (ondas de luz sobre o azul), cada uma com o som de inicialização do console. Em Sistema → App dá para escolher o **estilo da abertura** (escolher qualquer um, até o do Console Mode, fixa o estilo e acaba com as surpresas), ver a abertura na hora, escolher **Nenhuma** para o app abrir direto, sem abertura, ou desligar só o som. Não aparece quando o app inicia escondido (com o Windows ou pela bandeja). (#184)
### Correções
- Aplicativo personalizado: o Console Mode leva para a tela de jogo só a maior janela do programa, em vez de todas as que o Windows aponta como principal; uma dica de ferramenta não é mais esticada sobre a TV. (#175)
diff --git a/README.de-DE.md b/README.de-DE.md
index 252767a..1bb4f55 100644
--- a/README.de-DE.md
+++ b/README.de-DE.md
@@ -18,7 +18,7 @@ Hol dir die neueste stabile Version unter **[Releases](https://github.com/lippde
- **`ConsoleMode-Portable-x64.exe`**: eine einzelne EXE, die ihre Daten direkt daneben speichert.
- Oder mit winget: `winget install lippdev.ConsoleMode`
-Du willst Neues vor allen anderen ausprobieren? Schalte unter Einstellungen „Testversionen erhalten (Alpha und Beta)“ ein.
+Du willst Neues vor allen anderen ausprobieren? Schalte unter System → App „Testversionen erhalten (Alpha und Beta)“ ein.
Windows 10 oder 11, dazu [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) oder die Xbox-App. [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) ist optional, für die FPS-Begrenzung und die FPS-Anzeige.
@@ -30,7 +30,7 @@ Windows 10 oder 11, dazu [Steam](https://store.steampowered.com/) (Big Picture),
Lieber vom Sofa aus? Wenn die App im Infobereich läuft, halte deine Controller-Tastenkombination gedrückt und es geht von dort los.
-Die Controller-Tastenkombinationen wählst du selbst: Anfangs ist keine aktiv, die App fragt dich beim ersten Öffnen danach (und du kannst sie in den Einstellungen ändern). Keine Taste kann zwei Aktionen auslösen.
+Die Controller-Tastenkombinationen wählst du selbst: Anfangs ist keine aktiv, die Tour beim ersten Öffnen zeigt dir, wo du sie festlegst (System → Controller). Keine Taste kann zwei Aktionen auslösen.
| Controller-Tastenkombination | Funktion | Vorschlag |
|---|---|---|
@@ -47,7 +47,7 @@ Die Controller-Tastenkombinationen wählst du selbst: Anfangs ist keine aktiv, d
- [Schaltet den Fernseher ein und wechselt auf den Eingang des PCs](docs/GUIDE.de-DE.md#fernsehersteuerung) (Google TV / Android TV über das Netzwerk) und kann ihn danach in den Standby versetzen
- Startet **Steam Big Picture**, **Playnite im Vollbild** oder den **Xbox-Modus** und minimiert Steam in den Infobereich, wenn du zum PC zurückkehrst
- **Sitzungsmenü** über dem Spiel: geöffnete Fenster wechseln oder schließen, Lautstärke, Auflösung, Audio, FPS und HDR ändern, den Mauszeiger ausblenden oder mit dem Controller steuern und deine Dateien mit [ControlFS](https://github.com/nextestudios/ControlFS) und das Web mit [JoyChromium](https://github.com/lippdev/joychromium) durchsuchen
-- Zwei Oberflächen: **Desktop** (Maus) und **Konsole** (Vollbild, Xbox- und PlayStation-Controller, Registerkarten mit LB/RB, ein eigenes Hintergrundbild oder deine Steam-Cover als Hintergrund)
+- Eine Oberfläche im Stil einer Konsole, gemacht für den Fernseher, die auch mit Maus und Tastatur funktioniert (Vollbild, Xbox- und PlayStation-Controller, Registerkarten mit LB/RB, ein eigenes Hintergrundbild oder deine Steam-Cover als Hintergrund), mit einer geführten Tour beim ersten Öffnen
- Automatisierung mit den Links `consolemode://start` / `stop` / `menu` (Stream Deck, Skripte) und einer [lokalen Steuerungs-API](docs/GUIDE.de-DE.md#lokale-steuerungs-api)
- Englisch, Portugiesisch, Spanisch, Deutsch, Französisch und Russisch
diff --git a/README.es-ES.md b/README.es-ES.md
index 16aec50..c7a327f 100644
--- a/README.es-ES.md
+++ b/README.es-ES.md
@@ -18,7 +18,7 @@ Descarga la última versión estable desde **[la página de releases](https://gi
- **`ConsoleMode-Portable-x64.exe`**: un solo exe que guarda sus datos a su lado.
- O con winget: `winget install lippdev.ConsoleMode`
-¿Quieres probar lo que viene antes que nadie? Activa Ajustes → "Recibir versiones de prueba (alfa y beta)".
+¿Quieres probar lo que viene antes que nadie? Activa Sistema → Aplicación → "Recibir versiones de prueba (alfa y beta)".
Windows 10 u 11, más [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) o la aplicación Xbox. [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) es opcional, para el límite de FPS y el contador de FPS.
@@ -30,7 +30,7 @@ Windows 10 u 11, más [Steam](https://store.steampowered.com/) (Big Picture), [P
¿Prefieres el sofá? Con la aplicación en la bandeja, mantén pulsado tu atajo del mando y empieza desde ahí.
-Los atajos del mando los eliges tú: al principio no hay ninguno activado, la aplicación te pregunta la primera vez que la abres (y puedes cambiarlos en Ajustes). Un mismo botón no puede servir para dos acciones.
+Los atajos del mando los eliges tú: al principio no hay ninguno activado, el recorrido de la primera vez te enseña dónde elegirlos (Sistema → Mando). Un mismo botón no puede servir para dos acciones.
| Atajo del mando | Qué hace | Sugerido |
|---|---|---|
@@ -47,7 +47,7 @@ Los atajos del mando los eliges tú: al principio no hay ninguno activado, la ap
- [Enciende la TV y la cambia a la entrada del PC](docs/GUIDE.es-ES.md#control-de-la-tv) (Google TV / Android TV por la red), y puede ponerla en reposo después
- Abre **Steam Big Picture**, **Playnite a pantalla completa** o el **modo Xbox**, y envía Steam a la bandeja al volver al PC
- **Menú de la sesión** sobre el juego: cambia o cierra las ventanas abiertas, ajusta volumen, resolución, audio, FPS y HDR, oculta el puntero del ratón o muévelo con el mando, y explora tus archivos con [ControlFS](https://github.com/nextestudios/ControlFS) y la web con [JoyChromium](https://github.com/lippdev/joychromium)
-- Dos interfaces: **Escritorio** (ratón) y **Consola** (pantalla completa, mandos de Xbox y PlayStation, pestañas con LB/RB, un fondo de pantalla propio o tus portadas de Steam de fondo)
+- Una interfaz al estilo de las consolas, hecha para la TV, que también funciona con ratón y teclado (pantalla completa, mandos de Xbox y PlayStation, pestañas con LB/RB, un fondo de pantalla propio o tus portadas de Steam de fondo), con un recorrido guiado la primera vez que la abres
- Automatización con los enlaces `consolemode://start` / `stop` / `menu` (Stream Deck, scripts) y una [API de control local](docs/GUIDE.es-ES.md#api-de-control-local)
- Inglés, portugués, español, alemán, francés y ruso
diff --git a/README.fr-FR.md b/README.fr-FR.md
index eee0b87..6aa811c 100644
--- a/README.fr-FR.md
+++ b/README.fr-FR.md
@@ -18,7 +18,7 @@ Récupérez la dernière version stable sur **[la page des versions](https://git
- **`ConsoleMode-Portable-x64.exe`** : un seul exe qui garde ses données à côté de lui.
- Ou avec winget : `winget install lippdev.ConsoleMode`
-Envie d'essayer la suite avant tout le monde ? Activez Paramètres → « Recevoir les versions de test (alpha et bêta) ».
+Envie d'essayer la suite avant tout le monde ? Activez Système → Application → « Recevoir les versions de test (alpha et bêta) ».
Windows 10 ou 11, plus [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) ou l'application Xbox. [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) est facultatif, pour la limite de FPS et le compteur de FPS.
@@ -30,7 +30,7 @@ Windows 10 ou 11, plus [Steam](https://store.steampowered.com/) (Big Picture), [
Plutôt canapé ? Avec l'application dans la zone de notification, maintenez votre raccourci manette et elle démarre depuis là.
-C'est vous qui choisissez les raccourcis manette : aucun n'est actif au départ, l'application vous les demande à la première ouverture (et vous pouvez les modifier dans les Paramètres). Un même bouton ne peut pas servir à deux actions.
+C'est vous qui choisissez les raccourcis manette : aucun n'est actif au départ, la visite de la première ouverture montre où les choisir (Système → Manette). Un même bouton ne peut pas servir à deux actions.
| Raccourci manette | Action | Suggestion |
|---|---|---|
@@ -47,7 +47,7 @@ C'est vous qui choisissez les raccourcis manette : aucun n'est actif au départ,
- [Allume la TV et la bascule sur l'entrée du PC](docs/GUIDE.fr-FR.md#contrôle-de-la-tv) (Google TV / Android TV par le réseau), et peut la mettre en veille ensuite
- Lance **Steam Big Picture**, **Playnite en plein écran** ou le mode **Xbox**, et réduit Steam dans la zone de notification quand vous revenez au PC
- **Menu de session** par-dessus le jeu : changer de fenêtre ou fermer les fenêtres ouvertes, régler le volume, la résolution, le son, les FPS et le HDR, masquer le pointeur de la souris ou le piloter à la manette, et parcourir vos fichiers avec [ControlFS](https://github.com/nextestudios/ControlFS) et le Web avec [JoyChromium](https://github.com/lippdev/joychromium)
-- Deux interfaces : **Bureau** (souris) et **Console** (plein écran, manettes Xbox et PlayStation, onglets sur LB/RB, un fond d’écran maison ou vos jaquettes Steam en fond)
+- Une interface façon console, pensée pour la TV, qui marche aussi à la souris et au clavier (plein écran, manettes Xbox et PlayStation, onglets sur LB/RB, un fond d’écran maison ou vos jaquettes Steam en fond), avec une visite guidée à la première ouverture
- Automatisation avec les liens `consolemode://start` / `stop` / `menu` (Stream Deck, scripts) et une [API de contrôle local](docs/GUIDE.fr-FR.md#api-de-contrôle-local)
- Anglais, portugais, espagnol, allemand, français et russe
diff --git a/README.md b/README.md
index 1bbbdd7..aaea95b 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ Get **[1.6.2](https://github.com/lippdev/consolemode/releases/tag/v1.6.2)**, the
On 1.5? The app offers the update and keeps your settings; you pick your controller shortcuts again the first time it opens.
-Want to try what comes next before everyone else? Turn on Settings → "Receive test versions (alpha and beta)".
+Want to try what comes next before everyone else? Turn on System → App → "Receive test versions (alpha and beta)".
Windows 10 or 11, plus [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) or the Xbox app. [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) is optional, for the FPS limit and the FPS counter.
@@ -32,7 +32,7 @@ Windows 10 or 11, plus [Steam](https://store.steampowered.com/) (Big Picture), [
Prefer the couch? With the app in the tray, hold your controller shortcut and it starts from there.
-You pick the controller shortcuts yourself: none is on at first, the app asks the first time you open it (and you can change them in Settings). No button can serve two actions.
+You pick the controller shortcuts yourself: none is on at first, the tour the app opens with shows where to set them (System → Controller). No button can serve two actions.
| Controller shortcut | Does | Suggested |
|---|---|---|
@@ -49,7 +49,7 @@ You pick the controller shortcuts yourself: none is on at first, the app asks th
- [Turns the TV on and switches it to the PC's input](docs/GUIDE.md#tv-control) (Google TV / Android TV over the network), and can put it in standby afterwards
- Launches **Steam Big Picture**, **Playnite fullscreen** or **Xbox** mode, and sends Steam to the tray when you go back to the PC
- **Session menu** over the game: switch or close the open windows, change volume, resolution, audio, FPS and HDR, hide the mouse pointer or drive it with the controller, and browse your files with [ControlFS](https://github.com/nextestudios/ControlFS) and the web with [JoyChromium](https://github.com/lippdev/joychromium)
-- Two interfaces: **Desktop** (mouse) and **Console** (full screen, Xbox and PlayStation pads, LB/RB tabs, its own wallpaper or your Steam covers as the background)
+- A console-style interface made for the TV that also works with the mouse and the keyboard (full screen, Xbox and PlayStation pads, LB/RB tabs, its own wallpaper or your Steam covers as the background), with a guided tour the first time you open it
- Automation with `consolemode://start` / `stop` / `menu` links (Stream Deck, scripts) and a [local control API](docs/GUIDE.md#local-control-api)
- English, Portuguese, Spanish, German, French and Russian
@@ -84,7 +84,7 @@ All the details in the [release notes](https://github.com/lippdev/consolemode/re
## More
- [Guide](docs/GUIDE.md): modes and restore, control API, HDR/VRR/FPS, troubleshooting, building from source
-- **Feedback:** the button next to Settings in the app, or [this form](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). A ⭐ helps other couch gamers find the project.
+- **Feedback:** System → Shortcut, help, and data → Send feedback in the app, or [this form](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). A ⭐ helps other couch gamers find the project.
- **Translations:** fix a line or add your language with the [translation guide](docs/TRANSLATING.md); no Windows needed.
- The releases are not code-signed yet, so Windows SmartScreen or an antivirus may warn about the download; the source is all here.
diff --git a/README.pt-BR.md b/README.pt-BR.md
index fb1213b..6054c9d 100644
--- a/README.pt-BR.md
+++ b/README.pt-BR.md
@@ -20,7 +20,7 @@ Baixe a **[1.6.2](https://github.com/lippdev/consolemode/releases/tag/v1.6.2)**,
Está na 1.5? O app oferece a atualização e mantém as configurações; os atalhos do controle você escolhe de novo na primeira abertura.
-Quer testar o que vem aí antes de todo mundo? Ligue Ajustes → "Receber versões de teste (alpha e beta)".
+Quer testar o que vem aí antes de todo mundo? Ligue Sistema → App → "Receber versões de teste (alpha e beta)".
Windows 10 ou 11, com [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) ou o app Xbox. O [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) é opcional, para o limite de FPS e o contador de FPS.
@@ -32,7 +32,7 @@ Windows 10 ou 11, com [Steam](https://store.steampowered.com/) (Big Picture), [P
Prefere o sofá? Com o app na bandeja, segure o seu atalho do controle e ele começa dali.
-Os atalhos do controle são você quem escolhe: nenhum vem ligado, o app pergunta na primeira abertura (e dá para mudar em Ajustes). Nenhum botão pode servir para duas ações.
+Os atalhos do controle são você quem escolhe: nenhum vem ligado, o tour da primeira abertura mostra onde escolhê-los (Sistema → Controle). Nenhum botão pode servir para duas ações.
| Atalho no controle | Faz | Sugestão |
|---|---|---|
@@ -49,7 +49,7 @@ Os atalhos do controle são você quem escolhe: nenhum vem ligado, o app pergunt
- [Liga a TV e troca para a entrada do PC](docs/GUIDE.pt-BR.md#controle-da-tv) (Google TV / Android TV pela rede), e pode colocá-la em espera no fim
- Abre **Steam Big Picture**, **Playnite em tela cheia** ou o **Modo Xbox**, e manda a Steam para a bandeja ao voltar ao PC
- **Menu da sessão** sobre o jogo: troque ou feche as janelas abertas, mude volume, resolução, áudio, FPS e HDR, esconda o cursor do mouse ou mova-o com o controle e navegue pelos seus arquivos com o [ControlFS](https://github.com/nextestudios/ControlFS) e pela web com o [JoyChromium](https://github.com/lippdev/joychromium)
-- Duas interfaces: **Desktop** (mouse) e **Console** (tela cheia, controles Xbox e PlayStation, abas no LB/RB, um papel de parede próprio ou as capas da sua Steam como plano de fundo)
+- Uma interface no estilo dos consoles, feita para a TV, que também funciona com mouse e teclado (tela cheia, controles Xbox e PlayStation, abas no LB/RB, um papel de parede próprio ou as capas da sua Steam como plano de fundo), com um tour guiado na primeira vez que você abre
- Automação com os links `consolemode://start` / `stop` / `menu` (Stream Deck, scripts) e uma [API de controle local](docs/GUIDE.pt-BR.md#api-de-controle-local)
- Português, inglês, espanhol, alemão, francês e russo
@@ -84,7 +84,7 @@ Todos os detalhes nas [notas da versão](https://github.com/lippdev/consolemode/
## Mais
- [Guia](docs/GUIDE.pt-BR.md): modos e restauração, API de controle, HDR/VRR/FPS, solução de problemas, compilar
-- **Feedback:** o botão ao lado de Ajustes no app, ou [este formulário](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). Uma ⭐ ajuda outros jogadores de sofá a encontrar o projeto.
+- **Feedback:** Sistema → Atalho, ajuda e dados → Enviar feedback no app, ou [este formulário](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). Uma ⭐ ajuda outros jogadores de sofá a encontrar o projeto.
- **Traduções:** corrija um texto ou traga o seu idioma pelo [guia de tradução](docs/TRANSLATING.md) (em inglês); não precisa de Windows.
- As versões ainda não são assinadas, então o Windows SmartScreen ou um antivírus pode avisar sobre o download; o código está todo aqui.
diff --git a/README.ru-RU.md b/README.ru-RU.md
index a80e6c5..2bf835f 100644
--- a/README.ru-RU.md
+++ b/README.ru-RU.md
@@ -18,7 +18,7 @@
- **`ConsoleMode-Portable-x64.exe`**: один exe-файл, который хранит данные рядом с собой.
- Или через winget: `winget install lippdev.ConsoleMode`
-Хотите опробовать новинки раньше всех? Включите «Параметры» → «Получать тестовые версии (альфа и бета)».
+Хотите опробовать новинки раньше всех? Включите «Система» → «Приложение» → «Получать тестовые версии (альфа и бета)».
Windows 10 или 11, а также [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) или приложение Xbox. [RTSS](https://www.guru3d.com/files-details/rtss-rivatuner-statistics-server-download.html) необязателен: он нужен для ограничения FPS и счётчика FPS.
@@ -30,7 +30,7 @@ Windows 10 или 11, а также [Steam](https://store.steampowered.com/) (Bi
Предпочитаете диван? Когда приложение работает в области уведомлений, удерживайте сочетание на геймпаде, и режим запустится оттуда.
-Сочетания на геймпаде вы выбираете сами: сначала ни одно не включено, приложение спросит о них при первом запуске (изменить их можно в «Параметрах»). Одна кнопка не может выполнять два действия.
+Сочетания на геймпаде вы выбираете сами: сначала ни одно не включено, обзор при первом запуске покажет, где их задать («Система» → «Геймпад»). Одна кнопка не может выполнять два действия.
| Сочетание на геймпаде | Что делает | Рекомендуем |
|---|---|---|
@@ -47,7 +47,7 @@ Windows 10 или 11, а также [Steam](https://store.steampowered.com/) (Bi
- [Включает телевизор и переключает его на вход ПК](docs/GUIDE.ru-RU.md#управление-телевизором) (Google TV / Android TV по сети), а после может перевести его в режим ожидания
- Запускает **Steam Big Picture**, **Playnite в полноэкранном режиме** или **режим Xbox** и сворачивает Steam в область уведомлений при возврате к ПК
- **Меню сеанса** поверх игры: переключайтесь между открытыми окнами или закрывайте их, меняйте громкость, разрешение, звук, FPS и HDR, скрывайте указатель мыши или управляйте им с геймпада, просматривайте файлы через [ControlFS](https://github.com/nextestudios/ControlFS) и сайты через [JoyChromium](https://github.com/lippdev/joychromium)
-- Два интерфейса: **«Рабочий стол»** (мышь) и **«Консоль»** (полный экран, геймпады Xbox и PlayStation, вкладки на LB/RB, собственный фоновый рисунок или обложки из Steam на фоне)
+- Интерфейс в стиле консоли, сделанный для телевизора, который работает и с мышью и клавиатурой (полный экран, геймпады Xbox и PlayStation, вкладки на LB/RB, собственный фоновый рисунок или обложки из Steam на фоне), с обзором при первом запуске
- Автоматизация через ссылки `consolemode://start` / `stop` / `menu` (Stream Deck, скрипты) и [локальный API управления](docs/GUIDE.ru-RU.md#локальный-api-управления)
- Английский, португальский, испанский, немецкий, французский и русский
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index 861dc86..cd93f8e 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -19,6 +19,9 @@ Embarcados no executável (`src/ConsoleMode/Assets/Sounds`), convertidos para WA
| Som | Origem | Licença |
|-----|--------|---------|
| `move.wav` (`glass_002`), `confirm.wav` (`confirmation_001`), `back.wav` (`minimize_008`) | [Interface Sounds](https://kenney.nl/assets/interface-sounds), da Kenney | CC0 1.0 (domínio público; crédito opcional) |
+| `boot.wav` (`boot_chime_sparkle`), som da abertura | Gerado pelo [`tools/make_sounds.py`](https://github.com/mattxslv/Selene/blob/main/tools/make_sounds.py) do [Selene](https://github.com/mattxslv/Selene), de Matthew Silva (mattxslv): síntese pura, sem amostras | MIT, Copyright (c) 2026 Matthew Silva |
+| `bootx360.wav`, som da abertura "Inspirada no Xbox 360" | Som de inicialização do Xbox 360 (2005), © Microsoft. Está aqui por escolha do mantenedor e será removido se a Microsoft pedir | Não é livre: © Microsoft |
+| `bootps4.wav`, som da abertura "Inspirada no PS4" | Som de início do PS4, © Sony Interactive Entertainment (via OrbisPro). Está aqui por escolha do mantenedor e será removido se a Sony pedir | Não é livre: © Sony |
| `tab.wav` (`cursor_c`) | Gerado pelo [`tools/make_sounds.py`](https://github.com/mattxslv/Selene/blob/main/tools/make_sounds.py) do [Selene](https://github.com/mattxslv/Selene), de Matthew Silva (mattxslv): síntese pura, sem amostras | MIT, Copyright (c) 2026 Matthew Silva |
## Limite de FPS (opcional)
diff --git a/docs/GUIDE.de-DE.md b/docs/GUIDE.de-DE.md
index a4571dc..dfa76c6 100644
--- a/docs/GUIDE.de-DE.md
+++ b/docs/GUIDE.de-DE.md
@@ -17,13 +17,15 @@ Wird die App mitten in einer Sitzung geschlossen oder geht der PC aus, stellt Co
Du kannst auch jederzeit über den Infobereich wiederherstellen (*Konfiguration wiederherstellen* / *Fenster anzeigen*). Bei schwarzen Bildschirmen blendest du die Abdeckungen mit **ESC** aus.
-Das Sitzungsmenü bietet zwei Wege hinaus. **Zurück zum PC** beendet die Sitzung und setzt Bildschirme, Auflösung, HDR, Ton und die FPS-Begrenzung auf den vorherigen Stand zurück; die App bleibt im Infobereich. **Console Mode beenden** macht dasselbe und schließt danach die App, sodass die Controller-Tastenkombinationen nicht mehr reagieren, bis du sie wieder öffnest. Beim ersten Öffnen bietet das Menü eine Führung an, die jede Option erklärt. Um sie später anzusehen, drücke im Menü **Y** (△ bei PlayStation) oder **F1**, oder verwende **Einstellungen → Führung durch das Sitzungsmenü**.
+Das Sitzungsmenü bietet zwei Wege hinaus. **Zurück zum PC** beendet die Sitzung und setzt Bildschirme, Auflösung, HDR, Ton und die FPS-Begrenzung auf den vorherigen Stand zurück; die App bleibt im Infobereich. **Console Mode beenden** macht dasselbe und schließt danach die App, sodass die Controller-Tastenkombinationen nicht mehr reagieren, bis du sie wieder öffnest. Beim ersten Öffnen bietet das Menü eine Führung an, die jede Option erklärt. Um sie später anzusehen, drücke im Menü **Y** (△ bei PlayStation) oder **F1**, oder verwende **System → App → Führung durch das Sitzungsmenü**.
-## Einstellungen im Konsolenmodus
+## Die Oberfläche
+
+Console Mode hat eine einzige Oberfläche, gestaltet wie die einer Konsole: Sie füllt den Bildschirm und funktioniert mit einem Xbox- oder PlayStation-Controller, der Maus oder der Tastatur (klicke auf eine Registerkarte oder nutze Bild auf / Bild ab; Eingabe und Esc wirken wie A und B). Beim ersten Öffnen führt dich eine Tour durch die Registerkarten, die Launcher, die Spielen-Schaltfläche, die Bildschirme, die Schnelleinstellungen und die Controller-Tastenkombinationen; **A** geht weiter, **B** überspringt sie. Um sie erneut zu sehen: **System → App → Tutorial**. Während die App lädt, zeigt sie ein Intro mit dem Logo und einem Startsound; jede Taste überspringt es, ab und zu kommt als Überraschung eines im Stil der Xbox 360 oder der PS4 mit dem Sound der Konsole; unter **System → App** wählst du einen Stil (damit enden die Überraschungen), siehst es sofort an und schaltest das Intro oder nur seinen Sound aus.
Unter **System → Controller** wählst du das Tastenlayout: **Automatisch**, **Xbox** oder **PlayStation**. Vorschau und Tastenbeschriftungen richten sich nach dieser Wahl, die beim Schließen der App gespeichert wird. Das ändert nur die angezeigten Symbole; die Eingaben des Controllers behalten ihre bisherige Belegung.
-Die Registerkarte **System** bietet dieselben Einstellungen wie der Desktopmodus, darunter Controller-Tastenkombinationen, Playnite, Android TV, benutzerdefinierte FPS und den Datenordner. Beide Oberflächen teilen sich die gespeicherten Werte, die auch nach einem Neustart der App erhalten bleiben.
+Die Registerkarte **System** enthält alle Einstellungen, darunter Controller-Tastenkombinationen, Playnite, Android TV, benutzerdefinierte FPS, das Layout des FPS-Zählers, die Argumente der eigenen App, den Diagnosebericht und den Datenordner. Die Werte bleiben auch nach einem Neustart der App erhalten.
Öffne die Aktion, deren Tastenkombination du einrichten willst, wähle **Festlegen** oder **Ändern**, halte die gewünschte Kombination auf einem Controller gedrückt und lass die Tasten los. **Entfernen** deaktiviert diese Tastenkombination. Während der Aufnahme navigieren die Controller-Tasten nicht durch die Oberfläche; mit **Abbrechen** oder **Esc** beendest du die Aufnahme. Außerhalb der Aufnahme verlässt du den Editor mit **B**. Die Felder für Adresse und benutzerdefinierte FPS nehmen Tastatureingaben an.
@@ -35,7 +37,7 @@ Ein Wechsel des Hauptbildschirms kann Windows dazu bringen, die Desktopsymbole n
**PC mit dem Controller aufwecken** erlaubt dem Xbox Wireless Adapter, Bluetooth oder einem Controller am Kabel, den PC mit der mittleren Taste des Controllers aus dem Energiesparmodus zu wecken. **Einschalten** fragt Windows nach Administratorrechten und aktiviert bei diesen Geräten *Gerät kann den Computer aus dem Ruhezustand aktivieren*. Ein ausgeschalteter PC oder einer im Ruhezustand wacht nicht auf, und manche PCs schalten Bluetooth im Energiesparmodus ab. Zusammen mit **Beim Verbinden eines Controllers starten** wacht der PC direkt im Konsolenmodus auf.
-**Profile pro Spiel** geben jedem Steam-Spiel eine eigene Auflösung, HDR, ein FPS-Limit und eine Audioausgabe. Öffne bei laufendem Spiel das Sitzungsmenü und wähle **Spielprofil → Aktuelle Einstellungen für … speichern**: Gespeichert wird, was der Spielbildschirm in diesem Moment nutzt. Wenn das Spiel das nächste Mal während einer Sitzung startet, wendet Console Mode das Profil an, und beim Schließen kehrt der Bildschirm in den vorherigen Zustand zurück. Das Spiel wird über Steam erkannt, egal ob es aus Big Picture, Playnite oder der Xbox-App gestartet wurde. Die gespeicherten Profile stehen unter Einstellungen → **Profile pro Spiel** und lassen sich dort löschen (in der Konsolenoberfläche: System → Beim Starten des Konsolenmodus).
+**Profile pro Spiel** geben jedem Steam-Spiel eine eigene Auflösung, HDR, ein FPS-Limit und eine Audioausgabe. Öffne bei laufendem Spiel das Sitzungsmenü und wähle **Spielprofil → Aktuelle Einstellungen für … speichern**: Gespeichert wird, was der Spielbildschirm in diesem Moment nutzt. Wenn das Spiel das nächste Mal während einer Sitzung startet, wendet Console Mode das Profil an, und beim Schließen kehrt der Bildschirm in den vorherigen Zustand zurück. Das Spiel wird über Steam erkannt, egal ob es aus Big Picture, Playnite oder der Xbox-App gestartet wurde. Die gespeicherten Profile stehen unter System → Beim Starten des Konsolenmodus → **Profile pro Spiel** und lassen sich dort löschen.
## Lokale Steuerungs-API
@@ -50,7 +52,7 @@ Ein Wechsel des Hauptbildschirms kann Windows dazu bringen, die Desktopsymbole n
## Fernsehersteuerung
-Unter Einstellungen → **Fernseher** kann die App beim Start des Konsolenmodus den Fernseher einschalten und auf den HDMI-Eingang des PCs wechseln und ihn optional wieder in den Standby versetzen, nachdem der Schreibtisch wiederhergestellt ist. Ein Fernseher, der nicht antwortet, blockiert den Konsolenmodus nie: Die App protokolliert das und wartet wie gewohnt auf den Spielbildschirm.
+Unter System → **Fernseher** kann die App beim Start des Konsolenmodus den Fernseher einschalten und auf den HDMI-Eingang des PCs wechseln und ihn optional wieder in den Standby versetzen, nachdem der Schreibtisch wiederhergestellt ist. Ein Fernseher, der nicht antwortet, blockiert den Konsolenmodus nie: Die App protokolliert das und wartet wie gewohnt auf den Spielbildschirm.
Mit der Voreinstellung **Nicht steuern** wird nichts gesendet und Start und Wiederherstellung dauern nicht länger. Ist ein Weg ausgewählt, läuft der Fernseher-Schritt beim Start des Konsolenmodus zuerst und ist auf **30 Sekunden** begrenzt (der schlimmste Fall, wenn der Fernseher nicht antwortet und Wake-on-LAN versucht wird); der optionale Standby bei der Wiederherstellung ist auf **15 Sekunden** begrenzt. Ein Fernseher, der schon an ist, antwortet meist in ein bis zwei Sekunden.
@@ -104,7 +106,7 @@ Prüfe vor dem Start des Konsolenmodus, ob der Zielausgang angeschlossen und in
### Der Controller wird erkannt, tut aber nichts (DualSense / DualShock)
-Öffne **Einstellungen → Controller testen**: Dort siehst du live, was Windows von jedem Controller empfängt. Bleibt die Anzeige leer, während du Tasten drückst, fängt höchstwahrscheinlich Steam den Controller ab (läuft Steam mit PlayStation-Unterstützung in Steam Input, macht es ihn auf dem Desktop zu Tastatur/Maus). Schließe Steam oder schalte die PlayStation-Unterstützung in Steam Input aus und teste erneut. Zeigt die Anzeige immer noch nichts, verwende **Diagnosedaten kopieren** und füge sie in das Feedbackformular ein.
+Öffne **System → Tastenkombination, Hilfe und Daten → Controller testen**: Dort siehst du live, was Windows von jedem Controller empfängt. Bleibt die Anzeige leer, während du Tasten drückst, fängt höchstwahrscheinlich Steam den Controller ab (läuft Steam mit PlayStation-Unterstützung in Steam Input, macht es ihn auf dem Desktop zu Tastatur/Maus). Schließe Steam oder schalte die PlayStation-Unterstützung in Steam Input aus und teste erneut. Zeigt die Anzeige immer noch nichts, verwende **Diagnosedaten kopieren** und füge sie in das Feedbackformular ein.
### HDR oder VRR hat sich nicht geändert
diff --git a/docs/GUIDE.es-ES.md b/docs/GUIDE.es-ES.md
index 319bfa0..ec77147 100644
--- a/docs/GUIDE.es-ES.md
+++ b/docs/GUIDE.es-ES.md
@@ -17,13 +17,15 @@ Si la aplicación se cierra o el PC se apaga en medio de una sesión, la próxim
También puedes restaurar en cualquier momento desde la bandeja (*Restaurar pantallas* / *Mostrar ventana*). Con las pantallas negras, **ESC** quita las cortinas.
-El menú de la sesión tiene dos salidas. **Volver al PC** termina la sesión y devuelve pantallas, resolución, HDR, audio y límite de FPS a como estaban; la aplicación sigue en la bandeja. **Salir de Console Mode** hace lo mismo y además cierra la aplicación, así que los atajos del mando dejan de funcionar hasta que la vuelvas a abrir. La primera vez que se abre el menú, ofrece un recorrido que explica cada opción; para verlo más tarde, pulsa **Y** (△ en PlayStation) o **F1** en el menú, o usa **Ajustes → Recorrido del menú de sesión**.
+El menú de la sesión tiene dos salidas. **Volver al PC** termina la sesión y devuelve pantallas, resolución, HDR, audio y límite de FPS a como estaban; la aplicación sigue en la bandeja. **Salir de Console Mode** hace lo mismo y además cierra la aplicación, así que los atajos del mando dejan de funcionar hasta que la vuelvas a abrir. La primera vez que se abre el menú, ofrece un recorrido que explica cada opción; para verlo más tarde, pulsa **Y** (△ en PlayStation) o **F1** en el menú, o usa **Sistema → Aplicación → Recorrido del menú de sesión**.
-## Ajustes en la interfaz Consola
+## La interfaz
+
+Console Mode tiene una sola interfaz, hecha como la de una consola: ocupa toda la pantalla y funciona con un mando de Xbox o PlayStation, el ratón o el teclado (haz clic en una pestaña o usa Re Pág / Av Pág; Intro y Esc hacen de A y B). La primera vez que la abres, un recorrido guiado pasa por las pestañas, los lanzadores, el botón de jugar, las pantallas, los ajustes rápidos y los atajos del mando; **A** avanza y **B** lo salta. Para volver a verlo: **Sistema → Aplicación → Tutorial**. Mientras carga, la aplicación muestra una apertura con el logotipo y un sonido de entrada; cualquier botón la salta, de vez en cuando, por sorpresa, es una inspirada en la Xbox 360 o en la PS4, con el sonido de la consola; **Sistema → Aplicación** elige un estilo (lo que acaba con las sorpresas), la muestra al momento y desactiva la apertura o solo su sonido.
En **Sistema → Mando**, elige el diseño de botones: **Automático**, **Xbox** o **PlayStation**. La vista previa y las etiquetas de los atajos siguen esa elección, que se guarda al cerrar la aplicación. Esto solo cambia los símbolos que se muestran; las entradas del mando mantienen su asignación.
-La pestaña **Sistema** ofrece los mismos ajustes que la interfaz Escritorio, incluidos los atajos del mando, Playnite, Android TV, el FPS personalizado y la carpeta de datos. Las dos interfaces comparten los valores guardados, que se mantienen al reiniciar la aplicación.
+La pestaña **Sistema** reúne todos los ajustes, incluidos los atajos del mando, Playnite, Android TV, el FPS personalizado, el diseño del contador de FPS, los argumentos de la aplicación personalizada, el informe de diagnóstico y la carpeta de datos. Los valores se mantienen al reiniciar la aplicación.
Abre la acción del atajo que quieras configurar, elige **Definir** o **Cambiar**, mantén la combinación deseada en un mando y suelta los botones. **Quitar** desactiva ese atajo. Durante la captura, los botones del mando no navegan por la interfaz; usa **Cancelar** o **Esc** para detener la captura. Fuera de la captura, **B** sale del editor. Los campos de dirección y de FPS personalizado aceptan el teclado.
@@ -35,7 +37,7 @@ Cambiar la pantalla principal puede hacer que Windows reordene los iconos del es
**Despertar el PC con el mando** permite que el adaptador inalámbrico Xbox, el Bluetooth o un mando con cable despierten el PC de la suspensión con el botón central del mando. **Activar** pide permiso de administrador a Windows y marca *Permitir que este dispositivo reactive el equipo* en esos dispositivos. No despierta un PC apagado o en hibernación, y algunos PC cortan la energía del Bluetooth al suspender. Junto con **Entrar al conectar un mando**, el PC despierta directamente en modo consola.
-Los **perfiles por juego** dan a cada juego de Steam su propia resolución, HDR, límite de FPS y salida de audio. Con el juego en marcha, abre el menú de la sesión y elige **Perfil del juego → Guardar los ajustes actuales para…**: se guarda lo que usa la pantalla de juego en ese momento. La próxima vez que ese juego se abra durante una sesión, Console Mode aplica el perfil y, cuando el juego se cierra, la pantalla vuelve a estar como antes. El juego se detecta a través de Steam, tanto si se abre desde Big Picture como desde Playnite o la aplicación Xbox. Los perfiles guardados aparecen en Ajustes → **Perfiles por juego**, donde puedes borrarlos (en la interfaz Consola: Sistema → Al entrar en modo consola).
+Los **perfiles por juego** dan a cada juego de Steam su propia resolución, HDR, límite de FPS y salida de audio. Con el juego en marcha, abre el menú de la sesión y elige **Perfil del juego → Guardar los ajustes actuales para…**: se guarda lo que usa la pantalla de juego en ese momento. La próxima vez que ese juego se abra durante una sesión, Console Mode aplica el perfil y, cuando el juego se cierra, la pantalla vuelve a estar como antes. El juego se detecta a través de Steam, tanto si se abre desde Big Picture como desde Playnite o la aplicación Xbox. Los perfiles guardados aparecen en Sistema → Al entrar en modo consola → **Perfiles por juego**, donde puedes borrarlos.
## API de control local
@@ -50,7 +52,7 @@ Los enlaces `consolemode://` se lanzan sin esperar respuesta. Las herramientas q
## Control de la TV
-Ajustes → **TV** puede encender la TV y cambiarla a la entrada HDMI del PC cuando empieza el modo consola, y, si quieres, volver a ponerla en reposo cuando se restaura el escritorio. Una TV que no responde nunca bloquea el modo consola: la aplicación lo anota en el registro y espera a la pantalla de juego como siempre.
+Sistema → **TV** puede encender la TV y cambiarla a la entrada HDMI del PC cuando empieza el modo consola, y, si quieres, volver a ponerla en reposo cuando se restaura el escritorio. Una TV que no responde nunca bloquea el modo consola: la aplicación lo anota en el registro y espera a la pantalla de juego como siempre.
Con la opción predeterminada, **No controlarla**, no se envía nada y no se añade nada al inicio ni a la restauración. Con una ruta elegida, el paso de la TV va primero cuando empieza el modo consola y dura como máximo **30 segundos** (el peor caso, cuando la TV no responde y se prueba Wake-on-LAN); el reposo opcional al restaurar dura como máximo **15 segundos**. Una TV que ya está encendida suele responder en uno o dos segundos.
@@ -104,7 +106,7 @@ Comprueba que la salida de destino está conectada y disponible en Windows antes
### El mando aparece pero no hace nada (DualSense / DualShock)
-Abre **Ajustes → Probar mando**: muestra en directo lo que Windows recibe de cada mando. Si la lectura sigue vacía mientras pulsas botones, lo más probable es que Steam esté capturando el mando (Steam abierto con la compatibilidad con PlayStation de Steam Input activada lo convierte en teclado y ratón en el escritorio). Cierra Steam, o desactiva la compatibilidad con PlayStation en Steam Input, y vuelve a probar. Si la lectura sigue sin mostrar nada, usa **Copiar diagnóstico** y pégalo en el formulario de comentarios.
+Abre **Sistema → Acceso directo, ayuda y datos → Probar mando**: muestra en directo lo que Windows recibe de cada mando. Si la lectura sigue vacía mientras pulsas botones, lo más probable es que Steam esté capturando el mando (Steam abierto con la compatibilidad con PlayStation de Steam Input activada lo convierte en teclado y ratón en el escritorio). Cierra Steam, o desactiva la compatibilidad con PlayStation en Steam Input, y vuelve a probar. Si la lectura sigue sin mostrar nada, usa **Copiar diagnóstico** y pégalo en el formulario de comentarios.
### El HDR o el VRR no cambiaron
diff --git a/docs/GUIDE.fr-FR.md b/docs/GUIDE.fr-FR.md
index 1c910d8..8664678 100644
--- a/docs/GUIDE.fr-FR.md
+++ b/docs/GUIDE.fr-FR.md
@@ -17,13 +17,15 @@ Si l'application se ferme ou si le PC s'éteint en pleine session, Console Mode
Vous pouvez aussi restaurer à tout moment depuis la zone de notification (*Restaurer la configuration* / *Afficher la fenêtre*). Avec les écrans noirs, **Échap** retire les rideaux.
-Le menu de session propose deux sorties. **Retour au PC** termine la session et remet les écrans, la résolution, le HDR, le son et la limite de FPS comme avant ; l'application reste dans la zone de notification. **Quitter Console Mode** fait la même chose puis ferme l'application : les raccourcis manette ne fonctionnent plus jusqu'à ce que vous la rouvriez. À la première ouverture, le menu propose une visite qui explique chaque option ; pour la revoir plus tard, appuyez sur **Y** (△ sur PlayStation) ou **F1** dans le menu, ou utilisez **Paramètres → Visite du menu de session**.
+Le menu de session propose deux sorties. **Retour au PC** termine la session et remet les écrans, la résolution, le HDR, le son et la limite de FPS comme avant ; l'application reste dans la zone de notification. **Quitter Console Mode** fait la même chose puis ferme l'application : les raccourcis manette ne fonctionnent plus jusqu'à ce que vous la rouvriez. À la première ouverture, le menu propose une visite qui explique chaque option ; pour la revoir plus tard, appuyez sur **Y** (△ sur PlayStation) ou **F1** dans le menu, ou utilisez **Système → Application → Visite du menu de session**.
-## Paramètres en mode console
+## L'interface
+
+Console Mode a une seule interface, conçue comme celle d'une console : elle occupe tout l'écran et marche avec une manette Xbox ou PlayStation, la souris ou le clavier (cliquez sur un onglet ou utilisez Page précédente / Page suivante ; Entrée et Échap font office de A et B). À la première ouverture, une visite guidée passe par les onglets, les lanceurs, le bouton Jouer, les écrans, les réglages rapides et les raccourcis manette ; **A** avance, **B** la passe. Pour la revoir : **Système → Application → Tutoriel**. Pendant le chargement, l'application affiche une ouverture avec son logo et un son d'entrée ; n'importe quel bouton la passe, de temps en temps, par surprise, c'est une inspirée de la Xbox 360 ou de la PS4, avec le son de la console ; **Système → Application** choisit un style (ce qui met fin aux surprises), la montre tout de suite et désactive l'ouverture ou seulement son son.
Dans **Système → Manette**, choisissez la disposition des boutons : **Automatique**, **Xbox** ou **PlayStation**. L'aperçu et les libellés des raccourcis suivent ce choix, qui est enregistré à la fermeture de l'application. Seuls les symboles affichés changent ; les entrées de la manette gardent leur correspondance actuelle.
-L'onglet **Système** offre les mêmes paramètres que le mode Bureau, y compris les raccourcis manette, Playnite, Android TV, les FPS personnalisés et le dossier de données. Les deux interfaces partagent les valeurs enregistrées, qui sont conservées après un redémarrage de l'application.
+L'onglet **Système** réunit tous les réglages, y compris les raccourcis manette, Playnite, Android TV, les FPS personnalisés, la disposition du compteur d'IPS, les arguments de l'application personnalisée, le rapport de diagnostic et le dossier de données. Les valeurs sont conservées après un redémarrage de l'application.
Ouvrez l'action de raccourci à configurer, choisissez **Définir** ou **Modifier**, maintenez la combinaison voulue sur une manette, puis relâchez les boutons. **Supprimer** désactive ce raccourci. Pendant la capture, les boutons de la manette ne naviguent pas dans l'interface ; utilisez **Annuler** ou **Échap** pour arrêter la capture. Hors capture, **B** quitte l'éditeur. Les champs d'adresse et de FPS personnalisés acceptent la saisie au clavier.
@@ -35,7 +37,7 @@ Changer d'écran principal peut amener Windows à mélanger les icônes du burea
**Réveiller le PC avec la manette** permet à l'adaptateur sans fil Xbox, au Bluetooth ou à une manette filaire de sortir le PC de la veille avec le bouton central de la manette. **Activer** demande l'autorisation d'administrateur à Windows et coche *Autoriser ce périphérique à sortir l'ordinateur du mode veille* sur ces périphériques. Un PC éteint ou en veille prolongée ne se réveille pas, et certains PC coupent le Bluetooth pendant la veille. Avec **Entrer à la connexion d'une manette**, le PC se réveille directement en mode console.
-Les **profils par jeu** donnent à chaque jeu Steam sa propre résolution, son HDR, sa limite de FPS et sa sortie audio. Pendant que le jeu tourne, ouvrez le menu de la session et choisissez **Profil du jeu → Enregistrer les réglages actuels pour…** : ce qu'utilise l'écran de jeu à ce moment-là est enregistré. La prochaine fois que ce jeu démarre pendant une session, Console Mode applique le profil et, quand le jeu se ferme, l'écran revient à son état précédent. Le jeu est détecté via Steam, qu'il soit lancé depuis Big Picture, Playnite ou l'application Xbox. Les profils enregistrés sont listés dans Paramètres → **Profils par jeu**, où vous pouvez les supprimer (dans l'interface Console : Système → À l'entrée en mode console).
+Les **profils par jeu** donnent à chaque jeu Steam sa propre résolution, son HDR, sa limite de FPS et sa sortie audio. Pendant que le jeu tourne, ouvrez le menu de la session et choisissez **Profil du jeu → Enregistrer les réglages actuels pour…** : ce qu'utilise l'écran de jeu à ce moment-là est enregistré. La prochaine fois que ce jeu démarre pendant une session, Console Mode applique le profil et, quand le jeu se ferme, l'écran revient à son état précédent. Le jeu est détecté via Steam, qu'il soit lancé depuis Big Picture, Playnite ou l'application Xbox. Les profils enregistrés sont listés dans Système → À l'entrée en mode console → **Profils par jeu**, où vous pouvez les supprimer.
## API de contrôle local
@@ -50,7 +52,7 @@ Les liens `consolemode://` s'envoient sans attendre de réponse. Les outils qui
## Contrôle de la TV
-Paramètres → **TV** peut allumer la TV et la basculer sur l'entrée HDMI du PC au démarrage du mode console, et en option la remettre en veille une fois le bureau restauré. Une TV qui ne répond pas ne bloque jamais le mode console : l'application le note dans le journal et attend l'écran de jeu comme d'habitude.
+Système → **TV** peut allumer la TV et la basculer sur l'entrée HDMI du PC au démarrage du mode console, et en option la remettre en veille une fois le bureau restauré. Une TV qui ne répond pas ne bloque jamais le mode console : l'application le note dans le journal et attend l'écran de jeu comme d'habitude.
Avec la valeur par défaut, **Ne pas la contrôler**, rien n'est envoyé et rien ne s'ajoute au démarrage ni à la restauration. Avec une méthode choisie, l'étape TV s'exécute en premier au démarrage du mode console et dure au plus **30 secondes** (le pire cas, quand la TV ne répond pas et que le Wake-on-LAN est tenté) ; la mise en veille facultative à la restauration dure au plus **15 secondes**. Une TV déjà allumée répond en général en une ou deux secondes.
@@ -104,7 +106,7 @@ Vérifiez que la sortie cible est branchée et disponible dans Windows avant de
### La manette est détectée mais ne fait rien (DualSense / DualShock)
-Ouvrez **Paramètres → Tester la manette** : la lecture en direct montre ce que Windows reçoit de chaque manette. Si elle reste vide quand vous appuyez sur les boutons, c'est très probablement Steam qui capture la manette (Steam lancé avec la prise en charge PlayStation activée dans Steam Input la transforme en clavier/souris sur le bureau). Fermez Steam, ou désactivez la prise en charge PlayStation dans Steam Input, puis testez à nouveau. Si la lecture n'affiche toujours rien, utilisez **Copier le diagnostic** et collez-le dans le formulaire de commentaires.
+Ouvrez **Système → Raccourci, aide et données → Tester la manette** : la lecture en direct montre ce que Windows reçoit de chaque manette. Si elle reste vide quand vous appuyez sur les boutons, c'est très probablement Steam qui capture la manette (Steam lancé avec la prise en charge PlayStation activée dans Steam Input la transforme en clavier/souris sur le bureau). Fermez Steam, ou désactivez la prise en charge PlayStation dans Steam Input, puis testez à nouveau. Si la lecture n'affiche toujours rien, utilisez **Copier le diagnostic** et collez-le dans le formulaire de commentaires.
### Le HDR ou le VRR n'a pas changé
diff --git a/docs/GUIDE.md b/docs/GUIDE.md
index f339cc9..d8be9c5 100644
--- a/docs/GUIDE.md
+++ b/docs/GUIDE.md
@@ -21,9 +21,11 @@ If the app closes or the PC shuts down in the middle of a session, the next time
You can also restore anytime from the tray (*Restore setup* / *Show window*). With black overlays, **ESC** dismisses the curtains.
-The session menu has two ways out. **Back to the PC** ends the session and puts screens, resolution, HDR, audio and the FPS limit back as they were; the app stays in the tray. **Exit Console Mode** does the same and then closes the app, so the controller shortcuts stop until you open it again. The first time the menu opens, it offers a tour that explains each option; to see it later, press **Y** (△ on PlayStation) or **F1** in the menu, or use **Settings → Session menu tour**.
+The session menu has two ways out. **Back to the PC** ends the session and puts screens, resolution, HDR, audio and the FPS limit back as they were; the app stays in the tray. **Exit Console Mode** does the same and then closes the app, so the controller shortcuts stop until you open it again. The first time the menu opens, it offers a tour that explains each option; to see it later, press **Y** (△ on PlayStation) or **F1** in the menu, or use **System → App → Session menu tour**.
-## Settings in Console mode
+## The interface
+
+Console Mode has one interface, made like a console's: it fills the screen and works with an Xbox or PlayStation controller, the mouse or the keyboard (click a tab or use Page Up / Page Down; Enter and Esc work as A and B). The first time you open it, a guided tour walks through the tabs, the launchers, the play button, the screens, the quick settings and the controller shortcuts; **A** goes on, **B** skips it. To see it again: **System → App → Tutorial**. While the app loads it shows an opening with its logo and an entrance sound; any button skips it, now and then it is, as a surprise, one inspired by the Xbox 360 or the PS4, with that console's sound; **System → App** picks a style (which ends the surprises), plays it right away, and turns it off, or just its sound.
**Home** puts your launchers in a row at the top (Steam Big Picture, Playnite, Xbox mode): **A** on one picks what opens, and **Play now** below starts it. The line under the name says where you will play and what changes (audio, resolution, FPS, HDR, VRR); the round button next to Play now opens **Session**, with the screens and quick settings.
@@ -31,7 +33,7 @@ The **System** tab lists its categories on the left (Gaming display, When enteri
In **System → Controller**, choose the button layout: **Automatic**, **Xbox** or **PlayStation**. The preview and shortcut labels follow the choice, which is saved when you close the app. This changes the displayed symbols; the controller's inputs keep their existing mapping.
-The **System** tab provides the same settings as desktop mode, including controller shortcuts, Playnite, Android TV, custom FPS and the data folder. Both interfaces share the saved values, which remain after restarting the app.
+The **System** tab holds every setting, including controller shortcuts, Playnite, Android TV, custom FPS, the FPS counter's layout, the custom app's arguments, the diagnostics report and the data folder. The values stay saved after restarting the app.
Open the shortcut action you want to configure, choose **Set** or **Change**, hold the desired combination on one controller and release the buttons. **Remove** disables that shortcut. During capture, controller buttons do not navigate the interface; use **Cancel** or **Esc** to stop capture. Outside capture, **B** leaves the editor. Address and custom FPS fields accept keyboard input.
@@ -43,7 +45,7 @@ Changing the main display can make Windows reshuffle the desktop icons. **Put de
**Wake the PC with the controller** lets the Xbox Wireless Adapter, the Bluetooth radio or a wired controller wake the PC from sleep with the controller's center button. **Turn on** asks Windows for administrator permission and ticks *Allow this device to wake the computer* on those devices. It can't wake a PC that is shut down or hibernating, and some PCs cut power to Bluetooth while asleep. Together with **Enter when a controller connects**, the PC wakes straight into console mode.
-**Per-game profiles** give each Steam game its own resolution, HDR, FPS limit and audio output. With the game running, open the session menu and pick **Game profile → Save the current settings for…**: whatever the game screen uses at that moment is saved. Next time that game starts during a session, Console Mode applies it, and when the game closes the screen goes back to how it was. The game is detected from Steam, whether it was opened from Big Picture, Playnite or the Xbox app. The saved profiles are listed in Settings → **Per-game profiles**, where you can delete them (in the Console interface: System → When entering console mode).
+**Per-game profiles** give each Steam game its own resolution, HDR, FPS limit and audio output. With the game running, open the session menu and pick **Game profile → Save the current settings for…**: whatever the game screen uses at that moment is saved. Next time that game starts during a session, Console Mode applies it, and when the game closes the screen goes back to how it was. The game is detected from Steam, whether it was opened from Big Picture, Playnite or the Xbox app. The saved profiles are listed in System → When entering console mode → **Per-game profiles**, where you can delete them.
## Local control API
@@ -58,7 +60,7 @@ Changing the main display can make Windows reshuffle the desktop icons. **Put de
## TV control
-Settings → **TV** can turn the TV on and switch it to the PC's HDMI input when console mode starts, and optionally put it back in standby after the desk is restored. A TV that doesn't answer never blocks console mode: the app logs it and waits for the game screen as usual.
+System → **TV** can turn the TV on and switch it to the PC's HDMI input when console mode starts, and optionally put it back in standby after the desk is restored. A TV that doesn't answer never blocks console mode: the app logs it and waits for the game screen as usual.
With the default, **Don't control it**, nothing is sent and nothing is added to starting or restoring. With a route selected, the TV step runs first when console mode starts and is capped at **30 seconds** (the worst case, when the TV doesn't answer and Wake-on-LAN is tried); the optional standby on restore is capped at **15 seconds**. A TV that is already on usually answers in about a second or two.
@@ -112,7 +114,7 @@ Check that the target output is connected and available in Windows before starti
### The controller shows up but does nothing (DualSense / DualShock)
-Open **Settings → Test controller**: it shows live what Windows delivers from each pad. If the reading stays empty while you press buttons, Steam is most likely capturing the pad (Steam running with PlayStation support in Steam Input turns it into keyboard/mouse on the desktop). Close Steam, or turn off PlayStation support in Steam Input, and test again. If the reading still shows nothing, use **Copy diagnostics** and paste it into the feedback form.
+Open **System → Shortcut, help, and data → Test controller**: it shows live what Windows delivers from each pad. If the reading stays empty while you press buttons, Steam is most likely capturing the pad (Steam running with PlayStation support in Steam Input turns it into keyboard/mouse on the desktop). Close Steam, or turn off PlayStation support in Steam Input, and test again. If the reading still shows nothing, use **Copy diagnostics** and paste it into the feedback form.
### HDR or VRR did not change
diff --git a/docs/GUIDE.pt-BR.md b/docs/GUIDE.pt-BR.md
index 360c283..b011cc1 100644
--- a/docs/GUIDE.pt-BR.md
+++ b/docs/GUIDE.pt-BR.md
@@ -21,9 +21,11 @@ Se o app fechar ou o PC desligar no meio de uma sessão, na próxima vez que o C
Também dá para restaurar a qualquer momento pela bandeja (*Restaurar setup* / *Mostrar janela*). Com cortinas pretas, **ESC** remove o overlay.
-No menu da sessão há duas saídas. **Voltar ao PC** encerra a sessão e devolve telas, resolução, HDR, áudio e limite de FPS ao que eram; o app continua na bandeja. **Sair do Console Mode** faz o mesmo e depois fecha o app, então os atalhos do controle param até você abri-lo de novo. Na primeira vez que o menu abre, ele oferece um tour que explica cada opção; para vê-lo depois, aperte **Y** (△ no PlayStation) ou **F1** no menu, ou use **Ajustes → Tour do menu da sessão**.
+No menu da sessão há duas saídas. **Voltar ao PC** encerra a sessão e devolve telas, resolução, HDR, áudio e limite de FPS ao que eram; o app continua na bandeja. **Sair do Console Mode** faz o mesmo e depois fecha o app, então os atalhos do controle param até você abri-lo de novo. Na primeira vez que o menu abre, ele oferece um tour que explica cada opção; para vê-lo depois, aperte **Y** (△ no PlayStation) ou **F1** no menu, ou use **Sistema → App → Tour do menu da sessão**.
-## Configurações no modo Console
+## A interface
+
+O Console Mode tem uma interface só, feita como a de um console: ocupa a tela toda e funciona com controle Xbox ou PlayStation, mouse ou teclado (clique numa aba ou use Page Up / Page Down; Enter e Esc fazem o papel de A e B). Na primeira vez que você abre, um tour guiado passa pelas abas, pelos iniciadores, pelo botão de jogar, pelas telas, pelos ajustes rápidos e pelos atalhos do controle; **A** avança e **B** pula. Para ver de novo: **Sistema → App → Tutorial**. Enquanto carrega, o app mostra uma abertura com o logo e um som de entrada; qualquer botão pula, de vez em quando, de surpresa, vem uma inspirada no Xbox 360 ou no PS4, com o som do console; **Sistema → App** escolhe um estilo (o que acaba com as surpresas), mostra a abertura na hora e desliga a abertura ou só o som.
O **Início** mostra os seus iniciadores numa fileira no topo (Steam Big Picture, Playnite, modo Xbox): **A** num deles escolhe o que abre, e **Jogar agora** logo abaixo começa. A linha embaixo do nome diz onde você vai jogar e o que muda (áudio, resolução, FPS, HDR, VRR); o botão redondo ao lado de Jogar agora abre a **Sessão**, com as telas e os ajustes rápidos.
@@ -31,7 +33,7 @@ A aba **Sistema** lista as categorias à esquerda (Tela de jogo, Ao entrar no mo
Em **Sistema → Controle**, escolha o layout dos botões: **Automático**, **Xbox** ou **PlayStation**. A prévia e os nomes dos atalhos acompanham a escolha, que fica salva ao fechar o app. Isso muda os símbolos exibidos; as entradas do controle mantêm o mapeamento existente.
-A aba **Sistema** oferece os mesmos ajustes do modo PC, incluindo os atalhos do controle, Playnite, Android TV, FPS personalizado e pasta de dados. Os valores são compartilhados entre as duas interfaces e permanecem salvos ao reabrir o app.
+A aba **Sistema** reúne todos os ajustes, incluindo os atalhos do controle, Playnite, Android TV, FPS personalizado, o layout do contador de FPS, os argumentos do aplicativo personalizado, o relatório de diagnóstico e a pasta de dados. Os valores permanecem salvos ao reabrir o app.
Abra a ação de atalho que deseja configurar, escolha **Definir** ou **Alterar**, segure a combinação desejada em um único controle e solte os botões. **Remover** desativa aquele atalho. Durante a captura, os botões não navegam pela interface; use **Cancelar** ou **Esc** para interrompê-la. Fora da captura, **B** volta do editor. Campos de endereço e FPS personalizado aceitam digitação por teclado.
@@ -43,7 +45,7 @@ Trocar a tela principal pode fazer o Windows embaralhar os ícones da área de t
**Acordar o PC pelo controle** deixa o adaptador sem fio Xbox, o Bluetooth ou o controle no cabo acordarem o PC da suspensão pelo botão central do controle. **Ativar** pede permissão de administrador ao Windows e marca *Permitir que este dispositivo ative o computador* nesses dispositivos. Não acorda o PC desligado ou em hibernação, e alguns PCs cortam a energia do Bluetooth ao suspender. Junto com **Entrar ao conectar um controle**, o PC já acorda no modo console.
-**Perfis por jogo** dão a cada jogo da Steam sua própria resolução, HDR, limite de FPS e saída de áudio. Com o jogo rodando, abra o menu da sessão e escolha **Perfil do jogo → Salvar os ajustes atuais para…**: o que a tela de jogo usa naquele momento fica salvo. Da próxima vez que esse jogo abrir durante uma sessão, o Console Mode aplica o perfil e, quando o jogo fecha, a tela volta a ser como era. O jogo é detectado pela Steam, seja ele aberto pelo Big Picture, pelo Playnite ou pelo app Xbox. Os perfis salvos ficam em Ajustes → **Perfis por jogo**, onde dá para apagá-los (na interface Console: Sistema → Ao entrar no modo console).
+**Perfis por jogo** dão a cada jogo da Steam sua própria resolução, HDR, limite de FPS e saída de áudio. Com o jogo rodando, abra o menu da sessão e escolha **Perfil do jogo → Salvar os ajustes atuais para…**: o que a tela de jogo usa naquele momento fica salvo. Da próxima vez que esse jogo abrir durante uma sessão, o Console Mode aplica o perfil e, quando o jogo fecha, a tela volta a ser como era. O jogo é detectado pela Steam, seja ele aberto pelo Big Picture, pelo Playnite ou pelo app Xbox. Os perfis salvos ficam em Sistema → Ao entrar no modo console → **Perfis por jogo**, onde dá para apagá-los.
## API de controle local
@@ -58,7 +60,7 @@ Os links `consolemode://` não dão resposta. Ferramentas que precisam de uma
## Controle da TV
-Ajustes → **TV** pode ligar a TV e trocar para a entrada HDMI do PC quando o modo console começa e, se você quiser, colocá-la em espera depois que a mesa volta. Uma TV que não responde nunca trava o modo console: o app registra no log e espera a tela de jogo como sempre.
+Sistema → **TV** pode ligar a TV e trocar para a entrada HDMI do PC quando o modo console começa e, se você quiser, colocá-la em espera depois que a mesa volta. Uma TV que não responde nunca trava o modo console: o app registra no log e espera a tela de jogo como sempre.
Com o padrão, **Não controlar**, nada é enviado e nada é acrescentado ao iniciar nem ao restaurar. Com um caminho escolhido, a etapa da TV roda primeiro quando o modo console começa e tem limite de **30 segundos** (o pior caso, quando a TV não responde e o Wake-on-LAN é tentado); a espera opcional ao restaurar tem limite de **15 segundos**. Uma TV que já está ligada costuma responder em um ou dois segundos.
@@ -112,7 +114,7 @@ Confira se a saída de destino está conectada e disponível no Windows antes de
### O controle aparece mas não faz nada (DualSense / DualShock)
-Abra **Ajustes → Testar controle**: ele mostra ao vivo o que o Windows entrega de cada controle. Se a leitura fica vazia enquanto você aperta botões, quase sempre é o Steam capturando o controle (Steam aberto com suporte a PlayStation no Steam Input vira teclado/mouse no desktop). Feche o Steam, ou desligue o suporte a PlayStation no Steam Input, e teste de novo. Se continuar vazio, use **Copiar diagnóstico** e cole no formulário de feedback.
+Abra **Sistema → Atalho, ajuda e dados → Testar controle**: ele mostra ao vivo o que o Windows entrega de cada controle. Se a leitura fica vazia enquanto você aperta botões, quase sempre é o Steam capturando o controle (Steam aberto com suporte a PlayStation no Steam Input vira teclado/mouse no desktop). Feche o Steam, ou desligue o suporte a PlayStation no Steam Input, e teste de novo. Se continuar vazio, use **Copiar diagnóstico** e cole no formulário de feedback.
### HDR ou VRR não mudaram
diff --git a/docs/GUIDE.ru-RU.md b/docs/GUIDE.ru-RU.md
index af33822..bb73d9f 100644
--- a/docs/GUIDE.ru-RU.md
+++ b/docs/GUIDE.ru-RU.md
@@ -17,13 +17,15 @@
Восстановить конфигурацию можно в любой момент из области уведомлений (*«Восстановить конфигурацию»* / *«Показать окно»*). Если экраны закрыты чёрным экраном, **ESC** убирает затемнение.
-Из меню сеанса есть два выхода. **«Вернуться к ПК»** завершает сеанс и возвращает экраны, разрешение, HDR, звук и ограничение FPS в прежнее состояние; приложение остаётся в области уведомлений. **«Выйти из Console Mode»** делает то же самое, а затем закрывает приложение, поэтому сочетания на геймпаде не работают, пока вы не откроете его снова. При первом открытии меню предлагает обзор, который объясняет каждый пункт; чтобы посмотреть его позже, нажмите в меню **Y** (△ на PlayStation) или **F1** либо используйте **«Параметры» → «Обзор меню сеанса»**.
+Из меню сеанса есть два выхода. **«Вернуться к ПК»** завершает сеанс и возвращает экраны, разрешение, HDR, звук и ограничение FPS в прежнее состояние; приложение остаётся в области уведомлений. **«Выйти из Console Mode»** делает то же самое, а затем закрывает приложение, поэтому сочетания на геймпаде не работают, пока вы не откроете его снова. При первом открытии меню предлагает обзор, который объясняет каждый пункт; чтобы посмотреть его позже, нажмите в меню **Y** (△ на PlayStation) или **F1** либо используйте **«Система» → «Приложение» → «Обзор меню сеанса»**.
-## Параметры в интерфейсе «Консоль»
+## Интерфейс
+
+У Console Mode один интерфейс, устроенный как у консоли: он занимает весь экран и работает с геймпадом Xbox или PlayStation, мышью или клавиатурой (щёлкните по вкладке или используйте Page Up / Page Down; Enter и Esc работают как A и B). При первом запуске обзор проводит по вкладкам, лаунчерам, кнопке «Играть», экранам, быстрым настройкам и сочетаниям геймпада; **A** — дальше, **B** — пропустить. Чтобы посмотреть его снова: **«Система» → «Приложение» → «Обучение»**. Пока приложение загружается, показывается заставка с логотипом и звуком; любая кнопка её пропускает, иногда для сюрприза показывается заставка в духе Xbox 360 или PS4 со звуком консоли; в **«Система» → «Приложение»** можно выбрать стиль (после этого сюрпризов не будет), сразу посмотреть её и выключить заставку или только её звук.
В разделе **«Система» → «Геймпад»** выберите раскладку кнопок: **«Автоматически»**, **Xbox** или **PlayStation**. Предпросмотр и подписи сочетаний следуют выбору, который сохраняется при закрытии приложения. Меняются только отображаемые символы; назначение кнопок геймпада остаётся прежним.
-На вкладке **«Система»** доступны те же параметры, что и в режиме рабочего стола, включая сочетания на геймпаде, Playnite, Android TV, своё значение FPS и папку данных. Оба интерфейса используют одни и те же сохранённые значения, и они сохраняются после перезапуска приложения.
+На вкладке **«Система»** собраны все настройки, включая сочетания на геймпаде, Playnite, Android TV, своё значение FPS, вид счётчика FPS, аргументы своего приложения, отчёт диагностики и папку данных. Значения сохраняются после перезапуска приложения.
Откройте действие, сочетание для которого хотите настроить, выберите **«Задать»** или **«Изменить»**, удерживайте нужную комбинацию на одном геймпаде и отпустите кнопки. **«Удалить»** отключает это сочетание. Во время записи кнопки геймпада не управляют интерфейсом; чтобы остановить запись, используйте **«Отмена»** или **Esc**. Вне записи **B** закрывает редактор. В поля адреса и своего значения FPS можно вводить текст с клавиатуры.
@@ -35,7 +37,7 @@
Параметр **«Пробуждать ПК геймпадом»** разрешает беспроводному адаптеру Xbox, Bluetooth или проводному геймпаду выводить ПК из спящего режима центральной кнопкой геймпада. Кнопка **«Включить»** запрашивает у Windows права администратора и отмечает у этих устройств *Разрешить этому устройству выводить компьютер из ждущего режима*. Выключенный ПК или ПК в режиме гибернации не проснётся, а некоторые ПК отключают питание Bluetooth во сне. Вместе с **«Входить при подключении геймпада»** ПК сразу проснётся в режиме консоли.
-**Профили для игр** задают каждой игре Steam собственные разрешение, HDR, ограничение FPS и аудиовыход. Во время игры откройте меню сеанса и выберите **«Профиль игры» → «Сохранить текущие настройки для…»**: сохранится то, что игровой экран использует в этот момент. Когда эта игра в следующий раз запустится во время сеанса, Console Mode применит профиль, а после её закрытия экран вернётся в прежнее состояние. Игра определяется через Steam, независимо от того, запущена ли она из Big Picture, Playnite или приложения Xbox. Сохранённые профили перечислены в разделе «Параметры» → **«Профили для игр»**, где их можно удалить (в консольном интерфейсе: «Система» → «При входе в режим консоли»).
+**Профили для игр** задают каждой игре Steam собственные разрешение, HDR, ограничение FPS и аудиовыход. Во время игры откройте меню сеанса и выберите **«Профиль игры» → «Сохранить текущие настройки для…»**: сохранится то, что игровой экран использует в этот момент. Когда эта игра в следующий раз запустится во время сеанса, Console Mode применит профиль, а после её закрытия экран вернётся в прежнее состояние. Игра определяется через Steam, независимо от того, запущена ли она из Big Picture, Playnite или приложения Xbox. Сохранённые профили перечислены в разделе «Система» → «При входе в режим консоли» → **«Профили для игр»**, где их можно удалить.
## Локальный API управления
@@ -50,7 +52,7 @@
## Управление телевизором
-В разделе «Параметры» → **«Телевизор»** можно включать телевизор и переключать его на HDMI-вход ПК при запуске режима консоли, а также, по желанию, переводить его обратно в режим ожидания после восстановления рабочего стола. Телевизор, который не отвечает, никогда не блокирует режим консоли: приложение записывает это в журнал и, как обычно, ждёт игровой экран.
+В разделе «Система» → **«Телевизор»** можно включать телевизор и переключать его на HDMI-вход ПК при запуске режима консоли, а также, по желанию, переводить его обратно в режим ожидания после восстановления рабочего стола. Телевизор, который не отвечает, никогда не блокирует режим консоли: приложение записывает это в журнал и, как обычно, ждёт игровой экран.
По умолчанию выбрано **«Не управлять»**: ничего не отправляется, и запуск или восстановление ничем не замедляются. Если выбран способ управления, шаг с телевизором выполняется первым при запуске режима консоли и занимает не больше **30 секунд** (худший случай, когда телевизор не отвечает и пробуется Wake-on-LAN); перевод в режим ожидания при восстановлении занимает не больше **15 секунд**. Уже включённый телевизор обычно отвечает за секунду-две.
@@ -104,7 +106,7 @@ Console Mode может переключать параметр Windows для
### Геймпад виден, но ничего не делает (DualSense / DualShock)
-Откройте **«Параметры» → «Проверка геймпада»**: там в реальном времени видно, что Windows получает от каждого геймпада. Если при нажатии кнопок показания остаются пустыми, скорее всего, геймпад перехватывает Steam (запущенный Steam с поддержкой PlayStation в Steam Input превращает его в клавиатуру и мышь на рабочем столе). Закройте Steam или отключите поддержку PlayStation в Steam Input и проверьте снова. Если показаний по-прежнему нет, нажмите **«Копировать диагностику»** и вставьте результат в форму отзыва.
+Откройте **«Система» → «Ярлык, справка и данные» → «Проверка геймпада»**: там в реальном времени видно, что Windows получает от каждого геймпада. Если при нажатии кнопок показания остаются пустыми, скорее всего, геймпад перехватывает Steam (запущенный Steam с поддержкой PlayStation в Steam Input превращает его в клавиатуру и мышь на рабочем столе). Закройте Steam или отключите поддержку PlayStation в Steam Input и проверьте снова. Если показаний по-прежнему нет, нажмите **«Копировать диагностику»** и вставьте результат в форму отзыва.
### HDR или VRR не изменились
diff --git a/docs/PRD.md b/docs/PRD.md
index b24411c..c9af7bd 100644
--- a/docs/PRD.md
+++ b/docs/PRD.md
@@ -93,6 +93,8 @@ refeita e sem caminho de volta perdido.
| D-20 | **Perfis por jogo com o Tako:** quando a sessão vem do Tako, quem aplica resolução e áudio do jogo é o Tako (D-16); os perfis do Console Mode (#170) valem só nas sessões que não vêm dele. | A decidir com o Tako (CMI) |
| D-21 | **Estacionar o ponteiro** no canto da tela de jogo quando o launcher aparece vem **ligado por padrão** e devolve o ponteiro para onde estava ao voltar. | Decidido (resposta à issue #172; implementação no INPUT-014) |
| D-22 | **Restauração durável:** tudo o que a sessão muda (telas, áudio, ícones, ponteiro, comandos de fim) é gravado em disco antes da mudança e desfeito no próximo início se o app cair. | Decidido e implementado no CORE-012 (#178). Antes dele, depois de uma queda nada era restaurado sozinho: os backups ficavam no disco, mas o "Restaurar agora" não os usava sem uma sessão ativa. |
+| D-24 | **Sons oficiais de console, por conta e risco:** o dono pode usar sons da Microsoft e da Sony (como os das aberturas inspiradas no Xbox 360 e no PS4), registrados no THIRD_PARTY_NOTICES e trocados se o dono dos direitos pedir. A parte visual imita só o clima, sem logos nem nomes dos consoles. | Decidido pelo dono em 31/10/2026 |
+| D-23 | **Uma interface só:** a partir da 1.7.0 o app tem apenas a interface Console, que também funciona com mouse e teclado. A interface Desktop e a escolha de interface saem; o que só existia nela vai para a aba Sistema, e a primeira abertura ganha um tour guiado. | Decidido pelo dono em 31/10/2026; UI-012 e UI-013. |
### 2.1 Como chegamos aqui
@@ -251,8 +253,7 @@ com DPAPI. Nada vai para servidor próprio; a única rede é o GitHub (atualiza
## 7. Interfaces e design
-- **Desktop:** janela WinUI com Mica, para mouse e teclado. Configura tudo, inclusive o que a Console não mostra.
-- **Console:** 10-foot, tema escuro fixo, foco com contorno branco, cards sem bordas, fonte Inter, transições
+- **Console (a única, D-23):** 10-foot, guiada pelo controle e também pelo mouse e pelo teclado, tema escuro fixo, foco com contorno branco, cards sem bordas, fonte Inter, transições
curtas (140 a 260 ms) que respeitam "Efeitos de animação" do Windows. Referências: PS5, Xbox e o overlay da Steam.
- **Menu da sessão:** tela cheia por cima do jogo, vidro ou fundo sólido conforme a transparência do Windows,
tokens próprios com variante de alto contraste.
@@ -380,7 +381,7 @@ Legenda: **P0** = necessário para a 1.7.0; **P1** = próxima versão; **P2** =
- [x] **INPUT-014 —** Estacionar o ponteiro no canto da tela de jogo quando o launcher aparece, ligado por padrão, devolvendo a posição ao voltar (D-21). Issue #172; base de @JarJarShinks no #173. (#177, 1.7.0)
- [ ] **INPUT-015 (P3) —** Atalhos por voz e assistente (Alexa, MCP). Issue #12.
-### Épico UI — Interface Console e Desktop
+### Épico UI — Interface Console
- [x] **UI-001 —** Interface Console em tela cheia, guiada pelo controle, com seleção de opções por lista. (#32, #42, 1.5.0)
- [x] **UI-002 —** Correções de navegação nos Ajustes da Console e anel de foco visível. (#47, #60, #73, 1.5.0)
@@ -390,9 +391,15 @@ Legenda: **P0** = necessário para a 1.7.0; **P1** = próxima versão; **P2** =
- [x] **UI-006 —** Redesenho estilo console doméstico: lançadores em fileira, Sistema com categorias. (#162, 1.7.0-alpha.1)
- [x] **UI-007 —** Fonte Inter e o foco escolhe o lançador. (#164, 1.7.0-alpha.1)
- [x] **UI-008 —** Fundo Aurora, lista de ajustes dentro da tela, hover e clique suaves. (#165, 1.7.0-alpha.2)
-- [ ] **UI-009 (P1) —** Primeira execução guiada: escolher a tela de jogo, testar, configurar o atalho. Hoje o setup só cobre os atalhos.
-- [ ] **UI-010 (P2) —** Acessibilidade: leitor de tela nas duas interfaces, alto contraste na interface Console, tamanho do texto, redução de animações própria.
-- [ ] **UI-011 (P2) —** Polimento contínuo: legibilidade em TV com sobrevarredura, escala do texto, consistência de foco e hover entre Desktop, Console e menu.
+- [ ] **UI-009 (P1) —** Primeira execução guiada: escolher a tela de jogo, testar, configurar o atalho. O tour (UI-013) mostra onde fica cada coisa; falta o passo a passo que faz junto com a pessoa.
+- [x] **UI-012 —** Uma interface só (D-23): a interface Desktop e a opção Interface saem; contador de FPS, argumentos do aplicativo personalizado, relatório de diagnóstico e versão passam para a aba Sistema. (1.7.0)
+- [x] **UI-013 —** Tour guiado na primeira abertura da interface: 9 paradas com recorte no que cada uma explica (abas, iniciadores, jogar, telas, ajustes rápidos, Sistema, atalhos do controle), A avança e B pula; de novo em Sistema → App → Tutorial. (1.7.0)
+- [x] **UI-015 —** Abertura ao abrir o app: o logo com som de entrada enquanto carrega, com fade para a interface; pula com qualquer botão; "Nenhuma" no estilo abre direto, e o som se desliga à parte, em Sistema → App. (1.7.0)
+- [x] **UI-016 —** Estilos de abertura em Sistema → App: a do Console Mode (a oficial; sem estilo escolhido, de vez em quando sai de surpresa uma das inspiradas, até a pessoa escolher um estilo), "Inspirada no Xbox 360" e "Inspirada no PS4" (só o clima visual, com o nosso logo; sons oficiais por escolha do dono, D-24), e "Ver a abertura". (1.7.0)
+- [x] **UI-017 —** A nossa abertura, "Liga o PC" (escolhida entre três protótipos originais): o logo redesenhado em vetor liga no escuro, peça por peça, com o som do Selene; é a do Console Mode, a oficial. (1.7.0)
+- [x] **UI-014 —** A aba Sistema mostra, embaixo da lista, o que faz a linha em foco: as descrições que a interface Desktop tinha. (1.7.0)
+- [ ] **UI-010 (P2) —** Acessibilidade: leitor de tela, alto contraste na interface Console, tamanho do texto, redução de animações própria.
+- [ ] **UI-011 (P2) —** Polimento contínuo: legibilidade em TV com sobrevarredura, escala do texto, consistência de foco e hover entre a interface e o menu.
### Épico MENU — Menu da sessão
diff --git a/docs/TESTING.md b/docs/TESTING.md
index 3e3041b..9cdacfa 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -4,6 +4,8 @@ Tudo aqui precisa de hardware ou de olho humano e **não é coberto pelos testes
Como testar em build de desenvolvimento: `dotnet build src/ConsoleMode -c Debug -r win-x64` e rode `src/ConsoleMode/bin/Debug/net8.0-windows10.0.19041.0/win-x64/ConsoleMode.exe`. Os dados ficam em `ConsoleMode_Data` ao lado do exe (`config.json`, `consolemode.log`).
+> **Desde a 1.7.0 o app só tem a interface Console.** Itens antigos deste roteiro que falam da interface Desktop, de "Ajustes" ou do "modo PC" valem para a aba **Sistema** (ou não se aplicam mais, como o botão "Modo desktop" e a opção Interface). O roteiro da interface única e do tour está em "Interface única e tour guiado", no fim.
+
## 0. Atalhos do controle configuráveis e primeira configuração
Pré-condições: config sem `shortcutsOnboardingDone` (instalação nova, ou apague a chave/`config.json`); controle Xbox e, se tiver, um PlayStation. Nenhum atalho vem ligado.
@@ -627,5 +629,45 @@ Pré-condições: a opção **Tirar o ponteiro do mouse do caminho** ligada (é
- [ ] Interface Console: nenhuma faixa cinza no topo; o fundo (Aurora, capas ou imagem) vai até a borda da janela, e minimizar, maximizar e fechar aparecem brancos, com realce suave ao passar o mouse e mais forte ao clicar. Resultado: ______
- [ ] Interface Console: arrastar a janela pela área de cima (fora das abas e dos botões) funciona; as abas, o relógio e os botões redondos continuam clicáveis. Resultado: ______
-- [ ] Interface Desktop: ícone e "Console Mode" à esquerda, botões de janela altos; em Ajustes, o botão de voltar aparece e funciona. Tema claro e escuro do Windows: os botões seguem o tema. Resultado: ______
-- [ ] Trocar entre Desktop e Console (botão ou Y): a barra muda junto, sem sobrar faixa nem botões brancos no tema claro. Resultado: ______
+
+## Interface única e tour guiado (1.7.0)
+
+Pré-condições: um `config.json` sem `consoleTourDone` (vale para quem atualiza de uma versão anterior, mesmo tendo visto o tutorial antigo). Teste com controle, só com mouse e só com teclado.
+
+### Uma interface só
+
+- [ ] O app abre maximizado, direto na interface Console, com e sem controle conectado; não há mais o botão "Modo desktop" no topo nem a opção Interface em Sistema → App. Resultado: ______
+- [ ] Restaurar a janela (botão do meio) deixa ela no tamanho antigo e tudo continua utilizável; maximizar volta. Resultado: ______
+- [ ] Iniciado escondido (Iniciar com o Windows, `--start`, um controle conectando com o app na bandeja): a janela não aparece sozinha; ao abri-la pela bandeja, ela maximiza. Resultado: ______
+- [ ] Só com mouse e teclado: clicar nas abas, Page Up / Page Down, setas, Enter e Esc navegam em tudo (Início, Sessão, Sistema, listas de opções, editor de atalhos). Resultado: ______
+- [ ] Um `config.json` antigo com `"uiMode": "desktop"` abre normalmente na interface Console; a chave some na próxima gravação. Resultado: ______
+- [ ] Sistema → Extras opcionais, contador de FPS: estilo, tamanho, posição, cor, cartão, itens do jogo e do PC e "uma linha" mudam o contador na sessão; sem RTSS a linha do estilo fica desabilitada, e tamanho/posição/cor só valem com um estilo que desenha, os itens só no estilo personalizado. Resultado: ______
+- [ ] Sistema → Ao entrar no modo console, com Aplicativo personalizado: "Argumentos" e "Processo a acompanhar" aceitam texto (o teclado na tela não é necessário para o resto) e ficam salvos ao reabrir. Resultado: ______
+- [ ] Sistema → Atalho, ajuda e dados: "Diagnóstico → Copiar relatório" põe o relatório na área de transferência e mostra o aviso; a versão do app aparece no fim da lista. Resultado: ______
+- [ ] Sistema: com o foco numa linha, a descrição dela aparece embaixo da lista (até 3 linhas); no trilho das categorias, some. Em alemão, francês e russo o texto não estoura. Resultado: ______
+
+- [ ] Aba Sessão: as telas aparecem como em Configurações → Sistema → Tela do Windows: na mesma posição relativa, na proporção real (um monitor girado aparece em pé) e com um espaço entre elas; uma tela desligada no Windows aparece tracejada à direita. Os textos encolhem para caber nas telas pequenas. Resultado: ______
+- [ ] O direcional anda entre as telas pela posição delas no mapa (direita vai para a tela à direita etc.) e A abre o painel de papel da tela. Resultado: ______
+
+### Abertura
+
+- [ ] Ao abrir o app ("Liga o PC"): no escuro, a luz de energia da base acende e pulsa duas vezes, a base aparece, a tela se desenha e dá um clarão verde, o > e o _ são digitados (sem pontinhos antes), o cursor pisca três vezes e termina aceso, o nome aparece e toca o som de entrada; some com um fade em uns 3 s (ou quando o app termina de carregar, se demorar mais) e o Início aparece pronto (o tour, na primeira vez). Resultado: ______
+- [ ] Um botão do controle, um clique ou uma tecla durante a abertura pula para a interface e não faz mais nada (não começa sessão, não troca de aba). Resultado: ______
+- [ ] Sistema → App → "Estilo da abertura" → "Nenhuma (abre direto)": reabrir o app vai direto para a interface, sem som; "Som da abertura" e "Ver a abertura" ficam desabilitados. Escolher um estilo de novo religa a abertura. Com o som desligado: abertura muda; ligar o som toca o som. Uma config antiga com a abertura desligada aparece como "Nenhuma". Resultado: ______
+- [ ] "Sons da interface" desligado não silencia a abertura (ela tem o próprio ajuste). Resultado: ______
+- [ ] Sistema → App → "Estilo da abertura": Console Mode, "Inspirada no Xbox 360" (fundo claro, faixas verdes e prateadas girando em volta de um orbe que cresce num clarão, logo com o nome escuro) e "Inspirada no PS4" (azul, ondas de luz passando, partículas subindo, logo na luz), cada um com o seu som; a escolha fica salva e vale na próxima abertura do app. Resultado: ______
+- [ ] Sem estilo escolhido (config sem `introStyle`): abrindo o app várias vezes, quase sempre vem a do Console Mode e de vez em quando (cerca de 1 em 8) a do Xbox 360 ou a do PS4, cada uma com o seu som. Escolher qualquer estilo em Sistema → App (até "Console Mode", já marcado) grava `introStyle` e, daí em diante, só vem aquele. Resultado: ______
+- [ ] "Ver a abertura" toca o estilo escolhido na hora, por cima da interface, e some sozinha (ou com qualquer botão). Resultado: ______
+- [ ] Iniciar com o Windows / `--start` / bandeja: nenhuma abertura nem som com a janela escondida. Com as animações do Windows desligadas, o logo aparece parado e some sem fade. Resultado: ______
+
+### Tour guiado
+
+- [ ] Primeira abertura: o tour abre sozinho em "Bem-vindo ao Console Mode", 1 de 9, com o cartão no meio da tela e o fundo escurecido. Resultado: ______
+- [ ] Cada parada troca para a aba certa e o recorte (com contorno na cor de destaque) envolve: as abas; a fileira de iniciadores; Jogar agora e o botão redondo; as telas (Sessão); os ajustes rápidos (Sessão, rolando se precisar); as categorias (Sistema); as três linhas de atalho (Sistema → Controle). Resultado: ______
+- [ ] O cartão nunca cobre o recorte nem sai da tela: em 1080p, em 4K com escala de 150% e com a janela restaurada (pequena). Redimensionar com o tour aberto reposiciona recorte e cartão. Resultado: ______
+- [ ] Controle: A avança, B pula, as setas andam entre Próximo / Voltar / Pular; LB/RB, Start e Y não fazem nada durante o tour (nenhuma sessão começa). Mouse: os três botões funcionam e clicar no fundo escuro não faz nada. Teclado: Enter avança, Esc pula. Resultado: ______
+- [ ] Os símbolos nos textos seguem o controle: LB/RB, A, ☰ e Y no Xbox; L1/R1, ✕, OPTIONS e △ no PlayStation (e mudam se trocar o layout em Sistema → Controle). Resultado: ______
+- [ ] "Começar" (última parada) ou "Pular tutorial" volta para o Início com o foco em Jogar agora e grava `consoleTourDone: true` (e `shortcutsOnboardingDone`); reabrir o app não mostra o tour de novo. Resultado: ______
+- [ ] Sistema → App → Tutorial abre o tour de novo, do começo. Resultado: ______
+- [ ] O app iniciado escondido mostra o tour só quando a janela é aberta pela bandeja; com uma sessão ativa, nunca. Resultado: ______
+- [ ] Alemão, francês e russo: título e texto do cartão quebram linha sem cortar; os botões cabem. Resultado: ______
diff --git a/src/ConsoleMode/App.xaml.cs b/src/ConsoleMode/App.xaml.cs
index 042b143..51dd2c2 100644
--- a/src/ConsoleMode/App.xaml.cs
+++ b/src/ConsoleMode/App.xaml.cs
@@ -93,8 +93,20 @@ protected override async void OnLaunched(LaunchActivatedEventArgs args)
WatchGuideButton();
// A stop request with nothing running just opens the window.
- if (!autoStart && !trayOnly) _window.Activate();
- await ViewModel.InitializeAsync(interactive: !autoStart && !trayOnly);
+ if (!autoStart && !trayOnly)
+ {
+ // The opening covers the loading; it fades out once InitializeAsync is done.
+ ViewModel.BeginIntro();
+ _window.Activate();
+ }
+ try
+ {
+ await ViewModel.InitializeAsync(interactive: !autoStart && !trayOnly);
+ }
+ finally
+ {
+ _ = ViewModel.FinishIntroAsync();
+ }
if (autoStart && !await ViewModel.TryAutoStartAsync())
_window.Activate();
@@ -175,7 +187,6 @@ private void WatchGuideButton()
};
_menuChord.Held += () => ViewModel?.ToggleSessionMenu();
ViewModel.PropertyChanged += OnViewModelChangedForGuide;
- ViewModel.ShortcutOnboardingRequested += () => _ = ShowShortcutOnboardingAsync();
RefreshGuideWatch();
// Issue #29: a pad connecting while we're in the tray means "I'm on the couch".
@@ -217,27 +228,6 @@ private void RefreshGuideWatch()
Apply(_exitChord, idle && _exitChord.Mask != 0 && ViewModel.IsConsoleActive);
}
- private bool _onboardingOpen;
-
- /// The first-run shortcuts setup (nothing is set until the user chooses).
- private async Task ShowShortcutOnboardingAsync()
- {
- if (_onboardingOpen || _window?.Content?.XamlRoot is not { } root || ViewModel is null) return;
- _onboardingOpen = true;
- try
- {
- await Controls.ShortcutPicker.ShowOnboardingAsync(root, ViewModel);
- }
- catch (Exception ex)
- {
- AppLog.Write($"Atalhos: {ex.Message}");
- }
- finally
- {
- _onboardingOpen = false;
- }
- }
-
private static void Apply(ControllerHoldWatcher watcher, bool run)
{
if (run) watcher.Start();
diff --git a/src/ConsoleMode/Assets/Intro/logo.png b/src/ConsoleMode/Assets/Intro/logo.png
new file mode 100644
index 0000000..f11a176
Binary files /dev/null and b/src/ConsoleMode/Assets/Intro/logo.png differ
diff --git a/src/ConsoleMode/Assets/Sounds/boot.wav b/src/ConsoleMode/Assets/Sounds/boot.wav
new file mode 100644
index 0000000..88422db
Binary files /dev/null and b/src/ConsoleMode/Assets/Sounds/boot.wav differ
diff --git a/src/ConsoleMode/Assets/Sounds/bootps4.wav b/src/ConsoleMode/Assets/Sounds/bootps4.wav
new file mode 100644
index 0000000..36b533c
Binary files /dev/null and b/src/ConsoleMode/Assets/Sounds/bootps4.wav differ
diff --git a/src/ConsoleMode/Assets/Sounds/bootx360.wav b/src/ConsoleMode/Assets/Sounds/bootx360.wav
new file mode 100644
index 0000000..cdfef99
Binary files /dev/null and b/src/ConsoleMode/Assets/Sounds/bootx360.wav differ
diff --git a/src/ConsoleMode/ConsoleMode.csproj b/src/ConsoleMode/ConsoleMode.csproj
index 415d5be..dfa025d 100644
--- a/src/ConsoleMode/ConsoleMode.csproj
+++ b/src/ConsoleMode/ConsoleMode.csproj
@@ -52,6 +52,8 @@
+
+
diff --git a/src/ConsoleMode/Controls/MonitorLayoutPanel.cs b/src/ConsoleMode/Controls/MonitorLayoutPanel.cs
index 7a7cee0..31fc7f8 100644
--- a/src/ConsoleMode/Controls/MonitorLayoutPanel.cs
+++ b/src/ConsoleMode/Controls/MonitorLayoutPanel.cs
@@ -6,7 +6,8 @@
namespace ConsoleMode.Controls;
///
-/// ItemsPanel that places each screen tile at its desktop position, like Windows display settings.
+/// ItemsPanel that places each screen at its desktop position, like Windows display settings (a screen standing up
+/// shows standing up).
/// Positions and sizes are precomputed in (LayoutX/LayoutY/TileWidth/TileHeight).
///
public sealed class MonitorLayoutPanel : Panel
diff --git a/src/ConsoleMode/Controls/ShortcutPicker.cs b/src/ConsoleMode/Controls/ShortcutPicker.cs
index f5626ce..2437f92 100644
--- a/src/ConsoleMode/Controls/ShortcutPicker.cs
+++ b/src/ConsoleMode/Controls/ShortcutPicker.cs
@@ -38,13 +38,12 @@ public sealed class ShortcutPicker : StackPanel
private readonly DispatcherQueueTimer _timer;
private ShortcutCapture? _capture;
- /// In the setup dialog: left-aligned under the text instead of a right-hand column.
- public ShortcutPicker(MainViewModel vm, ShortcutSlot slot, bool stacked = false, bool consoleStyle = false)
+ public ShortcutPicker(MainViewModel vm, ShortcutSlot slot, bool consoleStyle = false)
{
_vm = vm;
_slot = slot;
Spacing = 4;
- var side = stacked || consoleStyle ? HorizontalAlignment.Left : HorizontalAlignment.Right;
+ var side = consoleStyle ? HorizontalAlignment.Left : HorizontalAlignment.Right;
HorizontalAlignment = consoleStyle ? HorizontalAlignment.Stretch : side;
if (consoleStyle)
@@ -171,62 +170,4 @@ private void Poll()
_error.Text = error ?? "";
_error.Visibility = error is null ? Visibility.Collapsed : Visibility.Visible;
}
-
- ///
- /// First run of the version that made shortcuts configurable: nothing is set, and the user
- /// chooses each one here (or takes the suggestions), or skips and does it later in Settings.
- ///
- public static async Task ShowOnboardingAsync(XamlRoot root, MainViewModel vm)
- {
- var panel = new StackPanel { Spacing = 16 };
- panel.Children.Add(new TextBlock
- {
- Text = LocalizationService.Get("ShortcutsOnboardingBody"),
- TextWrapping = TextWrapping.Wrap
- });
-
- foreach (var (slot, descriptionKey) in new[]
- {
- (ShortcutSlot.Home, "HomeButtonDescription"),
- (ShortcutSlot.Menu, "SessionMenuDescription"),
- (ShortcutSlot.Exit, "ExitShortcutDescription")
- })
- {
- var text = new StackPanel { Spacing = 2 };
- text.Children.Add(new TextBlock { Text = vm.ShortcutName(slot), FontWeight = Microsoft.UI.Text.FontWeights.SemiBold });
- text.Children.Add(new TextBlock
- {
- Text = LocalizationService.Get(descriptionKey),
- TextWrapping = TextWrapping.Wrap,
- FontSize = 12,
- Opacity = 0.7
- });
- // Stacked: the dialog is narrow, a right-hand column would be clipped.
- var row = new StackPanel { Spacing = 8 };
- row.Children.Add(text);
- row.Children.Add(new ShortcutPicker(vm, slot, stacked: true));
- panel.Children.Add(row);
- }
-
- var suggest = new Button { Content = LocalizationService.Get("ShortcutsUseSuggested") };
- suggest.Click += (_, _) => vm.UseSuggestedShortcuts();
- panel.Children.Add(suggest);
-
- var dialog = new ContentDialog
- {
- XamlRoot = root,
- Title = LocalizationService.Get("ShortcutsOnboardingTitle"),
- Content = new ScrollViewer { Content = panel },
- CloseButtonText = LocalizationService.Get("ShortcutsOnboardingDone"),
- DefaultButton = ContentDialogButton.Close
- };
- try
- {
- await dialog.ShowAsync();
- }
- finally
- {
- vm.CompleteShortcutOnboarding();
- }
- }
}
diff --git a/src/ConsoleMode/MainWindow.xaml b/src/ConsoleMode/MainWindow.xaml
index f30964b..2d2432b 100644
--- a/src/ConsoleMode/MainWindow.xaml
+++ b/src/ConsoleMode/MainWindow.xaml
@@ -12,48 +12,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/src/ConsoleMode/MainWindow.xaml.cs b/src/ConsoleMode/MainWindow.xaml.cs
index 34baf73..cf04e38 100644
--- a/src/ConsoleMode/MainWindow.xaml.cs
+++ b/src/ConsoleMode/MainWindow.xaml.cs
@@ -4,7 +4,6 @@
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Media;
-using Microsoft.UI.Xaml.Media.Imaging;
using WinRT.Interop;
namespace ConsoleMode;
@@ -30,21 +29,27 @@ public MainWindow(MainViewModel viewModel)
appWindow.TitleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
// Tall caption buttons: as high as the 48 px bar, instead of 32 px ones floating at the top.
appWindow.TitleBar.PreferredHeightOption = TitleBarHeightOption.Tall;
- StyleCaptionButtons(appWindow.TitleBar, ViewModel.IsConsoleUi);
+ StyleCaptionButtons(appWindow.TitleBar);
- if (File.Exists(AppPaths.IconPath))
- {
- appWindow.SetIcon(AppPaths.IconPath);
- TitleIcon.Source = new BitmapImage(new Uri(AppPaths.IconPath));
- }
+ if (File.Exists(AppPaths.IconPath)) appWindow.SetIcon(AppPaths.IconPath);
if (appWindow.Presenter is OverlappedPresenter presenter)
{
- // The screen map is laid out for ~860 DIPs; don't let the window go narrower.
+ // The interface is laid out for ~860 DIPs; don't let the window go narrower.
presenter.PreferredMinimumWidth = (int)(900 * scale);
presenter.PreferredMinimumHeight = (int)(640 * scale);
}
+ // The interface fills the screen, like a console (restoring gives the window its size back). Done the first time
+ // the window shows: maximizing a window started hidden (--start, the tray) would show it.
+ var maximized = false;
+ Activated += (_, _) =>
+ {
+ if (maximized) return;
+ maximized = true;
+ if (appWindow.Presenter is OverlappedPresenter p) p.Maximize();
+ };
+
appWindow.Closing += (_, e) =>
{
if (!ViewModel.TryCloseToTray()) return;
@@ -58,73 +63,20 @@ public MainWindow(MainViewModel viewModel)
if (!e.DidPresenterChange || !ViewModel.MinimizeToTray) return;
if (appWindow.Presenter is OverlappedPresenter { State: OverlappedPresenterState.Minimized }) appWindow.Hide();
};
-
- // The console interface fills the screen, like a console; the desktop one gets its size back.
- ViewModel.PropertyChanged += (_, e) =>
- {
- if (e.PropertyName == nameof(MainViewModel.IsConsoleUi)) StyleCaptionButtons(appWindow.TitleBar, ViewModel.IsConsoleUi);
- if (e.PropertyName == nameof(MainViewModel.IsConsoleUi) && appWindow.Presenter is OverlappedPresenter p)
- {
- if (ViewModel.IsConsoleUi) p.Maximize();
- else if (p.State == OverlappedPresenterState.Maximized) p.Restore();
- }
- if (e.PropertyName is nameof(MainViewModel.IsConsoleUi) or nameof(MainViewModel.IsConsoleActive))
- RefreshDesktopNavigator();
- };
- WatchDesktopPad(hwnd);
}
///
- /// Minimize, maximize and close over the console interface's dark background: white, with the same soft veil on hover
- /// and press as its own buttons. The desktop interface keeps Windows' colours for its theme.
+ /// Minimize, maximize and close over the interface's dark background: white, with the same soft veil on hover and
+ /// press as its own buttons.
///
- private static void StyleCaptionButtons(AppWindowTitleBar bar, bool console)
- {
- Windows.UI.Color? Argb(byte a, byte r, byte g, byte b) => console ? Windows.UI.Color.FromArgb(a, r, g, b) : null;
- bar.ButtonForegroundColor = Argb(0xFF, 0xFF, 0xFF, 0xFF);
- bar.ButtonInactiveForegroundColor = Argb(0x80, 0xFF, 0xFF, 0xFF);
- bar.ButtonHoverForegroundColor = Argb(0xFF, 0xFF, 0xFF, 0xFF);
- bar.ButtonHoverBackgroundColor = Argb(0x1F, 0xFF, 0xFF, 0xFF);
- bar.ButtonPressedForegroundColor = Argb(0xFF, 0xFF, 0xFF, 0xFF);
- bar.ButtonPressedBackgroundColor = Argb(0x33, 0xFF, 0xFF, 0xFF);
- }
-
- // The desktop interface, driven by the pad like a console menu (ported from PR #17):
- // D-pad/stick move, A activates (lists, toggles, cards), B closes a list or leaves Settings,
- // Start toggles Settings, Y jumps to the console interface, tour: A next / B skip.
- // The console interface has its own navigator inside ConsoleHomeView.
- private GamepadNavigator? _desktopPad;
-
- private void WatchDesktopPad(nint hwnd)
- {
- _desktopPad = new GamepadNavigator(DispatcherQueue, (DependencyObject)Content, hwnd)
- {
- Intercept = action =>
- {
- // Picking a shortcut presses buttons on purpose: they must not also navigate.
- if (ViewModel.IsCapturingShortcut) return true;
- if (ViewModel.TourStep <= 0) return false;
- if (action == ControllerAction.Confirm) ViewModel.TourNextCommand.Execute(null);
- else if (action == ControllerAction.Back) ViewModel.EndTourCommand.Execute(null);
- return true;
- }
- };
- _desktopPad.MenuRequested += () =>
- {
- if (ViewModel.IsSettingsPage) ViewModel.GoHomeCommand.Execute(null);
- else ViewModel.OpenSettingsCommand.Execute(null);
- };
- _desktopPad.BackRequested += () => { if (ViewModel.IsSettingsPage) ViewModel.GoHomeCommand.Execute(null); };
- _desktopPad.AltRequested += () => ViewModel.SwitchUiCommand.Execute("console");
- RefreshDesktopNavigator();
- }
-
- private void RefreshDesktopNavigator()
+ private static void StyleCaptionButtons(AppWindowTitleBar bar)
{
- if (_desktopPad is null) return;
- var listen = !ViewModel.IsConsoleUi && !ViewModel.IsConsoleActive;
- if (listen && !_desktopPad.IsRunning) _desktopPad.Start();
- else if (!listen && _desktopPad.IsRunning) _desktopPad.Stop();
+ bar.ButtonForegroundColor = Windows.UI.Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
+ bar.ButtonInactiveForegroundColor = Windows.UI.Color.FromArgb(0x80, 0xFF, 0xFF, 0xFF);
+ bar.ButtonHoverForegroundColor = Windows.UI.Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
+ bar.ButtonHoverBackgroundColor = Windows.UI.Color.FromArgb(0x1F, 0xFF, 0xFF, 0xFF);
+ bar.ButtonPressedForegroundColor = Windows.UI.Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
+ bar.ButtonPressedBackgroundColor = Windows.UI.Color.FromArgb(0x33, 0xFF, 0xFF, 0xFF);
}
private static class Win32Dpi
diff --git a/src/ConsoleMode/Models/Models.cs b/src/ConsoleMode/Models/Models.cs
index e03006f..87bffd3 100644
--- a/src/ConsoleMode/Models/Models.cs
+++ b/src/ConsoleMode/Models/Models.cs
@@ -33,14 +33,14 @@ public sealed class AppConfig
public bool HdrEnable { get; set; }
public bool VrrEnable { get; set; }
- /// "auto" | "desktop" | "console": which interface to show (UiModeResolver).
- public string UiMode { get; set; } = "auto";
-
/// "auto" | "xbox" | "playstation": which controller symbols to show in the console UI.
public string ControllerLayout { get; set; } = "auto";
- /// The first-run tour was finished or skipped.
- public bool TourDone { get; set; }
+ ///
+ /// The console interface's first-run tour was finished or skipped. A new flag, not the desktop interface's old
+ /// TourDone: everyone sees this tour once, since the interface they knew is gone.
+ ///
+ public bool ConsoleTourDone { get; set; }
/// The session menu's tour was taken, finished or declined: it is no longer offered when the menu opens.
public bool SessionMenuTourDone { get; set; }
@@ -90,6 +90,18 @@ public sealed class AppConfig
/// Sounds for moving, picking and going back in the console interface.
public bool InterfaceSounds { get; set; } = true;
+ /// The opening with the logo and a loading bar when the app opens (BootIntro).
+ public bool IntroAnimation { get; set; } = true;
+
+ /// The opening's sound; has its own switch, apart from the interface sounds.
+ public bool IntroSound { get; set; } = true;
+
+ ///
+ /// "console" (the app's own), "x360" or "ps4": the opening's style, once picked in System → App. Null while never
+ /// picked: the app's own then, with the console-inspired ones now and then as a surprise (BootIntro.PickForOpening).
+ ///
+ public string? IntroStyle { get; set; }
+
/// Minimizing the main window hides it in the tray instead of leaving it on the taskbar.
public bool MinimizeToTray { get; set; }
diff --git a/src/ConsoleMode/Resources/Strings.de-DE.json b/src/ConsoleMode/Resources/Strings.de-DE.json
index 0636352..c85c89a 100644
--- a/src/ConsoleMode/Resources/Strings.de-DE.json
+++ b/src/ConsoleMode/Resources/Strings.de-DE.json
@@ -1,34 +1,16 @@
{
"Brand": "Console Mode",
"Back": "Zurück",
- "HomeHeading": "Wo möchtest du spielen?",
- "HomeDescription": "Wähle einen Bildschirm aus und lege fest, was mit ihm geschehen soll. Bildschirme, die du ausschaltest, werden automatisch wiederhergestellt, wenn du das Spiel verlässt.",
- "ReleaseNews": "Neuigkeiten",
"IgnoreUpdate": "Diese Version überspringen",
- "NoDisplays": "Keine Bildschirme gefunden",
- "TryAgain": "Erneut versuchen",
- "RefreshDisplaysTooltip": "Erneut nach Bildschirmen suchen",
- "RefreshDisplaysName": "Bildschirme aktualisieren",
- "RoleQuestion": "Was soll dieser Bildschirm tun?",
"RolePlayHere": "Hier spielen",
"RoleTurnOff": "Ausschalten",
"RoleKeepOn": "Eingeschaltet lassen",
"Settings": "Einstellungen",
"SendFeedback": "Feedback senden",
- "TourMapTitle": "1 von 3 · Deine Bildschirme",
- "TourRoleTitle": "2 von 3 · Was die einzelnen Bildschirme tun",
- "TourPlayTitle": "3 von 3 · Mit einem Klick spielen",
- "TourRoleDescription": "Wähle einen Bildschirm aus und lege fest, ob du darauf spielen, ihn während des Spielens ausschalten oder eingeschaltet lassen möchtest. Ausgeschaltete Bildschirme werden beim Verlassen wiederhergestellt.",
- "TourPlayDescription": "Deine Bildschirme werden umgeschaltet und Big Picture wird auf dem Fernseher geöffnet. Beim ersten Mal musst du auf dem Fernseher bestätigen, dass du das Bild sehen kannst. Wenn innerhalb von 15 Sekunden niemand reagiert, wird alles wiederhergestellt. Schließe Big Picture, um den Modus zu verlassen.",
"Next": "Weiter",
"SkipTour": "Tutorial überspringen",
- "GotIt": "Verstanden",
"CreateDesktopShortcut": "Desktop-Verknüpfung erstellen",
"ActiveTitle": "Console Mode ist aktiv",
- "RestoreNow": "Jetzt wiederherstellen",
- "RunningInTray": "Du kannst dieses Fenster schließen. Console Mode läuft im Infobereich der Taskleiste weiter.",
- "SettingsTitle": "Einstellungen",
- "SettingsIntro": "Änderungen werden automatisch gespeichert. Wähle die Bildschirme auf der Startseite aus.",
"GameScreenSection": "Gaming-Bildschirm",
"ResolutionRefreshCard": "Auflösung und Bildwiederholrate",
"HideOtherScreensCard": "Andere Bildschirme ausschalten",
@@ -44,8 +26,6 @@
"FpsCard": "FPS-Begrenzung",
"FpsPlaceholder": "FPS",
"AppSection": "App",
- "UiModeCard": "Oberfläche",
- "UiModeDescription": "Konsole: große Kacheln, Steuerung per Controller und Vollbild. Bei „Automatisch“ wird der Konsolenmodus verwendet, wenn ein Controller verbunden ist.",
"BackgroundCard": "Hintergrund",
"BackgroundDescription": "Das Hintergrundbild von Console Mode, Cover deiner installierten Steam-Spiele unter einem Farbverlauf, nur der Farbverlauf oder ein eigenes Bild.",
"BackgroundAuto": "Aurora",
@@ -60,12 +40,6 @@
"HintTabs": "Registerkarten",
"SoundsCard": "Oberflächentöne",
"SoundsDescription": "Dezente Töne beim Navigieren, Auswählen und Zurückgehen in der Konsolenoberfläche.",
- "UiModeAuto": "Automatisch",
- "UiModeDesktop": "Desktop",
- "UiModeConsole": "Konsole",
- "SwitchToDesktop": "Desktopmodus",
- "SwitchToConsole": "Konsolenmodus",
- "ControllerHintDesktop": "Controller erkannt · A navigiert, Y öffnet den Konsolenmodus",
"SessionMenuTitle": "Sitzungsmenü",
"BackToGame": "Zurück zum Spiel",
"VolumeRow": "Lautstärke",
@@ -129,10 +103,6 @@
"ShortcutCaptureHint": "Zum Speichern loslassen. Drücke {0} allein, um abzubrechen.",
"ShortcutNotAllowed": "Verwende mindestens zwei Tasten gleichzeitig (z. B. Select + Y) oder allein die Home-Taste. Eine einzelne Taste könnte mitten im Spiel ausgelöst werden.",
"ShortcutInUse": "{0} ist bereits die Tastenkombination für „{1}“. Wähle eine andere Kombination.",
- "ShortcutsOnboardingTitle": "Controller-Tastenkombinationen einrichten",
- "ShortcutsOnboardingBody": "Es ist keine Tastenkombination aktiv, bis du eine festlegst. Wähle für jede Aktion eine Taste oder Kombination oder lass sie unbelegt. Drücke auf „Festlegen“, halte die Tasten gedrückt und lass sie los. Dieselbe Kombination kann nicht für zwei Aktionen verwendet werden. Du kannst alles später in den Einstellungen ändern.",
- "ShortcutsUseSuggested": "Vorgeschlagene Tastenkombinationen verwenden",
- "ShortcutsOnboardingDone": "Fertig",
"CloseSteamCard": "Steam beim Zurückkehren zum PC in den Infobereich minimieren",
"CloseSteamDescription": "Wenn du Big Picture verlässt, erhält Steam eine normale Aufforderung zum Schließen des Fensters und kann so in den Infobereich wechseln, ohne den Prozess zu beenden. Wenn ein Spiel läuft oder sein Status nicht ermittelt werden kann, bleibt das Fenster unverändert.",
"RestoreIconsCard": "Desktopsymbole wieder an ihren Platz setzen",
@@ -181,7 +151,6 @@
"StartupDescription": "Wird beim Start des PCs im Infobereich geöffnet und ist bereit für die Verknüpfung mit einem Klick.",
"MinimizeToTrayCard": "In den Infobereich minimieren",
"MinimizeToTrayDescription": "Beim Minimieren verschwindet das Fenster aus der Taskleiste und Console Mode bleibt bei den ausgeblendeten Symbolen. Klicke auf das Symbol, um es wieder zu öffnen.",
- "UpdatesCard": "Updates",
"CheckNow": "Jetzt suchen",
"NotifyUpdatesCard": "Bei einer neuen Version benachrichtigen",
"NotifyUpdatesDescription": "Prüft beim Start der App die GitHub-Releases.",
@@ -194,7 +163,6 @@
"NextBoostDescription": "Windows-Optimierung",
"TvConfirmationCard": "TV-Bestätigung",
"TvConfirmationDescription": "Wenn du einen neuen Gaming-Bildschirm zum ersten Mal verwendest, bittet dich der Fernseher zu bestätigen, dass du das Bild sehen kannst. Bestätige mit Maus, Tastatur oder Controller (Xbox: A/B · PlayStation: ✕/○). Du kannst dies hier testen, ohne deine Bildschirme zu ändern.",
- "TestNow": "Jetzt testen",
"TvSection": "Fernseher",
"TvControlCard": "Fernseher einschalten und Eingang wechseln",
"TvProviderNone": "Nicht steuern",
@@ -231,11 +199,9 @@
"DiagnosticsCopied": "Diagnosedaten kopiert. Füge sie in den Fehlerbericht oder das Feedbackformular ein.",
"DiagnosticsCard": "Diagnose",
"DiagnosticsDescription": "Versionen, Bildschirme, Audio, Controller, gefundene Programme und das Ende des Protokolls, zum Anhängen an einen Fehlerbericht. Pfade mit deinem Benutzernamen und Schlüssel werden ausgeblendet.",
- "RefreshDiagnostics": "Aktualisieren",
"CopyReport": "Bericht kopieren",
"TutorialCard": "Tutorial",
- "TutorialDescription": "Die Einführung auf der Startseite erneut anzeigen.",
- "SeeAgain": "Erneut anzeigen",
+ "TutorialDescription": "Die geführte Tour der Oberfläche erneut anzeigen.",
"OneClickCard": "Verknüpfung mit einem Klick",
"OneClickDescription": "Erstellt auf dem Desktop neben der normalen App-Verknüpfung „Console Mode 1 Click“. Damit wird der Konsolenmodus direkt gestartet, ohne dieses Fenster zu öffnen.",
"CreateShortcut": "Verknüpfung erstellen",
@@ -262,7 +228,6 @@
"LaunchSteam": "Steam Big Picture",
"LaunchPlaynite": "Playnite (Vollbild)",
"PlaynitePathCard": "Playnite-Ordner",
- "PlaynitePathChoose": "Auswählen…",
"PlaynitePathClear": "Leeren",
"PlaynitePathDetected": "Automatisch gefunden unter {0}. Wähle Playnite.FullscreenApp.exe aus, wenn du die portable Version verwendest.",
"PlaynitePathMissing": "Playnite nicht gefunden. Wähle beispielsweise Playnite.FullscreenApp.exe aus (portable Version).",
@@ -272,7 +237,6 @@
"LaunchCustomApp": "Eigene App",
"LaunchCustomAppDescription": "Öffnet das Programm deiner Wahl (einen Emulator, einen anderen Launcher…). Deine Bildschirme werden automatisch wiederhergestellt, wenn du es schließt.",
"CustomAppPathCard": "Zu öffnende App",
- "CustomAppBrowse": "Durchsuchen…",
"CustomAppArgumentsCard": "Argumente",
"CustomAppArgumentsDescription": "Optional. Werden der App beim Start übergeben, zum Beispiel um sie im Vollbild zu öffnen.",
"CustomAppWatchCard": "Zu überwachender Prozess",
@@ -362,8 +326,6 @@
"EstimatedModeSuffix": " (geschätzt)",
"UpdateAssetMissing": "Diese Veröffentlichung enthält keine überprüfbare Datei für diesen Installationstyp.",
"UpdateHashMismatch": "Die SHA-256-Prüfsumme der heruntergeladenen Datei stimmt nicht mit der von GitHub veröffentlichten Prüfsumme überein.",
- "TourMapGeneric": "Hier siehst du deine Bildschirme an ihren Desktop-Positionen. Wähle den Bildschirm aus, auf dem du spielen möchtest.",
- "TourMapWithFocus": "Hier siehst du deine Bildschirme an ihren Desktop-Positionen. Wir haben {0} ausgewählt, weil er derzeit ausgeschaltet ist. Wähle bei Bedarf einen anderen aus.",
"RestoreSuccess": "Deine Bildschirme sind wieder im Normalzustand.",
"SessionRecovered": "Die letzte Sitzung wurde nicht richtig beendet (die App wurde geschlossen oder der PC ging mittendrin aus). Bildschirme, Ton, Symbole und Zeiger wurden wiederhergestellt.",
"SessionJournalFailed": "Das Sitzungsprotokoll konnte nicht im Datenordner gespeichert werden ({0}). Ohne es gäbe es nach einem Absturz keinen Weg zurück, deshalb wurde nichts geändert.",
@@ -434,5 +396,34 @@
"ControllerBattery": "Controller-Akku: {0}",
"ControllerBatteryCharging": "Controller-Akku: {0}, wird geladen",
"LowBatteryTitle": "Controller-Akku schwach",
- "LowBatteryBody": "Noch {0} Akku. Schließe das Kabel an oder lade den Controller auf."
+ "LowBatteryBody": "Noch {0} Akku. Schließe das Kabel an oder lade den Controller auf.",
+ "ConsoleTourWelcomeTitle": "Willkommen bei Console Mode",
+ "ConsoleTourWelcomeBody": "Es macht deinen PC zur Konsole: Das Spiel kommt auf den Fernseher (oder den Bildschirm deiner Wahl), die anderen Bildschirme gehen aus und Steam Big Picture, Playnite oder der Xbox-Modus öffnet sich. Wenn du zurückkommst, ist dein Schreibtisch wieder wie vorher. Diese Tour zeigt dir, wo alles ist; nutze Controller, Maus oder Tastatur.",
+ "ConsoleTourTabsTitle": "Drei Tabs",
+ "ConsoleTourTabsBody": "Startseite, Sitzung und System. Wechsle die Tabs mit {0} und {1} am Controller, Bild auf und Bild ab auf der Tastatur oder per Klick auf den Namen.",
+ "ConsoleTourLaunchersTitle": "Was sich öffnet",
+ "ConsoleTourLaunchersBody": "Jede Kachel ist ein Launcher: Steam Big Picture, Playnite, der Xbox-Modus oder eine eigene App. Geh auf den, den du willst: Er wird markiert und öffnet sich, wenn du spielst.",
+ "ConsoleTourPlayTitle": "Spielen",
+ "ConsoleTourPlayBody": "{0} hier, oder {1} von überall auf der Startseite, startet den Konsolenmodus: Der Spielbildschirm wird zum Hauptbildschirm, die anderen gehen aus und der Launcher öffnet sich darauf. Der Name und die Zeile darunter zeigen, was sich öffnet, wo du spielst und was sich ändert.",
+ "ConsoleTourScreensTitle": "Deine Bildschirme",
+ "ConsoleTourScreensBody": "Im Tab Sitzung stehen die Bildschirme dieses PCs. {0} auf einem Bildschirm legt seine Rolle während der Sitzung fest: darauf spielen, ausschalten oder anlassen.",
+ "ConsoleTourQuickSettingsTitle": "Schnelleinstellungen",
+ "ConsoleTourQuickSettingsBody": "Audioausgabe, Auflösung, HDR und FPS-Limit für die nächste Sitzung, nur einen Tastendruck entfernt. Zurück am PC ist alles wieder wie vorher.",
+ "ConsoleTourSystemTitle": "Alle Einstellungen",
+ "ConsoleTourSystemBody": "Der Tab System enthält alle Einstellungen, nach Kategorie: Spielbildschirm, was beim Start passiert, Controller, TV, Extras und die App. {0} öffnet und schließt diesen Tab von überall.",
+ "ConsoleTourShortcutsTitle": "Controller-Kürzel",
+ "ConsoleTourShortcutsBody": "Wähle hier die Kürzel, die auch bei geschlossenem Fenster funktionieren: eines für den Konsolenmodus, eines für das Sitzungsmenü über dem Spiel und eines für die Rückkehr zum PC. Ein Kürzel ohne Kombination bewirkt nichts.",
+ "ConsoleTourDoneTitle": "Alles bereit",
+ "ConsoleTourDoneBody": "Prüfe den Spielbildschirm im Tab Sitzung und drücke Jetzt spielen. Um diese Tour noch einmal zu sehen: System → {0} → {1}.",
+ "ConsoleTourFinish": "Los geht's",
+ "IntroSoundCard": "Intro-Sound",
+ "IntroSoundDescription": "Spielt zum Intro einen Startsound ab.",
+ "IntroStyleCard": "Intro-Stil",
+ "IntroStyleDescription": "Das eigene Intro von Console Mode ist das offizielle, und ab und zu startet die App überraschend mit einem im Stil der Xbox 360 oder der PS4. Wählst du hier einen Stil, bleibt es bei diesem, ohne Überraschungen.",
+ "IntroStyleConsole": "Console Mode",
+ "IntroStyleX360": "Im Stil der Xbox 360",
+ "IntroStylePs4": "Im Stil der PS4",
+ "IntroStyleNone": "Keins (startet sofort)",
+ "IntroPreviewCard": "Intro ansehen",
+ "IntroPreviewDescription": "Zeigt das gewählte Intro jetzt, mit Sound."
}
diff --git a/src/ConsoleMode/Resources/Strings.en-US.json b/src/ConsoleMode/Resources/Strings.en-US.json
index 5cb0d51..45f99d1 100644
--- a/src/ConsoleMode/Resources/Strings.en-US.json
+++ b/src/ConsoleMode/Resources/Strings.en-US.json
@@ -1,34 +1,16 @@
{
"Brand": "Console Mode",
"Back": "Back",
- "HomeHeading": "Where do you want to play?",
- "HomeDescription": "Select a display and choose what it does. Displays you turn off are restored automatically when you leave the game.",
- "ReleaseNews": "What's new",
"IgnoreUpdate": "Skip this version",
- "NoDisplays": "No displays found",
- "TryAgain": "Try again",
- "RefreshDisplaysTooltip": "Search for displays again",
- "RefreshDisplaysName": "Refresh displays",
- "RoleQuestion": "What should this display do?",
"RolePlayHere": "Play here",
"RoleTurnOff": "Turn off",
"RoleKeepOn": "Keep on",
"Settings": "Settings",
"SendFeedback": "Send feedback",
- "TourMapTitle": "1 of 3 · Your displays",
- "TourRoleTitle": "2 of 3 · What each display does",
- "TourPlayTitle": "3 of 3 · One click to play",
- "TourRoleDescription": "With a display selected, choose whether to play on it, turn it off while you play, or leave it on. Displays you turn off are restored when you leave.",
- "TourPlayDescription": "Your displays switch and Big Picture opens on the TV. The first time, the TV asks you to confirm that you can see the image; if nobody responds within 15 sec, everything is restored. Close Big Picture to leave.",
"Next": "Next",
"SkipTour": "Skip tutorial",
- "GotIt": "Got it",
"CreateDesktopShortcut": "Create a desktop shortcut",
"ActiveTitle": "Console mode is active",
- "RestoreNow": "Restore now",
- "RunningInTray": "You can close this window; Console Mode will keep running in the system tray.",
- "SettingsTitle": "Settings",
- "SettingsIntro": "Changes are saved automatically. Choose displays on the home screen.",
"GameScreenSection": "Gaming display",
"ResolutionRefreshCard": "Resolution and refresh rate",
"HideOtherScreensCard": "How to turn off other displays",
@@ -44,8 +26,6 @@
"FpsCard": "FPS limit",
"FpsPlaceholder": "FPS",
"AppSection": "App",
- "UiModeCard": "Interface",
- "UiModeDescription": "Console: big cards and controller navigation, full screen. Automatic picks Console when a controller is connected.",
"BackgroundCard": "Background",
"BackgroundDescription": "The Console Mode wallpaper, the covers of your installed Steam games under a gradient, just the gradient, or a picture of your own.",
"BackgroundAuto": "Aurora",
@@ -60,12 +40,6 @@
"HintTabs": "Tabs",
"SoundsCard": "Interface sounds",
"SoundsDescription": "Soft sounds when you move, pick and go back in the console interface.",
- "UiModeAuto": "Automatic",
- "UiModeDesktop": "Desktop",
- "UiModeConsole": "Console",
- "SwitchToDesktop": "Desktop mode",
- "SwitchToConsole": "Console mode",
- "ControllerHintDesktop": "Controller detected · A navigates, Y opens console mode",
"SessionMenuTitle": "Session menu",
"BackToGame": "Back to the game",
"VolumeRow": "Volume",
@@ -129,10 +103,6 @@
"ShortcutCaptureHint": "Release to save. Press {0} alone to cancel.",
"ShortcutNotAllowed": "Use two or more buttons together (like Select + Y), or the Home button alone. A single button would fire in the middle of a game.",
"ShortcutInUse": "{0} is already the shortcut for \"{1}\". Pick a different combination.",
- "ShortcutsOnboardingTitle": "Set up your controller shortcuts",
- "ShortcutsOnboardingBody": "No shortcut is on until you choose it. Pick a button or combination for each action, or leave it without one. Press Set, hold the buttons and let go. The same combination can't be used for two actions. You can change all of this later in Settings.",
- "ShortcutsUseSuggested": "Use the suggested shortcuts",
- "ShortcutsOnboardingDone": "Done",
"CloseSteamCard": "Send Steam to the tray when going back to the PC",
"CloseSteamDescription": "When you leave Big Picture, Steam receives a normal window-close request so it can move to the tray without exiting the process. If a game is running or its state cannot be checked, the window is left unchanged.",
"RestoreIconsCard": "Put desktop icons back in place",
@@ -181,7 +151,6 @@
"StartupDescription": "Opens in the system tray when your PC starts, ready for the one-click shortcut.",
"MinimizeToTrayCard": "Minimize to the system tray",
"MinimizeToTrayDescription": "Minimizing hides the window from the taskbar and keeps Console Mode in the hidden icons. Click the icon to open it again.",
- "UpdatesCard": "Updates",
"CheckNow": "Check now",
"NotifyUpdatesCard": "Notify me when a new version is available",
"NotifyUpdatesDescription": "Checks GitHub releases when the app starts.",
@@ -194,7 +163,6 @@
"NextBoostDescription": "Windows optimization",
"TvConfirmationCard": "TV confirmation",
"TvConfirmationDescription": "The first time you use a new gaming display, the TV asks you to confirm that you can see the image. Respond with a mouse, keyboard, or controller (Xbox: A/B · PlayStation: ✕/○). Test it here without changing your displays.",
- "TestNow": "Test now",
"TvSection": "TV",
"TvControlCard": "Turn the TV on and switch input",
"TvProviderNone": "Don't control it",
@@ -231,11 +199,9 @@
"DiagnosticsCopied": "Diagnostics copied. Paste them into the issue or the feedback form.",
"DiagnosticsCard": "Diagnostics",
"DiagnosticsDescription": "Versions, screens, audio, controllers, programs found and the end of the log, to attach to a bug report. Paths with your user name and keys are hidden.",
- "RefreshDiagnostics": "Refresh",
"CopyReport": "Copy report",
"TutorialCard": "Tutorial",
- "TutorialDescription": "Show the home screen walkthrough again.",
- "SeeAgain": "Show again",
+ "TutorialDescription": "Show the guided tour of the interface again.",
"OneClickCard": "One-click shortcut",
"OneClickDescription": "Creates \"Console Mode 1 Click\" on your desktop, next to the regular app shortcut. It enters console mode directly without opening this window.",
"CreateShortcut": "Create shortcut",
@@ -262,7 +228,6 @@
"LaunchSteam": "Steam Big Picture",
"LaunchPlaynite": "Playnite (fullscreen)",
"PlaynitePathCard": "Playnite folder",
- "PlaynitePathChoose": "Choose…",
"PlaynitePathClear": "Clear",
"PlaynitePathDetected": "Found automatically at {0}. Pick Playnite.FullscreenApp.exe if you use the portable version.",
"PlaynitePathMissing": "Playnite not found. Pick Playnite.FullscreenApp.exe (portable version, for example).",
@@ -272,7 +237,6 @@
"LaunchCustomApp": "Custom app",
"LaunchCustomAppDescription": "Opens the program you choose (an emulator, another launcher…). Your displays are restored automatically when you close it.",
"CustomAppPathCard": "App to open",
- "CustomAppBrowse": "Browse…",
"CustomAppArgumentsCard": "Arguments",
"CustomAppArgumentsDescription": "Optional. Passed to the app when it starts, for example to open it in fullscreen.",
"CustomAppWatchCard": "Process to watch",
@@ -362,8 +326,6 @@
"EstimatedModeSuffix": " (estimated)",
"UpdateAssetMissing": "This release doesn't have a verifiable asset for this installation type.",
"UpdateHashMismatch": "The downloaded file's SHA-256 does not match the digest published by GitHub.",
- "TourMapGeneric": "These are your displays in their desktop positions. Select the display you want to play on.",
- "TourMapWithFocus": "These are your displays in their desktop positions. We chose {0} because it is currently turned off; select another if you prefer.",
"RestoreSuccess": "Your displays are back to normal.",
"SessionRecovered": "The last session didn't end properly (the app closed or the PC shut down halfway). Your displays, audio, icons and pointer were restored.",
"SessionJournalFailed": "Couldn't write the session journal to the data folder ({0}). Without it there would be no way back after a crash, so nothing was changed.",
@@ -434,5 +396,34 @@
"ControllerBattery": "Controller battery: {0}",
"ControllerBatteryCharging": "Controller battery: {0}, charging",
"LowBatteryTitle": "Controller battery low",
- "LowBatteryBody": "{0} left. Plug in the cable or charge the controller."
+ "LowBatteryBody": "{0} left. Plug in the cable or charge the controller.",
+ "ConsoleTourWelcomeTitle": "Welcome to Console Mode",
+ "ConsoleTourWelcomeBody": "It turns your PC into a console: it puts the game on the TV (or the display you choose), turns the other displays off and opens Steam Big Picture, Playnite or Xbox mode. When you come back, your desk is just as it was. This tour shows where everything is; use the controller, the mouse or the keyboard.",
+ "ConsoleTourTabsTitle": "Three tabs",
+ "ConsoleTourTabsBody": "Home, Session and System. Switch tabs with {0} and {1} on the controller, Page Up and Page Down on the keyboard, or by clicking a tab's name.",
+ "ConsoleTourLaunchersTitle": "What opens",
+ "ConsoleTourLaunchersBody": "Each tile is a launcher: Steam Big Picture, Playnite, Xbox mode or an app of your own. Move over the one you want: it gets the check and is what opens when you play.",
+ "ConsoleTourPlayTitle": "Play",
+ "ConsoleTourPlayBody": "{0} here, or {1} from anywhere on Home, enters console mode: the game display becomes the main one, the others go dark and the launcher opens on it. The name and the line under it show what opens, where you'll play and what changes.",
+ "ConsoleTourScreensTitle": "Your displays",
+ "ConsoleTourScreensBody": "The Session tab lists this PC's displays. {0} on a display picks its role during the session: play on it, turn it off or keep it on.",
+ "ConsoleTourQuickSettingsTitle": "Quick settings",
+ "ConsoleTourQuickSettingsBody": "Audio output, resolution, HDR and FPS limit for the next session, one press away. When you go back to the PC, everything goes back to how it was.",
+ "ConsoleTourSystemTitle": "Every setting",
+ "ConsoleTourSystemBody": "The System tab holds every setting, by category: game display, what happens when entering, controller, TV, extras and the app. {0} opens and closes this tab from anywhere.",
+ "ConsoleTourShortcutsTitle": "Controller shortcuts",
+ "ConsoleTourShortcutsBody": "Pick the shortcuts that work even with this window closed here: one to enter console mode, one to open the session menu over the game and one to go back to the PC. A shortcut with no combination does nothing.",
+ "ConsoleTourDoneTitle": "All set",
+ "ConsoleTourDoneBody": "Check the game display on the Session tab and press Play now. To see this tour again: System → {0} → {1}.",
+ "ConsoleTourFinish": "Get started",
+ "IntroSoundCard": "Opening sound",
+ "IntroSoundDescription": "Plays an entrance sound with the opening.",
+ "IntroStyleCard": "Opening style",
+ "IntroStyleDescription": "Console Mode's own is the official one, and now and then the app opens with one inspired by the Xbox 360 or the PS4 as a surprise. Picking a style here keeps that style and ends the surprises.",
+ "IntroStyleConsole": "Console Mode",
+ "IntroStyleX360": "Inspired by the Xbox 360",
+ "IntroStylePs4": "Inspired by the PS4",
+ "IntroStyleNone": "None (opens straight away)",
+ "IntroPreviewCard": "See the opening",
+ "IntroPreviewDescription": "Shows the chosen opening now, with its sound."
}
diff --git a/src/ConsoleMode/Resources/Strings.es-ES.json b/src/ConsoleMode/Resources/Strings.es-ES.json
index 0fb9c53..2acc281 100644
--- a/src/ConsoleMode/Resources/Strings.es-ES.json
+++ b/src/ConsoleMode/Resources/Strings.es-ES.json
@@ -1,34 +1,16 @@
{
"Brand": "Console Mode",
"Back": "Volver",
- "HomeHeading": "¿Dónde vas a jugar?",
- "HomeDescription": "Selecciona una pantalla y elige qué hace. Las pantallas que apagues vuelven solas cuando sales del juego.",
- "ReleaseNews": "Novedades",
"IgnoreUpdate": "Omitir esta versión",
- "NoDisplays": "No se encontraron pantallas",
- "TryAgain": "Reintentar",
- "RefreshDisplaysTooltip": "Buscar pantallas de nuevo",
- "RefreshDisplaysName": "Actualizar pantallas",
- "RoleQuestion": "¿Qué debe hacer esta pantalla?",
"RolePlayHere": "Jugar aquí",
"RoleTurnOff": "Apagar",
"RoleKeepOn": "Dejar encendida",
"Settings": "Ajustes",
"SendFeedback": "Enviar comentarios",
- "TourMapTitle": "1 de 3 · Tus pantallas",
- "TourRoleTitle": "2 de 3 · Qué hace cada pantalla",
- "TourPlayTitle": "3 de 3 · Un clic para jugar",
- "TourRoleDescription": "Con una pantalla seleccionada, elige si juegas en ella, si se apaga mientras juegas o si se queda encendida. Las pantallas apagadas vuelven cuando sales.",
- "TourPlayDescription": "Las pantallas cambian y Big Picture se abre en la TV. La primera vez, la TV pide que confirmes que ves la imagen; si nadie responde en 15 s, todo vuelve solo. Cierra Big Picture para salir.",
"Next": "Siguiente",
"SkipTour": "Saltar el tutorial",
- "GotIt": "Entendido",
"CreateDesktopShortcut": "Crear un acceso directo en el escritorio",
"ActiveTitle": "Modo consola activo",
- "RestoreNow": "Restaurar ahora",
- "RunningInTray": "Puedes cerrar esta ventana; Console Mode sigue en la bandeja del sistema.",
- "SettingsTitle": "Ajustes",
- "SettingsIntro": "Los cambios se guardan solos. Las pantallas se eligen en la pantalla de inicio.",
"GameScreenSection": "Pantalla de juego",
"ResolutionRefreshCard": "Resolución y frecuencia de actualización",
"HideOtherScreensCard": "Cómo apagar las otras pantallas",
@@ -44,8 +26,6 @@
"FpsCard": "Límite de FPS",
"FpsPlaceholder": "FPS",
"AppSection": "Aplicación",
- "UiModeCard": "Interfaz",
- "UiModeDescription": "Consola: tarjetas grandes y navegación con mando, a pantalla completa. Automático elige Consola cuando hay un mando conectado.",
"BackgroundCard": "Fondo",
"BackgroundDescription": "El fondo de pantalla de Console Mode, las portadas de tus juegos instalados de Steam bajo un degradado, solo el degradado, o una imagen tuya.",
"BackgroundAuto": "Aurora",
@@ -60,12 +40,6 @@
"HintTabs": "Pestañas",
"SoundsCard": "Sonidos de la interfaz",
"SoundsDescription": "Sonidos suaves al moverte, elegir y volver en la interfaz Consola.",
- "UiModeAuto": "Automático",
- "UiModeDesktop": "Escritorio",
- "UiModeConsole": "Consola",
- "SwitchToDesktop": "Modo escritorio",
- "SwitchToConsole": "Modo consola",
- "ControllerHintDesktop": "Mando detectado · A navega, Y abre el modo consola",
"SessionMenuTitle": "Menú de la sesión",
"BackToGame": "Volver al juego",
"VolumeRow": "Volumen",
@@ -129,10 +103,6 @@
"ShortcutCaptureHint": "Suelta para guardar. Pulsa {0} solo para cancelar.",
"ShortcutNotAllowed": "Usa dos o más botones a la vez (como Select + Y), o solo el botón Home. Un botón suelto se activaría en mitad del juego.",
"ShortcutInUse": "{0} ya es el atajo de \"{1}\". Elige otra combinación.",
- "ShortcutsOnboardingTitle": "Configura los atajos del mando",
- "ShortcutsOnboardingBody": "Ningún atajo viene activado: tú eliges. Define un botón o combinación para cada acción, o déjala sin atajo. Pulsa Definir, mantén los botones y suéltalos. La misma combinación no puede servir para dos acciones. Puedes cambiarlo todo después en Ajustes.",
- "ShortcutsUseSuggested": "Usar los atajos sugeridos",
- "ShortcutsOnboardingDone": "Listo",
"CloseSteamCard": "Enviar Steam a la bandeja al volver al PC",
"CloseSteamDescription": "Al salir de Big Picture, Steam recibe una solicitud normal para cerrar la ventana y pasar a la bandeja sin finalizar el proceso. Si hay un juego en ejecución o no se puede comprobar su estado, la ventana no se modifica.",
"RestoreIconsCard": "Devolver los iconos del escritorio a su sitio",
@@ -181,7 +151,6 @@
"StartupDescription": "Se abre en la bandeja del sistema al encender el PC, listo para el acceso directo de 1 clic.",
"MinimizeToTrayCard": "Minimizar a la bandeja",
"MinimizeToTrayDescription": "Al minimizar, la ventana sale de la barra de tareas y queda en los iconos ocultos. Haz clic en el icono para abrirla de nuevo.",
- "UpdatesCard": "Actualizaciones",
"CheckNow": "Buscar ahora",
"NotifyUpdatesCard": "Avisarme cuando haya una versión nueva",
"NotifyUpdatesDescription": "Consulta las versiones de GitHub al abrir la aplicación.",
@@ -194,7 +163,6 @@
"NextBoostDescription": "Optimización de Windows",
"TvConfirmationCard": "Confirmación en la TV",
"TvConfirmationDescription": "La primera vez con una pantalla de juego nueva, la TV pide que confirmes que ves la imagen. Responde con ratón, teclado o mando (Xbox: A/B · PlayStation: ✕/○). Pruébalo aquí sin cambiar tus pantallas.",
- "TestNow": "Probar ahora",
"TvSection": "TV",
"TvControlCard": "Encender la TV y cambiar la entrada",
"TvProviderNone": "No controlarla",
@@ -231,11 +199,9 @@
"DiagnosticsCopied": "Diagnóstico copiado. Pégalo en la issue o en el formulario de comentarios.",
"DiagnosticsCard": "Diagnóstico",
"DiagnosticsDescription": "Versiones, pantallas, audio, mandos, programas encontrados y el final del registro, para adjuntar a un informe de error. Las rutas con tu nombre de usuario y las claves se ocultan.",
- "RefreshDiagnostics": "Actualizar",
"CopyReport": "Copiar informe",
"TutorialCard": "Tutorial",
- "TutorialDescription": "Vuelve a mostrar la guía de la pantalla de inicio.",
- "SeeAgain": "Ver de nuevo",
+ "TutorialDescription": "Vuelve a mostrar el recorrido guiado de la interfaz.",
"OneClickCard": "Acceso directo de 1 clic",
"OneClickDescription": "Crea \"Console Mode 1 Click\" en el escritorio, junto al acceso directo normal. Entra en modo consola directamente, sin abrir esta ventana.",
"CreateShortcut": "Crear acceso directo",
@@ -262,7 +228,6 @@
"LaunchSteam": "Steam Big Picture",
"LaunchPlaynite": "Playnite (pantalla completa)",
"PlaynitePathCard": "Carpeta de Playnite",
- "PlaynitePathChoose": "Elegir…",
"PlaynitePathClear": "Quitar",
"PlaynitePathDetected": "Encontrado automáticamente en {0}. Elige Playnite.FullscreenApp.exe si usas la versión portátil.",
"PlaynitePathMissing": "No se encontró Playnite. Elige Playnite.FullscreenApp.exe (por ejemplo, la versión portátil).",
@@ -272,7 +237,6 @@
"LaunchCustomApp": "Aplicación personalizada",
"LaunchCustomAppDescription": "Abre el programa que elijas (un emulador, otro launcher…). Al cerrarlo, tus pantallas vuelven solas.",
"CustomAppPathCard": "Aplicación que abrir",
- "CustomAppBrowse": "Examinar…",
"CustomAppArgumentsCard": "Argumentos",
"CustomAppArgumentsDescription": "Opcional. Se pasan a la aplicación al abrirla, por ejemplo para abrirla en pantalla completa.",
"CustomAppWatchCard": "Proceso que vigilar",
@@ -362,8 +326,6 @@
"EstimatedModeSuffix": " (estimado)",
"UpdateAssetMissing": "Esta versión no tiene un archivo verificable para este tipo de instalación.",
"UpdateHashMismatch": "El SHA-256 del archivo descargado no coincide con el publicado por GitHub.",
- "TourMapGeneric": "Estas son tus pantallas en su posición del escritorio. Selecciona la pantalla en la que quieres jugar.",
- "TourMapWithFocus": "Estas son tus pantallas en su posición del escritorio. Elegimos {0} porque ahora está apagada; selecciona otra si lo prefieres.",
"RestoreSuccess": "Tus pantallas han vuelto a la normalidad.",
"SessionRecovered": "La última sesión no terminó bien (la aplicación se cerró o el PC se apagó a mitad). Se restauraron tus pantallas, el audio, los iconos y el puntero.",
"SessionJournalFailed": "No se pudo guardar el diario de la sesión en la carpeta de datos ({0}). Sin él no habría forma de volver tras un cierre inesperado, así que no se cambió nada.",
@@ -434,5 +396,34 @@
"ControllerBattery": "Batería del mando: {0}",
"ControllerBatteryCharging": "Batería del mando: {0}, cargando",
"LowBatteryTitle": "Batería del mando baja",
- "LowBatteryBody": "Queda {0} de batería. Conecta el cable o carga el mando."
+ "LowBatteryBody": "Queda {0} de batería. Conecta el cable o carga el mando.",
+ "ConsoleTourWelcomeTitle": "Te damos la bienvenida a Console Mode",
+ "ConsoleTourWelcomeBody": "Convierte el PC en una consola: pone el juego en la TV (o en la pantalla que elijas), apaga las demás pantallas y abre Steam Big Picture, Playnite o el modo Xbox. Al volver, el escritorio queda como estaba. Este recorrido te enseña dónde está cada cosa; usa el mando, el ratón o el teclado.",
+ "ConsoleTourTabsTitle": "Tres pestañas",
+ "ConsoleTourTabsBody": "Inicio, Sesión y Sistema. Cambia de pestaña con {0} y {1} en el mando, Re Pág y Av Pág en el teclado o haciendo clic en su nombre.",
+ "ConsoleTourLaunchersTitle": "Qué se abre",
+ "ConsoleTourLaunchersBody": "Cada bloque es un lanzador: Steam Big Picture, Playnite, el modo Xbox o una aplicación tuya. Pasa por encima del que quieras: queda marcado y es lo que se abre al jugar.",
+ "ConsoleTourPlayTitle": "Jugar",
+ "ConsoleTourPlayBody": "{0} aquí, o {1} desde cualquier parte de Inicio, entra en el modo consola: la pantalla de juego pasa a ser la principal, las demás se apagan y el lanzador se abre en ella. El nombre y la línea de debajo muestran qué se abre, dónde vas a jugar y qué cambia.",
+ "ConsoleTourScreensTitle": "Tus pantallas",
+ "ConsoleTourScreensBody": "En la pestaña Sesión están las pantallas de este PC. {0} en una pantalla elige su papel durante la sesión: jugar en ella, apagarla o dejarla encendida.",
+ "ConsoleTourQuickSettingsTitle": "Ajustes rápidos",
+ "ConsoleTourQuickSettingsBody": "Salida de audio, resolución, HDR y límite de FPS de la próxima sesión, a un botón de distancia. Al volver al PC, todo vuelve a como estaba.",
+ "ConsoleTourSystemTitle": "Todos los ajustes",
+ "ConsoleTourSystemBody": "La pestaña Sistema reúne todos los ajustes, por categoría: pantalla de juego, qué pasa al entrar, mando, TV, extras y la aplicación. {0} abre y cierra esta pestaña desde cualquier sitio.",
+ "ConsoleTourShortcutsTitle": "Atajos del mando",
+ "ConsoleTourShortcutsBody": "Elige aquí los atajos que funcionan incluso con esta ventana cerrada: uno para entrar en el modo consola, otro para abrir el menú de la sesión sobre el juego y otro para volver al PC. Un atajo sin combinación no hace nada.",
+ "ConsoleTourDoneTitle": "Todo listo",
+ "ConsoleTourDoneBody": "Comprueba la pantalla de juego en la pestaña Sesión y pulsa Jugar ahora. Para volver a ver este recorrido: Sistema → {0} → {1}.",
+ "ConsoleTourFinish": "Empezar",
+ "IntroSoundCard": "Sonido de apertura",
+ "IntroSoundDescription": "Reproduce un sonido de entrada con la apertura.",
+ "IntroStyleCard": "Estilo de apertura",
+ "IntroStyleDescription": "La de Console Mode es la oficial y, de vez en cuando, la aplicación se abre por sorpresa con una inspirada en la Xbox 360 o en la PS4. Elegir un estilo aquí lo fija y acaba con las sorpresas.",
+ "IntroStyleConsole": "Console Mode",
+ "IntroStyleX360": "Inspirada en la Xbox 360",
+ "IntroStylePs4": "Inspirada en la PS4",
+ "IntroStyleNone": "Ninguna (abre directamente)",
+ "IntroPreviewCard": "Ver la apertura",
+ "IntroPreviewDescription": "Muestra ahora la apertura elegida, con su sonido."
}
diff --git a/src/ConsoleMode/Resources/Strings.fr-FR.json b/src/ConsoleMode/Resources/Strings.fr-FR.json
index db83e50..dda2217 100644
--- a/src/ConsoleMode/Resources/Strings.fr-FR.json
+++ b/src/ConsoleMode/Resources/Strings.fr-FR.json
@@ -1,34 +1,16 @@
{
"Brand": "Console Mode",
"Back": "Retour",
- "HomeHeading": "Où voulez-vous jouer ?",
- "HomeDescription": "Sélectionnez un écran et choisissez son rôle. Les écrans que vous éteignez sont restaurés automatiquement quand vous quittez le jeu.",
- "ReleaseNews": "Nouveautés",
"IgnoreUpdate": "Ignorer cette version",
- "NoDisplays": "Aucun écran trouvé",
- "TryAgain": "Réessayer",
- "RefreshDisplaysTooltip": "Rechercher à nouveau les écrans",
- "RefreshDisplaysName": "Actualiser les écrans",
- "RoleQuestion": "Que doit faire cet écran ?",
"RolePlayHere": "Jouer ici",
"RoleTurnOff": "Éteindre",
"RoleKeepOn": "Laisser allumé",
"Settings": "Paramètres",
"SendFeedback": "Envoyer des commentaires",
- "TourMapTitle": "1 sur 3 · Vos écrans",
- "TourRoleTitle": "2 sur 3 · Le rôle de chaque écran",
- "TourPlayTitle": "3 sur 3 · Un clic pour jouer",
- "TourRoleDescription": "Avec un écran sélectionné, choisissez de jouer dessus, de l'éteindre pendant que vous jouez ou de le laisser allumé. Les écrans éteints sont restaurés quand vous quittez.",
- "TourPlayDescription": "Vos écrans basculent et Big Picture s'ouvre sur la TV. La première fois, la TV vous demande de confirmer que vous voyez l'image ; sans réponse sous 15 s, tout est restauré. Fermez Big Picture pour quitter.",
"Next": "Suivant",
"SkipTour": "Passer le tutoriel",
- "GotIt": "J'ai compris",
"CreateDesktopShortcut": "Créer un raccourci sur le Bureau",
"ActiveTitle": "Le mode console est actif",
- "RestoreNow": "Restaurer maintenant",
- "RunningInTray": "Vous pouvez fermer cette fenêtre ; Console Mode continuera de fonctionner dans la zone de notification.",
- "SettingsTitle": "Paramètres",
- "SettingsIntro": "Les modifications sont enregistrées automatiquement. Choisissez les écrans sur l'écran d'accueil.",
"GameScreenSection": "Écran de jeu",
"ResolutionRefreshCard": "Résolution et fréquence d'actualisation",
"HideOtherScreensCard": "Comment éteindre les autres écrans",
@@ -44,8 +26,6 @@
"FpsCard": "Limite de FPS",
"FpsPlaceholder": "FPS",
"AppSection": "Application",
- "UiModeCard": "Interface",
- "UiModeDescription": "Console : grandes cartes et navigation à la manette, en plein écran. Automatique choisit Console quand une manette est connectée.",
"BackgroundCard": "Arrière-plan",
"BackgroundDescription": "Le fond d’écran de Console Mode, les jaquettes de vos jeux Steam installés sous un dégradé, le dégradé seul ou une image de votre choix.",
"BackgroundAuto": "Aurore",
@@ -60,12 +40,6 @@
"HintTabs": "Onglets",
"SoundsCard": "Sons de l'interface",
"SoundsDescription": "Sons discrets quand vous naviguez, sélectionnez et revenez en arrière dans l'interface console.",
- "UiModeAuto": "Automatique",
- "UiModeDesktop": "Bureau",
- "UiModeConsole": "Console",
- "SwitchToDesktop": "Mode Bureau",
- "SwitchToConsole": "Mode console",
- "ControllerHintDesktop": "Manette détectée · A pour naviguer, Y pour ouvrir le mode console",
"SessionMenuTitle": "Menu de session",
"BackToGame": "Retour au jeu",
"VolumeRow": "Volume",
@@ -129,10 +103,6 @@
"ShortcutCaptureHint": "Relâchez pour enregistrer. Appuyez sur {0} seul pour annuler.",
"ShortcutNotAllowed": "Utilisez au moins deux boutons ensemble (comme Select + Y), ou le bouton Home seul. Un bouton unique se déclencherait en pleine partie.",
"ShortcutInUse": "{0} est déjà le raccourci de \"{1}\". Choisissez une autre combinaison.",
- "ShortcutsOnboardingTitle": "Configurez vos raccourcis manette",
- "ShortcutsOnboardingBody": "Aucun raccourci n'est actif tant que vous ne l'avez pas choisi. Choisissez un bouton ou une combinaison pour chaque action, ou n'en mettez aucun. Appuyez sur Définir, maintenez les boutons et relâchez. Une même combinaison ne peut pas servir à deux actions. Vous pourrez tout modifier plus tard dans les Paramètres.",
- "ShortcutsUseSuggested": "Utiliser les raccourcis suggérés",
- "ShortcutsOnboardingDone": "Terminé",
"CloseSteamCard": "Réduire Steam dans la zone de notification au retour au PC",
"CloseSteamDescription": "Quand vous quittez Big Picture, Steam reçoit une demande normale de fermeture de fenêtre pour qu'il passe dans la zone de notification sans quitter le processus. Si un jeu est en cours ou si son état ne peut pas être vérifié, la fenêtre n'est pas modifiée.",
"RestoreIconsCard": "Remettre les icônes du bureau à leur place",
@@ -181,7 +151,6 @@
"StartupDescription": "S'ouvre dans la zone de notification au démarrage du PC, prêt pour le raccourci en un clic.",
"MinimizeToTrayCard": "Réduire dans la zone de notification",
"MinimizeToTrayDescription": "La réduction retire la fenêtre de la barre des tâches et garde Console Mode dans les icônes cachées. Cliquez sur l'icône pour la rouvrir.",
- "UpdatesCard": "Mises à jour",
"CheckNow": "Vérifier maintenant",
"NotifyUpdatesCard": "M'avertir quand une nouvelle version est disponible",
"NotifyUpdatesDescription": "Vérifie les versions publiées sur GitHub au démarrage de l'application.",
@@ -194,7 +163,6 @@
"NextBoostDescription": "Optimisation de Windows",
"TvConfirmationCard": "Confirmation sur la TV",
"TvConfirmationDescription": "La première fois que vous utilisez un nouvel écran de jeu, la TV vous demande de confirmer que vous voyez l'image. Répondez avec la souris, le clavier ou la manette (Xbox : A/B · PlayStation : ✕/○). Testez-la ici sans modifier vos écrans.",
- "TestNow": "Tester maintenant",
"TvSection": "TV",
"TvControlCard": "Allumer la TV et changer d'entrée",
"TvProviderNone": "Ne pas la contrôler",
@@ -231,11 +199,9 @@
"DiagnosticsCopied": "Diagnostic copié. Collez-le dans le ticket ou le formulaire de commentaires.",
"DiagnosticsCard": "Diagnostic",
"DiagnosticsDescription": "Versions, écrans, audio, manettes, programmes trouvés et la fin du journal, à joindre à un rapport de bug. Les chemins contenant votre nom d'utilisateur et les clés sont masqués.",
- "RefreshDiagnostics": "Actualiser",
"CopyReport": "Copier le rapport",
"TutorialCard": "Tutoriel",
- "TutorialDescription": "Revoir la présentation de l'écran d'accueil.",
- "SeeAgain": "Revoir",
+ "TutorialDescription": "Revoir la visite guidée de l'interface.",
"OneClickCard": "Raccourci en un clic",
"OneClickDescription": "Crée \"Console Mode 1 Click\" sur votre Bureau, à côté du raccourci habituel de l'application. Il entre directement en mode console sans ouvrir cette fenêtre.",
"CreateShortcut": "Créer le raccourci",
@@ -262,7 +228,6 @@
"LaunchSteam": "Steam Big Picture",
"LaunchPlaynite": "Playnite (plein écran)",
"PlaynitePathCard": "Dossier de Playnite",
- "PlaynitePathChoose": "Choisir…",
"PlaynitePathClear": "Effacer",
"PlaynitePathDetected": "Trouvé automatiquement dans {0}. Choisissez Playnite.FullscreenApp.exe si vous utilisez la version portable.",
"PlaynitePathMissing": "Playnite introuvable. Choisissez Playnite.FullscreenApp.exe (version portable, par exemple).",
@@ -272,7 +237,6 @@
"LaunchCustomApp": "Application personnalisée",
"LaunchCustomAppDescription": "Ouvre le programme de votre choix (un émulateur, un autre launcher…). Vos écrans sont restaurés automatiquement quand vous le fermez.",
"CustomAppPathCard": "Application à ouvrir",
- "CustomAppBrowse": "Parcourir…",
"CustomAppArgumentsCard": "Arguments de lancement",
"CustomAppArgumentsDescription": "Facultatif. Transmis à l'application à son lancement, par exemple pour l'ouvrir en plein écran.",
"CustomAppWatchCard": "Processus à surveiller",
@@ -362,8 +326,6 @@
"EstimatedModeSuffix": " (estimé)",
"UpdateAssetMissing": "Cette version ne contient pas de fichier vérifiable pour ce type d'installation.",
"UpdateHashMismatch": "Le SHA-256 du fichier téléchargé ne correspond pas à l'empreinte publiée par GitHub.",
- "TourMapGeneric": "Voici vos écrans, à leur position sur le Bureau. Sélectionnez l'écran sur lequel vous voulez jouer.",
- "TourMapWithFocus": "Voici vos écrans, à leur position sur le Bureau. Nous avons choisi {0} car il est actuellement éteint ; sélectionnez-en un autre si vous préférez.",
"RestoreSuccess": "Vos écrans sont revenus à la normale.",
"SessionRecovered": "La dernière session ne s'est pas terminée correctement (l'application s'est fermée ou le PC s'est éteint en cours de route). Vos écrans, le son, les icônes et le pointeur ont été restaurés.",
"SessionJournalFailed": "Impossible d'écrire le journal de session dans le dossier de données ({0}). Sans lui, il n'y aurait aucun retour possible après un plantage ; rien n'a donc été modifié.",
@@ -434,5 +396,34 @@
"ControllerBattery": "Batterie de la manette : {0}",
"ControllerBatteryCharging": "Batterie de la manette : {0}, en charge",
"LowBatteryTitle": "Batterie de la manette faible",
- "LowBatteryBody": "Il reste {0} de batterie. Branchez le câble ou rechargez la manette."
+ "LowBatteryBody": "Il reste {0} de batterie. Branchez le câble ou rechargez la manette.",
+ "ConsoleTourWelcomeTitle": "Bienvenue dans Console Mode",
+ "ConsoleTourWelcomeBody": "Il transforme votre PC en console : il met le jeu sur la TV (ou l'écran de votre choix), éteint les autres écrans et ouvre Steam Big Picture, Playnite ou le mode Xbox. À votre retour, votre bureau est comme avant. Cette visite montre où se trouve chaque chose ; utilisez la manette, la souris ou le clavier.",
+ "ConsoleTourTabsTitle": "Trois onglets",
+ "ConsoleTourTabsBody": "Accueil, Session et Système. Changez d'onglet avec {0} et {1} sur la manette, Page précédente et Page suivante au clavier ou en cliquant sur son nom.",
+ "ConsoleTourLaunchersTitle": "Ce qui s'ouvre",
+ "ConsoleTourLaunchersBody": "Chaque tuile est un lanceur : Steam Big Picture, Playnite, le mode Xbox ou une application à vous. Placez-vous sur celui que vous voulez : il est coché et c'est lui qui s'ouvre quand vous jouez.",
+ "ConsoleTourPlayTitle": "Jouer",
+ "ConsoleTourPlayBody": "{0} ici, ou {1} depuis n'importe où sur l'Accueil, lance le mode console : l'écran de jeu devient l'écran principal, les autres s'éteignent et le lanceur s'y ouvre. Le nom et la ligne en dessous indiquent ce qui s'ouvre, où vous jouerez et ce qui change.",
+ "ConsoleTourScreensTitle": "Vos écrans",
+ "ConsoleTourScreensBody": "L'onglet Session liste les écrans de ce PC. {0} sur un écran choisit son rôle pendant la session : y jouer, l'éteindre ou le laisser allumé.",
+ "ConsoleTourQuickSettingsTitle": "Réglages rapides",
+ "ConsoleTourQuickSettingsBody": "Sortie audio, résolution, HDR et limite d'IPS de la prochaine session, à une touche près. De retour sur le PC, tout redevient comme avant.",
+ "ConsoleTourSystemTitle": "Tous les réglages",
+ "ConsoleTourSystemBody": "L'onglet Système réunit tous les réglages, par catégorie : écran de jeu, ce qui se passe à l'entrée, manette, TV, extras et l'application. {0} ouvre et ferme cet onglet de partout.",
+ "ConsoleTourShortcutsTitle": "Raccourcis de la manette",
+ "ConsoleTourShortcutsBody": "Choisissez ici les raccourcis qui marchent même fenêtre fermée : un pour entrer en mode console, un pour ouvrir le menu de session par-dessus le jeu et un pour revenir au PC. Un raccourci sans combinaison ne fait rien.",
+ "ConsoleTourDoneTitle": "Tout est prêt",
+ "ConsoleTourDoneBody": "Vérifiez l'écran de jeu dans l'onglet Session et appuyez sur Jouer. Pour revoir cette visite : Système → {0} → {1}.",
+ "ConsoleTourFinish": "C'est parti",
+ "IntroSoundCard": "Son d'ouverture",
+ "IntroSoundDescription": "Joue un son d'entrée avec l'ouverture.",
+ "IntroStyleCard": "Style d'ouverture",
+ "IntroStyleDescription": "L'ouverture de Console Mode est l'officielle et, de temps en temps, l'application s'ouvre par surprise avec une inspirée de la Xbox 360 ou de la PS4. Choisir un style ici le fixe et met fin aux surprises.",
+ "IntroStyleConsole": "Console Mode",
+ "IntroStyleX360": "Inspirée de la Xbox 360",
+ "IntroStylePs4": "Inspirée de la PS4",
+ "IntroStyleNone": "Aucune (ouverture directe)",
+ "IntroPreviewCard": "Voir l'ouverture",
+ "IntroPreviewDescription": "Affiche maintenant l'ouverture choisie, avec son son."
}
diff --git a/src/ConsoleMode/Resources/Strings.pt-BR.json b/src/ConsoleMode/Resources/Strings.pt-BR.json
index 10ad32e..46c2c8c 100644
--- a/src/ConsoleMode/Resources/Strings.pt-BR.json
+++ b/src/ConsoleMode/Resources/Strings.pt-BR.json
@@ -1,34 +1,16 @@
{
"Brand": "Console Mode",
"Back": "Voltar",
- "HomeHeading": "Onde você vai jogar?",
- "HomeDescription": "Clique numa tela e escolha o que ela faz. As que desligam voltam sozinhas quando você sai do jogo.",
- "ReleaseNews": "Novidades",
"IgnoreUpdate": "Ignorar esta versão",
- "NoDisplays": "Nenhuma tela encontrada",
- "TryAgain": "Tentar de novo",
- "RefreshDisplaysTooltip": "Procurar telas de novo",
- "RefreshDisplaysName": "Atualizar telas",
- "RoleQuestion": "O que esta tela faz",
"RolePlayHere": "Jogar aqui",
"RoleTurnOff": "Desligar",
"RoleKeepOn": "Manter ligada",
"Settings": "Ajustes",
"SendFeedback": "Enviar feedback",
- "TourMapTitle": "1 de 3 · Suas telas",
- "TourRoleTitle": "2 de 3 · O que cada tela faz",
- "TourPlayTitle": "3 de 3 · Um clique para jogar",
- "TourRoleDescription": "Com uma tela selecionada, escolha aqui: jogar nela, desligar enquanto você joga ou deixar ligada. As desligadas voltam sozinhas quando você sai.",
- "TourPlayDescription": "As telas trocam e o Big Picture abre na TV. Na primeira vez a TV pergunta se você está vendo a imagem; se ninguém responder em 15 s, tudo volta sozinho. Para sair, é só fechar o Big Picture.",
"Next": "Próximo",
"SkipTour": "Pular tutorial",
- "GotIt": "Entendi",
"CreateDesktopShortcut": "Criar atalho na Área de Trabalho",
"ActiveTitle": "Modo console ativo",
- "RestoreNow": "Restaurar agora",
- "RunningInTray": "Pode fechar esta janela: o Console Mode continua na bandeja.",
- "SettingsTitle": "Ajustes",
- "SettingsIntro": "Tudo é salvo na hora. As telas se escolhem na tela inicial.",
"GameScreenSection": "Tela de jogo",
"ResolutionRefreshCard": "Resolução e taxa de atualização",
"HideOtherScreensCard": "Como desligar as outras telas",
@@ -44,8 +26,6 @@
"FpsCard": "Limite de FPS",
"FpsPlaceholder": "FPS",
"AppSection": "App",
- "UiModeCard": "Interface",
- "UiModeDescription": "Console: cartões grandes e navegação por controle, em tela cheia. Automático escolhe Console quando há um controle conectado.",
"BackgroundCard": "Plano de fundo",
"BackgroundDescription": "O papel de parede do Console Mode, as capas dos seus jogos instalados na Steam sob um gradiente, só o gradiente, ou uma imagem sua.",
"BackgroundAuto": "Aurora",
@@ -60,12 +40,6 @@
"HintTabs": "Abas",
"SoundsCard": "Sons da interface",
"SoundsDescription": "Sons suaves ao navegar, escolher e voltar na interface Console.",
- "UiModeAuto": "Automático",
- "UiModeDesktop": "Desktop",
- "UiModeConsole": "Console",
- "SwitchToDesktop": "Modo desktop",
- "SwitchToConsole": "Modo console",
- "ControllerHintDesktop": "Controle detectado · A navega, Y abre o modo console",
"SessionMenuTitle": "Menu da sessão",
"BackToGame": "Voltar ao jogo",
"VolumeRow": "Volume",
@@ -129,10 +103,6 @@
"ShortcutCaptureHint": "Solte para salvar. Pressione {0} sozinho para cancelar.",
"ShortcutNotAllowed": "Use dois ou mais botões juntos (como Select + Y), ou só o botão Home. Um botão sozinho dispararia no meio do jogo.",
"ShortcutInUse": "{0} já é o atalho de \"{1}\". Escolha outra combinação.",
- "ShortcutsOnboardingTitle": "Configure os atalhos do controle",
- "ShortcutsOnboardingBody": "Nenhum atalho vem ligado: você escolhe. Defina um botão ou combinação para cada ação, ou deixe sem atalho. Aperte Definir, segure os botões e solte. A mesma combinação não pode servir para duas ações. Você muda tudo isso depois em Ajustes.",
- "ShortcutsUseSuggested": "Usar os atalhos sugeridos",
- "ShortcutsOnboardingDone": "Concluir",
"CloseSteamCard": "Mandar a Steam para a bandeja ao voltar ao PC",
"CloseSteamDescription": "Ao sair do Big Picture, envia o fechamento normal da janela da Steam para ela ir à bandeja, sem encerrar o processo. Se houver um jogo em execução ou não for possível verificar, a janela não é alterada.",
"RestoreIconsCard": "Devolver os ícones da área de trabalho ao lugar",
@@ -181,7 +151,6 @@
"StartupDescription": "Abre direto na bandeja ao ligar o PC, pronto para o atalho de 1 clique.",
"MinimizeToTrayCard": "Minimizar para a bandeja",
"MinimizeToTrayDescription": "Ao minimizar, a janela sai da barra de tarefas e fica nos ícones ocultos. Clique no ícone para abrir de novo.",
- "UpdatesCard": "Atualizações",
"CheckNow": "Procurar agora",
"NotifyUpdatesCard": "Avisar quando sair versão nova",
"NotifyUpdatesDescription": "Consulta as releases no GitHub ao abrir o app.",
@@ -194,7 +163,6 @@
"NextBoostDescription": "Otimização do Windows",
"TvConfirmationCard": "Confirmação na TV",
"TvConfirmationDescription": "Na primeira vez com uma tela de jogo nova, a TV pergunta se você está vendo a imagem. Responda com mouse, teclado ou controle (Xbox: A/B · PlayStation: ✕/○). Teste aqui sem mexer nas telas.",
- "TestNow": "Testar agora",
"TvSection": "TV",
"TvControlCard": "Ligar a TV e trocar a entrada",
"TvProviderNone": "Não controlar",
@@ -231,11 +199,9 @@
"DiagnosticsCopied": "Diagnóstico copiado. Cole na issue ou no feedback.",
"DiagnosticsCard": "Diagnóstico",
"DiagnosticsDescription": "Versões, telas, áudio, controles, programas encontrados e o fim do log, para anexar a um relato de problema. Caminhos com o seu nome de usuário e chaves ficam ocultos.",
- "RefreshDiagnostics": "Atualizar",
"CopyReport": "Copiar relatório",
"TutorialCard": "Tutorial",
- "TutorialDescription": "Mostra de novo o passo a passo da tela inicial.",
- "SeeAgain": "Ver de novo",
+ "TutorialDescription": "Mostra de novo o tour guiado da interface.",
"OneClickCard": "Atalho de 1 clique",
"OneClickDescription": "Cria \"Console Mode 1 Click\" na Área de Trabalho, sem substituir o atalho normal do app. Ele entra no modo console direto, sem abrir esta janela.",
"CreateShortcut": "Criar atalho",
@@ -262,7 +228,6 @@
"LaunchSteam": "Steam Big Picture",
"LaunchPlaynite": "Playnite (tela cheia)",
"PlaynitePathCard": "Pasta do Playnite",
- "PlaynitePathChoose": "Escolher…",
"PlaynitePathClear": "Limpar",
"PlaynitePathDetected": "Encontrado automaticamente em {0}. Escolha o Playnite.FullscreenApp.exe se você usa a versão portátil.",
"PlaynitePathMissing": "Playnite não encontrado. Escolha o Playnite.FullscreenApp.exe (versão portátil, por exemplo).",
@@ -272,7 +237,6 @@
"LaunchCustomApp": "Aplicativo personalizado",
"LaunchCustomAppDescription": "Abre o programa que você escolher (um emulador, outro launcher…). Ao fechar, suas telas voltam sozinhas.",
"CustomAppPathCard": "Aplicativo a abrir",
- "CustomAppBrowse": "Procurar…",
"CustomAppArgumentsCard": "Argumentos",
"CustomAppArgumentsDescription": "Opcional. Passados ao aplicativo quando ele abre, por exemplo para abrir em tela cheia.",
"CustomAppWatchCard": "Processo a acompanhar",
@@ -362,8 +326,6 @@
"EstimatedModeSuffix": " (estimado)",
"UpdateAssetMissing": "Esta release não tem um arquivo verificável para este tipo de instalação.",
"UpdateHashMismatch": "O SHA-256 do arquivo baixado não corresponde ao digest publicado pelo GitHub.",
- "TourMapGeneric": "Aqui estão as suas telas, na posição em que estão na mesa. Clique na tela onde você quer jogar.",
- "TourMapWithFocus": "Aqui estão as suas telas, na posição em que estão na mesa. Escolhemos {0} para jogar porque ela está desligada agora; clique em outra se preferir.",
"RestoreSuccess": "Suas telas voltaram ao normal.",
"SessionRecovered": "A última sessão não terminou direito (o app fechou ou o PC desligou no meio). Suas telas, o áudio, os ícones e o ponteiro foram restaurados.",
"SessionJournalFailed": "Não foi possível gravar o diário da sessão na pasta de dados ({0}). Sem ele não haveria como voltar depois de uma queda, então nada foi alterado.",
@@ -434,5 +396,34 @@
"ControllerBattery": "Bateria do controle: {0}",
"ControllerBatteryCharging": "Bateria do controle: {0}, carregando",
"LowBatteryTitle": "Bateria do controle fraca",
- "LowBatteryBody": "Restam {0} de bateria. Conecte o cabo ou carregue o controle."
+ "LowBatteryBody": "Restam {0} de bateria. Conecte o cabo ou carregue o controle.",
+ "ConsoleTourWelcomeTitle": "Bem-vindo ao Console Mode",
+ "ConsoleTourWelcomeBody": "Ele transforma o PC num console: põe o jogo na TV (ou na tela que você escolher), apaga as outras telas e abre o Steam Big Picture, o Playnite ou o modo Xbox. Ao voltar, a mesa fica como estava. Este tour mostra onde fica cada coisa; use o controle, o mouse ou o teclado.",
+ "ConsoleTourTabsTitle": "Três abas",
+ "ConsoleTourTabsBody": "Início, Sessão e Sistema. Troque de aba com {0} e {1} no controle, Page Up e Page Down no teclado ou clicando no nome dela.",
+ "ConsoleTourLaunchersTitle": "O que vai abrir",
+ "ConsoleTourLaunchersBody": "Cada bloco é um iniciador: Steam Big Picture, Playnite, modo Xbox ou um aplicativo seu. Passe por cima do que você quer: ele fica marcado e é o que abre quando você jogar.",
+ "ConsoleTourPlayTitle": "Jogar",
+ "ConsoleTourPlayBody": "{0} aqui, ou {1} de qualquer lugar da Início, entra no modo console: a tela de jogo vira a principal, as outras se apagam e o iniciador abre nela. O nome e a linha embaixo dele mostram o que abre, onde você vai jogar e o que muda.",
+ "ConsoleTourScreensTitle": "Suas telas",
+ "ConsoleTourScreensBody": "Na aba Sessão ficam as telas deste PC. {0} numa tela escolhe o papel dela durante a sessão: jogar nela, apagar ou continuar ligada.",
+ "ConsoleTourQuickSettingsTitle": "Ajustes rápidos",
+ "ConsoleTourQuickSettingsBody": "Saída de áudio, resolução, HDR e limite de FPS da próxima sessão, a um botão de distância. Quando você volta ao PC, tudo volta ao que era.",
+ "ConsoleTourSystemTitle": "Todas as configurações",
+ "ConsoleTourSystemBody": "A aba Sistema reúne todos os ajustes, por categoria: tela de jogo, o que acontece ao entrar, controle, TV, extras e o app. {0} abre e fecha esta aba de qualquer lugar.",
+ "ConsoleTourShortcutsTitle": "Atalhos do controle",
+ "ConsoleTourShortcutsBody": "Escolha aqui os atalhos que funcionam mesmo com esta janela fechada: um para entrar no modo console, um para abrir o menu da sessão por cima do jogo e um para voltar ao PC. Atalho sem combinação definida não faz nada.",
+ "ConsoleTourDoneTitle": "Tudo pronto",
+ "ConsoleTourDoneBody": "Confira a tela de jogo na aba Sessão e aperte Jogar agora. Para ver este tour de novo: Sistema → {0} → {1}.",
+ "ConsoleTourFinish": "Começar",
+ "IntroSoundCard": "Som da abertura",
+ "IntroSoundDescription": "Toca um som de entrada junto com a abertura.",
+ "IntroStyleCard": "Estilo da abertura",
+ "IntroStyleDescription": "A do Console Mode é a oficial e, de vez em quando, o app abre de surpresa com uma inspirada no Xbox 360 ou no PS4. Escolher um estilo aqui fixa esse estilo e acaba com as surpresas.",
+ "IntroStyleConsole": "Console Mode",
+ "IntroStyleX360": "Inspirada no Xbox 360",
+ "IntroStylePs4": "Inspirada no PS4",
+ "IntroStyleNone": "Nenhuma (abre direto)",
+ "IntroPreviewCard": "Ver a abertura",
+ "IntroPreviewDescription": "Mostra agora a abertura escolhida, com o som."
}
diff --git a/src/ConsoleMode/Resources/Strings.ru-RU.json b/src/ConsoleMode/Resources/Strings.ru-RU.json
index 0ca4cf4..859dcb4 100644
--- a/src/ConsoleMode/Resources/Strings.ru-RU.json
+++ b/src/ConsoleMode/Resources/Strings.ru-RU.json
@@ -1,34 +1,16 @@
{
"Brand": "Console Mode",
"Back": "Назад",
- "HomeHeading": "Где вы хотите играть?",
- "HomeDescription": "Выберите экран и укажите, что он делает. Выключенные экраны автоматически восстанавливаются, когда вы выходите из игры.",
- "ReleaseNews": "Что нового",
"IgnoreUpdate": "Пропустить эту версию",
- "NoDisplays": "Экраны не найдены",
- "TryAgain": "Повторить",
- "RefreshDisplaysTooltip": "Найти экраны заново",
- "RefreshDisplaysName": "Обновить список экранов",
- "RoleQuestion": "Что должен делать этот экран?",
"RolePlayHere": "Играть здесь",
"RoleTurnOff": "Выключить",
"RoleKeepOn": "Оставить включённым",
"Settings": "Параметры",
"SendFeedback": "Отправить отзыв",
- "TourMapTitle": "1 из 3 · Ваши экраны",
- "TourRoleTitle": "2 из 3 · Роль каждого экрана",
- "TourPlayTitle": "3 из 3 · Игра в один клик",
- "TourRoleDescription": "Выбрав экран, укажите: играть на нём, выключить его на время игры или оставить включённым. Выключенные экраны восстанавливаются при выходе.",
- "TourPlayDescription": "Экраны переключаются, и на телевизоре открывается Big Picture. В первый раз телевизор попросит подтвердить, что изображение видно; если никто не ответит в течение 15 с, всё будет восстановлено. Чтобы выйти, закройте Big Picture.",
"Next": "Далее",
"SkipTour": "Пропустить обучение",
- "GotIt": "Понятно",
"CreateDesktopShortcut": "Создать ярлык на рабочем столе",
"ActiveTitle": "Режим консоли включён",
- "RestoreNow": "Восстановить сейчас",
- "RunningInTray": "Это окно можно закрыть: Console Mode продолжит работать в области уведомлений.",
- "SettingsTitle": "Параметры",
- "SettingsIntro": "Изменения сохраняются автоматически. Экраны выбираются на главном экране.",
"GameScreenSection": "Игровой экран",
"ResolutionRefreshCard": "Разрешение и частота обновления",
"HideOtherScreensCard": "Как выключать другие экраны",
@@ -44,8 +26,6 @@
"FpsCard": "Ограничение FPS",
"FpsPlaceholder": "FPS",
"AppSection": "Приложение",
- "UiModeCard": "Интерфейс",
- "UiModeDescription": "Консоль: крупные карточки и управление геймпадом, во весь экран. «Автоматически» выбирает консоль, когда подключён геймпад.",
"BackgroundCard": "Фон",
"BackgroundDescription": "Фоновый рисунок Console Mode, обложки установленных игр Steam под градиентом, только градиент или ваше изображение.",
"BackgroundAuto": "Аврора",
@@ -60,12 +40,6 @@
"HintTabs": "Вкладки",
"SoundsCard": "Звуки интерфейса",
"SoundsDescription": "Негромкие звуки при перемещении, выборе и возврате в интерфейсе консоли.",
- "UiModeAuto": "Автоматически",
- "UiModeDesktop": "Рабочий стол",
- "UiModeConsole": "Консоль",
- "SwitchToDesktop": "Режим рабочего стола",
- "SwitchToConsole": "Режим консоли",
- "ControllerHintDesktop": "Обнаружен геймпад · A — навигация, Y — режим консоли",
"SessionMenuTitle": "Меню сеанса",
"BackToGame": "Вернуться к игре",
"VolumeRow": "Громкость",
@@ -129,10 +103,6 @@
"ShortcutCaptureHint": "Отпустите, чтобы сохранить. Нажмите только {0}, чтобы отменить.",
"ShortcutNotAllowed": "Используйте две или более кнопки одновременно (например, Select + Y) или одну кнопку Home. Одиночная кнопка срабатывала бы посреди игры.",
"ShortcutInUse": "{0} уже используется для действия «{1}». Выберите другое сочетание.",
- "ShortcutsOnboardingTitle": "Настройте сочетания на геймпаде",
- "ShortcutsOnboardingBody": "Пока вы не выберете сочетание, оно не работает. Выберите кнопку или комбинацию для каждого действия или оставьте его без сочетания. Нажмите «Задать», удерживайте кнопки и отпустите. Одно сочетание нельзя назначить двум действиям. Всё это можно изменить позже в параметрах.",
- "ShortcutsUseSuggested": "Использовать предложенные сочетания",
- "ShortcutsOnboardingDone": "Готово",
"CloseSteamCard": "Сворачивать Steam в область уведомлений при возврате к ПК",
"CloseSteamDescription": "Когда вы выходите из Big Picture, Steam получает обычный запрос на закрытие окна и может свернуться в область уведомлений, не завершая процесс. Если запущена игра или её состояние не удаётся проверить, окно не трогается.",
"RestoreIconsCard": "Возвращать значки рабочего стола на место",
@@ -181,7 +151,6 @@
"StartupDescription": "При включении ПК открывается в области уведомлений и готово к запуску в один клик.",
"MinimizeToTrayCard": "Сворачивать в область уведомлений",
"MinimizeToTrayDescription": "При сворачивании окно исчезает с панели задач, а Console Mode остаётся среди скрытых значков. Нажмите на значок, чтобы открыть его снова.",
- "UpdatesCard": "Обновления",
"CheckNow": "Проверить",
"NotifyUpdatesCard": "Сообщать о выходе новой версии",
"NotifyUpdatesDescription": "Проверяет релизы на GitHub при запуске приложения.",
@@ -194,7 +163,6 @@
"NextBoostDescription": "Оптимизация Windows",
"TvConfirmationCard": "Подтверждение на телевизоре",
"TvConfirmationDescription": "При первом использовании нового игрового экрана телевизор просит подтвердить, что изображение видно. Ответьте мышью, клавиатурой или геймпадом (Xbox: A/B · PlayStation: ✕/○). Проверьте здесь, не меняя настройки экранов.",
- "TestNow": "Проверить",
"TvSection": "Телевизор",
"TvControlCard": "Включать телевизор и переключать вход",
"TvProviderNone": "Не управлять",
@@ -231,11 +199,9 @@
"DiagnosticsCopied": "Диагностика скопирована. Вставьте её в issue или форму отзыва.",
"DiagnosticsCard": "Диагностика",
"DiagnosticsDescription": "Версии, экраны, звук, контроллеры, найденные программы и конец журнала — чтобы приложить к сообщению об ошибке. Пути с вашим именем пользователя и ключи скрываются.",
- "RefreshDiagnostics": "Обновить",
"CopyReport": "Копировать отчёт",
"TutorialCard": "Обучение",
- "TutorialDescription": "Снова показать обзор главного экрана.",
- "SeeAgain": "Показать снова",
+ "TutorialDescription": "Снова показать обзор интерфейса.",
"OneClickCard": "Ярлык «в один клик»",
"OneClickDescription": "Создаёт «Console Mode 1 Click» на рабочем столе рядом с обычным ярлыком приложения. Он сразу включает режим консоли, не открывая это окно.",
"CreateShortcut": "Создать ярлык",
@@ -262,7 +228,6 @@
"LaunchSteam": "Steam Big Picture",
"LaunchPlaynite": "Playnite (полноэкранный)",
"PlaynitePathCard": "Папка Playnite",
- "PlaynitePathChoose": "Выбрать…",
"PlaynitePathClear": "Очистить",
"PlaynitePathDetected": "Найдено автоматически: {0}. Если у вас портативная версия, укажите Playnite.FullscreenApp.exe.",
"PlaynitePathMissing": "Playnite не найден. Укажите Playnite.FullscreenApp.exe (например, для портативной версии).",
@@ -272,7 +237,6 @@
"LaunchCustomApp": "Своё приложение",
"LaunchCustomAppDescription": "Открывает выбранную вами программу (эмулятор, другой лаунчер…). Экраны восстанавливаются автоматически, когда вы её закроете.",
"CustomAppPathCard": "Открываемое приложение",
- "CustomAppBrowse": "Обзор…",
"CustomAppArgumentsCard": "Аргументы",
"CustomAppArgumentsDescription": "Необязательно. Передаются приложению при запуске, например чтобы открыть его во весь экран.",
"CustomAppWatchCard": "Отслеживаемый процесс",
@@ -362,8 +326,6 @@
"EstimatedModeSuffix": " (примерно)",
"UpdateAssetMissing": "В этом релизе нет проверяемого файла для этого типа установки.",
"UpdateHashMismatch": "SHA-256 скачанного файла не совпадает с хешем, опубликованным на GitHub.",
- "TourMapGeneric": "Это ваши экраны в том порядке, как они расположены на рабочем столе. Выберите экран, на котором хотите играть.",
- "TourMapWithFocus": "Это ваши экраны в том порядке, как они расположены на рабочем столе. Мы выбрали {0}, так как он сейчас выключен; если хотите, выберите другой.",
"RestoreSuccess": "Экраны вернулись в обычный режим.",
"SessionRecovered": "Последний сеанс завершился некорректно (приложение закрылось или ПК выключился посередине). Экраны, звук, значки и указатель восстановлены.",
"SessionJournalFailed": "Не удалось записать журнал сеанса в папку данных ({0}). Без него после сбоя нельзя было бы всё вернуть, поэтому ничего не изменено.",
@@ -434,5 +396,34 @@
"ControllerBattery": "Заряд геймпада: {0}",
"ControllerBatteryCharging": "Заряд геймпада: {0}, заряжается",
"LowBatteryTitle": "Низкий заряд геймпада",
- "LowBatteryBody": "Осталось {0} заряда. Подключите кабель или зарядите геймпад."
+ "LowBatteryBody": "Осталось {0} заряда. Подключите кабель или зарядите геймпад.",
+ "ConsoleTourWelcomeTitle": "Добро пожаловать в Console Mode",
+ "ConsoleTourWelcomeBody": "Он превращает ПК в консоль: выводит игру на телевизор (или на выбранный экран), выключает остальные экраны и открывает Steam Big Picture, Playnite или режим Xbox. Когда вы возвращаетесь, рабочий стол остаётся прежним. Этот обзор покажет, где что находится; пользуйтесь геймпадом, мышью или клавиатурой.",
+ "ConsoleTourTabsTitle": "Три вкладки",
+ "ConsoleTourTabsBody": "Главная, Сеанс и Система. Переключайте вкладки кнопками {0} и {1} на геймпаде, клавишами Page Up и Page Down или щелчком по названию.",
+ "ConsoleTourLaunchersTitle": "Что откроется",
+ "ConsoleTourLaunchersBody": "Каждая плитка — это лаунчер: Steam Big Picture, Playnite, режим Xbox или ваше приложение. Наведитесь на нужный: он отмечается и откроется, когда вы начнёте играть.",
+ "ConsoleTourPlayTitle": "Играть",
+ "ConsoleTourPlayBody": "{0} здесь или {1} из любого места на Главной включает режим консоли: игровой экран становится основным, остальные гаснут, и на нём открывается лаунчер. Название и строка под ним показывают, что откроется, где вы будете играть и что изменится.",
+ "ConsoleTourScreensTitle": "Ваши экраны",
+ "ConsoleTourScreensBody": "На вкладке Сеанс перечислены экраны этого ПК. {0} на экране выбирает его роль во время сеанса: играть на нём, выключить или оставить включённым.",
+ "ConsoleTourQuickSettingsTitle": "Быстрые настройки",
+ "ConsoleTourQuickSettingsBody": "Аудиовыход, разрешение, HDR и ограничение FPS для следующего сеанса — в одно нажатие. Когда вы возвращаетесь к ПК, всё становится как было.",
+ "ConsoleTourSystemTitle": "Все настройки",
+ "ConsoleTourSystemBody": "Вкладка Система содержит все настройки по категориям: игровой экран, что происходит при входе, геймпад, ТВ, дополнения и приложение. {0} открывает и закрывает эту вкладку откуда угодно.",
+ "ConsoleTourShortcutsTitle": "Сочетания геймпада",
+ "ConsoleTourShortcutsBody": "Выберите здесь сочетания, которые работают даже при закрытом окне: одно для входа в режим консоли, одно для меню сеанса поверх игры и одно для возврата к ПК. Сочетание без комбинации ничего не делает.",
+ "ConsoleTourDoneTitle": "Всё готово",
+ "ConsoleTourDoneBody": "Проверьте игровой экран на вкладке Сеанс и нажмите «Играть». Чтобы снова посмотреть этот обзор: Система → {0} → {1}.",
+ "ConsoleTourFinish": "Начать",
+ "IntroSoundCard": "Звук заставки",
+ "IntroSoundDescription": "Воспроизводит звук при появлении заставки.",
+ "IntroStyleCard": "Стиль заставки",
+ "IntroStyleDescription": "Заставка Console Mode — официальная, а время от времени приложение для сюрприза открывается заставкой в духе Xbox 360 или PS4. Если выбрать стиль здесь, он закрепится и сюрпризов больше не будет.",
+ "IntroStyleConsole": "Console Mode",
+ "IntroStyleX360": "В духе Xbox 360",
+ "IntroStylePs4": "В духе PS4",
+ "IntroStyleNone": "Без заставки (сразу)",
+ "IntroPreviewCard": "Показать заставку",
+ "IntroPreviewDescription": "Показывает выбранную заставку прямо сейчас, со звуком."
}
diff --git a/src/ConsoleMode/Services/BootIntro.cs b/src/ConsoleMode/Services/BootIntro.cs
new file mode 100644
index 0000000..af142b5
--- /dev/null
+++ b/src/ConsoleMode/Services/BootIntro.cs
@@ -0,0 +1,78 @@
+namespace ConsoleMode.Services;
+
+///
+/// The opening of the app: the logo over the interface while it loads, with a sound, in one of a few styles. Pure, so
+/// the rules are tested; the view draws the style and fades it out.
+///
+public static class BootIntro
+{
+ /// Console Mode's own: the logo comes from close to the camera and settles ("Aproximação").
+ public const string ConsoleStyle = "console";
+ /// In the mood of the Xbox 360's: green ribbons spiralling into an orb that flashes, on a light background.
+ public const string Xbox360Style = "x360";
+ /// In the mood of the PS4's: waves of light and rising particles on a deep blue.
+ public const string Ps4Style = "ps4";
+
+ public static IReadOnlyList Styles { get; } = [ConsoleStyle, Xbox360Style, Ps4Style];
+
+ /// The picker's last choice, "None (opens straight away)": no opening at all (saved as IntroAnimation off).
+ public const string NoOpening = "none";
+
+ ///
+ /// While no style was ever picked in System → App, now and then (this share of the openings) the app opens with one of
+ /// the console-inspired styles instead of its own, as a surprise. Picking any style, its own included, ends that.
+ ///
+ public const double SurpriseShare = 0.125;
+
+ ///
+ /// The style to show: the one picked in System → App; with none picked, the app's own, or a console-inspired one
+ /// when the roll (0 to 1) falls in the surprise share, half each.
+ ///
+ public static string PickForOpening(string? chosen, double roll)
+ {
+ if (!string.IsNullOrWhiteSpace(chosen)) return Normalize(chosen);
+ if (roll < SurpriseShare / 2) return Xbox360Style;
+ if (roll < SurpriseShare) return Ps4Style;
+ return ConsoleStyle;
+ }
+
+ /// Never longer than this, even if loading hangs: the interface comes up anyway.
+ public static readonly TimeSpan LongestShown = TimeSpan.FromSeconds(8);
+
+ /// An unknown or missing style (a hand-edited config, a style removed later) is the app's own.
+ public static string Normalize(string? style) =>
+ Styles.FirstOrDefault(s => string.Equals(s, style, StringComparison.OrdinalIgnoreCase)) ?? ConsoleStyle;
+
+ ///
+ /// Shown at least this long, so a fast start doesn't cut it: the logo has to have landed. The console-inspired ones
+ /// take longer to get there.
+ ///
+ public static TimeSpan MinimumShown(string? style) => Normalize(style) switch
+ {
+ Xbox360Style => TimeSpan.FromMilliseconds(3000),
+ Ps4Style => TimeSpan.FromMilliseconds(2800),
+ // "Liga o PC": the name comes in at 2.4 s.
+ _ => TimeSpan.FromMilliseconds(3000)
+ };
+
+ /// Each style has its own entrance sound.
+ public static UiSound Sound(string? style) => Normalize(style) switch
+ {
+ Xbox360Style => UiSound.BootX360,
+ Ps4Style => UiSound.BootPs4,
+ _ => UiSound.Boot
+ };
+
+ /// Only when the window opens to be used: a start that keeps it hidden (--start, the tray) skips it.
+ public static bool ShouldShow(bool enabled, bool windowShown) => enabled && windowShown;
+
+ /// The sound has its own setting, and plays only with the opening itself.
+ public static bool ShouldPlaySound(bool shown, bool soundEnabled) => shown && soundEnabled;
+
+ /// How much longer to keep it up once loading is done.
+ public static TimeSpan StillToShow(TimeSpan shownFor, string? style)
+ {
+ var minimum = MinimumShown(style);
+ return shownFor >= minimum ? TimeSpan.Zero : minimum - shownFor;
+ }
+}
diff --git a/src/ConsoleMode/Services/ConsoleTour.cs b/src/ConsoleMode/Services/ConsoleTour.cs
new file mode 100644
index 0000000..88c3a05
--- /dev/null
+++ b/src/ConsoleMode/Services/ConsoleTour.cs
@@ -0,0 +1,68 @@
+namespace ConsoleMode.Services;
+
+/// The stops of the first-run guided tour of the console interface, in the order they come.
+public enum ConsoleTourStop
+{
+ /// What the app does; nothing on screen is highlighted.
+ Welcome,
+ /// The tabs at the top, LB / RB.
+ Tabs,
+ /// The row of launchers on Home: what opens.
+ Launchers,
+ /// The play button: entering console mode.
+ Play,
+ /// The screens on Session: which one is the game screen and what happens to the others.
+ Screens,
+ /// The quick settings on Session: audio, resolution, HDR, FPS.
+ QuickSettings,
+ /// The categories on System: every setting.
+ System,
+ /// The controller shortcuts (System → Controller): Home button, session menu, back to the PC.
+ Shortcuts,
+ /// Ready; how to see the tour again.
+ Done
+}
+
+///
+/// What the console interface's first-run tour shows: its stops, the tab each one needs and its texts. Pure, so it
+/// is tested; the view switches to the tab, highlights the stop's part of the screen and puts the texts beside it.
+///
+public static class ConsoleTour
+{
+ public static IReadOnlyList Stops { get; } = Enum.GetValues();
+
+ /// The tab a stop is shown on: 0 Home, 1 Session, 2 System (the console tab indexes).
+ public static int Tab(ConsoleTourStop stop) => stop switch
+ {
+ ConsoleTourStop.Screens or ConsoleTourStop.QuickSettings => 1,
+ ConsoleTourStop.System or ConsoleTourStop.Shortcuts => 2,
+ _ => 0
+ };
+
+ /// The System category a stop opens (the controller one for the shortcuts), or null to leave it as it is.
+ public static int? SystemCategory(ConsoleTourStop stop) => stop switch
+ {
+ ConsoleTourStop.System => 0,
+ ConsoleTourStop.Shortcuts => 2,
+ _ => null
+ };
+
+ /// The stops that don't point at anything: the card sits in the middle of the screen.
+ public static bool IsCentered(ConsoleTourStop stop) => stop is ConsoleTourStop.Welcome or ConsoleTourStop.Done;
+
+ public static string TitleKey(ConsoleTourStop stop) => $"ConsoleTour{stop}Title";
+ public static string BodyKey(ConsoleTourStop stop) => $"ConsoleTour{stop}Body";
+
+ ///
+ /// Offered by itself until it is finished or skipped, when the window shows; never over a running session (the
+ /// window is just coming back from the TV then).
+ ///
+ public static bool ShouldOffer(bool tourDone, bool sessionActive) => !tourDone && !sessionActive;
+
+ /// The stop after (step 1) or before (-1) this one, or null past either end.
+ public static int? Step(int index, int step)
+ {
+ var next = index + step;
+ return next >= 0 && next < Stops.Count ? next : null;
+ }
+}
diff --git a/src/ConsoleMode/Services/LocalizationService.cs b/src/ConsoleMode/Services/LocalizationService.cs
index bfebe5b..8e66d59 100644
--- a/src/ConsoleMode/Services/LocalizationService.cs
+++ b/src/ConsoleMode/Services/LocalizationService.cs
@@ -112,34 +112,16 @@ internal void NotifyAll()
public string Brand => LocalizationService.Get(nameof(Brand));
public string Back => LocalizationService.Get(nameof(Back));
- public string HomeHeading => LocalizationService.Get(nameof(HomeHeading));
- public string HomeDescription => LocalizationService.Get(nameof(HomeDescription));
- public string ReleaseNews => LocalizationService.Get(nameof(ReleaseNews));
public string IgnoreUpdate => LocalizationService.Get(nameof(IgnoreUpdate));
- public string NoDisplays => LocalizationService.Get(nameof(NoDisplays));
- public string TryAgain => LocalizationService.Get(nameof(TryAgain));
- public string RefreshDisplaysTooltip => LocalizationService.Get(nameof(RefreshDisplaysTooltip));
- public string RefreshDisplaysName => LocalizationService.Get(nameof(RefreshDisplaysName));
- public string RoleQuestion => LocalizationService.Get(nameof(RoleQuestion));
public string RolePlayHere => LocalizationService.Get(nameof(RolePlayHere));
public string RoleTurnOff => LocalizationService.Get(nameof(RoleTurnOff));
public string RoleKeepOn => LocalizationService.Get(nameof(RoleKeepOn));
public string Settings => LocalizationService.Get(nameof(Settings));
- public string TourMapTitle => LocalizationService.Get(nameof(TourMapTitle));
- public string TourRoleTitle => LocalizationService.Get(nameof(TourRoleTitle));
- public string TourPlayTitle => LocalizationService.Get(nameof(TourPlayTitle));
- public string TourRoleDescription => LocalizationService.Get(nameof(TourRoleDescription));
- public string TourPlayDescription => LocalizationService.Get(nameof(TourPlayDescription));
public string Next => LocalizationService.Get(nameof(Next));
public string SkipTour => LocalizationService.Get(nameof(SkipTour));
- public string GotIt => LocalizationService.Get(nameof(GotIt));
public string CreateDesktopShortcut => LocalizationService.Get(nameof(CreateDesktopShortcut));
public string SendFeedback => LocalizationService.Get(nameof(SendFeedback));
public string ActiveTitle => LocalizationService.Get(nameof(ActiveTitle));
- public string RestoreNow => LocalizationService.Get(nameof(RestoreNow));
- public string RunningInTray => LocalizationService.Get(nameof(RunningInTray));
- public string SettingsTitle => LocalizationService.Get(nameof(SettingsTitle));
- public string SettingsIntro => LocalizationService.Get(nameof(SettingsIntro));
public string GameScreenSection => LocalizationService.Get(nameof(GameScreenSection));
public string ResolutionRefreshCard => LocalizationService.Get(nameof(ResolutionRefreshCard));
public string HideOtherScreensCard => LocalizationService.Get(nameof(HideOtherScreensCard));
@@ -147,10 +129,8 @@ internal void NotifyAll()
public string EnteringConsoleSection => LocalizationService.Get(nameof(EnteringConsoleSection));
public string LaunchCard => LocalizationService.Get(nameof(LaunchCard));
public string PlaynitePathCard => LocalizationService.Get(nameof(PlaynitePathCard));
- public string PlaynitePathChoose => LocalizationService.Get(nameof(PlaynitePathChoose));
public string PlaynitePathClear => LocalizationService.Get(nameof(PlaynitePathClear));
public string CustomAppPathCard => LocalizationService.Get(nameof(CustomAppPathCard));
- public string CustomAppBrowse => LocalizationService.Get(nameof(CustomAppBrowse));
public string CustomAppArgumentsCard => LocalizationService.Get(nameof(CustomAppArgumentsCard));
public string CustomAppArgumentsDescription => LocalizationService.Get(nameof(CustomAppArgumentsDescription));
public string CustomAppWatchCard => LocalizationService.Get(nameof(CustomAppWatchCard));
@@ -188,13 +168,7 @@ internal void NotifyAll()
public string StartupDescription => LocalizationService.Get(nameof(StartupDescription));
public string MinimizeToTrayCard => LocalizationService.Get(nameof(MinimizeToTrayCard));
public string MinimizeToTrayDescription => LocalizationService.Get(nameof(MinimizeToTrayDescription));
- public string UpdatesCard => LocalizationService.Get(nameof(UpdatesCard));
public string CheckNow => LocalizationService.Get(nameof(CheckNow));
- public string UiModeCard => LocalizationService.Get(nameof(UiModeCard));
- public string UiModeDescription => LocalizationService.Get(nameof(UiModeDescription));
- public string SwitchToDesktop => LocalizationService.Get(nameof(SwitchToDesktop));
- public string SwitchToConsole => LocalizationService.Get(nameof(SwitchToConsole));
- public string ControllerHintDesktop => LocalizationService.Get(nameof(ControllerHintDesktop));
public string SessionMenuTitle => LocalizationService.Get(nameof(SessionMenuTitle));
public string BackToGame => LocalizationService.Get(nameof(BackToGame));
public string VolumeRow => LocalizationService.Get(nameof(VolumeRow));
@@ -213,7 +187,6 @@ internal void NotifyAll()
public string ControllerSampleHeading => LocalizationService.Get(nameof(ControllerSampleHeading));
public string DiagnosticsCard => LocalizationService.Get(nameof(DiagnosticsCard));
public string DiagnosticsDescription => LocalizationService.Get(nameof(DiagnosticsDescription));
- public string RefreshDiagnostics => LocalizationService.Get(nameof(RefreshDiagnostics));
public string CopyReport => LocalizationService.Get(nameof(CopyReport));
public string SessionMenuDescription => LocalizationService.Get(nameof(SessionMenuDescription));
public string ConsoleScreensHeading => LocalizationService.Get(nameof(ConsoleScreensHeading));
@@ -227,6 +200,12 @@ internal void NotifyAll()
public string HomeButtonCard => LocalizationService.Get(nameof(HomeButtonCard));
public string ExitShortcutCard => LocalizationService.Get(nameof(ExitShortcutCard));
public string SoundsCard => LocalizationService.Get(nameof(SoundsCard));
+ public string IntroSoundCard => LocalizationService.Get(nameof(IntroSoundCard));
+ public string IntroSoundDescription => LocalizationService.Get(nameof(IntroSoundDescription));
+ public string IntroStyleCard => LocalizationService.Get(nameof(IntroStyleCard));
+ public string IntroStyleDescription => LocalizationService.Get(nameof(IntroStyleDescription));
+ public string IntroPreviewCard => LocalizationService.Get(nameof(IntroPreviewCard));
+ public string IntroPreviewDescription => LocalizationService.Get(nameof(IntroPreviewDescription));
public string SessionPreviewBadge => LocalizationService.Get(nameof(SessionPreviewBadge));
public string CloseMenu => LocalizationService.Get(nameof(CloseMenu));
public string ControlFsCard => LocalizationService.Get(nameof(ControlFsCard));
@@ -284,7 +263,6 @@ internal void NotifyAll()
public string NextBoostDescription => LocalizationService.Get(nameof(NextBoostDescription));
public string TvConfirmationCard => LocalizationService.Get(nameof(TvConfirmationCard));
public string TvConfirmationDescription => LocalizationService.Get(nameof(TvConfirmationDescription));
- public string TestNow => LocalizationService.Get(nameof(TestNow));
public string TvSection => LocalizationService.Get(nameof(TvSection));
public string TvControlCard => LocalizationService.Get(nameof(TvControlCard));
public string TvHostCard => LocalizationService.Get(nameof(TvHostCard));
@@ -301,7 +279,6 @@ internal void NotifyAll()
public string TvTestDescription => LocalizationService.Get(nameof(TvTestDescription));
public string TutorialCard => LocalizationService.Get(nameof(TutorialCard));
public string TutorialDescription => LocalizationService.Get(nameof(TutorialDescription));
- public string SeeAgain => LocalizationService.Get(nameof(SeeAgain));
public string SessionTourCard => LocalizationService.Get(nameof(SessionTourCard));
public string SessionTourDescription => LocalizationService.Get(nameof(SessionTourDescription));
public string SessionTourHint => LocalizationService.Get(nameof(SessionTourHint));
diff --git a/src/ConsoleMode/Services/OptionCycle.cs b/src/ConsoleMode/Services/OptionCycle.cs
new file mode 100644
index 0000000..7432848
--- /dev/null
+++ b/src/ConsoleMode/Services/OptionCycle.cs
@@ -0,0 +1,13 @@
+namespace ConsoleMode.Services;
+
+/// Steps through a list of options the way the console interface's rows do. Pure so the tests can cover it.
+public static class OptionCycle
+{
+ /// Index of the next (or previous) item, wrapping around; -1 for an empty list.
+ public static int Cycle(int count, int current, int step)
+ {
+ if (count <= 0) return -1;
+ if (current < 0) return step >= 0 ? 0 : count - 1;
+ return ((current + step) % count + count) % count;
+ }
+}
diff --git a/src/ConsoleMode/Services/TrayService.cs b/src/ConsoleMode/Services/TrayService.cs
index df1c0eb..aced56b 100644
--- a/src/ConsoleMode/Services/TrayService.cs
+++ b/src/ConsoleMode/Services/TrayService.cs
@@ -82,7 +82,8 @@ public void ShowWindow()
_window.Activate();
var hwnd = WinRT.Interop.WindowNative.GetWindowHandle(_window);
Native.NativeWindows.ShowWindow(hwnd, 9);
- _vm.RequestShortcutOnboarding();
+ // A start that kept the window hidden (--start, the tray) shows the first-run tour now.
+ _vm.OfferConsoleTour();
});
}
diff --git a/src/ConsoleMode/Services/UiModeResolver.cs b/src/ConsoleMode/Services/UiModeResolver.cs
deleted file mode 100644
index 7a2d4f2..0000000
--- a/src/ConsoleMode/Services/UiModeResolver.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-namespace ConsoleMode.Services;
-
-/// Which of the two interfaces to show. Pure so the tests can cover it.
-public static class UiModeResolver
-{
- public const string Auto = "auto";
- public const string Desktop = "desktop";
- public const string Console = "console";
-
- ///
- /// "console" and "desktop" are explicit. "auto" (or anything unknown) picks the console
- /// interface when a controller is connected or the app was opened from the controller.
- ///
- public static bool IsConsole(string? uiMode, bool controllerConnected, bool launchedByController) =>
- uiMode?.ToLowerInvariant() switch
- {
- Console => true,
- Desktop => false,
- _ => controllerConnected || launchedByController
- };
-
- /// Index of the next (or previous) item, wrapping around; -1 for an empty list.
- public static int Cycle(int count, int current, int step)
- {
- if (count <= 0) return -1;
- if (current < 0) return step >= 0 ? 0 : count - 1;
- return ((current + step) % count + count) % count;
- }
-}
diff --git a/src/ConsoleMode/Services/UiSoundSynth.cs b/src/ConsoleMode/Services/UiSoundSynth.cs
index 63ad184..8984bb2 100644
--- a/src/ConsoleMode/Services/UiSoundSynth.cs
+++ b/src/ConsoleMode/Services/UiSoundSynth.cs
@@ -9,8 +9,14 @@ public enum UiSound
Confirm,
/// Went back or closed a panel.
Back,
- /// Switched to another tab of the console interface (LB / RB, or a click on a tab).
- Tab
+ /// Switched to another tab of the console interface (LB / RB).
+ Tab,
+ /// The opening of the app, under the logo.
+ Boot,
+ /// The opening in the Xbox 360's style (BootIntro).
+ BootX360,
+ /// The opening in the PS4's style (BootIntro).
+ BootPs4
}
///
@@ -30,6 +36,8 @@ public static class UiSoundSynth
UiSound.Move => [new(1150, 1000, 45, 0.30)],
UiSound.Tab => [new(980, 1180, 55, 0.30)],
UiSound.Confirm => [new(740, 740, 55, 0.32), new(1110, 1110, 95, 0.34)],
+ // Only if AssetsSoundsoot.wav were missing: a short rising arpeggio.
+ UiSound.Boot or UiSound.BootX360 or UiSound.BootPs4 => [new(523, 523, 110, 0.26), new(659, 659, 110, 0.28), new(784, 784, 140, 0.30), new(1047, 1047, 420, 0.30)],
_ => [new(820, 820, 50, 0.30), new(560, 540, 85, 0.30)]
};
diff --git a/src/ConsoleMode/Services/UiSounds.cs b/src/ConsoleMode/Services/UiSounds.cs
index 0fedf21..9a592ad 100644
--- a/src/ConsoleMode/Services/UiSounds.cs
+++ b/src/ConsoleMode/Services/UiSounds.cs
@@ -20,9 +20,10 @@ public static class UiSounds
/// Settings → interface sounds.
public static bool Enabled { get; set; } = true;
- public static void Play(UiSound sound)
+ /// For the opening's sound, which has its own setting (Settings → App).
+ public static void Play(UiSound sound, bool evenWhenOff = false)
{
- if (!Enabled || _failed) return;
+ if (!Enabled && !evenWhenOff || _failed) return;
try
{
if (!Buffers.TryGetValue(sound, out var handle))
diff --git a/src/ConsoleMode/ViewModels/MainViewModel.ConsoleTour.cs b/src/ConsoleMode/ViewModels/MainViewModel.ConsoleTour.cs
new file mode 100644
index 0000000..2210247
--- /dev/null
+++ b/src/ConsoleMode/ViewModels/MainViewModel.ConsoleTour.cs
@@ -0,0 +1,103 @@
+using CommunityToolkit.Mvvm.ComponentModel;
+using CommunityToolkit.Mvvm.Input;
+using ConsoleMode.Services;
+
+namespace ConsoleMode.ViewModels;
+
+// The console interface's first-run tour (ConsoleTour has the stops): each stop switches to its tab, the view
+// highlights its part of the screen and shows these texts beside it. A next, B skips, like the session menu's tour.
+public partial class MainViewModel
+{
+ /// The stop on screen, or -1 with the tour closed.
+ [ObservableProperty]
+ [NotifyPropertyChangedFor(nameof(IsConsoleTourOpen), nameof(ConsoleTourStopNow), nameof(CanGoBackInConsoleTour),
+ nameof(IsLastConsoleTourStop), nameof(ConsoleTourTitle), nameof(ConsoleTourBody), nameof(ConsoleTourProgress),
+ nameof(ConsoleTourNextText), nameof(ShowSkipConsoleTour))]
+ private int _consoleTourIndex = -1;
+
+ public bool IsConsoleTourOpen => ConsoleTourIndex >= 0;
+ public ConsoleTourStop ConsoleTourStopNow => ConsoleTour.Stops[Math.Max(ConsoleTourIndex, 0)];
+ public bool CanGoBackInConsoleTour => ConsoleTourIndex > 0;
+ public bool IsLastConsoleTourStop => ConsoleTourIndex == ConsoleTour.Stops.Count - 1;
+ public bool ShowSkipConsoleTour => !IsLastConsoleTourStop;
+
+ public string ConsoleTourTitle => IsConsoleTourOpen ? LocalizationService.Get(ConsoleTour.TitleKey(ConsoleTourStopNow)) : "";
+ public string ConsoleTourBody => IsConsoleTourOpen ? LocalizationService.Get(ConsoleTour.BodyKey(ConsoleTourStopNow), ConsoleTourArgs(ConsoleTourStopNow)) : "";
+ public string ConsoleTourProgress => IsConsoleTourOpen
+ ? LocalizationService.Get("SessionTourProgress", ConsoleTourIndex + 1, ConsoleTour.Stops.Count) : "";
+ public string ConsoleTourNextText => LocalizationService.Get(IsLastConsoleTourStop ? "ConsoleTourFinish" : "Next");
+
+ /// The button hints of the pad in use (✕ or A…) and the names the texts point to.
+ private object[] ConsoleTourArgs(ConsoleTourStop stop) => stop switch
+ {
+ ConsoleTourStop.Tabs => [HintLb, HintRb],
+ ConsoleTourStop.Play => [HintConfirm, HintMenu],
+ ConsoleTourStop.Screens => [HintConfirm],
+ ConsoleTourStop.System => [HintAlt],
+ ConsoleTourStop.Done => [LocalizationService.Get("AppSection"), LocalizationService.Get("TutorialCard")],
+ _ => []
+ };
+
+ /// The first time the window shows (InitializeAsync, or the tray for a start that kept it hidden).
+ public void OfferConsoleTour()
+ {
+ if (IsConsoleTourOpen || !ConsoleTour.ShouldOffer(_loadedConfig.ConsoleTourDone, IsConsoleActive)) return;
+ StartTour();
+ }
+
+ /// From the start, also from System → App → Tutorial.
+ [RelayCommand]
+ private void StartTour()
+ {
+ if (IsConsoleActive) return;
+ IsPickerOpen = false;
+ IsRolePanelOpen = false;
+ IsShortcutEditorOpen = false;
+ IsStatusOpen = false;
+ ConsoleTourIndex = 0;
+ }
+
+ [RelayCommand]
+ private void ConsoleTourNext()
+ {
+ if (ConsoleTour.Step(ConsoleTourIndex, 1) is { } next) ConsoleTourIndex = next;
+ else EndTour();
+ }
+
+ [RelayCommand]
+ private void ConsoleTourBack()
+ {
+ if (ConsoleTour.Step(ConsoleTourIndex, -1) is { } previous) ConsoleTourIndex = previous;
+ }
+
+ /// Finished or skipped: not offered again, and back to Home where playing starts.
+ [RelayCommand]
+ private void EndTour()
+ {
+ if (!IsConsoleTourOpen) return;
+ ConsoleTourIndex = -1;
+ ConsoleTabIndex = HomeTabIndex;
+ // The tour shows where the shortcuts are set: the old first-run shortcuts dialog is no longer needed.
+ CompleteShortcutOnboarding();
+ if (_loadedConfig.ConsoleTourDone) return;
+ var config = BuildConfig();
+ config.ConsoleTourDone = true;
+ TrySave(config);
+ }
+
+ partial void OnConsoleTourIndexChanged(int value)
+ {
+ if (value < 0) return;
+ var stop = ConsoleTour.Stops[value];
+ if (ConsoleTour.SystemCategory(stop) is { } category) SystemCategory = category;
+ ConsoleTabIndex = ConsoleTour.Tab(stop);
+ }
+
+ private void RefreshConsoleTourTexts()
+ {
+ OnPropertyChanged(nameof(ConsoleTourTitle));
+ OnPropertyChanged(nameof(ConsoleTourBody));
+ OnPropertyChanged(nameof(ConsoleTourProgress));
+ OnPropertyChanged(nameof(ConsoleTourNextText));
+ }
+}
diff --git a/src/ConsoleMode/ViewModels/MainViewModel.ConsoleUi.cs b/src/ConsoleMode/ViewModels/MainViewModel.ConsoleUi.cs
index 6671108..f3f6be1 100644
--- a/src/ConsoleMode/ViewModels/MainViewModel.ConsoleUi.cs
+++ b/src/ConsoleMode/ViewModels/MainViewModel.ConsoleUi.cs
@@ -6,15 +6,12 @@
namespace ConsoleMode.ViewModels;
-// The console (10-foot) interface: which interface is showing, the quick-setting cards
-// that cycle their value on A, and the role panel for a screen.
+// The console (10-foot) interface, the app's only one: the quick-setting cards that cycle their
+// value on A, the option picker and the role panel for a screen.
public partial class MainViewModel
{
- public ObservableCollection UiModeOptions { get; } = [];
public ObservableCollection ControllerLayoutOptions { get; } = [];
- [ObservableProperty] private bool _isConsoleUi;
- [ObservableProperty] private ComboOption? _selectedUiMode;
[ObservableProperty] private bool _isRolePanelOpen;
[ObservableProperty] private MonitorRowViewModel? _rolePanelMonitor;
[ObservableProperty] private bool _isPlayStationHints;
@@ -24,10 +21,6 @@ public partial class MainViewModel
/// Set by App when the session was requested from the controller's Home button.
public bool LaunchedByController { get; set; }
- public bool IsDesktopHome => !IsConsoleUi && IsHomePage;
- public bool IsDesktopSettings => !IsConsoleUi && IsSettingsPage;
- /// The desktop interface: the title bar shows the app's name there (the console one has its own brand mark).
- public bool IsDesktopUi => !IsConsoleUi;
public string FocusScreenName => FocusRow?.Name ?? "";
public string RolePanelTitle => LocalizationService.Get("ChooseRoleFor", RolePanelMonitor?.Name ?? "");
public string HdrText => LocalizationService.Get(HdrEnable ? "ToggleOn" : "ToggleOff");
@@ -46,20 +39,6 @@ partial void OnSelectedControllerLayoutChanged(ComboOption? value)
SaveQuietly();
}
- partial void OnIsConsoleUiChanged(bool value)
- {
- OnPropertyChanged(nameof(IsDesktopHome));
- OnPropertyChanged(nameof(IsDesktopUi));
- OnPropertyChanged(nameof(IsDesktopSettings));
- OnPropertyChanged(nameof(IsTourMap));
- OnPropertyChanged(nameof(IsTourRole));
- OnPropertyChanged(nameof(IsTourPlay));
- if (value) { IsRolePanelOpen = false; IsControllerToastOpen = false; }
- else { ConsoleTabIndex = HomeTabIndex; IsPickerOpen = false; }
- }
-
- partial void OnIsHomePageChanged(bool value) => OnPropertyChanged(nameof(IsDesktopHome));
- partial void OnIsSettingsPageChanged(bool value) => OnPropertyChanged(nameof(IsDesktopSettings));
partial void OnRolePanelMonitorChanged(MonitorRowViewModel? value) => OnPropertyChanged(nameof(RolePanelTitle));
partial void OnIsPlayStationHintsChanged(bool value)
{
@@ -71,24 +50,7 @@ partial void OnIsPlayStationHintsChanged(bool value)
OnPropertyChanged(nameof(HintLb));
OnPropertyChanged(nameof(HintRb));
NotifyShortcutTexts();
- }
-
- partial void OnSelectedUiModeChanged(ComboOption? value)
- {
- if (_applying || value is null) return;
- SaveQuietly();
- ResolveUi();
- }
-
- private void BuildUiModeOptions()
- {
- var current = SelectedUiMode?.Value ?? _loadedConfig.UiMode;
- UiModeOptions.Clear();
- UiModeOptions.Add(new ComboOption { Text = LocalizationService.Get("UiModeAuto"), Value = UiModeResolver.Auto });
- UiModeOptions.Add(new ComboOption { Text = LocalizationService.Get("UiModeDesktop"), Value = UiModeResolver.Desktop });
- UiModeOptions.Add(new ComboOption { Text = LocalizationService.Get("UiModeConsole"), Value = UiModeResolver.Console });
- SelectedUiMode = UiModeOptions.FirstOrDefault(o => o.Value == current) ?? UiModeOptions[0];
- BuildControllerLayoutOptions();
+ RefreshConsoleTourTexts();
}
private void BuildControllerLayoutOptions()
@@ -102,31 +64,13 @@ private void BuildControllerLayoutOptions()
}
[ObservableProperty] private bool _controllerDetected;
- [ObservableProperty] private bool _isControllerToastOpen;
- private int _controllerToastId;
-
- // A toast instead of a permanent chip: shown for a few seconds when a pad connects.
- partial void OnControllerDetectedChanged(bool value)
- {
- var id = ++_controllerToastId;
- IsControllerToastOpen = value && !IsConsoleUi;
- if (!IsControllerToastOpen) return;
- _ = HideControllerToastAsync(id);
- }
- private async Task HideControllerToastAsync(int id)
- {
- await Task.Delay(4000);
- if (id == _controllerToastId) IsControllerToastOpen = false;
- }
-
- /// Called after the config is applied and whenever the choice changes.
- private void ResolveUi()
+ /// Which pad is connected, for the button hints (✕ / A). At startup and when a pad comes or goes.
+ private void DetectController()
{
_detectedControllerFamily = ControllerInput.DetectFamily();
RefreshControllerHints();
ControllerDetected = _detectedControllerFamily != ControllerFamily.None;
- IsConsoleUi = UiModeResolver.IsConsole(SelectedUiMode?.Value, ControllerDetected, LaunchedByController);
}
private void RefreshControllerHints()
@@ -142,14 +86,13 @@ private void RefreshControllerHints()
///
/// A pad appeared or went away. Windows lists HID pads asynchronously, so the startup check
- /// often misses them; re-resolving here is what makes "Automatic" pick the console interface.
- /// Never flips the interface during a session.
+ /// often misses them; checking again here keeps the button hints right.
///
public void OnControllerPresenceChanged()
{
_ = RefreshBatteryAsync();
if (IsConsoleActive) return;
- ResolveUi();
+ DetectController();
}
/// Startup safety net for pads that enumerate late (Bluetooth, DualSense).
@@ -170,49 +113,16 @@ private void RefreshConsoleTexts()
OnPropertyChanged(nameof(HdrText));
OnPropertyChanged(nameof(VrrText));
OnPropertyChanged(nameof(BackgroundModeText));
- OnPropertyChanged(nameof(ConsoleTutorialTitle));
- OnPropertyChanged(nameof(ConsoleTutorialBody));
- OnPropertyChanged(nameof(ConsoleTutorialAction));
+ RefreshConsoleTourTexts();
if (IsShortcutEditorOpen) ShortcutEditorTitle = ShortcutName(_shortcutEditorSlot);
}
- /// "desktop" / "console": the on-screen switch, remembered as an explicit choice.
- [RelayCommand]
- private void SwitchUi(string mode)
- {
- if (IsConsoleActive && mode == UiModeResolver.Desktop) return;
- SelectedUiMode = UiModeOptions.FirstOrDefault(o => o.Value == mode) ?? SelectedUiMode;
- if (mode == UiModeResolver.Desktop) ShowPage(settings: false);
- }
-
[ObservableProperty] private bool _isConsoleSettingsOpen;
[ObservableProperty] private bool _isShortcutEditorOpen;
[ObservableProperty] private string _shortcutEditorTitle = "";
- [ObservableProperty] private bool _isConsoleTutorialOpen;
private ShortcutSlot _shortcutEditorSlot;
public string ShortcutEditorSlot => _shortcutEditorSlot.ToString().ToLowerInvariant();
- public string ConsoleTutorialTitle => LocalizationService.Get(TourStep switch
- {
- 2 => "TourRoleTitle",
- 3 => "TourPlayTitle",
- _ => "TourMapTitle"
- });
- public string ConsoleTutorialBody => TourStep switch
- {
- 2 => LocalizationService.Get("TourRoleDescription"),
- 3 => LocalizationService.Get("TourPlayDescription"),
- _ => TourMapText
- };
- public string ConsoleTutorialAction => LocalizationService.Get(TourStep >= 3 ? "GotIt" : "Next");
-
- partial void OnTourStepChanged(int value)
- {
- OnPropertyChanged(nameof(ConsoleTutorialTitle));
- OnPropertyChanged(nameof(ConsoleTutorialBody));
- OnPropertyChanged(nameof(ConsoleTutorialAction));
- }
-
/// x:Bind helper for on/off rows.
public string OnOff(bool value) => LocalizationService.Get(value ? "ToggleOn" : "ToggleOff");
@@ -245,7 +155,7 @@ private void CycleSetting(string spec)
break;
case "mode":
if (FocusRow is null) return;
- var index = UiModeResolver.Cycle(FocusRow.Modes.Count, FocusRow.Modes.ToList().IndexOf(FocusRow.SelectedMode), step);
+ var index = OptionCycle.Cycle(FocusRow.Modes.Count, FocusRow.Modes.ToList().IndexOf(FocusRow.SelectedMode), step);
if (index >= 0) FocusRow.SelectedMode = FocusRow.Modes[index];
SaveQuietly();
break;
@@ -253,7 +163,6 @@ private void CycleSetting(string spec)
case "vrr": VrrEnable = !VrrEnable; break;
case "hide": SelectedHideStrategy = Next(HideStrategies, SelectedHideStrategy, step); break;
case "language": SelectedLanguage = Next(LanguageOptions, SelectedLanguage, step); break;
- case "ui": SelectedUiMode = Next(UiModeOptions, SelectedUiMode, step); break;
case "home": ToggleSuggestedShortcut(ShortcutSlot.Home); break;
case "menushortcut": ToggleSuggestedShortcut(ShortcutSlot.Menu); break;
case "exitshortcut": ToggleSuggestedShortcut(ShortcutSlot.Exit); break;
@@ -261,6 +170,7 @@ private void CycleSetting(string spec)
case "autostart": AutoStartOnController = !AutoStartOnController; break;
case "controllerwake": _ = EnableControllerWakeAsync(); break;
case "sounds": InterfaceSounds = !InterfaceSounds; break;
+ case "introsound": IntroSound = !IntroSound; break;
case "background": CycleBackgroundMode(); break;
case "backgroundimage": PickBackgroundImage(); break;
case "startup": StartWithWindows = !StartWithWindows; break;
@@ -271,6 +181,19 @@ private void CycleSetting(string spec)
case "desktopicons": RestoreDesktopIcons = !RestoreDesktopIcons; break;
case "parkpointer": ParkPointer = !ParkPointer; break;
case "tvpower": TvTurnOffOnRestore = !TvTurnOffOnRestore; break;
+ // The FPS counter (RTSS): what it shows, one item at a time.
+ case "overlaycard": OverlayCard = !OverlayCard; break;
+ case "overlayline": OverlaySingleLine = !OverlaySingleLine; break;
+ case "ovfps": OverlayShowFps = !OverlayShowFps; break;
+ case "ovframetime": OverlayShowFrameTime = !OverlayShowFrameTime; break;
+ case "ovapi": OverlayShowApi = !OverlayShowApi; break;
+ case "ovcpu": OverlayShowCpu = !OverlayShowCpu; break;
+ case "ovcpuclock": OverlayShowCpuClock = !OverlayShowCpuClock; break;
+ case "ovram": OverlayShowRam = !OverlayShowRam; break;
+ case "ovvram": OverlayShowVram = !OverlayShowVram; break;
+ case "ovgpu": OverlayShowGpu = !OverlayShowGpu; break;
+ case "ovgpuclock": OverlayShowGpuClock = !OverlayShowGpuClock; break;
+ case "ovgputemp": OverlayShowGpuTemp = !OverlayShowGpuTemp; break;
}
}
@@ -297,7 +220,7 @@ private void OpenShortcutEditor(string slot)
private static ComboOption? Next(IList options, ComboOption? current, int step)
{
- var index = UiModeResolver.Cycle(options.Count, current is null ? -1 : options.IndexOf(current), step);
+ var index = OptionCycle.Cycle(options.Count, current is null ? -1 : options.IndexOf(current), step);
return index < 0 ? current : options[index];
}
@@ -310,7 +233,7 @@ private void OpenShortcutEditor(string slot)
[ObservableProperty] private string _pickerTitle = "";
private string _pickerKey = "";
- /// "launch", "audio", "mode", "fps", "hide", "language", "ui".
+ /// "launch", "audio", "mode", "fps", "hide", "language", "overlay"…: the row's key.
[RelayCommand]
private void OpenPicker(string key)
{
@@ -322,10 +245,14 @@ private void OpenPicker(string key)
"fps" => (LocalizationService.Get("FpsCard"), FpsOptions.Select(o => (o.Text, o.Value)), SelectedFps?.Value),
"hide" => (LocalizationService.Get("HideOtherScreensCard"), HideStrategies.Select(o => (o.Text, o.Value)), SelectedHideStrategy?.Value),
"language" => (LocalizationService.Get("LanguageCard"), LanguageOptions.Select(o => (o.Text, o.Value)), SelectedLanguage?.Value),
- "ui" => (LocalizationService.Get("UiModeCard"), UiModeOptions.Select(o => (o.Text, o.Value)), SelectedUiMode?.Value),
"controllerlayout" => (LocalizationService.Get("ControllerLayoutCard"), ControllerLayoutOptions.Select(o => (o.Text, o.Value)), SelectedControllerLayout?.Value),
"tvprovider" => (LocalizationService.Get("TvControlCard"), TvProviders.Select(o => (o.Text, o.Value)), SelectedTvProvider?.Value),
+ "introstyle" => (LocalizationService.Get("IntroStyleCard"), IntroStyleOptions.Select(o => (o.Text, o.Value)), SelectedIntroStyle?.Value),
"tvhdmi" => (LocalizationService.Get("TvHdmiCard"), TvHdmiInputs.Select(o => (o.Text, o.Value)), SelectedTvHdmiInput?.Value),
+ "overlay" => (LocalizationService.Get("FpsOverlayCard"), FpsOverlayOptions.Select(o => (o.Text, o.Value)), SelectedFpsOverlay?.Value),
+ "overlaysize" => (LocalizationService.Get("FpsOverlaySize"), FpsOverlaySizeOptions.Select(o => (o.Text, o.Value)), SelectedFpsOverlaySize?.Value),
+ "overlayposition" => (LocalizationService.Get("FpsOverlayPosition"), FpsOverlayPositionOptions.Select(o => (o.Text, o.Value)), SelectedFpsOverlayPosition?.Value),
+ "overlaycolor" => (LocalizationService.Get("FpsOverlayColor"), FpsOverlayColorOptions.Select(o => (o.Text, o.Value)), SelectedFpsOverlayColor?.Value),
"profiles" when _gameProfiles.Count > 0 => (LocalizationService.Get("GameProfilesPickerTitle"),
_gameProfiles.Select(p => (LocalizationService.Get("GameProfileRemove", p.Name), p.SteamAppId.ToString())), null),
"mode" when FocusRow is not null => (LocalizationService.Get("ResolutionRefreshCard"), FocusRow.Modes.Select(m => (m.Text, m.Key)), FocusRow.SelectedMode?.Key),
@@ -353,10 +280,14 @@ private void PickOption(PickerItem? item)
case "fps": SelectedFps = FpsOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedFps; break;
case "hide": SelectedHideStrategy = HideStrategies.FirstOrDefault(o => o.Value == item.Value) ?? SelectedHideStrategy; break;
case "language": SelectedLanguage = LanguageOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedLanguage; break;
- case "ui": SelectedUiMode = UiModeOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedUiMode; break;
case "controllerlayout": SelectedControllerLayout = ControllerLayoutOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedControllerLayout; break;
case "tvprovider": SelectedTvProvider = TvProviders.FirstOrDefault(o => o.Value == item.Value) ?? SelectedTvProvider; break;
+ case "introstyle": ChooseIntroStyle(item.Value); break;
case "tvhdmi": SelectedTvHdmiInput = TvHdmiInputs.FirstOrDefault(o => o.Value == item.Value) ?? SelectedTvHdmiInput; break;
+ case "overlay": SelectedFpsOverlay = FpsOverlayOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedFpsOverlay; break;
+ case "overlaysize": SelectedFpsOverlaySize = FpsOverlaySizeOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedFpsOverlaySize; break;
+ case "overlayposition": SelectedFpsOverlayPosition = FpsOverlayPositionOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedFpsOverlayPosition; break;
+ case "overlaycolor": SelectedFpsOverlayColor = FpsOverlayColorOptions.FirstOrDefault(o => o.Value == item.Value) ?? SelectedFpsOverlayColor; break;
case "profiles":
if (int.TryParse(item.Value, out var appId))
RemoveGameProfile(GameProfileItems.FirstOrDefault(p => p.AppId == appId));
diff --git a/src/ConsoleMode/ViewModels/MainViewModel.Intro.cs b/src/ConsoleMode/ViewModels/MainViewModel.Intro.cs
new file mode 100644
index 0000000..e166184
--- /dev/null
+++ b/src/ConsoleMode/ViewModels/MainViewModel.Intro.cs
@@ -0,0 +1,141 @@
+using System.Collections.ObjectModel;
+using System.Diagnostics;
+using CommunityToolkit.Mvvm.ComponentModel;
+using CommunityToolkit.Mvvm.Input;
+using ConsoleMode.Models;
+using ConsoleMode.Services;
+
+namespace ConsoleMode.ViewModels;
+
+// The opening (BootIntro): the logo while the app loads, with a sound, in the style picked in System → App (the app's
+// own, or in the mood of the Xbox 360's or the PS4's); the opening and its sound can each be turned off there. Any
+// press, click or key skips it.
+public partial class MainViewModel
+{
+ [ObservableProperty] private bool _isIntroShowing;
+ [ObservableProperty] private bool _introAnimation = true;
+ [ObservableProperty] private bool _introSound = true;
+ [ObservableProperty] private ComboOption? _selectedIntroStyle;
+
+ /// The style on screen right now (the view picks the matching layer when the opening starts).
+ public string IntroStyleNow { get; private set; } = BootIntro.ConsoleStyle;
+
+ public ObservableCollection IntroStyleOptions { get; } = [];
+
+ private readonly Stopwatch _introClock = new();
+ private int _introRun;
+
+ ///
+ /// Called by App before the window first shows (the config isn't loaded yet, so the opening's settings are read here).
+ ///
+ public void BeginIntro()
+ {
+ var config = ConfigService.Load();
+ if (!BootIntro.ShouldShow(config.IntroAnimation, windowShown: true)) return;
+ StartIntro(BootIntro.PickForOpening(config.IntroStyle, Random.Shared.NextDouble()), config.IntroSound, BootIntro.LongestShown);
+ }
+
+ /// Loading is done (or failed): keep the logo up for what is left of its minimum, then fade it out.
+ public async Task FinishIntroAsync()
+ {
+ if (!IsIntroShowing) return;
+ var run = _introRun;
+ var still = BootIntro.StillToShow(_introClock.Elapsed, IntroStyleNow);
+ if (still > TimeSpan.Zero) await Task.Delay(still);
+ if (run == _introRun) IsIntroShowing = false;
+ }
+
+ /// A press, a click or a key on the opening.
+ public void SkipIntro() => IsIntroShowing = false;
+
+ /// System → App → See the opening: plays the chosen style now, as if the app had just opened.
+ [RelayCommand]
+ private void PreviewIntro()
+ {
+ if (IsConsoleActive) return;
+ if (!IntroAnimation) return;
+ StartIntro(SelectedIntroStyle?.Value, IntroSound, BootIntro.MinimumShown(SelectedIntroStyle?.Value) + TimeSpan.FromMilliseconds(400));
+ }
+
+ private void StartIntro(string? style, bool sound, TimeSpan showFor)
+ {
+ IsIntroShowing = false;
+ IntroStyleNow = BootIntro.Normalize(style);
+ var run = ++_introRun;
+ _introClock.Restart();
+ IsIntroShowing = true;
+ if (BootIntro.ShouldPlaySound(shown: true, sound)) UiSounds.Play(BootIntro.Sound(IntroStyleNow), evenWhenOff: true);
+ _ = EndIntroAfterAsync(showFor, run);
+ }
+
+ private async Task EndIntroAfterAsync(TimeSpan delay, int run)
+ {
+ if (delay > TimeSpan.Zero) await Task.Delay(delay);
+ if (run == _introRun) IsIntroShowing = false;
+ }
+
+ /// A style was picked in System → App (any of them): no more surprises, it is always that one.
+ private bool _introStyleChosen;
+
+ private void BuildIntroStyleOptions()
+ {
+ var current = SelectedIntroStyle?.Value ?? _loadedConfig.IntroStyle;
+ IntroStyleOptions.Clear();
+ IntroStyleOptions.Add(new ComboOption { Text = LocalizationService.Get("IntroStyleConsole"), Value = BootIntro.ConsoleStyle });
+ IntroStyleOptions.Add(new ComboOption { Text = LocalizationService.Get("IntroStyleX360"), Value = BootIntro.Xbox360Style });
+ IntroStyleOptions.Add(new ComboOption { Text = LocalizationService.Get("IntroStylePs4"), Value = BootIntro.Ps4Style });
+ IntroStyleOptions.Add(new ComboOption { Text = LocalizationService.Get("IntroStyleNone"), Value = BootIntro.NoOpening });
+ SelectedIntroStyle = IntroStyleOption(IntroAnimation ? current : BootIntro.NoOpening);
+ }
+
+ partial void OnSelectedIntroStyleChanged(ComboOption? value)
+ {
+ if (_applying || value is null) return;
+ _introStyleChosen = true;
+ SaveQuietly();
+ }
+
+ ///
+ /// Picked in System → App, even the one already shown (Console Mode, while unset): that counts as a choice and ends
+ /// the surprises.
+ ///
+ private void ChooseIntroStyle(string value)
+ {
+ _introStyleChosen = true;
+ // "None" turns the opening off; any style turns it back on.
+ _applying = true;
+ try { IntroAnimation = value != BootIntro.NoOpening; }
+ finally { _applying = false; }
+ var option = IntroStyleOptions.FirstOrDefault(o => o.Value == value) ?? SelectedIntroStyle;
+ if (ReferenceEquals(option, SelectedIntroStyle)) SaveQuietly();
+ else SelectedIntroStyle = option;
+ }
+
+ /// The picker's option for a style, "None" included; an unknown one is the app's own.
+ internal ComboOption? IntroStyleOption(string? value) =>
+ IntroStyleOptions.FirstOrDefault(o => o.Value == (value == BootIntro.NoOpening ? value : BootIntro.Normalize(value))) ?? IntroStyleOptions.FirstOrDefault();
+
+ ///
+ /// What is saved: the picked style, or nothing while none was picked (keeps the surprises). "None" is saved as the
+ /// opening turned off, keeping the style that was there.
+ ///
+ private string? IntroStyleToSave => !_introStyleChosen ? null
+ : SelectedIntroStyle?.Value == BootIntro.NoOpening ? _loadedConfig.IntroStyle ?? BootIntro.ConsoleStyle
+ : SelectedIntroStyle?.Value;
+
+ partial void OnIntroAnimationChanged(bool value)
+ {
+ OnPropertyChanged(nameof(IntroSoundRowEnabled));
+ SaveQuietly();
+ }
+
+ partial void OnIntroSoundChanged(bool value)
+ {
+ SaveQuietly();
+ // Turning it on lets you hear it.
+ if (value && !_applying) UiSounds.Play(BootIntro.Sound(SelectedIntroStyle?.Value), evenWhenOff: true);
+ }
+
+ /// The sound and the style only matter with the opening on.
+ public bool IntroSoundRowEnabled => IntroAnimation;
+}
diff --git a/src/ConsoleMode/ViewModels/MainViewModel.Shortcuts.cs b/src/ConsoleMode/ViewModels/MainViewModel.Shortcuts.cs
index 6b5eb0c..55d6743 100644
--- a/src/ConsoleMode/ViewModels/MainViewModel.Shortcuts.cs
+++ b/src/ConsoleMode/ViewModels/MainViewModel.Shortcuts.cs
@@ -13,9 +13,6 @@ public partial class MainViewModel
private readonly ushort[] _shortcuts = new ushort[ControllerShortcuts.Slots.Length];
private int _shortcutCaptures;
- /// The first-run setup asks the user to pick their shortcuts (desktop interface only).
- public event Action? ShortcutOnboardingRequested;
-
public ushort GetShortcut(ShortcutSlot slot) => _shortcuts[(int)slot];
public bool HomeShortcutSet => _shortcuts[(int)ShortcutSlot.Home] != 0;
@@ -110,13 +107,6 @@ public void CompleteShortcutOnboarding()
TrySave(config);
}
- /// Asks the window to show the shortcuts setup, if it was never done and the desktop interface is up.
- public void RequestShortcutOnboarding()
- {
- if (NeedsShortcutOnboarding && !IsConsoleUi && TourStep == 0)
- ShortcutOnboardingRequested?.Invoke();
- }
-
private void LoadShortcuts(AppConfig config)
{
_shortcuts[(int)ShortcutSlot.Home] = ControllerShortcuts.Sanitize(config.HomeShortcut);
diff --git a/src/ConsoleMode/ViewModels/MainViewModel.Updates.cs b/src/ConsoleMode/ViewModels/MainViewModel.Updates.cs
index a547979..d2e21bd 100644
--- a/src/ConsoleMode/ViewModels/MainViewModel.Updates.cs
+++ b/src/ConsoleMode/ViewModels/MainViewModel.Updates.cs
@@ -172,7 +172,6 @@ private async Task CheckForUpdatesAsync(bool manual)
UpdateMessage = FirstNoteLine(update.Notes) ?? LocalizationService.Get("NewVersionOnGithub");
OnPropertyChanged(nameof(UpdateActionText));
IsUpdateOpen = true;
- if (manual) ShowPage(settings: false);
}
catch (Exception ex)
{
diff --git a/src/ConsoleMode/ViewModels/MainViewModel.cs b/src/ConsoleMode/ViewModels/MainViewModel.cs
index ca8d1cc..3634a28 100644
--- a/src/ConsoleMode/ViewModels/MainViewModel.cs
+++ b/src/ConsoleMode/ViewModels/MainViewModel.cs
@@ -27,9 +27,9 @@ public partial class MainViewModel : ObservableObject
private static readonly int[] FpsPresets = [30, 48, 50, 59, 60, 72, 75, 90, 120, 144];
private const int FpsCustomValue = -1;
- private const double LayoutMaxWidth = 720;
- private const double LayoutMaxHeight = 220;
- private const double TileInset = 3;
+ private const double LayoutMaxWidth = 1100;
+ private const double LayoutMaxHeight = 300;
+ private const double TileInset = 6;
private readonly DispatcherQueue _dispatcher = DispatcherQueue.GetForCurrentThread();
private CancellationTokenSource? _loopCts;
@@ -42,8 +42,6 @@ public partial class MainViewModel : ObservableObject
public MainViewModel() => LocalizationService.LanguageChanged += OnLanguageChanged;
- [ObservableProperty] private bool _isHomePage = true;
- [ObservableProperty] private bool _isSettingsPage;
[ObservableProperty] private bool _isLoading;
[ObservableProperty] private bool _hasMonitors;
[ObservableProperty] private bool _isConsoleActive;
@@ -135,14 +133,12 @@ public async Task InitializeAsync(bool interactive = true)
// Save the detected defaults so the tray/shortcut work right away.
if (firstRun && HasMonitors) TrySave(BuildConfig());
InitializeAppSettings();
- ResolveUi();
+ DetectController();
_ = RecheckControllerAsync();
StartBatteryPolling();
_ = RefreshBackgroundAsync();
_ = RefreshControllerWakeAsync();
- // The tour points at desktop controls; the console interface explains itself.
- if (interactive && HasMonitors && !_loadedConfig.TourDone && !IsConsoleUi) StartTour();
- else if (interactive) RequestShortcutOnboarding();
+ if (interactive) OfferConsoleTour();
_ = CheckForUpdatesOnStartupAsync();
}
@@ -155,7 +151,6 @@ private void OnLanguageChanged(object? sender, EventArgs e)
OnPropertyChanged(nameof(FocusModeDescription));
OnPropertyChanged(nameof(InstallKindText));
OnPropertyChanged(nameof(UpdateActionText));
- OnPropertyChanged(nameof(TourMapText));
if (IsConsoleActive) ActiveDescText = DescribeActive(_loadedConfig);
if (IsStatusOpen) IsStatusOpen = false;
BuildLocalizedOptions();
@@ -208,7 +203,8 @@ private void BuildLocalizedOptions()
BuildFpsOverlayOptions();
BuildAudioOptions(audioValue);
- BuildUiModeOptions();
+ BuildControllerLayoutOptions();
+ BuildIntroStyleOptions();
BuildTvOptions();
FpsStatusText = LocalizationService.Get(IsFpsAvailable ? "FpsAvailable" : "FpsUnavailable");
}
@@ -329,6 +325,11 @@ private void Apply(LoadResult data)
HomeButtonShortPress = config.HomeButtonShortPress;
AutoStartOnController = config.AutoStartOnController;
InterfaceSounds = config.InterfaceSounds;
+ IntroAnimation = config.IntroAnimation;
+ IntroSound = config.IntroSound;
+ SelectedIntroStyle = IntroStyleOption(config.IntroAnimation ? config.IntroStyle : BootIntro.NoOpening);
+ // Turning the opening off (before "None" was in the picker too) was a choice as well.
+ _introStyleChosen = !string.IsNullOrWhiteSpace(config.IntroStyle) || !config.IntroAnimation;
MinimizeToTray = config.MinimizeToTray;
ConsoleBackgroundMode = ConsoleBackgroundService.NormalizeMode(config.ConsoleBackground);
ConsoleBackgroundImage = config.ConsoleBackgroundImage ?? "";
@@ -337,7 +338,6 @@ private void Apply(LoadResult data)
ParkPointer = config.ParkPointer;
LoadGameProfiles(config.GameProfiles);
RefreshHomeButtonHint();
- SelectedUiMode = UiModeOptions.FirstOrDefault(o => o.Value == config.UiMode) ?? UiModeOptions.FirstOrDefault();
SelectedControllerLayout = ControllerLayoutOptions.FirstOrDefault(o => o.Value == config.ControllerLayout) ?? ControllerLayoutOptions[0];
LoadFpsOverlay(config);
@@ -570,17 +570,6 @@ private void SettingChanged()
SaveQuietly();
}
- [RelayCommand]
- private void OpenSettings()
- {
- if (IsConsoleActive) return;
- RefreshHomeButtonHint();
- ShowPage(settings: true);
- }
-
- [RelayCommand]
- private void GoHome() => ShowPage(settings: false);
-
[RelayCommand]
private async Task RefreshAsync()
{
@@ -654,7 +643,6 @@ public async Task StartAsync()
_busy = true;
IsStarting = true;
IsStatusOpen = false;
- TourStep = 0;
// Safety net: a game screen/mode never seen working must be confirmed on the TV,
// otherwise the desk screens come back by themselves.
@@ -667,7 +655,6 @@ public async Task StartAsync()
await Task.Run(() => Engine.Start(config, focus, confirm));
Engine.State.SessionStartedAt = DateTime.Now;
IsConsoleActive = true;
- ShowPage(settings: false);
ActiveDescText = DescribeActive(config);
StartLoop();
if (confirm is not null)
@@ -762,68 +749,6 @@ private async Task TestConfirmAsync()
confirmed ? InfoBarSeverity.Success : InfoBarSeverity.Informational);
}
- // ───────────── First-run tour ─────────────
-
- [ObservableProperty]
- [NotifyPropertyChangedFor(nameof(IsTourMap), nameof(IsTourRole), nameof(IsTourPlay))]
- private int _tourStep;
-
- public bool IsTourMap => !IsConsoleUi && TourStep == 1;
- public bool IsTourRole => !IsConsoleUi && TourStep == 2;
- public bool IsTourPlay => !IsConsoleUi && TourStep == 3;
-
- public string TourMapText => FocusRow is null
- ? LocalizationService.Get("TourMapGeneric")
- : LocalizationService.Get("TourMapWithFocus", FocusRow.Name);
-
- [RelayCommand]
- private void StartTour()
- {
- if (!HasMonitors || IsConsoleActive) return;
- if (IsConsoleUi)
- {
- ConsoleTabIndex = HomeTabIndex;
- IsConsoleTutorialOpen = true;
- IsStatusOpen = false;
- SelectedMonitor = FocusRow ?? SelectedMonitor;
- OnPropertyChanged(nameof(TourMapText));
- TourStep = 1;
- return;
- }
- ShowPage(settings: false);
- IsStatusOpen = false;
- SelectedMonitor = FocusRow ?? SelectedMonitor;
- OnPropertyChanged(nameof(TourMapText));
- TourStep = 1;
- }
-
- [RelayCommand]
- private void TourNext()
- {
- if (TourStep >= 3) EndTour();
- else TourStep++;
- }
-
- /// "Pular tutorial" or the X; step changes close tips programmatically and are ignored.
- public void OnTourTipClosed(TeachingTip sender, TeachingTipClosedEventArgs args)
- {
- if (args.Reason != TeachingTipCloseReason.Programmatic) EndTour();
- }
-
- [RelayCommand]
- private void EndTour()
- {
- TourStep = 0;
- IsConsoleTutorialOpen = false;
- if (!_loadedConfig.TourDone)
- {
- var config = BuildConfig();
- config.TourDone = true;
- TrySave(config);
- }
- RequestShortcutOnboarding();
- }
-
[RelayCommand]
public async Task RestoreNowAsync()
{
@@ -945,7 +870,7 @@ private AppConfig BuildConfig()
FpsOverlayLayout = ReadFpsOverlayLayout(),
HdrEnable = HdrEnable,
VrrEnable = VrrEnable,
- TourDone = _loadedConfig.TourDone,
+ ConsoleTourDone = _loadedConfig.ConsoleTourDone,
SessionMenuTourDone = _loadedConfig.SessionMenuTourDone,
ConfirmedSetup = _loadedConfig.ConfirmedSetup,
CheckUpdates = CheckUpdates,
@@ -957,6 +882,9 @@ private AppConfig BuildConfig()
HomeButtonShortPress = HomeButtonShortPress,
AutoStartOnController = AutoStartOnController,
InterfaceSounds = InterfaceSounds,
+ IntroAnimation = IntroAnimation,
+ IntroSound = IntroSound,
+ IntroStyle = IntroStyleToSave,
MinimizeToTray = MinimizeToTray,
ConsoleBackground = ConsoleBackgroundMode,
ConsoleBackgroundImage = ConsoleBackgroundImage,
@@ -964,7 +892,6 @@ private AppConfig BuildConfig()
RestoreDesktopIcons = RestoreDesktopIcons,
ParkPointer = ParkPointer,
GameProfiles = [.. _gameProfiles],
- UiMode = SelectedUiMode?.Value ?? _loadedConfig.UiMode,
ControllerLayout = SelectedControllerLayout?.Value ?? _loadedConfig.ControllerLayout,
SkippedUpdateVersion = _loadedConfig.SkippedUpdateVersion,
Tv = BuildTvConfig()
@@ -1061,12 +988,6 @@ private static string JoinLocalized(IReadOnlyList values)
_ => LocalizationService.Get("ActiveSteam")
};
- private void ShowPage(bool settings)
- {
- IsSettingsPage = settings;
- IsHomePage = !settings;
- }
-
private void SetStatus(string text, InfoBarSeverity severity = InfoBarSeverity.Informational)
{
StatusText = text;
diff --git a/src/ConsoleMode/ViewModels/MonitorRowViewModel.cs b/src/ConsoleMode/ViewModels/MonitorRowViewModel.cs
index 7b5ea9b..c5a71ee 100644
--- a/src/ConsoleMode/ViewModels/MonitorRowViewModel.cs
+++ b/src/ConsoleMode/ViewModels/MonitorRowViewModel.cs
@@ -59,6 +59,7 @@ public int RoleIndex
OnPropertyChanged(nameof(Role));
OnPropertyChanged(nameof(IsFocus));
OnPropertyChanged(nameof(IsHide));
+ OnPropertyChanged(nameof(IsKeep));
OnPropertyChanged(nameof(RoleLabel));
OnPropertyChanged(nameof(RoleGlyph));
OnPropertyChanged(nameof(TileBackground));
@@ -107,6 +108,7 @@ public MonitorRole Role
public bool IsFocus => Role == MonitorRole.Focus;
public bool IsHide => Role == MonitorRole.Hide;
+ public bool IsKeep => Role == MonitorRole.Keep;
/// Off in Windows right now; drawn dashed next to the live desktop.
public bool IsOff => !Monitor.IsActive;
diff --git a/src/ConsoleMode/Views/ConsoleHomeView.xaml b/src/ConsoleMode/Views/ConsoleHomeView.xaml
index ab5b79c..213b64d 100644
--- a/src/ConsoleMode/Views/ConsoleHomeView.xaml
+++ b/src/ConsoleMode/Views/ConsoleHomeView.xaml
@@ -167,7 +167,7 @@
-
+
@@ -191,11 +191,6 @@
-
@@ -290,7 +285,7 @@
-
+
-
+
@@ -377,7 +364,7 @@
-
+
@@ -596,275 +583,400 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -960,20 +1072,49 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -1055,5 +1196,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs b/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs
index b8a05c4..b8b7040 100644
--- a/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs
+++ b/src/ConsoleMode/Views/ConsoleHomeView.xaml.cs
@@ -7,6 +7,8 @@
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Input;
+using Microsoft.UI.Xaml.Media;
+using Windows.Foundation;
using Windows.System;
namespace ConsoleMode.Views;
@@ -41,11 +43,19 @@ public ConsoleHomeView()
Root.GotFocus += (_, e) => { ScaleTile(e.OriginalSource, 1.07f); PickFocusedLauncher(e.OriginalSource); };
Root.LostFocus += (_, e) => ScaleTile(e.OriginalSource, 1f);
// System tab: remember the option in use, so closing a picker lands back on it.
- SettingsRows.GotFocus += (_, e) => { if (e.OriginalSource is Control row) _lastSettingsRow = row; };
+ SettingsRows.GotFocus += (_, e) =>
+ {
+ if (e.OriginalSource is not Control row) return;
+ _lastSettingsRow = row;
+ // What the row does, under the list: the descriptions the settings always had.
+ RowHelp.Text = Microsoft.UI.Xaml.Automation.AutomationProperties.GetHelpText(row);
+ };
+ CategoryRail.GotFocus += (_, _) => RowHelp.Text = "";
CategoryRail.GettingFocus += OnRailGettingFocus;
CategoryRail.AddHandler(UIElement.PointerPressedEvent, new PointerEventHandler((_, _) => _railPointerPressedAt = Environment.TickCount64), true);
// The sounds are the pad's (GamepadNavigator, LB / RB): mouse clicks stay silent.
ViewModel.PropertyChanged += OnViewModelChanged;
+ if (ViewModel.IsIntroShowing) ShowIntro();
ViewModel.PickBackgroundImageRequested += () => _ = PickBackgroundImageAsync();
}
@@ -74,8 +84,8 @@ private void OnLoaded(object sender, RoutedEventArgs e)
App.MainWindowInstance is { } w ? WinRT.Interop.WindowNative.GetWindowHandle(w) : 0,
readSonyHid: true);
_navigator.SearchRoot = () =>
- ViewModel.IsControllerTestOpen ? ControllerTestPanel
- : ViewModel.IsConsoleTutorialOpen ? ConsoleTutorialPanel
+ ViewModel.IsConsoleTourOpen ? ConsoleTourPanel
+ : ViewModel.IsControllerTestOpen ? ControllerTestPanel
: ViewModel.IsShortcutEditorOpen ? ShortcutEditorPanel
: ViewModel.IsPickerOpen ? PickerPanel
: ViewModel.IsConsoleSettingsOpen ? SettingsPanel
@@ -85,6 +95,8 @@ private void OnLoaded(object sender, RoutedEventArgs e)
_navigator.BackRequested += GoBack;
_navigator.Intercept = action =>
{
+ // Any press on the opening skips it, and does nothing else.
+ if (ViewModel.IsIntroShowing) { ViewModel.SkipIntro(); return true; }
if (!ViewModel.IsCapturingShortcut) return false;
return true;
};
@@ -92,13 +104,13 @@ private void OnLoaded(object sender, RoutedEventArgs e)
_navigator.MenuRequested += () =>
{
if (ViewModel.CanStart && !ViewModel.IsRolePanelOpen && !ViewModel.IsConsoleSettingsOpen
- && !ViewModel.IsPickerOpen && !ViewModel.IsShortcutEditorOpen && !ViewModel.IsConsoleTutorialOpen
+ && !ViewModel.IsPickerOpen && !ViewModel.IsShortcutEditorOpen && !ViewModel.IsConsoleTourOpen
&& !ViewModel.IsControllerTestOpen && !ViewModel.IsUpdateOpen)
ViewModel.StartCommand.Execute(null);
};
_navigator.AltRequested += () =>
{
- if (ViewModel.IsRolePanelOpen || ViewModel.IsPickerOpen || ViewModel.IsShortcutEditorOpen || ViewModel.IsConsoleTutorialOpen || ViewModel.IsControllerTestOpen || ViewModel.IsUpdateOpen) return;
+ if (ViewModel.IsRolePanelOpen || ViewModel.IsPickerOpen || ViewModel.IsShortcutEditorOpen || ViewModel.IsConsoleTourOpen || ViewModel.IsControllerTestOpen || ViewModel.IsUpdateOpen) return;
if (ViewModel.IsConsoleSettingsOpen) ViewModel.CloseConsoleSettingsCommand.Execute(null);
else ViewModel.OpenFullSettingsCommand.Execute(null);
};
@@ -117,7 +129,6 @@ private void OnViewModelChanged(object? sender, PropertyChangedEventArgs e)
{
switch (e.PropertyName)
{
- case nameof(MainViewModel.IsConsoleUi):
case nameof(MainViewModel.IsConsoleActive):
RefreshNavigator();
DispatcherQueue.TryEnqueue(FocusDefault);
@@ -167,12 +178,16 @@ private void OnViewModelChanged(object? sender, PropertyChangedEventArgs e)
RefreshNavigator();
});
break;
- case nameof(MainViewModel.IsConsoleTutorialOpen):
- DispatcherQueue.TryEnqueue(() =>
- {
- if (ViewModel.IsConsoleTutorialOpen) ConsoleTutorialNextButton.Focus(FocusState.Keyboard);
- else FocusDefault();
- });
+ case nameof(MainViewModel.IsIntroShowing):
+ if (ViewModel.IsIntroShowing) ShowIntro();
+ else HideIntro();
+ break;
+ case nameof(MainViewModel.IsConsoleTourOpen):
+ if (!ViewModel.IsConsoleTourOpen) DispatcherQueue.TryEnqueue(FocusDefault);
+ break;
+ case nameof(MainViewModel.ConsoleTourIndex):
+ // After the tab switch (queued by ConsoleTabIndex) has laid the new page out.
+ DispatcherQueue.TryEnqueue(Microsoft.UI.Dispatching.DispatcherQueuePriority.Low, ShowTourStop);
break;
case MainViewModel.ShortcutsProperty:
RefreshNavigator();
@@ -199,24 +214,22 @@ private void OnViewModelChanged(object? sender, PropertyChangedEventArgs e)
}
///
- /// Only listen while this interface is showing and the window is in front: A pressed inside
- /// Big Picture must not click something in a hidden window. (XInput reads without focus.)
+ /// Only listen while the window is in front: A pressed inside Big Picture must not click something
+ /// in a hidden window. (XInput reads without focus.)
///
private void RefreshNavigator()
{
if (_navigator is null) return;
- // Not Visibility: this runs from the IsConsoleUi change, before the binding has updated it.
- var listen = ViewModel.IsConsoleUi && _windowActive;
+ var listen = _windowActive;
if (listen && !_navigator.IsRunning) _navigator.Start();
else if (!listen && _navigator.IsRunning) _navigator.Stop();
}
private void FocusDefault()
{
- if (!ViewModel.IsConsoleUi) return;
if (ViewModel.IsConsoleActive) { RestoreButton.Focus(FocusState.Keyboard); return; }
if (ViewModel.IsUpdateOpen) { UpdateNowButton.Focus(FocusState.Keyboard); return; }
- if (ViewModel.IsConsoleTutorialOpen) { ConsoleTutorialNextButton.Focus(FocusState.Keyboard); return; }
+ if (ViewModel.IsConsoleTourOpen) { ConsoleTourNextButton.Focus(FocusState.Keyboard); return; }
if (ViewModel.IsShortcutEditorOpen) { FocusShortcutEditorTarget(); return; }
if (ViewModel.IsSystemTab) { FocusSystemCategory(); return; }
if (ViewModel.IsSessionTab) { (FocusManager.FindFirstFocusableElement(ScreenCards) as Control)?.Focus(FocusState.Keyboard); return; }
@@ -287,7 +300,7 @@ private void AnimateTab(int from, int to)
/// LB / RB: the previous / next tab, unless a panel is open over the page.
private void StepTab(int step)
{
- if (ViewModel.IsConsoleActive || ViewModel.IsRolePanelOpen || ViewModel.IsPickerOpen || ViewModel.IsShortcutEditorOpen || ViewModel.IsConsoleTutorialOpen || ViewModel.IsControllerTestOpen) return;
+ if (ViewModel.IsConsoleActive || ViewModel.IsRolePanelOpen || ViewModel.IsPickerOpen || ViewModel.IsShortcutEditorOpen || ViewModel.IsConsoleTourOpen || ViewModel.IsControllerTestOpen) return;
if (ViewModel.StepConsoleTab(step)) UiSounds.Play(UiSound.Tab);
}
@@ -296,7 +309,7 @@ private void GoBack()
if (ViewModel.IsControllerTestOpen) ViewModel.CloseControllerTestCommand.Execute(null);
else if (ViewModel.IsPickerOpen) ViewModel.ClosePickerCommand.Execute(null);
else if (ViewModel.IsShortcutEditorOpen) ViewModel.CloseShortcutEditorCommand.Execute(null);
- else if (ViewModel.IsConsoleTutorialOpen) ViewModel.EndTourCommand.Execute(null);
+ else if (ViewModel.IsConsoleTourOpen) ViewModel.EndTourCommand.Execute(null);
else if (ViewModel.IsRolePanelOpen) ViewModel.CloseRolePanelCommand.Execute(null);
else if (ViewModel.IsSystemTab && IsFocusInside(SettingsRows)) FocusSystemCategory();
else if (!ViewModel.IsHomeTab) ViewModel.SelectConsoleTabCommand.Execute("0");
@@ -327,7 +340,7 @@ private void FocusShortcutEditorRow()
"exit" => ExitShortcutRow,
_ => null
};
- if (ViewModel.IsConsoleUi && ViewModel.IsSystemTab && row?.Focus(FocusState.Keyboard) == true) return;
+ if (ViewModel.IsSystemTab && row?.Focus(FocusState.Keyboard) == true) return;
FocusDefault();
}
@@ -345,7 +358,510 @@ private void FocusShortcutEditorRow()
_ => SystemSection7
};
- private void FocusSystemCategory() => CategoryButton(ViewModel.SystemCategory).Focus(FocusState.Keyboard);
+ private void FocusSystemCategory()
+ {
+ // The tour opens the System tab under itself: the focus stays on its card.
+ if (ViewModel.IsConsoleTourOpen) { ConsoleTourNextButton.Focus(FocusState.Keyboard); return; }
+ CategoryButton(ViewModel.SystemCategory).Focus(FocusState.Keyboard);
+ }
+
+ // ───────────── Opening ─────────────
+
+ private void OnIntroTapped(object sender, TappedRoutedEventArgs e) => ViewModel.SkipIntro();
+
+ /// Shows the opening in the style it was started with (BootIntro): one layer each, animated by Composition.
+ private void ShowIntro()
+ {
+ var style = ViewModel.IntroStyleNow;
+ IntroConsole.Visibility = style == BootIntro.ConsoleStyle ? Visibility.Visible : Visibility.Collapsed;
+ IntroX360.Visibility = style == BootIntro.Xbox360Style ? Visibility.Visible : Visibility.Collapsed;
+ IntroPs4.Visibility = style == BootIntro.Ps4Style ? Visibility.Visible : Visibility.Collapsed;
+ IntroPanel.Visibility = Visibility.Visible;
+ // Without animations, the style's background and logo just show (no flash over them, the logo drawn whole).
+ if (!Ui.AnimationsEnabled) { Visual(X360Flash).Opacity = 0f; ShowConsoleLogoWhole(); return; }
+ try
+ {
+ ElementCompositionPreview.GetElementVisual(IntroPanel).Opacity = 1f;
+ switch (style)
+ {
+ case BootIntro.Xbox360Style: ShowX360Intro(); break;
+ case BootIntro.Ps4Style: ShowPs4Intro(); break;
+ default: ShowConsoleIntro(); break;
+ }
+ }
+ catch (Exception ex)
+ {
+ AppLog.Write($"Abertura: animação: {ex.Message}");
+ }
+ }
+
+ ///
+ /// "Liga o PC": everything starts dark; the power light on the base comes on and pulses, the base shows, the screen
+ /// draws itself and flashes green, the >_ is typed and the cursor blinks, then the name.
+ ///
+ private void ShowConsoleIntro()
+ {
+ Fade(Visual(LogoPower), 0, 1, 200, 150);
+ Pulse(Visual(LogoPowerGlow), 350, 900, 2);
+ Fade(Visual(LogoBase), 0, 1, 700, 400);
+ Fade(Visual(LogoDash), 0, 1, 900, 200);
+ var draw = new Microsoft.UI.Xaml.Media.Animation.Storyboard();
+ Draw(draw, LogoScreen, 40, 900, 700);
+ Draw(draw, LogoChevron, 7.2, 1750, 300);
+ Draw(draw, LogoCursor, 3.8, 2050, 200);
+ draw.Begin();
+ // A hidden line still shows its round caps as dots: the prompt stays out of sight until it is typed.
+ Fade(Visual(LogoChevron), 0, 1, 1750, 1);
+ Fade(Visual(LogoCursorBox), 0, 1, 2050, 1);
+ var flash = Visual(LogoScreenFill);
+ var glow = flash.Compositor.CreateScalarKeyFrameAnimation();
+ glow.InsertKeyFrame(0f, 0f);
+ glow.InsertKeyFrame(0.25f, 0.35f);
+ glow.InsertKeyFrame(1f, 0f);
+ glow.DelayTime = TimeSpan.FromMilliseconds(1500);
+ glow.DelayBehavior = Microsoft.UI.Composition.AnimationDelayBehavior.SetInitialValueBeforeDelay;
+ glow.Duration = TimeSpan.FromMilliseconds(900);
+ flash.StartAnimation("Opacity", glow);
+ Blink(Visual(LogoCursor), 2300, 500, 3);
+ Fade(Visual(IntroGlow), 0, 0.55f, 1500, 800);
+ Fade(Visual(IntroName), 0, 1, 2400, 500);
+ }
+
+ /// The logo of the app's own opening as it ends: for Windows' animations off.
+ private void ShowConsoleLogoWhole()
+ {
+ LogoScreen.StrokeDashOffset = 0;
+ LogoChevron.StrokeDashOffset = 0;
+ LogoCursor.StrokeDashOffset = 0;
+ Visual(LogoScreenFill).Opacity = 0f;
+ Visual(LogoPowerGlow).Opacity = 0f;
+ }
+
+ /// Draws a line along itself: its one dash (as long as the line) slides in from the offset that hides it.
+ private static void Draw(Microsoft.UI.Xaml.Media.Animation.Storyboard storyboard, Microsoft.UI.Xaml.Shapes.Shape shape, double length, int beginMs, int ms)
+ {
+ shape.StrokeDashOffset = length;
+ var slide = new Microsoft.UI.Xaml.Media.Animation.DoubleAnimation
+ {
+ From = length,
+ To = 0,
+ BeginTime = TimeSpan.FromMilliseconds(beginMs),
+ Duration = TimeSpan.FromMilliseconds(ms),
+ EnableDependentAnimation = true,
+ EasingFunction = new Microsoft.UI.Xaml.Media.Animation.CubicEase { EasingMode = Microsoft.UI.Xaml.Media.Animation.EasingMode.EaseInOut }
+ };
+ Microsoft.UI.Xaml.Media.Animation.Storyboard.SetTarget(slide, shape);
+ Microsoft.UI.Xaml.Media.Animation.Storyboard.SetTargetProperty(slide, "StrokeDashOffset");
+ storyboard.Children.Add(slide);
+ }
+
+ /// A light that comes up and dies down, a few times (the power light).
+ private static void Pulse(Microsoft.UI.Composition.Visual visual, int delayMs, int ms, int times)
+ {
+ var pulse = visual.Compositor.CreateScalarKeyFrameAnimation();
+ pulse.InsertKeyFrame(0f, 0f);
+ pulse.InsertKeyFrame(0.5f, 1f);
+ pulse.InsertKeyFrame(1f, 0f);
+ pulse.DelayTime = TimeSpan.FromMilliseconds(delayMs);
+ pulse.DelayBehavior = Microsoft.UI.Composition.AnimationDelayBehavior.SetInitialValueBeforeDelay;
+ pulse.Duration = TimeSpan.FromMilliseconds(ms);
+ pulse.IterationBehavior = Microsoft.UI.Composition.AnimationIterationBehavior.Count;
+ pulse.IterationCount = times;
+ visual.StartAnimation("Opacity", pulse);
+ }
+
+ /// On and off like a text cursor, a few times (half a period each), ending on.
+ private static void Blink(Microsoft.UI.Composition.Visual visual, int delayMs, int periodMs, int times)
+ {
+ var compositor = visual.Compositor;
+ var linear = compositor.CreateLinearEasingFunction();
+ var blink = compositor.CreateScalarKeyFrameAnimation();
+ // Hard cuts: each change happens within a thousandth of the run.
+ blink.InsertKeyFrame(0f, 1f);
+ for (var i = 0; i < times; i++)
+ {
+ var off = (i + 0.5f) / times;
+ var on = (i + 1f) / times;
+ blink.InsertKeyFrame(off - 0.001f, 1f, linear);
+ blink.InsertKeyFrame(off, 0f, linear);
+ blink.InsertKeyFrame(on - 0.001f, 0f, linear);
+ blink.InsertKeyFrame(on, 1f, linear);
+ }
+ blink.DelayTime = TimeSpan.FromMilliseconds(delayMs);
+ blink.Duration = TimeSpan.FromMilliseconds(periodMs * times);
+ visual.StartAnimation("Opacity", blink);
+ }
+
+ ///
+ /// In the mood of the Xbox 360's: ribbons orbit and close in on a growing orb, the orb flashes white, and the logo is
+ /// there when the flash clears (dark name on the light background).
+ ///
+ private void ShowX360Intro()
+ {
+ if (X360Ribbons.Children.Count == 0) BuildX360Ribbons();
+ var (width, height) = IntroSize();
+ var ribbons = Visual(X360Ribbons);
+ ribbons.CenterPoint = new Vector3((float)width / 2, (float)height / 2, 0);
+ ScaleTo(ribbons, 1.6f, 0.12f, 0, 1700);
+ Fade(ribbons, 1, 0, 1450, 500);
+ foreach (var turn in X360Ribbons.Children.OfType())
+ {
+ var spin = Visual(turn.Children[0] as FrameworkElement ?? turn);
+ var size = (float)((FrameworkElement)turn.Children[0]).Width;
+ spin.CenterPoint = new Vector3(size / 2, size / 2, 0);
+ var rotate = spin.Compositor.CreateScalarKeyFrameAnimation();
+ var from = (float)(turn.Tag is double d ? d : 0);
+ rotate.InsertKeyFrame(0f, from);
+ rotate.InsertKeyFrame(1f, from + 540f, spin.Compositor.CreateLinearEasingFunction());
+ rotate.Duration = TimeSpan.FromMilliseconds(2000);
+ spin.StartAnimation("RotationAngleInDegrees", rotate);
+ }
+ var orb = Visual(X360Orb);
+ orb.CenterPoint = new Vector3(120, 120, 0);
+ var grow = orb.Compositor.CreateVector3KeyFrameAnimation();
+ grow.InsertKeyFrame(0f, new Vector3(0.25f, 0.25f, 1));
+ grow.InsertKeyFrame(0.55f, new Vector3(1f, 1f, 1));
+ grow.InsertKeyFrame(1f, new Vector3(5f, 5f, 1));
+ grow.Duration = TimeSpan.FromMilliseconds(2000);
+ orb.StartAnimation("Scale", grow);
+ Fade(orb, 1, 0, 1500, 600);
+ var flash = Visual(X360Flash);
+ var blink = flash.Compositor.CreateScalarKeyFrameAnimation();
+ blink.InsertKeyFrame(0f, 0f);
+ blink.InsertKeyFrame(0.45f, 0.85f);
+ blink.InsertKeyFrame(1f, 0f);
+ blink.DelayTime = TimeSpan.FromMilliseconds(1450);
+ blink.DelayBehavior = Microsoft.UI.Composition.AnimationDelayBehavior.SetInitialValueBeforeDelay;
+ blink.Duration = TimeSpan.FromMilliseconds(600);
+ flash.StartAnimation("Opacity", blink);
+ var mark = Visual(X360Mark);
+ mark.CenterPoint = new Vector3((float)X360Mark.ActualWidth / 2, (float)X360Mark.ActualHeight / 2, 0);
+ Fade(mark, 0, 1, 1750, 450);
+ ScaleTo(mark, 0.92f, 1f, 1750, 650);
+ }
+
+ /// Nine dashed circles of different sizes, green and silver, each turning inside a flattened frame.
+ private void BuildX360Ribbons()
+ {
+ for (var i = 0; i < 9; i++)
+ {
+ var size = 700 + i % 3 * 180 + i * 20;
+ var silver = i % 3 == 2;
+ var circle = new Microsoft.UI.Xaml.Shapes.Ellipse
+ {
+ Width = size,
+ Height = size,
+ Stroke = new SolidColorBrush(silver ? Windows.UI.Color.FromArgb(0x99, 0x96, 0xA0, 0xAA) : Windows.UI.Color.FromArgb(0xB3, 0x5C, 0xBE, 0x28)),
+ StrokeThickness = silver ? 4 : 9,
+ // One long arc and a short one per circle, like the ribbons.
+ StrokeDashArray = [size * 0.9 / (silver ? 4 : 9), size * 1.4 / (silver ? 4 : 9), size * 0.25 / (silver ? 4 : 9), size * 0.6 / (silver ? 4 : 9)],
+ StrokeDashCap = PenLineCap.Round
+ };
+ // The frame flattens the circle (an orbit seen from the side) and tilts it a little.
+ var frame = new Grid
+ {
+ Width = size,
+ Height = size,
+ Tag = (double)(i * 40),
+ RenderTransformOrigin = new Windows.Foundation.Point(0.5, 0.5),
+ RenderTransform = new CompositeTransform { ScaleX = 1.25, ScaleY = 0.46, Rotation = -8 + i % 4 * 5 }
+ };
+ frame.Children.Add(circle);
+ X360Ribbons.Children.Add(frame);
+ }
+ }
+
+ /// In the mood of the PS4's: waves of light drifting across a deep blue, particles rising, the logo in the light.
+ private void ShowPs4Intro()
+ {
+ var (width, height) = IntroSize();
+ if (Ps4Waves.Children.Count == 0) BuildPs4(width, height);
+ var waves = Visual(Ps4Waves);
+ var drift = waves.Compositor.CreateScalarKeyFrameAnimation();
+ drift.InsertKeyFrame(0f, 0f);
+ drift.InsertKeyFrame(1f, -(float)width, waves.Compositor.CreateLinearEasingFunction());
+ drift.Duration = TimeSpan.FromSeconds(9);
+ ElementCompositionPreview.SetIsTranslationEnabled(Ps4Waves, true);
+ waves.StartAnimation("Translation.X", drift);
+ Fade(waves, 0, 1, 0, 800);
+ ElementCompositionPreview.SetIsTranslationEnabled(Ps4Particles, true);
+ var particles = Visual(Ps4Particles);
+ var rise = particles.Compositor.CreateScalarKeyFrameAnimation();
+ rise.InsertKeyFrame(0f, 0f);
+ rise.InsertKeyFrame(1f, -(float)height * 0.25f, particles.Compositor.CreateLinearEasingFunction());
+ rise.Duration = TimeSpan.FromSeconds(4);
+ particles.StartAnimation("Translation.Y", rise);
+ Fade(particles, 0, 1, 0, 800);
+ Fade(Visual(Ps4Light), 0, 1, 600, 1000);
+ Fade(Visual(Ps4Mark), 0, 1, 900, 1000);
+ }
+
+ /// Four sine waves twice as wide as the screen (they drift left) and sixty particles.
+ private void BuildPs4(double width, double height)
+ {
+ for (var i = 0; i < 4; i++)
+ {
+ var line = new Microsoft.UI.Xaml.Shapes.Polyline
+ {
+ Stroke = new SolidColorBrush(Windows.UI.Color.FromArgb((byte)(46 + i * 13), 120, 180, 255)),
+ StrokeThickness = 1.5 + i
+ };
+ for (var x = 0.0; x <= width * 2; x += 12)
+ line.Points.Add(new Windows.Foundation.Point(x, height * (0.55 + i * 0.07) + Math.Sin(x / width * Math.PI * 2 + i) * height * 0.08));
+ Ps4Waves.Children.Add(line);
+ }
+ var random = new Random(7);
+ for (var i = 0; i < 60; i++)
+ {
+ var r = 1.2 + random.NextDouble() * 3.4;
+ var dot = new Microsoft.UI.Xaml.Shapes.Ellipse
+ {
+ Width = r,
+ Height = r,
+ Fill = new SolidColorBrush(Windows.UI.Color.FromArgb((byte)(40 + random.Next(120)), 190, 220, 255))
+ };
+ Canvas.SetLeft(dot, random.NextDouble() * width);
+ Canvas.SetTop(dot, random.NextDouble() * height * 1.3);
+ Ps4Particles.Children.Add(dot);
+ }
+ }
+
+ /// The window's size for drawing; before the first layout, the screen's.
+ private (double Width, double Height) IntroSize()
+ {
+ var width = IntroPanel.ActualWidth;
+ var height = IntroPanel.ActualHeight;
+ if (width > 0 && height > 0) return (width, height);
+ var bounds = XamlRoot?.Size ?? new Windows.Foundation.Size(1920, 1080);
+ return (Math.Max(bounds.Width, 1280), Math.Max(bounds.Height, 720));
+ }
+
+ private static Microsoft.UI.Composition.Visual Visual(UIElement element) => ElementCompositionPreview.GetElementVisual(element);
+
+ private static void Fade(Microsoft.UI.Composition.Visual visual, float from, float to, int delayMs, int ms)
+ {
+ var fade = visual.Compositor.CreateScalarKeyFrameAnimation();
+ fade.InsertKeyFrame(0f, from);
+ fade.InsertKeyFrame(1f, to);
+ fade.DelayTime = TimeSpan.FromMilliseconds(delayMs);
+ fade.DelayBehavior = Microsoft.UI.Composition.AnimationDelayBehavior.SetInitialValueBeforeDelay;
+ fade.Duration = TimeSpan.FromMilliseconds(ms);
+ visual.StartAnimation("Opacity", fade);
+ }
+
+ private static void ScaleTo(Microsoft.UI.Composition.Visual visual, float from, float to, int delayMs, int ms)
+ {
+ var compositor = visual.Compositor;
+ var scale = compositor.CreateVector3KeyFrameAnimation();
+ scale.InsertKeyFrame(0f, new Vector3(from, from, 1f));
+ scale.InsertKeyFrame(1f, new Vector3(to, to, 1f), compositor.CreateCubicBezierEasingFunction(new Vector2(0.2f, 0.8f), new Vector2(0.2f, 1f)));
+ scale.DelayTime = TimeSpan.FromMilliseconds(delayMs);
+ scale.DelayBehavior = Microsoft.UI.Composition.AnimationDelayBehavior.SetInitialValueBeforeDelay;
+ scale.Duration = TimeSpan.FromMilliseconds(ms);
+ visual.StartAnimation("Scale", scale);
+ }
+
+ /// The opening fades out over the interface, which is ready underneath (the tour too, the first time).
+ private void HideIntro()
+ {
+ if (IntroPanel.Visibility == Visibility.Collapsed) return;
+ void Done()
+ {
+ IntroPanel.Visibility = Visibility.Collapsed;
+ FocusDefault();
+ }
+ if (!Ui.AnimationsEnabled) { Done(); return; }
+ try
+ {
+ var panel = ElementCompositionPreview.GetElementVisual(IntroPanel);
+ var batch = panel.Compositor.CreateScopedBatch(Microsoft.UI.Composition.CompositionBatchTypes.Animation);
+ var fade = panel.Compositor.CreateScalarKeyFrameAnimation();
+ fade.InsertKeyFrame(0f, 1f);
+ fade.InsertKeyFrame(1f, 0f);
+ fade.Duration = TimeSpan.FromMilliseconds(380);
+ panel.StartAnimation("Opacity", fade);
+ batch.End();
+ batch.Completed += (_, _) => DispatcherQueue.TryEnqueue(Done);
+ }
+ catch (Exception ex)
+ {
+ AppLog.Write($"Abertura: animação: {ex.Message}");
+ Done();
+ }
+ }
+
+ // ───────────── First-run tour ─────────────
+
+ private const double TourHolePadding = 14;
+ private const double TourEdge = 40;
+ private const double TourGap = 28;
+
+ /// The part of the screen a tour stop is about, or null for the stops that only talk.
+ private Rect? TourTarget(ConsoleTourStop stop)
+ {
+ FrameworkElement[] parts = stop switch
+ {
+ ConsoleTourStop.Tabs => [TabBar],
+ ConsoleTourStop.Launchers => [LaunchRow],
+ // What will open, where and what changes, and the play button: the text talks about the line above it.
+ ConsoleTourStop.Play => [HomeSummary],
+ ConsoleTourStop.Screens => [ScreenCards],
+ ConsoleTourStop.QuickSettings => [QuickCards],
+ ConsoleTourStop.System => [CategoryRail],
+ ConsoleTourStop.Shortcuts => [HomeShortcutRow, ExitShortcutRow],
+ _ => []
+ };
+ Rect? area = null;
+ foreach (var part in parts)
+ {
+ if (part.ActualWidth <= 0 || part.ActualHeight <= 0) continue;
+ var bounds = part.TransformToVisual(ConsoleTourPanel).TransformBounds(new Rect(0, 0, part.ActualWidth, part.ActualHeight));
+ if (area is { } union) { union.Union(bounds); area = union; }
+ else area = bounds;
+ }
+ return area;
+ }
+
+ /// A stop came up: the page under it is laid out, so draw the hole and place the card, then focus Next.
+ private void ShowTourStop()
+ {
+ if (!ViewModel.IsConsoleTourOpen) return;
+ if (TourTargetElement(ViewModel.ConsoleTourStopNow) is { } part)
+ {
+ // The quick settings sit low on the Session page: scroll them in before measuring.
+ part.StartBringIntoView(new BringIntoViewOptions { AnimationDesired = false });
+ }
+ TabPanel(ViewModel.ConsoleTabIndex).UpdateLayout();
+ ConsoleTourPanel.UpdateLayout();
+ PlaceTour();
+ FadeInTourCard();
+ ConsoleTourNextButton.Focus(FocusState.Keyboard);
+ }
+
+ private FrameworkElement? TourTargetElement(ConsoleTourStop stop) => stop switch
+ {
+ ConsoleTourStop.QuickSettings => QuickCards,
+ ConsoleTourStop.Screens => ScreenCards,
+ ConsoleTourStop.Shortcuts => HomeShortcutRow,
+ _ => null
+ };
+
+ private void OnTourPanelSizeChanged(object sender, SizeChangedEventArgs e)
+ {
+ if (ViewModel.IsConsoleTourOpen) PlaceTour();
+ }
+
+ /// The veil with its hole, the ring around the hole and the card beside it (below, above, beside or centred).
+ private void PlaceTour()
+ {
+ var width = ConsoleTourPanel.ActualWidth;
+ var height = ConsoleTourPanel.ActualHeight;
+ if (width <= 0 || height <= 0) return;
+
+ var stop = ViewModel.ConsoleTourStopNow;
+ var target = ConsoleTour.IsCentered(stop) ? null : TourTarget(stop);
+ Rect? hole = null;
+ if (target is { } t)
+ {
+ var left = Math.Max(t.X - TourHolePadding, 8);
+ var top = Math.Max(t.Y - TourHolePadding, 8);
+ var right = Math.Min(t.X + t.Width + TourHolePadding, width - 8);
+ var bottom = Math.Min(t.Y + t.Height + TourHolePadding, height - 8);
+ if (right > left && bottom > top) hole = new Rect(left, top, right - left, bottom - top);
+ }
+
+ var veil = new GeometryGroup { FillRule = FillRule.EvenOdd };
+ veil.Children.Add(new RectangleGeometry { Rect = new Rect(0, 0, width, height) });
+ if (hole is { } h)
+ {
+ veil.Children.Add(RoundedRectangle(h, 20));
+ TourRing.Margin = new Thickness(h.X, h.Y, 0, 0);
+ TourRing.Width = h.Width;
+ TourRing.Height = h.Height;
+ TourRing.Visibility = Visibility.Visible;
+ }
+ else TourRing.Visibility = Visibility.Collapsed;
+ TourVeil.Data = veil;
+
+ var cardWidth = Math.Min(600, width - 2 * TourEdge);
+ TourCard.Width = cardWidth;
+ TourCard.Measure(new Size(cardWidth, double.PositiveInfinity));
+ // DesiredSize counts the margin, which is where the card was put last time.
+ var cardHeight = TourCard.DesiredSize.Height - TourCard.Margin.Top - TourCard.Margin.Bottom;
+ double x, y;
+ if (hole is not { } spot)
+ {
+ x = (width - cardWidth) / 2;
+ y = (height - cardHeight) / 2;
+ }
+ else if (spot.Bottom + TourGap + cardHeight <= height - TourEdge)
+ {
+ x = spot.X;
+ y = spot.Bottom + TourGap;
+ }
+ else if (spot.Y - TourGap - cardHeight >= TourEdge)
+ {
+ x = spot.X;
+ y = spot.Y - TourGap - cardHeight;
+ }
+ else if (spot.Right + TourGap + cardWidth <= width - TourEdge)
+ {
+ x = spot.Right + TourGap;
+ y = spot.Y;
+ }
+ else if (spot.X - TourGap - cardWidth >= TourEdge)
+ {
+ x = spot.X - TourGap - cardWidth;
+ y = spot.Y;
+ }
+ else
+ {
+ x = (width - cardWidth) / 2;
+ y = height - TourEdge - cardHeight;
+ }
+ x = Math.Clamp(x, TourEdge, Math.Max(TourEdge, width - cardWidth - TourEdge));
+ y = Math.Clamp(y, TourEdge, Math.Max(TourEdge, height - cardHeight - TourEdge));
+ TourCard.Margin = new Thickness(x, y, 0, 0);
+ }
+
+ private static PathGeometry RoundedRectangle(Rect r, double radius)
+ {
+ radius = Math.Min(radius, Math.Min(r.Width, r.Height) / 2);
+ var corner = new Size(radius, radius);
+ var figure = new PathFigure { StartPoint = new Point(r.X + radius, r.Y), IsClosed = true, IsFilled = true };
+ void Line(double px, double py) => figure.Segments.Add(new LineSegment { Point = new Point(px, py) });
+ void Arc(double px, double py) => figure.Segments.Add(new ArcSegment { Point = new Point(px, py), Size = corner, SweepDirection = SweepDirection.Clockwise });
+ Line(r.Right - radius, r.Y);
+ Arc(r.Right, r.Y + radius);
+ Line(r.Right, r.Bottom - radius);
+ Arc(r.Right - radius, r.Bottom);
+ Line(r.X + radius, r.Bottom);
+ Arc(r.X, r.Bottom - radius);
+ Line(r.X, r.Y + radius);
+ Arc(r.X + radius, r.Y);
+ var geometry = new PathGeometry();
+ geometry.Figures.Add(figure);
+ return geometry;
+ }
+
+ /// Each stop's card fades in where it lands. Skipped when Windows has animations turned off.
+ private void FadeInTourCard()
+ {
+ if (!Ui.AnimationsEnabled) return;
+ try
+ {
+ var visual = ElementCompositionPreview.GetElementVisual(TourCard);
+ var fade = visual.Compositor.CreateScalarKeyFrameAnimation();
+ fade.InsertKeyFrame(0f, 0f);
+ fade.InsertKeyFrame(1f, 1f);
+ fade.Duration = TimeSpan.FromMilliseconds(220);
+ visual.StartAnimation("Opacity", fade);
+ }
+ catch (Exception ex)
+ {
+ AppLog.Write($"Tour: animação: {ex.Message}");
+ }
+ }
/// Back to the option that was in use, else the first one of the category, else the category itself.
private void FocusSystemRow()
@@ -416,7 +932,8 @@ private void PickFocusedLauncher(object source)
/// Cards (not settings rows) grow when focused and shrink back when it leaves; the launchers grow more.
private static void ScaleTile(object source, float scale)
{
- if (source is not Button button) return;
+ // The screens on Session sit side by side as on the desk: growing one would cover its neighbour.
+ if (source is not Button button || button.Tag is "ScreenTile") return;
_cardStyle ??= Application.Current.Resources["ConsoleCard"] as Style;
_launchTileStyle ??= Application.Current.Resources["LaunchTileButton"] as Style;
if (ReferenceEquals(button.Style, _launchTileStyle)) scale = scale > 1f ? 1.14f : 1f;
@@ -437,6 +954,12 @@ private static void ScaleTile(object source, float scale)
private void OnKeyDown(object sender, KeyRoutedEventArgs e)
{
+ if (ViewModel.IsIntroShowing)
+ {
+ ViewModel.SkipIntro();
+ e.Handled = true;
+ return;
+ }
// The pad is read by the navigator (polling), never through these key events, or every press
// would count twice. The keyboard goes through the same navigator, so both move the same way.
if (e.Key is VirtualKey.Escape)
diff --git a/src/ConsoleMode/Views/HomeView.xaml b/src/ConsoleMode/Views/HomeView.xaml
deleted file mode 100644
index 5281633..0000000
--- a/src/ConsoleMode/Views/HomeView.xaml
+++ /dev/null
@@ -1,296 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/ConsoleMode/Views/HomeView.xaml.cs b/src/ConsoleMode/Views/HomeView.xaml.cs
deleted file mode 100644
index 0d2f089..0000000
--- a/src/ConsoleMode/Views/HomeView.xaml.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using ConsoleMode.ViewModels;
-using Microsoft.UI.Xaml.Controls;
-
-namespace ConsoleMode.Views;
-
-public sealed partial class HomeView : UserControl
-{
- public MainViewModel ViewModel { get; } = App.ViewModel!;
-
- // Controller navigation for the desktop interface lives in MainWindow (GamepadNavigator).
- public HomeView()
- {
- InitializeComponent();
- }
-}
diff --git a/src/ConsoleMode/Views/SettingsView.xaml b/src/ConsoleMode/Views/SettingsView.xaml
deleted file mode 100644
index 31f4f18..0000000
--- a/src/ConsoleMode/Views/SettingsView.xaml
+++ /dev/null
@@ -1,480 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/ConsoleMode/Views/SettingsView.xaml.cs b/src/ConsoleMode/Views/SettingsView.xaml.cs
deleted file mode 100644
index 0d5595c..0000000
--- a/src/ConsoleMode/Views/SettingsView.xaml.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using ConsoleMode.Controls;
-using ConsoleMode.Services;
-using ConsoleMode.ViewModels;
-using Microsoft.UI.Xaml.Controls;
-
-namespace ConsoleMode.Views;
-
-public sealed partial class SettingsView : UserControl
-{
- public MainViewModel ViewModel { get; } = App.ViewModel!;
-
- public SettingsView()
- {
- InitializeComponent();
- HomeShortcutCard.Content = new ShortcutPicker(ViewModel, ShortcutSlot.Home);
- MenuShortcutCard.Content = new ShortcutPicker(ViewModel, ShortcutSlot.Menu);
- ExitShortcutCard.Content = new ShortcutPicker(ViewModel, ShortcutSlot.Exit);
- }
-}
diff --git a/tests/ConsoleMode.Tests/BootIntroTests.cs b/tests/ConsoleMode.Tests/BootIntroTests.cs
new file mode 100644
index 0000000..df04260
--- /dev/null
+++ b/tests/ConsoleMode.Tests/BootIntroTests.cs
@@ -0,0 +1,83 @@
+using System.Text.Json;
+using ConsoleMode.Models;
+using ConsoleMode.Services;
+
+namespace ConsoleMode.Tests;
+
+public class BootIntroTests
+{
+ [Theory]
+ [InlineData(true, true, true)]
+ [InlineData(false, true, false)]
+ [InlineData(true, false, false)]
+ public void It_shows_only_when_on_and_the_window_opens_to_be_used(bool enabled, bool windowShown, bool expected) =>
+ Assert.Equal(expected, BootIntro.ShouldShow(enabled, windowShown));
+
+ [Theory]
+ [InlineData(true, true, true)]
+ [InlineData(true, false, false)]
+ [InlineData(false, true, false)]
+ public void The_sound_has_its_own_switch_and_only_plays_with_the_opening(bool shown, bool soundEnabled, bool expected) =>
+ Assert.Equal(expected, BootIntro.ShouldPlaySound(shown, soundEnabled));
+
+ [Theory]
+ [InlineData("console", "console")]
+ [InlineData("X360", "x360")]
+ [InlineData("ps4", "ps4")]
+ [InlineData("ps5", "console")]
+ [InlineData(null, "console")]
+ public void Unknown_styles_fall_back_to_the_apps_own(string? style, string expected) =>
+ Assert.Equal(expected, BootIntro.Normalize(style));
+
+ [Theory]
+ [InlineData(null, 0.01, "x360")]
+ [InlineData(null, 0.07, "ps4")]
+ [InlineData(null, 0.5, "console")]
+ [InlineData(null, 0.999, "console")]
+ [InlineData("", 0.01, "x360")]
+ [InlineData("console", 0.01, "console")]
+ [InlineData("ps4", 0.9, "ps4")]
+ [InlineData("x360", 0.5, "x360")]
+ public void Unpicked_it_is_the_apps_own_with_now_and_then_a_surprise_picked_it_is_always_that_one(string? chosen, double roll, string expected) =>
+ Assert.Equal(expected, BootIntro.PickForOpening(chosen, roll));
+
+ [Fact]
+ public void The_surprises_are_rare_and_split_between_the_two()
+ {
+ var picks = Enumerable.Range(0, 10000).Select(i => BootIntro.PickForOpening(null, i / 10000.0)).ToList();
+ Assert.InRange(picks.Count(p => p == BootIntro.ConsoleStyle) / 10000.0, 0.85, 0.9);
+ Assert.Equal(picks.Count(p => p == BootIntro.Xbox360Style), picks.Count(p => p == BootIntro.Ps4Style));
+ }
+
+ [Fact]
+ public void Each_style_has_its_own_sound()
+ {
+ Assert.Equal(UiSound.Boot, BootIntro.Sound(BootIntro.ConsoleStyle));
+ Assert.Equal(UiSound.BootX360, BootIntro.Sound(BootIntro.Xbox360Style));
+ Assert.Equal(UiSound.BootPs4, BootIntro.Sound(BootIntro.Ps4Style));
+ Assert.Equal(BootIntro.Styles.Count, BootIntro.Styles.Select(BootIntro.Sound).Distinct().Count());
+ }
+
+ [Fact]
+ public void A_fast_start_still_shows_each_style_until_its_logo_has_landed()
+ {
+ foreach (var style in BootIntro.Styles)
+ {
+ var minimum = BootIntro.MinimumShown(style);
+ Assert.Equal(minimum, BootIntro.StillToShow(TimeSpan.Zero, style));
+ Assert.Equal(TimeSpan.FromMilliseconds(800), BootIntro.StillToShow(minimum - TimeSpan.FromMilliseconds(800), style));
+ Assert.Equal(TimeSpan.Zero, BootIntro.StillToShow(TimeSpan.FromSeconds(5), style));
+ Assert.True(BootIntro.LongestShown > minimum);
+ }
+ }
+
+ [Fact]
+ public void Existing_configs_get_the_opening_its_sound_and_the_surprises()
+ {
+ var config = JsonSerializer.Deserialize("{}")!;
+ Assert.True(config.IntroAnimation);
+ Assert.True(config.IntroSound);
+ Assert.Null(config.IntroStyle);
+ Assert.Equal(BootIntro.ConsoleStyle, BootIntro.Normalize(config.IntroStyle));
+ }
+}
diff --git a/tests/ConsoleMode.Tests/ConsoleMode.Tests.csproj b/tests/ConsoleMode.Tests/ConsoleMode.Tests.csproj
index 87f3b79..2fdb2c3 100644
--- a/tests/ConsoleMode.Tests/ConsoleMode.Tests.csproj
+++ b/tests/ConsoleMode.Tests/ConsoleMode.Tests.csproj
@@ -25,7 +25,7 @@
-
+
@@ -35,6 +35,8 @@
+
+
diff --git a/tests/ConsoleMode.Tests/ConsoleTourTests.cs b/tests/ConsoleMode.Tests/ConsoleTourTests.cs
new file mode 100644
index 0000000..4b995f0
--- /dev/null
+++ b/tests/ConsoleMode.Tests/ConsoleTourTests.cs
@@ -0,0 +1,95 @@
+using System.Text.Json;
+using System.Text.RegularExpressions;
+using ConsoleMode.Models;
+using ConsoleMode.Services;
+
+namespace ConsoleMode.Tests;
+
+public class ConsoleTourTests
+{
+ [Fact]
+ public void The_tour_opens_with_a_welcome_and_closes_with_the_way_back_to_it()
+ {
+ Assert.Equal(ConsoleTourStop.Welcome, ConsoleTour.Stops[0]);
+ Assert.Equal(ConsoleTourStop.Done, ConsoleTour.Stops[^1]);
+ Assert.True(ConsoleTour.IsCentered(ConsoleTourStop.Welcome));
+ Assert.True(ConsoleTour.IsCentered(ConsoleTourStop.Done));
+ Assert.All(ConsoleTour.Stops.Skip(1).SkipLast(1), stop => Assert.False(ConsoleTour.IsCentered(stop)));
+ }
+
+ [Fact]
+ public void It_walks_the_tabs_left_to_right_and_ends_back_on_home()
+ {
+ var tabs = ConsoleTour.Stops.SkipLast(1).Select(ConsoleTour.Tab).ToList();
+ Assert.Equal(tabs.Order(), tabs);
+ Assert.Equal([0, 1, 2], tabs.Distinct());
+ Assert.Equal(0, ConsoleTour.Tab(ConsoleTourStop.Done));
+ }
+
+ [Fact]
+ public void The_shortcuts_stop_opens_the_controller_category()
+ {
+ Assert.Equal(2, ConsoleTour.Tab(ConsoleTourStop.Shortcuts));
+ Assert.Equal(2, ConsoleTour.SystemCategory(ConsoleTourStop.Shortcuts));
+ Assert.Equal(0, ConsoleTour.SystemCategory(ConsoleTourStop.System));
+ Assert.Null(ConsoleTour.SystemCategory(ConsoleTourStop.Play));
+ }
+
+ [Theory]
+ [InlineData(false, false, true)]
+ [InlineData(true, false, false)]
+ [InlineData(false, true, false)]
+ public void It_is_offered_until_finished_and_never_over_a_session(bool tourDone, bool sessionActive, bool expected) =>
+ Assert.Equal(expected, ConsoleTour.ShouldOffer(tourDone, sessionActive));
+
+ [Fact]
+ public void Next_and_back_stop_at_both_ends()
+ {
+ Assert.Equal(1, ConsoleTour.Step(0, 1));
+ Assert.Null(ConsoleTour.Step(0, -1));
+ Assert.Equal(ConsoleTour.Stops.Count - 2, ConsoleTour.Step(ConsoleTour.Stops.Count - 1, -1));
+ Assert.Null(ConsoleTour.Step(ConsoleTour.Stops.Count - 1, 1));
+ }
+
+ [Fact]
+ public void Every_stop_has_its_texts_in_every_catalog_with_the_hints_it_is_given()
+ {
+ // How many {n} the view model fills in for each stop (MainViewModel.ConsoleTourArgs).
+ var arguments = new Dictionary
+ {
+ [ConsoleTourStop.Tabs] = 2,
+ [ConsoleTourStop.Play] = 2,
+ [ConsoleTourStop.Screens] = 1,
+ [ConsoleTourStop.System] = 1,
+ [ConsoleTourStop.Done] = 2
+ };
+ try
+ {
+ foreach (var language in LocalizationService.SupportedLanguages)
+ {
+ LocalizationService.SetLanguage(language.Code);
+ var keys = LocalizationService.GetKeys(language.Code).ToHashSet();
+ foreach (var stop in ConsoleTour.Stops)
+ {
+ Assert.Contains(ConsoleTour.TitleKey(stop), keys);
+ Assert.Contains(ConsoleTour.BodyKey(stop), keys);
+ var body = LocalizationService.Get(ConsoleTour.BodyKey(stop));
+ var placeholders = Regex.Matches(body, @"\{\d+\}").Select(m => m.Value).Distinct().Count();
+ Assert.True(placeholders == arguments.GetValueOrDefault(stop), $"{language.Code} {stop}: {placeholders} placeholders");
+ }
+ Assert.Contains("ConsoleTourFinish", keys);
+ }
+ }
+ finally
+ {
+ LocalizationService.SetLanguage(LocalizationService.PortugueseBrazil);
+ }
+ }
+
+ [Fact]
+ public void Everyone_sees_the_new_tour_once_even_after_the_old_one()
+ {
+ var config = JsonSerializer.Deserialize("""{"TourDone":true,"UiMode":"desktop"}""")!;
+ Assert.False(config.ConsoleTourDone);
+ }
+}
diff --git a/tests/ConsoleMode.Tests/LocalizationTests.cs b/tests/ConsoleMode.Tests/LocalizationTests.cs
index bb83a38..c3a8305 100644
--- a/tests/ConsoleMode.Tests/LocalizationTests.cs
+++ b/tests/ConsoleMode.Tests/LocalizationTests.cs
@@ -13,7 +13,7 @@ public sealed class LocalizationTests
public void Embedded_catalogs_support_en_us_and_pt_br_with_matching_keys()
{
LocalizationService.SetLanguage(LocalizationService.PortugueseBrazil);
- Assert.Equal("Onde você vai jogar?", LocalizationService.Get("HomeHeading"));
+ Assert.Equal("Escolha a tela onde você quer jogar.", LocalizationService.Get("ChooseGameScreen"));
// Every catalog must carry exactly the English key set: no silent fallbacks in a translation.
var englishKeys = LocalizationService.GetKeys(LocalizationService.EnglishUnitedStates).Order().ToList();
@@ -26,9 +26,9 @@ public void Embedded_catalogs_support_en_us_and_pt_br_with_matching_keys()
try
{
LocalizationService.SetLanguage(LocalizationService.EnglishUnitedStates);
- Assert.Equal("Where do you want to play?", LocalizationService.Get("HomeHeading"));
+ Assert.Equal("Choose the display you want to play on.", LocalizationService.Get("ChooseGameScreen"));
Assert.Equal("Returning to normal in 15 sec", LocalizationService.Get("Countdown", 15));
- Assert.Contains(nameof(LocalizedStrings.HomeHeading), changedProperties);
+ Assert.Contains(nameof(LocalizedStrings.TabHome), changedProperties);
}
finally
{
@@ -41,10 +41,10 @@ public void Embedded_catalogs_support_en_us_and_pt_br_with_matching_keys()
Assert.Equal(LocalizationService.EnglishUnitedStates, LocalizationService.Language);
LocalizationService.SetLanguage("es-MX");
Assert.Equal(LocalizationService.SpanishSpain, LocalizationService.Language);
- Assert.Equal("¿Dónde vas a jugar?", LocalizationService.Get("HomeHeading"));
+ Assert.Equal("Elige la pantalla en la que quieres jugar.", LocalizationService.Get("ChooseGameScreen"));
LocalizationService.SetLanguage("de-AT");
Assert.Equal(LocalizationService.GermanGermany, LocalizationService.Language);
- Assert.Equal("Wo möchtest du spielen?", LocalizationService.Get("HomeHeading"));
+ Assert.Equal("Wähle den Bildschirm aus, auf dem du spielen möchtest.", LocalizationService.Get("ChooseGameScreen"));
LocalizationService.SetLanguage(LocalizationService.PortugueseBrazil);
}
diff --git a/tests/ConsoleMode.Tests/OptionCycleTests.cs b/tests/ConsoleMode.Tests/OptionCycleTests.cs
new file mode 100644
index 0000000..d1649e8
--- /dev/null
+++ b/tests/ConsoleMode.Tests/OptionCycleTests.cs
@@ -0,0 +1,16 @@
+using ConsoleMode.Services;
+
+namespace ConsoleMode.Tests;
+
+public class OptionCycleTests
+{
+ [Theory]
+ [InlineData(3, 0, 1, 1)]
+ [InlineData(3, 2, 1, 0)]
+ [InlineData(3, 0, -1, 2)]
+ [InlineData(3, -1, 1, 0)]
+ [InlineData(3, -1, -1, 2)]
+ [InlineData(0, 0, 1, -1)]
+ public void Cycle_WrapsAround(int count, int current, int step, int expected) =>
+ Assert.Equal(expected, OptionCycle.Cycle(count, current, step));
+}
diff --git a/tests/ConsoleMode.Tests/UiModeResolverTests.cs b/tests/ConsoleMode.Tests/UiModeResolverTests.cs
deleted file mode 100644
index 526bd1a..0000000
--- a/tests/ConsoleMode.Tests/UiModeResolverTests.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using ConsoleMode.Services;
-
-namespace ConsoleMode.Tests;
-
-public class UiModeResolverTests
-{
- [Theory]
- [InlineData("console", false, false, true)]
- [InlineData("desktop", true, true, false)]
- [InlineData("auto", false, false, false)]
- [InlineData("auto", true, false, true)]
- [InlineData("auto", false, true, true)]
- [InlineData(null, true, false, true)]
- [InlineData("whatever", false, false, false)]
- public void IsConsole_FollowsTheChoiceThenTheController(string? mode, bool controller, bool launchedByController, bool expected) =>
- Assert.Equal(expected, UiModeResolver.IsConsole(mode, controller, launchedByController));
-
- [Theory]
- [InlineData(3, 0, 1, 1)]
- [InlineData(3, 2, 1, 0)]
- [InlineData(3, 0, -1, 2)]
- [InlineData(3, -1, 1, 0)]
- [InlineData(3, -1, -1, 2)]
- [InlineData(0, 0, 1, -1)]
- public void Cycle_WrapsAround(int count, int current, int step, int expected) =>
- Assert.Equal(expected, UiModeResolver.Cycle(count, current, step));
-}
diff --git a/tests/ConsoleMode.Tests/UiSoundSynthTests.cs b/tests/ConsoleMode.Tests/UiSoundSynthTests.cs
index 2753f42..0d54cf0 100644
--- a/tests/ConsoleMode.Tests/UiSoundSynthTests.cs
+++ b/tests/ConsoleMode.Tests/UiSoundSynthTests.cs
@@ -29,7 +29,8 @@ public void Sounds_are_short_quiet_and_not_silent(UiSound sound)
{
var samples = UiSoundSynth.Samples(sound);
var seconds = (double)samples.Length / UiSoundSynth.SampleRate;
- Assert.InRange(seconds, 0.03, 0.25);
+ // The opening plays once, under the logo; the menu sounds play on every press.
+ Assert.InRange(seconds, 0.03, sound is UiSound.Boot or UiSound.BootX360 or UiSound.BootPs4 ? 1.0 : 0.25);
var peak = samples.Max(Math.Abs);
Assert.InRange(peak, 0.05, 0.5); // audible, but never loud over a TV
}