diff --git a/.github/scripts/fork-sync.sh b/.github/scripts/fork-sync.sh new file mode 100755 index 00000000..579626c2 --- /dev/null +++ b/.github/scripts/fork-sync.sh @@ -0,0 +1,85 @@ +#!/usr/bin/env bash +# Decides whether a sync PR (branch sync/vX, opened by the dojo's keeper agent) can be merged without +# a person, and if so merges it and starts the release. Clean means: +# - the CI passed on the PR's latest commit; +# - the upstream tag merges into main without conflicts (git merge-tree); +# - what the agent changed on top of that clean merge stays inside ALLOWED_FILES, or inside +# LINE_RULES files on lines matching their regex (versions, translation entries). +# Anything else gets the needs-review label and a comment, and waits for the owner. +# Configured by the calling workflow: UPSTREAM, ALLOWED_FILES, LINE_RULES, VERSION_FILE, +# VERSION_PATTERN, RELEASE_WORKFLOW, RELEASE_INPUTS, plus BRANCH, HEAD_SHA, CONCLUSION. +set -euo pipefail + +tag=${BRANCH#sync/} +pr=$(gh pr list --head "$BRANCH" --state open --json number,headRefOid,labels \ + --jq '.[0] | select(.) | "\(.number) \(.headRefOid) \([.labels[].name] | join(","))"') +if [[ -z $pr ]]; then + echo "No open PR for $BRANCH." + exit 0 +fi +read -r num head labels <<<"$pr" +if [[ ,$labels, == *,needs-review,* ]]; then + echo "PR #$num is waiting for a review: nothing to do." + exit 0 +fi +if [[ $head != "$HEAD_SHA" ]]; then + echo "The CI ran on $HEAD_SHA, the PR is at $head: the next CI run decides." + exit 0 +fi +if [[ $CONCLUSION != success ]]; then + echo "CI $CONCLUSION on PR #$num: the agent or the owner fixes it, the next green run decides." + exit 0 +fi + +review() { + gh label create needs-review --color D93F0B --description "Sync PR that needs a person" 2>/dev/null || true + gh pr edit "$num" --add-label needs-review + gh pr comment "$num" --body "Fork sync: not merged automatically. $1" + echo "$1" + exit 0 +} + +git fetch -q origin main "$BRANCH" +git fetch -q --no-tags "https://github.com/$UPSTREAM.git" "refs/tags/$tag:refs/tags/$tag" +head_ref=origin/$BRANCH + +git merge-base --is-ancestor "$tag" "$head_ref" || review "The branch does not contain upstream \`$tag\`." +if ! git merge-base --is-ancestor origin/main "$head_ref"; then + gh pr comment "$num" --body "Fork sync: \`main\` moved after this branch was created. Merge \`main\` into it; the next green CI decides." + exit 0 +fi +if ! out=$(git merge-tree --write-tree origin/main "$tag"); then + review "Upstream \`$tag\` conflicts with \`main\`: the agent resolved code by hand." +fi +clean=$(head -1 <<<"$out") + +declare -A rules=() +while IFS= read -r line; do + [[ -n $line ]] || continue + rules[${line%% :: *}]=${line#* :: } +done <<<"$LINE_RULES" + +while IFS= read -r file; do + [[ -n $file ]] || continue + if grep -qxF -- "$file" <<<"$ALLOWED_FILES"; then + continue + fi + if [[ -n ${rules[$file]:-} ]]; then + other=$(git diff -U0 "$clean" "$head_ref" -- "$file" | grep -E '^[+-]' | grep -Ev '^(\+\+\+|---) ' | cut -c2- | + grep -Evx -- "${rules[$file]}" || true) + [[ -z $other ]] || review "\`$file\` changes lines other than the allowed ones:"$'\n\n```\n'"$other"$'\n```' + continue + fi + review "\`$file\` is not among the files the agent may change on its own." +done < <(git diff --name-only "$clean" "$head_ref") + +gh pr merge "$num" --merge --match-head-commit "$HEAD_SHA" +git fetch -q origin main +version=$(git show "origin/main:$VERSION_FILE" | perl -ne 'if (/$ENV{VERSION_PATTERN}/) { print $1; exit }') +[[ -n $version ]] || { echo "Version not found in $VERSION_FILE" >&2; exit 1; } +args=() +while IFS= read -r input; do + [[ -n $input ]] && args+=(-f "${input//\{version\}/$version}") +done <<<"$RELEASE_INPUTS" +gh workflow run "$RELEASE_WORKFLOW" --ref main "${args[@]}" +echo "Merged PR #$num and started the $version release." diff --git a/.github/workflows/fork-sync.yml b/.github/workflows/fork-sync.yml new file mode 100644 index 00000000..12281955 --- /dev/null +++ b/.github/workflows/fork-sync.yml @@ -0,0 +1,56 @@ +name: Fork sync + +# This repo is a fork of lippdev/consolemode (see FORK.md). The dojo's keeper agent opens a PR from +# sync/vX when upstream publishes vX. When the CI of that PR finishes, this decides with fixed rules, +# no AI: a clean sync is merged and released (Release workflow, "publish" ticked); anything else +# gets the needs-review label and waits for the owner. The rules live in .github/scripts/fork-sync.sh. +on: + workflow_run: + workflows: [CI] + types: [completed] + +permissions: + contents: write + pull-requests: write + # Starts the Release workflow. + actions: write + +concurrency: + group: fork-sync + cancel-in-progress: false + +jobs: + merge: + if: github.event.workflow_run.event == 'pull_request' && startsWith(github.event.workflow_run.head_branch, 'sync/v') + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + ref: main + fetch-depth: 0 + + - name: Merge and release a clean sync + env: + GH_TOKEN: ${{ github.token }} + BRANCH: ${{ github.event.workflow_run.head_branch }} + HEAD_SHA: ${{ github.event.workflow_run.head_sha }} + CONCLUSION: ${{ github.event.workflow_run.conclusion }} + UPSTREAM: lippdev/consolemode + # What the agent may change on top of the clean merge: the Italian catalog and docs, and the + # changelogs the release reads its notes from. + ALLOWED_FILES: | + src/ConsoleMode/Resources/Strings.it-IT.json + README.it-IT.md + CHANGELOG.md + CHANGELOG.en-US.md + # file :: regex every changed line of that file must match (whole line). + LINE_RULES: | + src/ConsoleMode/ConsoleMode.csproj :: \s*<(Version|AssemblyVersion|FileVersion|InformationalVersion)>[0-9.]+\s* + VERSION_FILE: src/ConsoleMode/ConsoleMode.csproj + VERSION_PATTERN: ([^<]+) + RELEASE_WORKFLOW: release.yml + RELEASE_INPUTS: | + version={version} + publish=true + run: .github/scripts/fork-sync.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55d834a0..b6095659 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -241,7 +241,7 @@ jobs: "" "---" "" - "🇧🇷 Notas em português: [CHANGELOG.md](https://github.com/lippdev/consolemode/blob/$tag/CHANGELOG.md)" + "🇧🇷 Notas em português: [CHANGELOG.md](https://github.com/1r0n51uv/consolemode/blob/$tag/CHANGELOG.md)" ) if ($summaries.Count -gt 0) { $releaseNotes += @("") + $summaries } $releaseNotes = $releaseNotes -join "`n" diff --git a/AGENTS.md b/AGENTS.md index b7bad2e9..d05e5053 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -33,14 +33,13 @@ Xbox mode, and restores the desk setup afterwards. ## Conventions - **Every user-facing string** goes in every catalog in `src/ConsoleMode/Resources/` - (`Strings.pt-BR.json`, `en-US`, `es-ES`, `de-DE`, `fr-FR`, `ru-RU`), translated. + (`Strings.pt-BR.json`, `en-US`, `it-IT`), translated. The localization tests fail when keys or `{0}` placeholders don't match, or when a sentence is left in English. - **Changelog**: add user-visible changes under `## [Unreleased]` in both `CHANGELOG.md` (Portuguese) and `CHANGELOG.en-US.md`, ending the item with the PR number. - **Docs come in pairs**: `README.md` / `README.pt-BR.md`, `docs/GUIDE.md` / `docs/GUIDE.pt-BR.md`. - The `README..md` and `docs/GUIDE..md` translations (es-ES, de-DE, fr-FR, ru-RU) are leaner - (no version numbers, "What's new" or roadmap): update them too when you change a section they carry. + `README.it-IT.md` is leaner (no version numbers, "What's new" or roadmap): update it too when you change a section it carries. Adding a language: follow `docs/TRANSLATING.md`. - **Commits and PR titles**: Conventional Commits in English (`fix: …`, `feat: …`, `docs: …`), one topic per PR. `AppLog` messages are written in Portuguese, like the existing ones. diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index c67e9bbe..001c2b70 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -3,6 +3,12 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Before publishing a version, add a `## [VERSION]` section to **both** files: the workflow publishes the section matching the tag from each one and fails if either is missing. ## [Unreleased] +### Changes +- Lean edition: removed TV control (Google TV / Android TV), the FPS limit and counter (RTSS), per-game profiles, the local control API and `consolemode://` links, DDC/CI panel power-off, and the Spanish, German, French and Russian languages. + +## [1.7.2] +### What's new +- Italian language: the app and the installer are now available in Italian. ## [1.7.1] ### What's new diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e5350b9..fab579f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CHANGELOG.en-US.md`. Antes de publicar uma versão, adicione uma seção `## [VERSÃO]` com o changelog daquela versão **nos dois arquivos**. O workflow publica as duas seções correspondentes à tag na mesma release e falha se faltar alguma. ## [Unreleased] +### Mudanças +- Edição enxuta: removidos o controle da TV (Google TV / Android TV), o limite e o contador de FPS (RTSS), os perfis por jogo, a API de controle local e os links `consolemode://`, o desligar por DDC/CI e os idiomas espanhol, alemão, francês e russo. + +## [1.7.2] +### Novidades +- Idioma italiano: o app e o instalador agora estão disponíveis em italiano. ## [1.7.1] ### Novidades diff --git a/FORK.md b/FORK.md new file mode 100644 index 00000000..53b7945c --- /dev/null +++ b/FORK.md @@ -0,0 +1,42 @@ +# Fork notes + +This is a fork of [lippdev/consolemode](https://github.com/lippdev/consolemode). The dojo's +`keeper` agent (see `1r0n51uv/ron1n-dojo`, FLOW-013) reads this file every time upstream publishes a +release, merges it here and opens a PR from `sync/vX`. Keep it current: it is what the agent knows +about what we changed. + +## Lean edition (branch `alt/lean`) + +This branch deliberately diverges from upstream and is **not** part of the keeper's sync flow. It removes +TV control, RTSS (FPS limit and counter), per-game profiles, the local control API, `consolemode://` links, +DDC/CI power-off and the es/de/fr/ru catalogs, and is meant to be redesigned further. Merging upstream into it +will conflict heavily; do it by hand, not with the keeper. + +## What we changed + +- **Italian**: `src/ConsoleMode/Resources/Strings.it-IT.json` (a catalog with every key of + `Strings.en-US.json`), its wiring (`ConsoleMode.csproj`, `Tests.csproj`, `LocalizationService.cs`, + `LocalizationTests.cs`, `build/ConsoleMode.iss`), `README.it-IT.md`, the language line of the other + READMEs, `docs/TESTING.md` and `docs/TRANSLATING.md`. +- **Updates and links point at the fork**: `UpdateService.Repository`, the changelog link in + `release.yml`, the installer URLs in `build/ConsoleMode.iss`. Never take upstream's value here. +- **Fork automation**: `.github/workflows/fork-sync.yml`, `.github/scripts/fork-sync.sh`, this file. + `winget.yml`/`release.yml`'s winget job stay off (no `WINGET_TOKEN`). + +## Rules for a sync + +1. Branch `sync/v` from `main`, then merge the upstream **tag** (`git merge v`), + never a squash: the history must keep upstream's commits. +2. On a conflict, keep upstream's code and re-apply our changes above on top. +3. Every key upstream added to `Strings.en-US.json` goes into `Strings.it-IT.json`, translated + (the localization tests fail on a missing key, a wrong `{0}` or an untranslated sentence). Run + `dotnet test tests/ConsoleMode.Tests/ConsoleMode.Tests.csproj` (in a `mcr.microsoft.com/dotnet/sdk:8.0` + container when `dotnet` is missing). +4. **Version**: the fork's version is the higher of upstream's and ours; if ours is higher or equal, + ours +1 patch. Set it in `src/ConsoleMode/ConsoleMode.csproj`: `Version`, `AssemblyVersion`, + `FileVersion` and `InformationalVersion`. +5. **Changelog**: a `## []` section in **both** `CHANGELOG.md` (Portuguese) and + `CHANGELOG.en-US.md`; the release fails without them. Keep upstream's sections, add ours on top. +6. Anything beyond the Italian catalog, `README.it-IT.md`, the changelogs and the version lines + makes the PR "not clean": it waits for the owner (`needs-review`). +7. Never push to `main`, never merge: `fork-sync.yml` decides, with fixed rules, after the CI is green. diff --git a/README.de-DE.md b/README.de-DE.md deleted file mode 100644 index d788c793..00000000 --- a/README.de-DE.md +++ /dev/null @@ -1,67 +0,0 @@ -# Console Mode - -Mach deinen Windows-PC mit einem Klick zur **Spielkonsole**: Der Fernseher wird zum Hauptbildschirm, die anderen Bildschirme gehen aus, der Ton wechselt und deine Spieleoberfläche startet. Beende das Spiel und dein Schreibtisch-Setup kommt von selbst zurück. - -[English](README.md) · [Português (Brasil)](README.pt-BR.md) · [Español](README.es-ES.md) · Deutsch · [Français](README.fr-FR.md) · [Русский](README.ru-RU.md) - -![Windows](https://img.shields.io/badge/Windows-10%2F11-blue) -![Version](https://img.shields.io/github/v/release/lippdev/consolemode?label=Version&color=brightgreen) -![License](https://img.shields.io/github/license/lippdev/consolemode) - -https://github.com/user-attachments/assets/9f244c06-76e5-4ccb-ab66-e637eae900ec - -## Download - -Hol dir die neueste stabile Version unter **[Releases](https://github.com/lippdev/consolemode/releases/latest)**: - -- **`ConsoleMode-Setup-x64.exe`** (empfohlen): Installation pro Benutzer, ohne Administratorrechte, aktualisiert sich selbst. -- **`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 System → App „Testversionen erhalten (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. - -## So funktioniert es - -1. Öffne die App und wähle den Bildschirm, auf dem du spielst. Die anderen gehen aus. -2. Drücke **Jetzt spielen** oder nutze die Desktop-Verknüpfung mit einem Klick. Beim ersten Mal auf einem neuen Bildschirm fragt der Fernseher „Kannst du diesen Bildschirm sehen?“ und setzt alles von selbst zurück, wenn niemand antwortet. -3. Beende Big Picture oder Playnite und alles kehrt zurück: Bildschirme, Ton, Auflösung. - -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 Tour beim ersten Öffnen zeigt dir, wo du sie festlegst (System → Controller). Keine Taste kann zwei Aktionen auslösen. - -| Controller-Tastenkombination | Funktion | Vorschlag | -|---|---|---| -| Deine Kombination zum **Öffnen** halten | Konsolenmodus aus dem Infobereich starten | **Home** (Xbox / PS) | -| Deine Kombination für das **Menü** halten | Menü über dem Spiel: geöffnete Fenster, Dateimanager, Lautstärke, Auflösung, Audio, FPS, HDR, Beenden | **Select + Y** (Create + △) | -| Deine Kombination für **Zurück zum PC** halten | Zurück zum PC | **Start + Select** (Options + Create) | - -## Funktionen - -- Andere Bildschirme ausblenden durch **Trennen**, **schwarze Bildschirme** oder **DDC/CI**, alles mit den Windows-eigenen APIs: Es werden keine Bildschirm- oder Audio-Tools von Drittanbietern mitgeliefert -- **Auflösung und Bildwiederholrate** pro Bildschirm, **HDR**, **VRR** und eine **FPS-Begrenzung** (RTSS) während du spielst -- **FPS-Anzeige** über dem Spiel (RTSS) als Kachel in drei Größen: Nur FPS, Kompakt (CPU-, GPU- und RAM-Auslastung), Detailliert (Taktraten, GPU-Temperatur und Speicher) oder dein eigenes Layout -- Der Ton geht an den Fernseher (oder einen beliebigen Ausgang) und kommt danach zurück -- [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 bei der Rückkehr zum PC einen Befehl ausführen, bevor er in den Standby wechselt -- Blendet auf Wunsch die **Desktopsymbole** während der Sitzung aus und stellt bei der Rückkehr zum PC ihre vorherige Sichtbarkeit wieder her -- 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 -- 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 - -Was in jeder Version neu ist, steht im [CHANGELOG.en-US.md](CHANGELOG.en-US.md) (auf Englisch). - -## Mehr - -- [Anleitung](docs/GUIDE.de-DE.md): Modi und Wiederherstellung, Steuerungs-API, HDR/VRR/FPS, Fehlerbehebung -- **Feedback:** die Schaltfläche „Feedback senden“ neben den Einstellungen in der App oder [dieses Formular](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). Ein ⭐ hilft anderen Sofa-Spielern, das Projekt zu finden. -- Die Releases sind noch nicht code-signiert, daher warnen Windows SmartScreen oder ein Virenscanner eventuell beim Download; der Quellcode liegt komplett hier. -- **Beim Übersetzen helfen:** siehe [docs/TRANSLATING.md](docs/TRANSLATING.md). -- Die deutsche Oberfläche wurde von [u/Skinner99](https://www.reddit.com/user/Skinner99/) auf Reddit übersetzt. - -[Nur GNU Affero General Public License v3.0](LICENSE) · [Hinweise zu Drittanbietern](THIRD_PARTY_NOTICES.md) · [Richtlinie zur Codesignierung](docs/CODE_SIGNING.md) - -*Diese Seite ist eine Übersetzung des englischen README. Wenn etwas abweicht, gilt die englische Version als aktuell.* diff --git a/README.es-ES.md b/README.es-ES.md deleted file mode 100644 index 2d079cb0..00000000 --- a/README.es-ES.md +++ /dev/null @@ -1,66 +0,0 @@ -# Console Mode - -Convierte tu PC con Windows en una **consola** con un clic: enfoca la TV, apaga las demás pantallas, cambia el audio y abre la interfaz de tus juegos. Al salir del juego, tu escritorio vuelve solo. - -[English](README.md) · [Português (Brasil)](README.pt-BR.md) · Español · [Deutsch](README.de-DE.md) · [Français](README.fr-FR.md) · [Русский](README.ru-RU.md) - -![Windows](https://img.shields.io/badge/Windows-10%2F11-blue) -![Versión](https://img.shields.io/github/v/release/lippdev/consolemode?label=versi%C3%B3n&color=brightgreen) -![Licencia](https://img.shields.io/github/license/lippdev/consolemode) - -https://github.com/user-attachments/assets/9f244c06-76e5-4ccb-ab66-e637eae900ec - -## Descarga - -Descarga la última versión estable desde **[la página de releases](https://github.com/lippdev/consolemode/releases/latest)**: - -- **`ConsoleMode-Setup-x64.exe`** (recomendado): instalación por usuario, sin permisos de administrador, se actualiza sola. -- **`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 Sistema → Aplicación → "Recibir versiones de prueba (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. - -## Cómo funciona - -1. Abre la aplicación y elige la pantalla en la que juegas. Las demás se apagan. -2. Pulsa **Jugar ahora**, o usa el acceso directo de un clic del escritorio. La primera vez en una pantalla nueva, la TV pregunta "¿Ves esta pantalla?" y, si nadie responde, todo vuelve atrás solo. -3. Sal de Big Picture o de Playnite y todo vuelve a su sitio: pantallas, audio y resolución. - -¿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, 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 | -|---|---|---| -| Mantén tu atajo para **abrir** | Entra en el modo consola desde la bandeja | **Home** (Xbox / PS) | -| Mantén tu atajo del **menú** | Menú sobre el juego: ventanas abiertas, explorador de archivos, volumen, resolución, audio, FPS, HDR, salir | **Select + Y** (Create + △) | -| Mantén tu atajo para **volver al PC** | Volver al PC | **Start + Select** (Options + Create) | - -## Funciones - -- Oculta las demás pantallas **desconectándolas**, con **pantallas negras** o por **DDC/CI**, todo con las propias API de Windows: no se incluye ninguna herramienta de terceros de pantalla o audio -- **Resolución y frecuencia de actualización** por pantalla, **HDR**, **VRR** y **límite de FPS** (RTSS) mientras juegas -- **Contador de FPS** sobre el juego (RTSS) en una tarjeta de tres tamaños: solo FPS, compacto (uso de CPU, GPU y RAM), detallado (relojes, temperatura y memoria de la GPU) o tu propia disposición -- El audio va a la TV (o a cualquier salida) y vuelve después -- [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 ejecutar un comando antes de ponerla en reposo al volver al PC -- Oculta los **iconos del escritorio** durante la sesión si activas la opción y recupera su visibilidad anterior al volver al PC -- 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) -- 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 - -Las novedades de cada versión están en el [CHANGELOG.en-US.md](CHANGELOG.en-US.md) (en inglés). - -## Más - -- [Guía](docs/GUIDE.es-ES.md): modos y restauración, API de control, HDR/VRR/FPS, solución de problemas -- **Comentarios:** el botón junto a Ajustes en la aplicación, o [este formulario](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). Una ⭐ ayuda a que otros jugadores de sofá encuentren el proyecto. -- Las versiones todavía no están firmadas digitalmente, así que Windows SmartScreen o un antivirus pueden avisar al descargarlas; todo el código fuente está aquí. -- ¿Quieres ayudar a traducir? Consulta [docs/TRANSLATING.md](docs/TRANSLATING.md). - -[GNU Affero General Public License v3.0 only](LICENSE) · [Avisos de terceros](THIRD_PARTY_NOTICES.md) · [Política de firma de código](docs/CODE_SIGNING.md) - -*Esta página es una traducción del README en inglés. Si algo no coincide, la versión en inglés es la vigente.* diff --git a/README.fr-FR.md b/README.fr-FR.md deleted file mode 100644 index edff1d78..00000000 --- a/README.fr-FR.md +++ /dev/null @@ -1,66 +0,0 @@ -# Console Mode - -Transformez votre PC Windows en **console de jeu** en un clic : la TV passe au premier plan, les autres écrans s'éteignent, le son bascule et votre interface de jeu se lance. Quittez le jeu et votre bureau revient tout seul. - -[English](README.md) · [Português (Brasil)](README.pt-BR.md) · [Español](README.es-ES.md) · [Deutsch](README.de-DE.md) · Français · [Русский](README.ru-RU.md) - -![Windows](https://img.shields.io/badge/Windows-10%2F11-blue) -![Version](https://img.shields.io/github/v/release/lippdev/consolemode?label=version&color=brightgreen) -![License](https://img.shields.io/github/license/lippdev/consolemode) - -https://github.com/user-attachments/assets/9f244c06-76e5-4ccb-ab66-e637eae900ec - -## Téléchargement - -Récupérez la dernière version stable sur **[la page des versions](https://github.com/lippdev/consolemode/releases/latest)** : - -- **`ConsoleMode-Setup-x64.exe`** (recommandé) : installation par utilisateur, sans droits administrateur, mises à jour automatiques. -- **`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 Système → Application → « Recevoir les versions de test (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. - -## Comment ça marche - -1. Ouvrez l'application et choisissez l'écran sur lequel vous jouez. Les autres s'éteignent. -2. Appuyez sur **Jouer**, ou utilisez le raccourci en un clic sur le Bureau. La première fois sur un nouvel écran, la TV demande « Voyez-vous cet écran ? » et revient en arrière toute seule si personne ne répond. -3. Quittez Big Picture ou Playnite et tout revient : écrans, son, résolution. - -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, 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 | -|---|---|---| -| Maintenir le raccourci **d'ouverture** | Entrer en mode console depuis la zone de notification | **Home** (Xbox / PS) | -| Maintenir le raccourci **du menu** | Menu par-dessus le jeu : fenêtres ouvertes, explorateur de fichiers, volume, résolution, son, FPS, HDR, sortie | **Select + Y** (Create + △) | -| Maintenir le raccourci **de retour au PC** | Retour au PC | **Start + Select** (Options + Create) | - -## Fonctionnalités - -- Masquer les autres écrans en les **déconnectant**, avec des **écrans noirs** ou par **DDC/CI**, uniquement avec les API de Windows : aucun outil tiers d'affichage ou de son n'est inclus -- **Résolution et fréquence** par écran, **HDR**, **VRR** et **limite de FPS** (RTSS) pendant que vous jouez -- **Compteur de FPS** par-dessus le jeu (RTSS) sur une carte en trois tailles : FPS seulement, compact (utilisation CPU, GPU et RAM), détaillé (fréquences, température et mémoire du GPU) ou votre propre disposition -- Le son passe sur la TV (ou n'importe quelle sortie) et revient ensuite -- [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 exécuter une commande avant de la mettre en veille au retour sur le PC -- Masque les **icônes du bureau** pendant la session si l’option est activée et rétablit leur visibilité précédente au retour sur le PC -- 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) -- 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 - -Les nouveautés de chaque version sont dans le [CHANGELOG.en-US.md](CHANGELOG.en-US.md) (en anglais). - -## Plus - -- [Guide](docs/GUIDE.fr-FR.md) : modes et restauration, API de contrôle, HDR/VRR/FPS, dépannage -- **Commentaires :** le bouton « Envoyer des commentaires » à côté des Paramètres dans l'application, ou [ce formulaire](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). Une ⭐ aide d'autres joueurs de canapé à trouver le projet. -- Les versions ne sont pas encore signées numériquement, donc Windows SmartScreen ou un antivirus peut afficher un avertissement au téléchargement ; tout le code source est ici. -- **Aider à traduire :** voir [docs/TRANSLATING.md](docs/TRANSLATING.md) (en anglais). - -[GNU Affero General Public License v3.0 uniquement](LICENSE) · [Mentions des logiciels tiers](THIRD_PARTY_NOTICES.md) · [Politique de signature du code](docs/CODE_SIGNING.md) - -*Cette page est une traduction du README en anglais. En cas de différence, c'est la version anglaise qui fait foi.* diff --git a/README.it-IT.md b/README.it-IT.md new file mode 100644 index 00000000..3410ffdf --- /dev/null +++ b/README.it-IT.md @@ -0,0 +1,62 @@ +# Console Mode + +Trasforma il tuo PC Windows in una **console** con un clic: mette a fuoco la TV, spegne gli altri schermi, cambia l'audio e apre l'interfaccia dei tuoi giochi. Quando esci dal gioco, la tua scrivania torna com'era. + +[English](README.md) · [Português (Brasil)](README.pt-BR.md) · Italiano + +![Windows](https://img.shields.io/badge/Windows-10%2F11-blue) +![Versione](https://img.shields.io/github/v/release/1r0n51uv/consolemode?label=versione&color=brightgreen) +![Licenza](https://img.shields.io/github/license/1r0n51uv/consolemode) + +https://github.com/user-attachments/assets/9f244c06-76e5-4ccb-ab66-e637eae900ec + +## Download + +Scarica l'ultima versione stabile dalla **[pagina delle release](https://github.com/1r0n51uv/consolemode/releases/latest)**: + +- **`ConsoleMode-Setup-x64.exe`** (consigliato): installazione per utente, senza permessi di amministratore, si aggiorna da sola. +- **`ConsoleMode-Portable-x64.exe`**: un solo exe che salva i suoi dati accanto a sé. + +Vuoi provare per primo ciò che sta per arrivare? Attiva Sistema → App → "Ricevi le versioni di prova (beta)". + +Windows 10 o 11, più [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) o l'app Xbox. + +## Come funziona + +1. Apri l'app e scegli lo schermo su cui giochi. Gli altri si spengono. +2. Premi **Gioca ora**, oppure usa il collegamento con un clic sul desktop. La prima volta su uno schermo nuovo, la TV chiede "Riesci a vedere questa schermata?" e, se nessuno risponde, tutto torna indietro da solo. +3. Esci da Big Picture o da Playnite e ogni cosa torna al suo posto: schermi, audio e risoluzione. + +Preferisci il divano? Con l'app nell'area di notifica, tieni premuta la scorciatoia del controller e parti da lì. + +Le scorciatoie del controller le scegli tu: all'inizio non ce n'è nessuna attiva, il giro della prima volta ti mostra dove sceglierle (Sistema → Controller). Uno stesso pulsante non può servire per due azioni. + +| Scorciatoia del controller | Cosa fa | Suggerita | +|---|---|---| +| Tieni premuta la scorciatoia per **aprire** | Entra in modalità console dall'area di notifica | **Home** (Xbox / PS) | +| Tieni premuta la scorciatoia del **menu** | Menu sopra il gioco: finestre aperte, gestione file, volume, risoluzione, audio, HDR, uscita | **Select + Y** (Create + △) | +| Tieni premuta la scorciatoia per **tornare al PC** | Torna al PC | **Start + Select** (Options + Create) | + +## Funzioni + +- Nasconde gli altri schermi **scollegandoli**, o con **schermate nere**, tutto con le API di Windows: non include nessuno strumento di terze parti per schermo o audio +- **Risoluzione e frequenza di aggiornamento** per schermo, **HDR**, e **VRR** mentre giochi +- L'audio va alla TV (o a qualsiasi uscita) e poi torna com'era +- Nasconde le **icone del desktop** durante la sessione, se attivi l'opzione, e ripristina la visibilità precedente quando torni al PC +- Apre **Steam Big Picture**, **Playnite a schermo intero** o la **modalità Xbox**, e manda Steam nell'area di notifica quando torni al PC +- **Menu della sessione** sopra il gioco: cambia o chiudi le finestre aperte, regola volume, risoluzione, audio e HDR, nascondi il puntatore del mouse o muovilo con il controller, ed esplora i tuoi file con [ControlFS](https://github.com/nextestudios/ControlFS) e il web con [JoyChromium](https://github.com/lippdev/joychromium) +- Un'interfaccia in stile console, pensata per la TV, che funziona anche con mouse e tastiera (schermo intero, controller Xbox e PlayStation, schede con LB/RB, uno sfondo tuo o le copertine di Steam come sfondo), con un giro guidato la prima volta che la apri +- Inglese, portoghese, spagnolo, tedesco, francese, italiano e russo + +Le novità di ogni versione sono nel [CHANGELOG.en-US.md](CHANGELOG.en-US.md) (in inglese). + +## Altro + +- [Guida](docs/GUIDE.md) (in inglese): modalità e ripristino, HDR/VRR, risoluzione dei problemi +- **Feedback:** il pulsante accanto a Impostazioni nell'app, oppure [questo modulo](https://github.com/1r0n51uv/consolemode/issues/new?template=feedback.yml). Una ⭐ aiuta altri giocatori da divano a trovare il progetto. +- Le versioni non sono ancora firmate digitalmente, quindi Windows SmartScreen o un antivirus possono segnalare il download; tutto il codice sorgente è qui. +- Vuoi aiutare con le traduzioni? Vedi [docs/TRANSLATING.md](docs/TRANSLATING.md). + +[GNU Affero General Public License v3.0 only](LICENSE) · [Avvisi di terze parti](THIRD_PARTY_NOTICES.md) · [Politica di firma del codice](docs/CODE_SIGNING.md) + +*Questa pagina è una traduzione del README in inglese. In caso di differenze, fa fede la versione inglese.* diff --git a/README.md b/README.md index 984f8581..05cfb06c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Turn your Windows PC into a **game console** with one click: focus the TV, turn off the other screens, switch the audio and launch your game UI. Quit the game and your desk comes back on its own. -English · [Português (Brasil)](README.pt-BR.md) · [Español](README.es-ES.md) · [Deutsch](README.de-DE.md) · [Français](README.fr-FR.md) · [Русский](README.ru-RU.md) +English · [Português (Brasil)](README.pt-BR.md) · [Italiano](README.it-IT.md) ![Windows](https://img.shields.io/badge/Windows-10%2F11-blue) ![Version](https://img.shields.io/github/v/release/lippdev/consolemode?label=version&color=brightgreen) @@ -22,7 +22,7 @@ On 1.6? The app offers the update and keeps your settings. Prefer the old interf Want to try what comes next before everyone else? Turn on System → App → "Receive test versions (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. +Windows 10 or 11, plus [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) or the Xbox app. ## How it works @@ -37,29 +37,24 @@ You pick the controller shortcuts yourself: none is on at first, the tour the ap | Controller shortcut | Does | Suggested | |---|---|---| | Hold your **open** shortcut | Enter console mode from the tray | **Home** (Xbox / PS) | -| Hold your **menu** shortcut | Menu over the game: open windows, file explorer, volume, resolution, audio, FPS, HDR, exit | **Select + Y** (Create + △) | +| Hold your **menu** shortcut | Menu over the game: open windows, file explorer, volume, resolution, audio, HDR, exit | **Select + Y** (Create + △) | | Hold your **back to the PC** shortcut | Back to the PC | **Start + Select** (Options + Create) | ## Features -- Hide the other screens by **disconnecting** them, **black overlays** or **DDC/CI**, all with Windows' own APIs: no third-party display or audio tool is bundled -- Per-screen **resolution and refresh rate**, **HDR**, **VRR** and an **FPS limit** (RTSS) while you play -- **FPS counter** over the game (RTSS) on a card in three sizes: FPS only, compact (CPU, GPU and RAM usage), detailed (clocks, GPU temperature and memory) or your own layout +- Hide the other screens by **disconnecting** them, or **black overlays**, all with Windows' own APIs: no third-party display or audio tool is bundled +- Per-screen **resolution and refresh rate**, **HDR**, and **VRR** while you play - Audio goes to the TV (or any output) and comes back afterwards -- [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 run a command before putting it in standby when you return to the PC - Hides the **desktop icons** during a session if you enable the option and restores their previous visibility when you return to the PC - 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) +- **Session menu** over the game: switch or close the open windows, change volume, resolution, audio 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) - 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 - **Your own apps** as launchers: any `.exe` (RetroArch, another launcher…) becomes a tile on Home -- **Per-game profiles** for Steam games (resolution, HDR, FPS limit and audio) and the controller's battery on screen - Puts the **desktop icons** and the **mouse pointer** back where they were, can let the controller **wake the PC**, and restores the desk on the next start if a session was cut short -- 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 +- English, Portuguese, Spanish, German, French, Italian and Russian ## What's new in 1.7.1 -- **Google TV and Android TV control is back:** turn on the TV and switch to the PC input when a session starts, then optionally run a command before standby when you return. - **Hide desktop icons during a session:** the app restores their previous visibility when you return to the PC. - **Controller improvements:** Windows battery readings for Bluetooth controllers when available, support for HID centre buttons, and more details in **Test controller**. - **Session fixes:** launcher selection survives tab changes, controller connect-to-start works again from the tray, and TV modes at 59 and 59.94 Hz are handled correctly. @@ -69,7 +64,6 @@ You pick the controller shortcuts yourself: none is on at first, the tour the ap - **One interface, made like a console's:** your launchers in a row with their official logos, the Inter font, the Aurora background, an opening with sound and a guided tour the first time. It works with the controller, the mouse and the keyboard; the Desktop interface lives on in Legacy - **Your apps on Home:** add any `.exe` with **+**, as many as you like, and take one off from its own tile -- **Per-game profiles:** each Steam game remembers its resolution, HDR, FPS limit and audio, saved from the session menu - **Session menu anywhere:** the menu shortcut opens it without starting a session, to use the PC from the couch, and a new shortcut opens Windows' Task View - **JoyChromium in the session menu:** the TV browser you drive with the controller opens over the game and installs from there if it is missing - **The desk comes back whole:** desktop icons and the mouse pointer return to their places, and if the app or the PC goes down mid-session, the next start restores everything @@ -81,7 +75,6 @@ You pick the controller shortcuts yourself: none is on at first, the tour the ap - **Console interface, redesigned:** Home, Session and System tabs on LB/RB, screen tiles, your Steam covers as the background and interface sounds - **Session menu like Steam's overlay:** full screen over the game, with the open windows in the middle (an Alt + Tab for the controller) - **File explorer built in:** ControlFS opens from the session menu, and installs from there if it is missing -- **FPS counter** over the game through RTSS, with Compact, Detailed and Custom styles - **Your shortcuts, your buttons:** pick the controller buttons that open Console Mode, the session menu and the way back to the PC - **All the project's own code:** displays and audio through Windows' APIs, without the NirSoft tools - Steam goes to the tray when you go back to the PC, the desk layout comes back exactly as it was (portrait monitors too), and slow Playnite starts no longer end the session @@ -90,7 +83,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 +- [Guide](docs/GUIDE.md): modes and restore, HDR/VRR, troubleshooting, building from source - **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 7efce2f6..60557667 100644 --- a/README.pt-BR.md +++ b/README.pt-BR.md @@ -2,7 +2,7 @@ Transforme seu PC Windows em um **console de jogos** com um clique: foque na TV, desligue as outras telas, mude o áudio e abra a interface de jogos. Saiu do jogo, a mesa volta sozinha. -[English](README.md) · Português (Brasil) · [Español](README.es-ES.md) · [Deutsch](README.de-DE.md) · [Français](README.fr-FR.md) · [Русский](README.ru-RU.md) +[English](README.md) · Português (Brasil) · [Italiano](README.it-IT.md) ![Windows](https://img.shields.io/badge/Windows-10%2F11-blue) ![Version](https://img.shields.io/github/v/release/lippdev/consolemode?label=vers%C3%A3o&color=brightgreen) @@ -22,7 +22,7 @@ Está na 1.6? O app oferece a atualização e mantém suas configurações. Pref Quer testar o que vem aí antes de todo mundo? Ligue Sistema → App → "Receber versões de teste (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. +Windows 10 ou 11, com [Steam](https://store.steampowered.com/) (Big Picture), [Playnite](https://playnite.link/) ou o app Xbox. ## Como funciona @@ -37,29 +37,24 @@ Os atalhos do controle são você quem escolhe: nenhum vem ligado, o tour da pri | Atalho no controle | Faz | Sugestão | |---|---|---| | Segurar o seu atalho de **abrir** | Entra no modo console a partir da bandeja | **Home** (Xbox / PS) | -| Segurar o seu atalho do **menu** | Menu sobre o jogo: janelas abertas, explorador de arquivos, volume, resolução, áudio, FPS, HDR, sair | **Select + Y** (Create + △) | +| Segurar o seu atalho do **menu** | Menu sobre o jogo: janelas abertas, explorador de arquivos, volume, resolução, áudio, HDR, sair | **Select + Y** (Create + △) | | Segurar o seu atalho de **voltar ao PC** | Volta para o PC | **Start + Select** (Options + Create) | ## Recursos -- Esconde as outras telas **desconectando**, com **cortinas pretas** ou por **DDC/CI**, tudo pelas APIs do próprio Windows: nenhuma ferramenta de terceiros para telas ou áudio vem embutida -- **Resolução e Hz** por tela, **HDR**, **VRR** e **limite de FPS** (RTSS) enquanto você joga -- **Contador de FPS** sobre o jogo (RTSS) num card em três tamanhos: apenas FPS, compacto (uso de CPU, GPU e RAM), detalhado (clocks, temperatura da GPU e memória) ou do seu jeito +- Esconde as outras telas **desconectando**, ou com **cortinas pretas**, tudo pelas APIs do próprio Windows: nenhuma ferramenta de terceiros para telas ou áudio vem embutida +- **Resolução e Hz** por tela, **HDR**, e **VRR** enquanto você joga - O áudio vai para a TV (ou qualquer saída) e volta depois -- [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 executar um comando antes de colocá-la em espera ao voltar ao PC - Oculta os **ícones da área de trabalho** durante a sessão se você ativar a opção e restaura a visibilidade anterior ao voltar ao PC - 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) +- **Menu da sessão** sobre o jogo: troque ou feche as janelas abertas, mude volume, resolução, áudio 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) - 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 - **Seus aplicativos** como iniciadores: qualquer `.exe` (RetroArch, outro launcher…) vira um bloco no Início -- **Perfis por jogo** para os jogos da Steam (resolução, HDR, limite de FPS e áudio) e a bateria do controle na tela - Devolve os **ícones da área de trabalho** e o **ponteiro do mouse** ao lugar, pode deixar o controle **acordar o PC** e restaura a mesa na próxima abertura se uma sessão for interrompida -- 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 +- Português, inglês, espanhol, alemão, francês, italiano e russo ## Novidades da 1.7.1 -- **O controle de Google TV e Android TV voltou:** ligue a TV e troque para a entrada do PC ao iniciar a sessão. Ao voltar, você pode executar um comando antes de colocar a TV em espera. - **Oculte os ícones da área de trabalho durante a sessão:** o app restaura a visibilidade anterior ao voltar ao PC. - **Melhorias nos controles:** leitura de bateria pelo Windows para controles Bluetooth quando disponível, suporte a botões centrais HID e mais detalhes em **Testar controle**. - **Correções na sessão:** a seleção do iniciador é mantida ao trocar de aba, conectar um controle volta a iniciar a sessão com o app na bandeja e os modos de TV a 59 e 59,94 Hz são tratados corretamente. @@ -69,7 +64,6 @@ Os atalhos do controle são você quem escolhe: nenhum vem ligado, o tour da pri - **Uma interface só, com cara de console:** seus iniciadores numa fileira com os logos oficiais, a fonte Inter, o fundo Aurora, uma abertura com som e um tour guiado na primeira vez. Funciona com controle, mouse e teclado; a interface Desktop continua no Legacy - **Seus aplicativos no Início:** adicione qualquer `.exe` pelo **+**, quantos quiser, e tire um deles pelo próprio bloco -- **Perfis por jogo:** cada jogo da Steam lembra a própria resolução, HDR, limite de FPS e áudio, salvos pelo menu da sessão - **Menu da sessão em qualquer lugar:** o atalho do menu abre sem iniciar uma sessão, para usar o PC do sofá, e um atalho novo abre a visão de tarefas do Windows - **JoyChromium no menu da sessão:** o navegador para a TV que se usa com o controle abre por cima do jogo e se instala por ali mesmo se faltar - **A mesa volta inteira:** os ícones da área de trabalho e o ponteiro do mouse voltam ao lugar e, se o app ou o PC cair no meio da sessão, a próxima abertura restaura tudo @@ -81,7 +75,6 @@ Os atalhos do controle são você quem escolhe: nenhum vem ligado, o tour da pri - **Interface Console redesenhada:** abas Início, Sessão e Sistema no LB/RB, blocos das telas, as capas da sua Steam como plano de fundo e sons da interface - **Menu da sessão como o overlay do Steam:** tela cheia sobre o jogo, com as janelas abertas no meio (um Alt+Tab para o controle) - **Explorador de arquivos embutido:** o ControlFS abre pelo menu da sessão, e é instalado dali mesmo se faltar -- **Contador de FPS** sobre o jogo pelo RTSS, com os estilos Compacto, Detalhado e Personalizado - **Seus atalhos, seus botões:** escolha os botões do controle que abrem o Console Mode, o menu da sessão e a volta ao PC - **Só código do projeto:** telas e áudio pelas APIs do Windows, sem as ferramentas da NirSoft - A Steam vai para a bandeja ao voltar ao PC, o layout da mesa volta idêntico (monitores em retrato também) e o Playnite demorando para abrir não encerra mais a sessão @@ -90,7 +83,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 +- [Guia](docs/GUIDE.pt-BR.md): modos e restauração, HDR/VRR, solução de problemas, compilar - **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 deleted file mode 100644 index 64674582..00000000 --- a/README.ru-RU.md +++ /dev/null @@ -1,66 +0,0 @@ -# Console Mode - -Превратите ПК с Windows в **игровую консоль** одним щелчком: фокус на телевизор, остальные экраны отключаются, звук переключается, и запускается ваш игровой интерфейс. Выйдите из игры, и рабочий стол вернётся сам. - -[English](README.md) · [Português (Brasil)](README.pt-BR.md) · [Español](README.es-ES.md) · [Deutsch](README.de-DE.md) · [Français](README.fr-FR.md) · Русский - -![Windows](https://img.shields.io/badge/Windows-10%2F11-blue) -![Version](https://img.shields.io/github/v/release/lippdev/consolemode?label=%D0%B2%D0%B5%D1%80%D1%81%D0%B8%D1%8F&color=brightgreen) -![License](https://img.shields.io/github/license/lippdev/consolemode) - -https://github.com/user-attachments/assets/9f244c06-76e5-4ccb-ab66-e637eae900ec - -## Скачать - -Скачайте последнюю стабильную версию на странице [релизов](https://github.com/lippdev/consolemode/releases/latest): - -- **`ConsoleMode-Setup-x64.exe`** (рекомендуется): установка для текущего пользователя, без прав администратора, обновляется сама. -- **`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. - -## Как это работает - -1. Откройте приложение и выберите экран, на котором играете. Остальные отключатся. -2. Нажмите **«Играть»** или используйте ярлык на рабочем столе для запуска в один клик. В первый раз на новом экране телевизор спросит «Вы видите этот экран?» и сам вернёт всё назад, если никто не ответит. -3. Выйдите из Big Picture или Playnite, и всё вернётся: экраны, звук, разрешение. - -Предпочитаете диван? Когда приложение работает в области уведомлений, удерживайте сочетание на геймпаде, и режим запустится оттуда. - -Сочетания на геймпаде вы выбираете сами: сначала ни одно не включено, обзор при первом запуске покажет, где их задать («Система» → «Геймпад»). Одна кнопка не может выполнять два действия. - -| Сочетание на геймпаде | Что делает | Рекомендуем | -|---|---|---| -| Удерживайте сочетание **открытия** | Вход в режим консоли из области уведомлений | **Home** (Xbox / PS) | -| Удерживайте сочетание **меню** | Меню поверх игры: открытые окна, файловый менеджер, громкость, разрешение, звук, FPS, HDR, выход | **Select + Y** (Create + △) | -| Удерживайте сочетание **возврата к ПК** | Вернуться к ПК | **Start + Select** (Options + Create) | - -## Возможности - -- Остальные экраны скрываются **отключением**, **чёрным экраном** или через **DDC/CI**, всё средствами самой Windows: сторонние утилиты для экранов и звука не входят в комплект -- **Разрешение и частота обновления** для каждого экрана, **HDR**, **VRR** и **ограничение FPS** (RTSS) во время игры -- **Счётчик FPS** поверх игры (RTSS) на карточке трёх размеров: только FPS, компактный (загрузка ЦП, ГП и ОЗУ), подробный (частоты, температура ГП и память) или ваш собственный вариант -- Звук переходит на телевизор (или любой другой выход) и потом возвращается -- [Включает телевизор и переключает его на вход ПК](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 на фоне), с обзором при первом запуске -- Автоматизация через ссылки `consolemode://start` / `stop` / `menu` (Stream Deck, скрипты) и [локальный API управления](docs/GUIDE.ru-RU.md#локальный-api-управления) -- Английский, португальский, испанский, немецкий, французский и русский - -Что нового в каждой версии, смотрите в [CHANGELOG.en-US.md](CHANGELOG.en-US.md) (на английском). - -## Ещё - -- [Руководство](docs/GUIDE.ru-RU.md): режимы и восстановление, API управления, HDR/VRR/FPS, решение проблем -- **Отзывы:** кнопка «Отправить отзыв» рядом с «Параметрами» в приложении или [эта форма](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml). ⭐ помогает другим любителям играть с дивана найти проект. -- Релизы пока не подписаны цифровой подписью, поэтому Windows SmartScreen или антивирус может предупредить о загрузке; весь исходный код находится здесь. -- Хотите помочь с переводом? Смотрите [docs/TRANSLATING.md](docs/TRANSLATING.md) (на английском). - -[Только GNU Affero General Public License v3.0](LICENSE) · [Сторонние компоненты](THIRD_PARTY_NOTICES.md) · [Политика подписи кода](docs/CODE_SIGNING.md) - -*Эта страница — перевод README на английском. Если что-то расходится, актуальна английская версия.* diff --git a/build/ConsoleMode.iss b/build/ConsoleMode.iss index 96e37a57..8c9ea208 100644 --- a/build/ConsoleMode.iss +++ b/build/ConsoleMode.iss @@ -24,9 +24,9 @@ AppName={#AppName} AppVersion={#AppVersion} AppVerName={#AppName} {#AppVersion} AppPublisher=lippdev -AppPublisherURL=https://github.com/lippdev/consolemode -AppSupportURL=https://github.com/lippdev/consolemode/issues -AppUpdatesURL=https://github.com/lippdev/consolemode/releases +AppPublisherURL=https://github.com/1r0n51uv/consolemode +AppSupportURL=https://github.com/1r0n51uv/consolemode/issues +AppUpdatesURL=https://github.com/1r0n51uv/consolemode/releases DefaultDirName={localappdata}\Programs\{#AppName} DefaultGroupName={#AppName} DisableProgramGroupPage=yes @@ -54,10 +54,7 @@ RestartApplications=no [Languages] Name: "ptbr"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl" Name: "en"; MessagesFile: "compiler:Default.isl" -Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl" -Name: "de"; MessagesFile: "compiler:Languages\German.isl" -Name: "fr"; MessagesFile: "compiler:Languages\French.isl" -Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl" +Name: "it"; MessagesFile: "compiler:Languages\Italian.isl" [CustomMessages] ptbr.OneClickShortcut=Atalho "Console Mode 1 Click" na Área de Trabalho (entra no modo console com 1 clique) @@ -66,18 +63,9 @@ ptbr.StartWithWindows=Iniciar com o Windows (fica na bandeja) en.StartWithWindows=Start with Windows (stays in the tray) ptbr.LaunchApp=Abrir o Console Mode en.LaunchApp=Open Console Mode -es.OneClickShortcut=Acceso directo "Console Mode 1 Click" en el escritorio (entra en modo consola con 1 clic) -es.StartWithWindows=Iniciar con Windows (queda en la bandeja) -es.LaunchApp=Abrir Console Mode -de.OneClickShortcut=Desktop-Verknüpfung "Console Mode 1 Click" (startet den Konsolenmodus mit einem Klick) -de.StartWithWindows=Mit Windows starten (läuft im Infobereich weiter) -de.LaunchApp=Console Mode öffnen -fr.OneClickShortcut=Raccourci « Console Mode 1 Click » sur le Bureau (passe en mode console en un clic) -fr.StartWithWindows=Démarrer avec Windows (reste dans la zone de notification) -fr.LaunchApp=Ouvrir Console Mode -ru.OneClickShortcut=Ярлык «Console Mode 1 Click» на рабочем столе (режим консоли в один клик) -ru.StartWithWindows=Запускать вместе с Windows (в области уведомлений) -ru.LaunchApp=Открыть Console Mode +it.OneClickShortcut=Collegamento "Console Mode 1 Click" sul desktop (entra in modalità console con un clic) +it.StartWithWindows=Avvia con Windows (resta nell'area di notifica) +it.LaunchApp=Apri Console Mode [Tasks] Name: "oneclick"; Description: "{cm:OneClickShortcut}"; Flags: unchecked @@ -100,15 +88,7 @@ Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueType: ; The language chosen in the installer dialog; the app reads it on first run (StartupService.ReadInstallerLanguage). Root: HKCU; Subkey: "Software\ConsoleMode"; ValueType: string; ValueName: "Language"; ValueData: "pt-BR"; Languages: ptbr; Flags: uninsdeletekeyifempty uninsdeletevalue Root: HKCU; Subkey: "Software\ConsoleMode"; ValueType: string; ValueName: "Language"; ValueData: "en-US"; Languages: en; Flags: uninsdeletekeyifempty uninsdeletevalue -Root: HKCU; Subkey: "Software\ConsoleMode"; ValueType: string; ValueName: "Language"; ValueData: "es-ES"; Languages: es; Flags: uninsdeletekeyifempty uninsdeletevalue -Root: HKCU; Subkey: "Software\ConsoleMode"; ValueType: string; ValueName: "Language"; ValueData: "de-DE"; Languages: de; Flags: uninsdeletekeyifempty uninsdeletevalue -Root: HKCU; Subkey: "Software\ConsoleMode"; ValueType: string; ValueName: "Language"; ValueData: "fr-FR"; Languages: fr; Flags: uninsdeletekeyifempty uninsdeletevalue -Root: HKCU; Subkey: "Software\ConsoleMode"; ValueType: string; ValueName: "Language"; ValueData: "ru-RU"; Languages: ru; Flags: uninsdeletekeyifempty uninsdeletevalue -; consolemode://start|stop|show links (ProtocolService registers the same keys at startup). -Root: HKCU; Subkey: "Software\Classes\consolemode"; ValueType: string; ValueData: "URL:Console Mode"; Flags: uninsdeletekey -Root: HKCU; Subkey: "Software\Classes\consolemode"; ValueType: string; ValueName: "URL Protocol"; ValueData: "" -Root: HKCU; Subkey: "Software\Classes\consolemode\DefaultIcon"; ValueType: string; ValueData: """{app}\{#AppExe}"",0" -Root: HKCU; Subkey: "Software\Classes\consolemode\shell\open\command"; ValueType: string; ValueData: """{app}\{#AppExe}"" ""%1""" +Root: HKCU; Subkey: "Software\ConsoleMode"; ValueType: string; ValueName: "Language"; ValueData: "it-IT"; Languages: it; Flags: uninsdeletekeyifempty uninsdeletevalue [Run] Filename: "{app}\{#AppExe}"; Description: "{cm:LaunchApp}"; Flags: nowait postinstall skipifsilent diff --git a/build/Get-RtssCli.ps1 b/build/Get-RtssCli.ps1 deleted file mode 100644 index 9e89c4cb..00000000 --- a/build/Get-RtssCli.ps1 +++ /dev/null @@ -1,32 +0,0 @@ -#Requires -Version 5.1 -# Baixa rtss-cli para ConsoleMode_Data/tools (dev) ou pasta tools informada - -param( - [string]$TargetDir = $null -) - -$ErrorActionPreference = "Stop" -$root = Split-Path -Parent $PSScriptRoot - -if ([string]::IsNullOrWhiteSpace($TargetDir)) { - $dataTools = Join-Path $root "ConsoleMode_Data\tools" - if (-not (Test-Path -LiteralPath $dataTools)) { - New-Item -ItemType Directory -Path $dataTools -Force | Out-Null - } - $TargetDir = $dataTools -} - -$dest = Join-Path $TargetDir "rtss-cli.exe" -if (Test-Path -LiteralPath $dest) { - Write-Host "OK: rtss-cli.exe ja existe em $dest" - exit 0 -} - -$url = "https://github.com/xanderfrangos/rtss-cli/releases/download/v1.0.0/rtss-cli.exe" -$tempFile = Join-Path $env:TEMP "rtss-cli-download.exe" - -Write-Host "Baixando rtss-cli..." -Invoke-WebRequest -Uri $url -OutFile $tempFile -UseBasicParsing -Copy-Item -LiteralPath $tempFile -Destination $dest -Force -Remove-Item -LiteralPath $tempFile -Force -ErrorAction SilentlyContinue -Write-Host "OK: rtss-cli.exe -> $dest" diff --git a/build/Publish-ConsoleMode.ps1 b/build/Publish-ConsoleMode.ps1 index dbd0c356..eb963a31 100644 --- a/build/Publish-ConsoleMode.ps1 +++ b/build/Publish-ConsoleMode.ps1 @@ -40,10 +40,6 @@ Write-Host "Versao: $Version" New-Item -ItemType Directory -Path $embedDir, $distDir -Force | Out-Null -if (-not $SkipTools) { - & (Join-Path $PSScriptRoot "Get-RtssCli.ps1") -TargetDir $embedDir -} - function Invoke-Publish([string]$OutDir, [bool]$SingleFile) { if (Test-Path -LiteralPath $OutDir) { Remove-Item -LiteralPath $OutDir -Recurse -Force } $pubArgs = @( diff --git a/docs/GUIDE.de-DE.md b/docs/GUIDE.de-DE.md deleted file mode 100644 index 63519dea..00000000 --- a/docs/GUIDE.de-DE.md +++ /dev/null @@ -1,125 +0,0 @@ -# Anleitung für Console Mode - -Details, die nicht ins [README](../README.de-DE.md) passen. - -[English](GUIDE.md) · [Português (Brasil)](GUIDE.pt-BR.md) · [Español](GUIDE.es-ES.md) · Deutsch · [Français](GUIDE.fr-FR.md) · [Русский](GUIDE.ru-RU.md) - -## Modi und Wiederherstellung - -| Modus | Beim Beenden | -|------|---------| -| **Steam Big Picture** | Automatische Wiederherstellung (die App bleibt im Infobereich) | -| **Playnite (Vollbild)** | Automatische Wiederherstellung (die App bleibt im Infobereich) | -| **Xbox-Modus** | Manuell: Verwende *Jetzt wiederherstellen*, das Menü im Infobereich oder öffne das Fenster erneut | -| **Eigene App** | Automatische Wiederherstellung, wenn die App (oder der gewählte überwachte Prozess) geschlossen wird | - -Wird die App mitten in einer Sitzung geschlossen oder geht der PC aus, stellt Console Mode beim nächsten Öffnen (auch bei der Windows-Anmeldung, wenn es mit Windows startet) alles wieder her, was die Sitzung geändert hat: Bildschirme, Ton, RTSS, Desktopsymbole und Zeiger, und sagt Bescheid. - -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 **System → App → Führung durch das Sitzungsmenü**. - -Das Menü funktioniert auch **außerhalb des Konsolenmodus**, um den PC vom Sofa aus zu bedienen, ohne etwas zu starten: Solange Console Mode geöffnet ist (auch nur im Infobereich), öffnen es die Menü-Tastenkombination, das Symbol im Infobereich oder `consolemode://menu` auf dem Spielbildschirm, wenn er eingeschaltet ist, sonst auf dem Hauptbildschirm. Dort kannst du Fenster wechseln, Lautstärke, Auflösung, Audioausgabe und HDR ändern, ControlFS und JoyChromium öffnen, den Mauszeiger ausblenden und die Maus mit dem Controller steuern. Was du änderst, bleibt so, bis du es wieder änderst, denn es gibt keine Sitzung zum Rückgängigmachen; FPS-Begrenzung und FPS-Anzeige erscheinen nur in einer Sitzung. Stört die Tastenkombination in einem Spiel, schalte **System → Controller → Sitzungsmenü außerhalb des Konsolenmodus** aus (über den Infobereich öffnet sich das Menü weiterhin). - -Die **Tastenkombination für „Aktive Anwendungen“** macht mit dem Controller, was Win + Tab macht: Sie öffnet die Windows-Ansicht mit allen offenen Fenstern, in einer Sitzung oder außerhalb. Solange sie offen ist, wählen Steuerkreuz oder linker Stick ein Fenster (Halten wiederholt), **A** öffnet es und **B** schließt die Ansicht; die Tastenkombination schließt sie ebenfalls. Sie ist von Anfang an auf **Select + X** gesetzt; ändere oder deaktiviere sie unter **System → Controller → Controller-Tastenkombination für „Aktive Anwendungen“** (auch die Xbox-Taste allein geht, gehalten, wenn sie nicht die Kombination zum Öffnen von Console Mode ist). Die ersten drei Male zeigt ein Hinweis die Tasten, bevor die Ansicht aufgeht, denn über ihr erscheint nichts. Mit einem Xbox-Controller bewegt Windows die Auswahl selbst; mit einem PlayStation-Controller, den Windows dort nicht versteht, übernimmt das Console Mode (schalte **„Aktive Anwendungen“ mit einem PlayStation-Controller bedienen** aus, wenn du DS4Windows oder Steam Input nutzt und sich Eingaben wiederholen). - -## 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; jeder Schritt geht von selbst weiter, sobald Zeit zum Lesen war (der Balken unter der Karte zeigt, wie lange noch), **A** geht sofort 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** 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. - -Bei der Rückkehr aus Big Picture schließt **Steam beim Zurückkehren zum PC in den Infobereich minimieren** das Client-Fenster, während Steam weiterläuft. Ist die Option aus, bleibt der Desktop-Client geöffnet. Steam-Fenster werden nicht angetastet, wenn ein Spiel läuft oder sich sein Zustand nicht prüfen lässt. - -Ein Wechsel des Hauptbildschirms kann Windows dazu bringen, die Desktopsymbole neu anzuordnen. **Desktopsymbole wieder an ihren Platz setzen** (standardmäßig an) speichert vor der Sitzung, wo sie liegen, und setzt sie nach der Wiederherstellung wieder dorthin. Ist auf dem Desktop **Symbole automatisch anordnen** aktiv, passiert nichts, weil Windows sie dann selbst anordnet. **Desktopsymbole während der Sitzung ausblenden** (standardmäßig aus) blendet sie aus, solange die Sitzung läuft, für einen aufgeräumten Konsolen-Look, und zeigt sie bei der Rückkehr zum PC wieder an; bereits ausgeblendete Symbole bleiben ausgeblendet, und nach einer unterbrochenen Sitzung erscheinen sie beim nächsten Start wieder. - -**Mauszeiger aus dem Weg räumen** (standardmäßig an): Sobald der Launcher auf dem Fernseher erscheint, wandert der Zeiger in die untere rechte Ecke des Spielbildschirms, und einige Sekunden später noch einmal, weil Steam ihn beim Öffnen von Big Picture wieder zentriert. Beim Zurückkehren zum PC kommt er an seine alte Stelle zurück. Den Zeiger ganz auszublenden bleibt eine Option im Sitzungsmenü. - -**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 System → Beim Starten des Konsolenmodus → **Profile pro Spiel** und lassen sich dort löschen. - -## Lokale Steuerungs-API - -`consolemode://`-Links werden abgeschickt, ohne auf eine Antwort zu warten. Werkzeuge, die eine Antwort brauchen, etwa ein Fernsteuerungs-Agent, der als Windows-Dienst läuft, oder ein Stream-Deck-Plugin, das anzeigt, ob der Konsolenmodus aktiv ist, können die Named Pipe `\\.\pipe\ConsoleMode.Control` nutzen, solange die App läuft: Eine JSON-Zeile senden, eine zurückbekommen. - -``` -→ {"cmd":"status"} // or "start", "stop", "show" -← {"ok":true,"active":true,"restoring":false,"mode":"xboxMode","version":"1.5.0"} -``` - -`start`, `stop` und `show` tun genau das, was der passende `consolemode://`-Link tut, und antworten, sobald die App fertig ist (`ok:false` mit einem `error`, wenn der Konsolenmodus nicht gestartet ist oder die Wiederherstellung nicht abgeschlossen wurde). `status` liest nur. Verbinden können sich nur der angemeldete Benutzer und LocalSystem; nichts wird ins Netzwerk freigegeben. - -## Fernsehersteuerung - -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. - -Die meisten PC-Grafikkarten können kein HDMI-CEC senden, deshalb spricht die App stattdessen über das Netzwerk mit dem Fernseher: - -### Google TV / Android TV - -TCL, Sony, Hisense, Philips und andere Fernseher mit Google TV oder Android TV, über ADB (das Android-Debugging-Protokoll). Auf dem PC musst du nichts installieren. - -1. Auf dem Fernseher: **Einstellungen → System → Info** (About), drücke 7-mal auf **Android TV OS-Build**, um die Entwickleroptionen freizuschalten. -2. **Einstellungen → System → Entwickleroptionen**: Schalte **USB-Debugging** ein (bei manchen Fernsehern **Netzwerk-Debugging** / **ADB über Netzwerk**). -3. Wähle in Console Mode *Google TV / Android TV (Netzwerk)*, gib die IP-Adresse des Fernsehers ein (Einstellungen → Netzwerk auf dem Fernseher; reserviere sie im Router) und den HDMI-Eingang, den der PC nutzt. -4. Drücke **Jetzt testen**. Der Fernseher fragt „USB-Debugging zulassen?“ (Allow debugging from this computer?): Setze das Häkchen bei **Von diesem Computer immer zulassen** (Always allow) und drücke **Zulassen** (Allow). - -Der ADB-Schlüssel des PCs wird verschlüsselt für deinen Windows-Benutzer gespeichert (DPAPI), daher fragt der Fernseher nur einmal. Wird der Datenordner zu einem anderen Windows-Benutzer oder PC kopiert, lässt sich der Schlüssel dort nicht lesen: Die App erstellt einen neuen und der Fernseher fragt erneut „USB-Debugging zulassen?“. - -Zum Aufwecken sendet die App die Android-Aufwecktaste und danach die Taste **HDMI 1-4**. Wenn dein Fernseher diese Taste ignoriert, trage unter **Eingangsbefehl** einen beliebigen Android-Shell-Befehl ein, der den Eingang des PCs öffnet. Wenn der Fernseher im Standby aus dem Netzwerk verschwindet, trage seine **MAC-Adresse** ein, damit die App zuerst Wake-on-LAN sendet (die Option „Über Netzwerk einschalten“ / „Über WLAN einschalten“ (Wake on network / Wake on Wi-Fi) des Fernsehers muss an sein). - -Wenn der Schreibtisch zurückkommt, geht zuerst der **Befehl bei der Rückkehr zum PC** (optional) an den Fernseher, zum Beispiel `input keyevent 3` für seinen Startbildschirm oder der Befehl eines anderen Eingangs; danach der Standby, falls eingeschaltet. - -„Kabelloses Debugging“ (Wireless debugging) mit Kopplungscode (Android-11-Smartphones und neuer) ist ein anderes, per TLS geschütztes Protokoll und wird nicht unterstützt: Verwende USB- oder Netzwerk-Debugging. - -## Optionale Extras - -### HDR - -Aktiviert HDR auf dem Gaming-Bildschirm, solange der Konsolenmodus aktiv ist. Beim Beenden wird es wieder ausgeschaltet (oder auf den vorherigen Zustand zurückgesetzt). - -### VRR - -Console Mode kann die Windows-Einstellung zur VRR-Optimierung umschalten. Für beste Ergebnisse aktivierst du VRR / G-SYNC / FreeSync zusätzlich in der **Systemsteuerung deiner Grafikkarte** (NVIDIA oder AMD). - -### FPS-Begrenzung (RTSS) - -Begrenzt die Bildrate global, solange der Konsolenmodus läuft (praktisch bei einem 60-Hz-Fernseher). Dafür muss RTSS installiert sein und laufen. Beim Beenden wird die vorherige Begrenzung wiederhergestellt. - -## Einschränkungen - -- Mehrbildschirm-Anordnungen sind sehr unterschiedlich; bei manchen Setups braucht die Wiederherstellung einen zweiten Versuch über den Infobereich -- Der Xbox-Modus erkennt nicht, wann das Vollbild endet: Stelle manuell wieder her -- Die FPS-Begrenzung gilt global (Einschränkung von RTSS), nicht pro Bildschirm -- Der WinUI-3-Build lässt sich derzeit nur unter Windows kompilieren (`net8.0-windows`) - -## Fehlerbehebung - -### Die Desktop-Anordnung wurde nicht wiederhergestellt - -Öffne das Menü im Infobereich und wähle **Konfiguration wiederherstellen**. Sieht die Anordnung immer noch falsch aus, wähle **Konfiguration wiederherstellen** noch einmal, nachdem Windows die Bildschirmänderung fertig angewendet hat. Du kannst das Fenster auch über den Infobereich wieder öffnen und manuell wiederherstellen. - -### Der Ton blieb auf dem vorherigen Ausgang - -Prüfe vor dem Start des Konsolenmodus, ob der Zielausgang angeschlossen und in Windows verfügbar ist. Bei HDMI-/Fernseher-Ausgängen kann es nötig sein, das Kabel neu einzustecken und den Modus erneut zu starten. - -### Der Controller wird erkannt, tut aber nichts (DualSense / DualShock) - -Ö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 - -Prüfe, ob der Gaming-Bildschirm die Funktion unterstützt und ob HDR in Windows aktiviert ist. Für VRR aktivierst du gegebenenfalls zusätzlich G-SYNC oder FreeSync in der Systemsteuerung der Grafikkarte. - -## Aus dem Quellcode bauen (Windows) - -Siehe den Abschnitt in der englischen Anleitung: [GUIDE.md#build-from-source-windows](GUIDE.md#build-from-source-windows). - -*Diese Seite ist eine Übersetzung der englischen Anleitung. Wenn etwas abweicht, gilt die englische Version als aktuell.* diff --git a/docs/GUIDE.es-ES.md b/docs/GUIDE.es-ES.md deleted file mode 100644 index a2bc7a8d..00000000 --- a/docs/GUIDE.es-ES.md +++ /dev/null @@ -1,125 +0,0 @@ -# Guía de Console Mode - -Detalles que no caben en el [README](../README.es-ES.md). - -[English](GUIDE.md) · [Português (Brasil)](GUIDE.pt-BR.md) · Español · [Deutsch](GUIDE.de-DE.md) · [Français](GUIDE.fr-FR.md) · [Русский](GUIDE.ru-RU.md) - -## Modos y restauración - -| Modo | Al salir | -|------|---------| -| **Steam Big Picture** | Restauración automática (la aplicación sigue en la bandeja) | -| **Playnite a pantalla completa** | Restauración automática (la aplicación sigue en la bandeja) | -| **Modo Xbox** | Manual: usa *Restaurar ahora*, el menú de la bandeja o vuelve a abrir la ventana | -| **Aplicación personalizada** | Restauración automática cuando se cierra la aplicación (o el proceso que elegiste vigilar) | - -Si la aplicación se cierra o el PC se apaga en medio de una sesión, la próxima vez que Console Mode se abra (también al iniciar sesión en Windows, si arranca con Windows) restaura todo lo que la sesión cambió: pantallas, audio, RTSS, iconos del escritorio y el puntero, y lo avisa. - -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 **Sistema → Aplicación → Recorrido del menú de sesión**. - -El menú también funciona **fuera del modo consola**, para usar el PC desde el sofá sin iniciar nada: con Console Mode abierto (aunque sea solo en la bandeja), el atajo del menú, el icono de la bandeja o `consolemode://menu` lo abren en la pantalla de juego, si está encendida, o en la principal. Ahí puedes cambiar de ventana, ajustar el volumen, la resolución, la salida de audio y el HDR, abrir ControlFS y JoyChromium, ocultar el cursor y mover el ratón con el mando. Lo que cambies queda así hasta que lo cambies de nuevo, porque no hay sesión que deshacer; el límite y el contador de FPS solo aparecen en una sesión. Si el atajo molesta en algún juego, desactiva **Sistema → Mando → Menú de la sesión fuera del modo consola** (la bandeja sigue abriendo el menú). - -El **atajo de la vista de tareas** hace desde el mando lo que hace Win + Tab: abre la vista de tareas de Windows con todas las ventanas abiertas, dentro o fuera de una sesión. Con ella abierta, la cruceta o el joystick izquierdo eligen la ventana (mantener repite), **A** la abre y **B** cierra la vista; el atajo otra vez también la cierra. Viene activado con **Select + X**; cámbialo o desactívalo en **Sistema → Mando → Atajo del mando para la vista de tareas** (el botón Xbox solo también sirve, mantenido, si no es el atajo para abrir Console Mode). Las tres primeras veces, un aviso muestra los botones antes de que se abra la vista, porque nada aparece encima de ella. Con un mando de Xbox, la selección la mueve el propio Windows; con uno de PlayStation, que Windows no entiende ahí, lo hace Console Mode (desactiva **Moverse por la vista de tareas con un mando de PlayStation** si usas DS4Windows o Steam Input y los movimientos se repiten). - -## 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; cada parada avanza sola cuando ha habido tiempo de leerla (la barra bajo la tarjeta muestra cuánto falta), **A** avanza al momento 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** 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. - -Al volver de Big Picture, **Enviar Steam a la bandeja al volver al PC** cierra la ventana del cliente y deja Steam en marcha. Con la opción desactivada, el cliente de escritorio se queda abierto. Las ventanas de Steam no se tocan si hay un juego en marcha o si no se puede comprobar su estado. - -Cambiar la pantalla principal puede hacer que Windows reordene los iconos del escritorio. **Devolver los iconos del escritorio a su sitio** (activado por defecto) guarda su posición antes de la sesión y los vuelve a colocar después de restaurar el escritorio. No hace nada si **Organizar iconos automáticamente** está activado en el escritorio, porque entonces Windows los coloca por sí mismo. **Ocultar los iconos del escritorio en la sesión** (desactivado por defecto) los oculta mientras dura la sesión, para un aspecto limpio de consola, y los vuelve a mostrar al volver al PC; si ya estaban ocultos, siguen así, y una sesión interrumpida los muestra de nuevo al abrir la aplicación. - -**Apartar el puntero del ratón** (activado por defecto): cuando el iniciador aparece en la TV, el puntero va a la esquina inferior derecha de la pantalla de juego, y otra vez unos segundos después, porque Steam lo vuelve a centrar al abrir Big Picture. Al volver al PC, vuelve a donde estaba. Ocultar el puntero del todo sigue siendo una opción del menú de la sesión. - -**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 Sistema → Al entrar en modo consola → **Perfiles por juego**, donde puedes borrarlos. - -## API de control local - -Los enlaces `consolemode://` se lanzan sin esperar respuesta. Las herramientas que necesitan una respuesta (un agente de control remoto que funciona como servicio de Windows, un plugin de Stream Deck que muestra si el modo consola está activo) pueden usar la canalización con nombre (named pipe) `\\.\pipe\ConsoleMode.Control` mientras la aplicación está abierta: envía una línea JSON y recibe otra. - -``` -→ {"cmd":"status"} // or "start", "stop", "show" -← {"ok":true,"active":true,"restoring":false,"mode":"xboxMode","version":"1.5.0"} -``` - -`start`, `stop` y `show` hacen exactamente lo mismo que el enlace `consolemode://` correspondiente y responden cuando la aplicación termina (`ok:false` con un `error` si el modo consola no se inició o la restauración no terminó). `status` solo lee. Solo pueden conectarse el usuario que ha iniciado sesión y LocalSystem; nada se expone a la red. - -## Control de la TV - -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. - -La mayoría de las tarjetas gráficas de PC no pueden enviar HDMI-CEC, así que la aplicación habla con la TV por la red: - -### Google TV / Android TV - -TCL, Sony, Hisense, Philips y otras TV con Google TV o Android TV, mediante ADB (el protocolo de depuración de Android). No hay que instalar nada en el PC. - -1. En la TV: **Ajustes → Sistema → Información**, pulsa 7 veces **Compilación del SO de Android TV** (Android TV OS build) para desbloquear las Opciones de desarrollador. -2. **Ajustes → Sistema → Opciones de desarrollador**: activa **Depuración USB** (en algunas TV, **Depuración por red** / **ADB por red**). -3. En Console Mode, elige *Google TV / Android TV (red)*, escribe la IP de la TV (Ajustes → Red en la TV; resérvala en el router) y la entrada HDMI que usa el PC. -4. Pulsa **Probar ahora**. La TV pregunta "¿Permitir depuración desde este ordenador?": marca **Permitir siempre** y pulsa **Permitir**. - -La clave ADB del PC se guarda cifrada para tu usuario de Windows (DPAPI), así que la TV solo pregunta una vez. Si copias la carpeta de datos a otro usuario de Windows o a otro PC, la clave no se puede leer allí: la aplicación crea una nueva y la TV vuelve a preguntar "¿Permitir depuración?". - -Para encenderla se usa la tecla de activación de Android y después la tecla **HDMI 1-4**. Si tu TV ignora esa tecla, rellena **Comando de la entrada (avanzado)** con cualquier comando de shell de Android que abra la entrada del PC. Si la TV se desconecta de la red en reposo, rellena su **Dirección MAC** para que la aplicación envíe antes Wake-on-LAN (la opción de la TV "Activar por red" / "Activar por Wi-Fi" (Wake on network / Wake on Wi-Fi) tiene que estar activada). - -Cuando vuelve el escritorio, el **Comando al volver al PC** (opcional) se envía primero a la TV, por ejemplo `input keyevent 3` para su pantalla de inicio o el comando de otra entrada; después, el reposo, si está activado. - -La "Depuración inalámbrica" con código de emparejamiento (móviles con Android 11 o posterior) es otro protocolo, envuelto en TLS, y no es compatible: usa la depuración USB / por red. - -## Extras opcionales - -### HDR - -Activa el HDR en la pantalla de juego mientras el modo consola está activo. Se vuelve a desactivar (o a su estado anterior) al salir. - -### VRR - -Console Mode puede activar o desactivar el ajuste de optimización de VRR de Windows. Para mejores resultados, activa también VRR / G-SYNC / FreeSync en el **panel de control de la GPU** (NVIDIA o AMD). - -### Límite de FPS (RTSS) - -Limita la tasa de fotogramas global mientras el modo consola está en marcha (útil en una TV de 60 Hz). Requiere RTSS instalado y en ejecución. El límite anterior se restaura al salir. - -## Limitaciones - -- Las configuraciones con varios monitores varían; en algunos equipos la restauración puede necesitar un segundo intento desde la bandeja -- El modo Xbox no detecta cuándo termina la pantalla completa: restaura a mano -- El límite de FPS es global (limitación de RTSS), no por pantalla -- La versión WinUI 3 de momento requiere Windows para compilar (`net8.0-windows`) - -## Solución de problemas - -### La disposición del escritorio no se restauró - -Abre el menú de la bandeja y elige **Restaurar pantallas**. Si la disposición sigue sin estar bien, vuelve a elegir **Restaurar pantallas** cuando Windows termine de aplicar el cambio de monitores. También puedes volver a abrir la ventana desde la bandeja y restaurar a mano. - -### El audio se quedó en la salida anterior - -Comprueba que la salida de destino está conectada y disponible en Windows antes de iniciar el modo consola. Con salidas HDMI o de TV, puede que haga falta volver a conectar el cable e iniciar el modo de nuevo. - -### El mando aparece pero no hace nada (DualSense / DualShock) - -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 - -Confirma que la pantalla de juego admite la función y que el HDR está activado en Windows. Para el VRR, activa también G-SYNC o FreeSync en el panel de control de la GPU cuando corresponda. - -## Compilar desde el código fuente (Windows) - -Esta sección solo está en inglés: [GUIDE.md#build-from-source-windows](GUIDE.md#build-from-source-windows). - -*Esta página es una traducción de la guía en inglés. Si algo no coincide, la versión en inglés es la vigente.* diff --git a/docs/GUIDE.fr-FR.md b/docs/GUIDE.fr-FR.md deleted file mode 100644 index 73176d78..00000000 --- a/docs/GUIDE.fr-FR.md +++ /dev/null @@ -1,125 +0,0 @@ -# Guide de Console Mode - -Les détails qui ne tiennent pas dans le [README](../README.fr-FR.md). - -[English](GUIDE.md) · [Português (Brasil)](GUIDE.pt-BR.md) · [Español](GUIDE.es-ES.md) · [Deutsch](GUIDE.de-DE.md) · Français · [Русский](GUIDE.ru-RU.md) - -## Modes et restauration - -| Mode | À la sortie | -|------|---------| -| **Steam Big Picture** | Restauration automatique (l'application reste dans la zone de notification) | -| **Playnite en plein écran** | Restauration automatique (l'application reste dans la zone de notification) | -| **Mode Xbox** | Manuelle : utilisez *Restaurer maintenant*, le menu de la zone de notification, ou rouvrez la fenêtre | -| **Application personnalisée** | Restauration automatique quand l'application (ou le processus choisi à surveiller) se ferme | - -Si l'application se ferme ou si le PC s'éteint en pleine session, Console Mode restaure à sa prochaine ouverture (aussi à l'ouverture de session Windows, s'il démarre avec Windows) tout ce que la session a changé : écrans, son, RTSS, icônes du bureau et pointeur, et vous le signale. - -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 **Système → Application → Visite du menu de session**. - -Le menu fonctionne aussi **hors du mode console**, pour utiliser le PC depuis le canapé sans rien lancer : tant que Console Mode est ouvert (même seulement dans la zone de notification), le raccourci du menu, l'icône de la zone de notification ou `consolemode://menu` l'ouvrent sur l'écran de jeu s'il est allumé, sinon sur l'écran principal. Vous pouvez y changer de fenêtre, régler le volume, la résolution, la sortie audio et le HDR, ouvrir ControlFS et JoyChromium, masquer le pointeur et piloter la souris à la manette. Ce que vous changez reste ainsi jusqu'à ce que vous le changiez de nouveau, car il n'y a pas de session à annuler ; la limite et le compteur de FPS n'apparaissent que pendant une session. Si le raccourci gêne dans un jeu, désactivez **Système → Manette → Menu de session hors du mode console** (l'icône de la zone de notification ouvre toujours le menu). - -Le **raccourci de l'affichage des tâches** fait à la manette ce que fait Win + Tab : il ouvre l'affichage des tâches de Windows avec toutes les fenêtres ouvertes, en session ou non. Tant qu'il est ouvert, la croix ou le stick gauche choisit la fenêtre (maintenir répète), **A** l'ouvre et **B** ferme l'affichage ; le raccourci le ferme aussi. Il est activé d'origine sur **Select + X** ; changez-le ou désactivez-le dans **Système → Manette → Raccourci manette pour l'affichage des tâches** (le bouton Xbox seul marche aussi, maintenu, s'il n'est pas le raccourci pour ouvrir Console Mode). Les trois premières fois, un avis montre les boutons avant l'ouverture de l'affichage, car rien n'apparaît par-dessus. Avec une manette Xbox, c'est Windows qui déplace la sélection ; avec une manette PlayStation, que Windows ne comprend pas à cet endroit, c'est Console Mode (désactivez **Naviguer dans l'affichage des tâches avec une manette PlayStation** si vous utilisez DS4Windows ou Steam Input et que les commandes se répètent). - -## 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 ; chaque étape avance seule une fois le temps de la lire écoulé (la barre sous la carte montre ce qu'il reste), **A** avance tout de suite, **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** 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. - -Au retour de Big Picture, **Réduire Steam dans la zone de notification au retour au PC** ferme la fenêtre du client tout en laissant Steam en marche. Si l'option est désactivée, le client de bureau reste ouvert. Les fenêtres de Steam ne sont pas touchées quand un jeu est en cours ou quand son état ne peut pas être vérifié. - -Changer d'écran principal peut amener Windows à mélanger les icônes du bureau. **Remettre les icônes du bureau à leur place** (activé par défaut) enregistre leur position avant la session et les remet en place une fois le bureau restauré. Sans effet si **Réorganiser automatiquement les icônes** est activé sur le bureau, car Windows les place alors lui-même. **Masquer les icônes du bureau pendant la session** (désactivé par défaut) les masque pendant la session, pour un rendu net de console, et les réaffiche au retour sur le PC ; des icônes déjà masquées le restent, et une session interrompue les réaffiche à la prochaine ouverture. - -**Écarter le pointeur de la souris** (activé par défaut) : quand le lanceur apparaît sur la TV, le pointeur part dans le coin inférieur droit de l'écran de jeu, puis encore quelques secondes plus tard, car Steam le recentre à l'ouverture de Big Picture. Au retour sur le PC, il revient là où il était. Masquer complètement le pointeur reste un choix du menu de session. - -**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 Système → À l'entrée en mode console → **Profils par jeu**, où vous pouvez les supprimer. - -## API de contrôle local - -Les liens `consolemode://` s'envoient sans attendre de réponse. Les outils qui ont besoin d'une réponse (un agent de contrôle à distance qui tourne comme service Windows, un plugin Stream Deck qui indique si le mode console est actif) peuvent utiliser le canal nommé `\\.\pipe\ConsoleMode.Control` tant que l'application tourne : envoyez une ligne JSON, recevez-en une en retour. - -``` -→ {"cmd":"status"} // or "start", "stop", "show" -← {"ok":true,"active":true,"restoring":false,"mode":"xboxMode","version":"1.5.0"} -``` - -`start`, `stop` et `show` font exactement ce que fait le lien `consolemode://` correspondant, puis répondent une fois l'application stabilisée (`ok:false` avec un `error` si le mode console n'a pas démarré ou si la restauration n'a pas abouti). `status` se contente de lire. Seuls l'utilisateur connecté et LocalSystem peuvent se connecter ; rien n'est exposé sur le réseau. - -## Contrôle de la TV - -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. - -La plupart des cartes graphiques de PC ne savent pas envoyer de HDMI-CEC, donc l'application parle à la TV par le réseau : - -### Google TV / Android TV - -TCL, Sony, Hisense, Philips et les autres TV sous Google TV ou Android TV, via ADB (le protocole de débogage d'Android). Rien à installer sur le PC. - -1. Sur la TV : **Paramètres → Système → À propos** (Settings → System → About), appuyez 7 fois sur **Build de l'OS Android TV** (Android TV OS build) pour débloquer les options pour les développeurs. -2. **Paramètres → Système → Options pour les développeurs** (Developer options) : activez le **Débogage USB** (USB debugging) (sur certaines TV, **Débogage réseau** / **ADB via le réseau**). -3. Dans Console Mode, choisissez *Google TV / Android TV (réseau)*, saisissez l'adresse IP de la TV (Paramètres → Réseau sur la TV ; réservez-la dans votre box ou routeur) et l'entrée HDMI utilisée par le PC. -4. Appuyez sur **Tester maintenant**. La TV demande « Autoriser le débogage depuis cet ordinateur ? » (Allow debugging from this computer?) : cochez **Toujours autoriser** (Always allow) et appuyez sur **Autoriser** (Allow). - -La clé ADB du PC est stockée chiffrée pour votre utilisateur Windows (DPAPI), donc la TV ne pose la question qu'une fois. Si le dossier de données est copié vers un autre utilisateur Windows ou un autre PC, la clé n'y est pas lisible : l'application en crée une nouvelle et la TV redemande « Autoriser le débogage ? ». - -Le réveil utilise la touche de réveil d'Android, puis la touche **HDMI 1-4**. Si votre TV ignore cette touche, renseignez dans **Commande d'entrée (avancé)** n'importe quelle commande shell Android qui ouvre l'entrée du PC. Si la TV disparaît du réseau en veille, indiquez son **Adresse MAC** pour que l'application envoie d'abord un Wake-on-LAN (l'option « Réveil par le réseau » / « Réveil par Wi-Fi » de la TV doit être activée). - -Quand le bureau revient, la **Commande au retour sur le PC** (facultative) est envoyée d'abord à la TV, par exemple `input keyevent 3` pour son écran d'accueil ou la commande d'une autre entrée ; ensuite la veille, si elle est activée. - -Le « Débogage sans fil » (Wireless debugging) avec code d'association (téléphones Android 11+) est un autre protocole, encapsulé en TLS, et n'est pas pris en charge : utilisez le débogage USB / réseau. - -## Extras facultatifs - -### HDR - -Active le HDR sur l'écran de jeu tant que le mode console est actif. Il est désactivé (ou remis dans son état précédent) à la sortie. - -### VRR - -Console Mode peut activer ou désactiver le paramètre Windows de fréquence d'actualisation variable (VRR). Pour de meilleurs résultats, activez aussi VRR / G-SYNC / FreeSync dans le **panneau de configuration du GPU** (NVIDIA ou AMD). - -### Limite de FPS (RTSS) - -Plafonne la fréquence d'images globale pendant le mode console (utile sur une TV 60 Hz). Nécessite RTSS installé et lancé. La limite précédente est rétablie à la sortie. - -## Limitations - -- Les configurations multi-écrans varient ; sur certaines, la restauration peut demander un second essai depuis la zone de notification -- Le mode Xbox ne détecte pas la fin du plein écran : restaurez manuellement -- La limite de FPS est globale (limitation de RTSS), pas par écran -- La version WinUI 3 nécessite actuellement Windows pour être compilée (`net8.0-windows`) - -## Dépannage - -### La disposition du bureau n'a pas été restaurée - -Ouvrez le menu de la zone de notification et choisissez **Restaurer la configuration**. Si la disposition semble encore incorrecte, choisissez à nouveau **Restaurer la configuration** une fois que Windows a fini d'appliquer le changement d'écrans. Vous pouvez aussi rouvrir la fenêtre depuis la zone de notification et restaurer manuellement. - -### Le son est resté sur la sortie précédente - -Vérifiez que la sortie cible est branchée et disponible dans Windows avant de lancer le mode console. Pour les sorties HDMI/TV, il peut être nécessaire de rebrancher le câble et de relancer le mode. - -### La manette est détectée mais ne fait rien (DualSense / DualShock) - -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é - -Vérifiez que l'écran de jeu prend en charge la fonction et que le HDR est activé dans Windows. Pour le VRR, activez aussi G-SYNC ou FreeSync dans le panneau de configuration du GPU si besoin. - -## Compiler depuis les sources (Windows) - -Voir la section du guide en anglais : [GUIDE.md#build-from-source-windows](GUIDE.md#build-from-source-windows). - -*Cette page est une traduction du guide en anglais. En cas de différence, c'est la version anglaise qui fait foi.* diff --git a/docs/GUIDE.md b/docs/GUIDE.md index 12ec1f53..1624804c 100644 --- a/docs/GUIDE.md +++ b/docs/GUIDE.md @@ -2,7 +2,7 @@ Details that don't fit in the [README](../README.md). -English · [Português (Brasil)](GUIDE.pt-BR.md) · [Español](GUIDE.es-ES.md) · [Deutsch](GUIDE.de-DE.md) · [Français](GUIDE.fr-FR.md) · [Русский](GUIDE.ru-RU.md) +English · [Português (Brasil)](GUIDE.pt-BR.md) ## Modes and restore @@ -13,7 +13,7 @@ English · [Português (Brasil)](GUIDE.pt-BR.md) · [Español](GUIDE.es-ES.md) | **Xbox mode** | Manual — use *Restore now*, the tray menu, or reopen the window | | **Custom app** | Automatic restore when the app (or the process you chose to watch) closes | -If the app closes or the PC shuts down in the middle of a session, the next time Console Mode opens (also at Windows sign-in, if it starts with Windows) it restores everything the session changed: displays, audio, RTSS, desktop icons and the pointer, and says so. +If the app closes or the PC shuts down in the middle of a session, the next time Console Mode opens (also at Windows sign-in, if it starts with Windows) it restores everything the session changed: displays, audio, desktop icons and the pointer, and says so. **Custom app** opens any `.exe` you pick (RetroArch, another launcher…) from its own folder, with optional arguments, and moves its window to the game screen. The session ends a few seconds after that process closes. You can add as many as you like: each one is a tile on Home with its program's icon (**+ Add app** at the end of the row), and System changes or removes the selected one. If the exe only starts another program and exits (a launcher stub), Console Mode follows that program by itself; **Process to watch** is only needed when it guesses wrong (type the real program's process name there). If the watched process never shows up, the session stays until you end it (hold Start + Select, the session menu or the tray). @@ -21,9 +21,9 @@ 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 **System → App → Session menu tour**. +The session menu has two ways out. **Back to the PC** ends the session and puts screens, resolution, HDR and audio 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**. -The menu also works **outside console mode**, to use the PC from the couch without starting anything: with Console Mode open (even just in the tray), the menu shortcut, the tray icon or `consolemode://menu` opens it on the game screen, if it is on, or on the primary one. There you can switch windows, change the volume, resolution, audio output and HDR, open ControlFS and JoyChromium, hide the pointer and drive the mouse with the controller. What you change stays that way until changed again, since there is no session to undo; the FPS limit and counter only show in a session. If the shortcut gets in the way in a game, turn off **System → Controller → Session menu outside console mode** (the tray still opens the menu). +The menu also works **outside console mode**, to use the PC from the couch without starting anything: with Console Mode open (even just in the tray), the menu shortcut or the tray icon opens it on the game screen, if it is on, or on the primary one. There you can switch windows, change the volume, resolution, audio output and HDR, open ControlFS and JoyChromium, hide the pointer and drive the mouse with the controller. What you change stays that way until changed again, since there is no session to undo. If the shortcut gets in the way in a game, turn off **System → Controller → Session menu outside console mode** (the tray still opens the menu). The **Task View shortcut** does from the controller what Win + Tab does: it opens Windows' Task View with all your open windows, in a session or not. While it is open, the D-pad or the left stick picks a window (holding repeats), **A** opens it and **B** closes the view; the shortcut again closes it too. It comes on as **Select + X**; change it or turn it off in **System → Controller → Controller shortcut for Task View** (the Xbox button alone works too, held, if it isn't the open-Console-Mode shortcut). The first three times, a notice shows the buttons before the view opens, since nothing shows on top of it. With an Xbox controller, Windows itself moves the selection; with a PlayStation controller, which Windows doesn't understand there, Console Mode does (turn off **Move around Task View with a PlayStation controller** if you use DS4Windows or Steam Input and moves repeat). @@ -31,13 +31,13 @@ The **Task View shortcut** does from the controller what Win + Tab does: it open 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; each stop moves on by itself once there has been time to read it (the bar under the card shows how long is left), **A** goes on at once, **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 **+** tile at the end adds an app of your own; on one of those, **☰** (OPTIONS on PlayStation) or a right click opens its menu, with **Remove from Home**. 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. +**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 **+** tile at the end adds an app of your own; on one of those, **☰** (OPTIONS on PlayStation) or a right click opens its menu, with **Remove from Home**. The line under the name says where you will play and what changes (audio, resolution, HDR, VRR); the round button next to Play now opens **Session**, with the screens and quick settings. The **System** tab lists its categories on the left (Gaming display, When entering console mode, Controller, TV, Optional extras, App, Shortcut, help, and data, More apps from the developer). Moving over a category shows its options on the right; **A** or right goes into them, and **B** or left goes back to the categories. 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 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. +The **System** tab holds every setting, including controller shortcuts, Playnite, 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. @@ -49,43 +49,6 @@ 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 System → When entering console mode → **Per-game profiles**, where you can delete them. - -## Local control API - -`consolemode://` links fire and forget. Tools that need an answer — a remote-control agent running as a Windows service, a Stream Deck plugin showing whether console mode is on — can use the named pipe `\\.\pipe\ConsoleMode.Control` while the app is running: send one JSON line, get one back. - -``` -→ {"cmd":"status"} // or "start", "stop", "show" -← {"ok":true,"active":true,"restoring":false,"mode":"xboxMode","version":"1.5.0"} -``` - -`start`, `stop` and `show` do exactly what the matching `consolemode://` link does, then reply once the app has settled (`ok:false` with an `error` if console mode didn't start or the restore didn't finish). `status` only reads. Only the signed-in user and LocalSystem can connect; nothing is exposed to the network. - -## TV control - -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. - -Most PC graphics cards can't send HDMI-CEC, so the app talks to the TV over the network instead: - -### Google TV / Android TV - -TCL, Sony, Hisense, Philips and other TVs running Google TV or Android TV, through ADB (the Android debugging protocol). Nothing to install on the PC. - -1. On the TV: **Settings → System → About**, press **Android TV OS build** 7 times to unlock Developer options. -2. **Settings → System → Developer options**: turn on **USB debugging** (on some TVs, **Network debugging** / **ADB over network**). -3. In Console Mode, pick *Google TV / Android TV*, enter the TV's IP (Settings → Network on the TV; reserve it in your router) and the HDMI input the PC uses. -4. Press **Test now**. The TV asks "Allow debugging from this computer?": tick **Always allow** and press **Allow**. - -The PC's ADB key is stored encrypted for your Windows user (DPAPI), so the TV only asks once. If the data folder is copied to another Windows user or PC, the key can't be read there: the app creates a new one and the TV asks "Allow debugging?" again. - -Waking uses the Android wake-up key, then the **HDMI 1-4** key. If your TV ignores that key, set **Input command** to any Android shell command that opens the PC's input. If the TV drops off the network in standby, fill in its **MAC address** so the app sends Wake-on-LAN first (the TV's "Wake on network" / "Wake on Wi-Fi" option must be on). - -When the desk comes back, **Command when going back to the PC** (optional) is sent to the TV first, for example `input keyevent 3` for its Home screen or the command of another input; then standby, if **Put the TV in standby on restore** is on. - -"Wireless debugging" with a pairing code (Android 11+ phones) is a different, TLS-wrapped protocol and isn't supported: use USB / network debugging. ## Optional extras @@ -97,15 +60,10 @@ Enable HDR on the focus monitor while console mode is active. It is turned back Console Mode can toggle the Windows VRR optimize setting. For best results, also enable VRR / G-SYNC / FreeSync in your **GPU control panel** (NVIDIA or AMD). -### FPS limit (RTSS) - -Cap the global frame rate while console mode runs (helpful on a 60 Hz TV). Requires RTSS installed and running. The previous limit is restored when you exit. - ## Limitations - Multi-monitor layouts vary; on some setups restore may need a second try from the tray - Xbox mode does not detect when fullscreen ends — restore manually -- The FPS limit is global (RTSS limitation), not per display - The WinUI 3 build currently requires Windows to compile (`net8.0-windows`) ## Troubleshooting @@ -131,7 +89,7 @@ Confirm that the focus monitor supports the feature and that HDR is enabled in W Requires [Visual Studio 2022](https://visualstudio.microsoft.com/) with the **Windows application development** workload, or the .NET 8 SDK plus the Windows App SDK. ```powershell -# Downloads rtss-cli, then builds both packages +# Builds both packages .\build\Publish-ConsoleMode.ps1 -Version 1.4.0 ``` diff --git a/docs/GUIDE.pt-BR.md b/docs/GUIDE.pt-BR.md index 66f383ec..a8c0024d 100644 --- a/docs/GUIDE.pt-BR.md +++ b/docs/GUIDE.pt-BR.md @@ -2,7 +2,7 @@ Detalhes que não cabem no [README](../README.pt-BR.md). -[English](GUIDE.md) · Português (Brasil) · [Español](GUIDE.es-ES.md) · [Deutsch](GUIDE.de-DE.md) · [Français](GUIDE.fr-FR.md) · [Русский](GUIDE.ru-RU.md) +[English](GUIDE.md) · Português (Brasil) ## Modos e restauração @@ -13,7 +13,7 @@ Detalhes que não cabem no [README](../README.pt-BR.md). | **Modo Xbox** | Manual — *Restaurar agora*, menu da bandeja ou reabrir a janela | | **Aplicativo personalizado** | Restauração automática quando o app (ou o processo escolhido para acompanhar) fecha | -Se o app fechar ou o PC desligar no meio de uma sessão, na próxima vez que o Console Mode abrir (também ao entrar no Windows, se ele inicia com o Windows) ele restaura tudo o que a sessão mudou: telas, áudio, RTSS, ícones da área de trabalho e o ponteiro, e avisa. +Se o app fechar ou o PC desligar no meio de uma sessão, na próxima vez que o Console Mode abrir (também ao entrar no Windows, se ele inicia com o Windows) ele restaura tudo o que a sessão mudou: telas, áudio, ícones da área de trabalho e o ponteiro, e avisa. **Aplicativo personalizado** abre qualquer `.exe` que você escolher (RetroArch, outro launcher…) a partir da própria pasta, com argumentos opcionais, e move a janela dele para a tela de jogo. A sessão termina alguns segundos depois que esse processo fecha. Dá para adicionar quantos quiser: cada um vira um bloco no Início com o ícone do programa (**+ Adicionar app** no fim da fileira), e em Sistema dá para trocar ou remover o selecionado. Se o exe só abre outro programa e fecha (um launcher intermediário), o Console Mode passa a acompanhar esse programa sozinho; **Processo a acompanhar** só é preciso quando ele errar (digite ali o nome do processo do programa de verdade). Se o processo acompanhado nunca aparecer, a sessão continua até você encerrá-la (segurar Start + Select, o menu da sessão ou a bandeja). @@ -21,9 +21,9 @@ 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 **Sistema → App → 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 e áudio 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**. -O menu também funciona **fora do modo console**, para usar o PC do sofá sem iniciar nada: com o Console Mode aberto (mesmo só na bandeja), o atalho do menu, o ícone da bandeja ou `consolemode://menu` o abrem na tela de jogo, se ela estiver ligada, ou na principal. Ali dá para trocar de janela, mexer no volume, na resolução, na saída de áudio e no HDR, abrir o ControlFS e o JoyChromium, esconder o cursor e controlar o mouse com o controle. O que você muda fica assim até ser trocado de novo, já que não há sessão para desfazer; o limite e o contador de FPS só aparecem numa sessão. Se o atalho atrapalhar algum jogo, desligue **Sistema → Controle → Menu da sessão fora do modo console** (a bandeja continua abrindo o menu). +O menu também funciona **fora do modo console**, para usar o PC do sofá sem iniciar nada: com o Console Mode aberto (mesmo só na bandeja), o atalho do menu ou o ícone da bandeja o abrem na tela de jogo, se ela estiver ligada, ou na principal. Ali dá para trocar de janela, mexer no volume, na resolução, na saída de áudio e no HDR, abrir o ControlFS e o JoyChromium, esconder o cursor e controlar o mouse com o controle. O que você muda fica assim até ser trocado de novo, já que não há sessão para desfazer; o limite e o contador de FPS só aparecem numa sessão. Se o atalho atrapalhar algum jogo, desligue **Sistema → Controle → Menu da sessão fora do modo console** (a bandeja continua abrindo o menu). O **atalho da visão de tarefas** faz pelo controle o que o Win + Tab faz: abre a visão de tarefas do Windows com todas as janelas abertas, numa sessão ou fora dela. Com ela aberta, o direcional ou o analógico esquerdo escolhe a janela (segurar repete), **A** abre e **B** fecha; o atalho de novo também fecha. Ele já vem ligado com **Select + X**; troque ou desligue em **Sistema → Controle → Atalho do controle para a visão de tarefas** (o botão Xbox sozinho também serve, segurado, se não estiver no atalho de abrir o Console Mode). Nas três primeiras vezes, um aviso mostra os botões antes de a visão abrir, porque nada aparece por cima dela. Com controle Xbox, quem move a seleção é o próprio Windows; com controle PlayStation, que o Windows não entende ali, é o Console Mode (desligue em **Navegar na visão de tarefas com controle PlayStation** se usar DS4Windows ou o Steam Input e os comandos se repetirem). @@ -37,7 +37,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** 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. +A aba **Sistema** reúne todos os ajustes, incluindo os atalhos do controle, Playnite, 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. @@ -49,43 +49,6 @@ 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 Sistema → Ao entrar no modo console → **Perfis por jogo**, onde dá para apagá-los. - -## API de controle local - -Os links `consolemode://` não dão resposta. Ferramentas que precisam de uma — um agente de controle remoto rodando como serviço do Windows, um plugin de Stream Deck que mostra se o modo console está ligado — podem usar o named pipe `\\.\pipe\ConsoleMode.Control` com o app aberto: envie uma linha JSON e receba outra. - -``` -→ {"cmd":"status"} // ou "start", "stop", "show" -← {"ok":true,"active":true,"restoring":false,"mode":"xboxMode","version":"1.5.0"} -``` - -`start`, `stop` e `show` fazem o mesmo que o link `consolemode://` correspondente e respondem quando o app terminou (`ok:false` com `error` se o modo console não entrou ou a restauração não terminou). `status` só consulta. Só o usuário logado e o LocalSystem conseguem conectar; nada fica exposto na rede. - -## Controle da TV - -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. - -A maioria das placas de vídeo de PC não envia HDMI-CEC, então o app fala com a TV pela rede: - -### Google TV / Android TV - -TVs TCL, Sony, Hisense, Philips e outras com Google TV ou Android TV, via ADB (o protocolo de depuração do Android). Nada para instalar no PC. - -1. Na TV: **Configurações → Sistema → Sobre**, aperte **Build do Android TV OS** 7 vezes para liberar as Opções do desenvolvedor. -2. **Configurações → Sistema → Opções do desenvolvedor**: ative **Depuração USB** (em algumas TVs, **Depuração pela rede** / **ADB pela rede**). -3. No Console Mode, escolha *Google TV / Android TV*, informe o IP da TV (Configurações → Rede na TV; reserve esse IP no roteador) e a entrada HDMI do PC. -4. Aperte **Testar agora**. A TV pergunta "Permitir depuração deste computador?": marque **Sempre permitir** e aperte **Permitir**. - -A chave ADB deste PC fica guardada criptografada para o seu usuário do Windows (DPAPI), então a TV só pergunta uma vez. Se a pasta de dados for copiada para outro usuário do Windows ou outro PC, a chave não pode ser lida lá: o app cria outra e a TV pergunta "Permitir depuração?" de novo. - -Para acordar, o app usa a tecla de despertar do Android e depois a tecla **HDMI 1-4**. Se a sua TV ignorar essa tecla, preencha **Comando da entrada** com qualquer comando de shell do Android que abra a entrada do PC. Se a TV sai da rede em espera, informe o **endereço MAC** para o app mandar Wake-on-LAN antes (a opção "Ligar pela rede" / "Wake on Wi-Fi" da TV precisa estar ativa). - -Quando a mesa volta, o **Comando ao voltar ao PC** (opcional) vai primeiro para a TV, por exemplo `input keyevent 3` para a tela inicial dela ou o comando de outra entrada; depois vem a espera, se **Colocar a TV em espera ao restaurar** estiver ligado. - -A "Depuração sem fio" com código de pareamento (Android 11+ em celulares) é outro protocolo, com TLS, e não é suportada: use a depuração USB / pela rede. ## Extras opcionais @@ -97,15 +60,10 @@ Ativa HDR no monitor de foco enquanto o modo console estiver ligado. Ao sair, o O Console Mode pode alterar a opção de VRR do Windows. Para melhor resultado, ligue também VRR / G-SYNC / FreeSync no **painel do driver da GPU** (NVIDIA ou AMD). -### Limite de FPS (RTSS) - -Limita a taxa de quadros global durante o modo console (útil em TV 60 Hz). Exige RTSS instalado e em execução. O limite anterior volta ao sair. - ## Limitações - Layouts multi-monitor variam; em alguns setups a restauração pode precisar de uma nova tentativa pela bandeja - O Modo Xbox não detecta o fim do fullscreen — restaure manualmente -- O limite de FPS é global (limitação do RTSS), não por tela - O build WinUI 3 precisa ser compilado no Windows (`net8.0-windows`) ## Solução de problemas @@ -131,7 +89,7 @@ Confirme se o monitor de foco é compatível com o recurso e se o HDR está ativ Precisa do [Visual Studio 2022](https://visualstudio.microsoft.com/) com a workload **Desenvolvimento de aplicativos da Windows**, ou do SDK do .NET 8 + Windows App SDK. ```powershell -# Baixa o rtss-cli e compila os dois pacotes +# Compila os dois pacotes .\build\Publish-ConsoleMode.ps1 -Version 1.4.0 ``` diff --git a/docs/GUIDE.ru-RU.md b/docs/GUIDE.ru-RU.md deleted file mode 100644 index a4116dee..00000000 --- a/docs/GUIDE.ru-RU.md +++ /dev/null @@ -1,125 +0,0 @@ -# Руководство по Console Mode - -Подробности, которые не поместились в [README](../README.ru-RU.md). - -[English](GUIDE.md) · [Português (Brasil)](GUIDE.pt-BR.md) · [Español](GUIDE.es-ES.md) · [Deutsch](GUIDE.de-DE.md) · [Français](GUIDE.fr-FR.md) · Русский - -## Режимы и восстановление - -| Режим | При выходе | -|------|---------| -| **Steam Big Picture** | Автоматическое восстановление (приложение остаётся в области уведомлений) | -| **Playnite в полноэкранном режиме** | Автоматическое восстановление (приложение остаётся в области уведомлений) | -| **Режим Xbox** | Вручную: нажмите *«Восстановить сейчас»*, используйте меню в области уведомлений или снова откройте окно | -| **Своё приложение** | Автоматическое восстановление, когда приложение (или выбранный отслеживаемый процесс) закрывается | - -Если приложение закроется или ПК выключится посреди сеанса, при следующем запуске Console Mode (в том числе при входе в Windows, если он запускается вместе с Windows) восстановит всё, что изменил сеанс: экраны, звук, RTSS, значки рабочего стола и указатель, и сообщит об этом. - -Восстановить конфигурацию можно в любой момент из области уведомлений (*«Восстановить конфигурацию»* / *«Показать окно»*). Если экраны закрыты чёрным экраном, **ESC** убирает затемнение. - -Из меню сеанса есть два выхода. **«Вернуться к ПК»** завершает сеанс и возвращает экраны, разрешение, HDR, звук и ограничение FPS в прежнее состояние; приложение остаётся в области уведомлений. **«Выйти из Console Mode»** делает то же самое, а затем закрывает приложение, поэтому сочетания на геймпаде не работают, пока вы не откроете его снова. При первом открытии меню предлагает обзор, который объясняет каждый пункт; чтобы посмотреть его позже, нажмите в меню **Y** (△ на PlayStation) или **F1** либо используйте **«Система» → «Приложение» → «Обзор меню сеанса»**. - -Меню работает и **вне режима консоли** — чтобы пользоваться ПК с дивана, ничего не запуская: пока Console Mode запущен (даже только в трее), сочетание для меню, значок в трее или `consolemode://menu` открывают его на игровом экране, если он включён, иначе на основном. Там можно переключать окна, менять громкость, разрешение, аудиовыход и HDR, открывать ControlFS и JoyChromium, скрывать указатель и управлять мышью с геймпада. Изменённое остаётся таким, пока вы не поменяете его снова, ведь сеанса, который можно отменить, нет; ограничение и счётчик FPS появляются только в сеансе. Если сочетание мешает в какой-нибудь игре, выключите **Система → Геймпад → Меню сеанса вне режима консоли** (значок в трее по-прежнему открывает меню). - -**Сочетание для представления задач** делает с геймпада то же, что Win + Tab: открывает представление задач Windows со всеми открытыми окнами — в сеансе и вне его. Пока оно открыто, крестовина или левый стик выбирают окно (удержание повторяет), **A** открывает его, а **B** закрывает представление; повторное сочетание тоже закрывает. Оно сразу включено как **Select + X**; изменить или выключить его можно в **«Система» → «Геймпад» → «Сочетание на геймпаде для представления задач»** (подойдёт и одна кнопка Xbox с удержанием, если она не занята сочетанием для открытия Console Mode). Первые три раза перед открытием появляется подсказка с кнопками, потому что поверх представления ничего не показывается. С геймпадом Xbox выделение двигает сама Windows; с геймпадом PlayStation, который Windows там не понимает, — Console Mode (выключите **«Управлять представлением задач геймпадом PlayStation»**, если пользуетесь DS4Windows или Steam Input и команды повторяются). - -## Интерфейс - -У Console Mode один интерфейс, устроенный как у консоли: он занимает весь экран и работает с геймпадом Xbox или PlayStation, мышью или клавиатурой (щёлкните по вкладке или используйте Page Up / Page Down; Enter и Esc работают как A и B). При первом запуске обзор проводит по вкладкам, лаунчерам, кнопке «Играть», экранам, быстрым настройкам и сочетаниям геймпада; каждый шаг переходит к следующему сам, когда было время его прочитать (полоска под карточкой показывает, сколько осталось), **A** — дальше сразу, **B** — пропустить. Чтобы посмотреть его снова: **«Система» → «Приложение» → «Обучение»**. Пока приложение загружается, показывается заставка с логотипом и звуком; любая кнопка её пропускает, иногда для сюрприза показывается заставка в духе Xbox 360 или PS4 со звуком консоли; в **«Система» → «Приложение»** можно выбрать стиль (после этого сюрпризов не будет), сразу посмотреть её и выключить заставку или только её звук. - -В разделе **«Система» → «Геймпад»** выберите раскладку кнопок: **«Автоматически»**, **Xbox** или **PlayStation**. Предпросмотр и подписи сочетаний следуют выбору, который сохраняется при закрытии приложения. Меняются только отображаемые символы; назначение кнопок геймпада остаётся прежним. - -На вкладке **«Система»** собраны все настройки, включая сочетания на геймпаде, Playnite, Android TV, своё значение FPS, вид счётчика FPS, аргументы своего приложения, отчёт диагностики и папку данных. Значения сохраняются после перезапуска приложения. - -Откройте действие, сочетание для которого хотите настроить, выберите **«Задать»** или **«Изменить»**, удерживайте нужную комбинацию на одном геймпаде и отпустите кнопки. **«Удалить»** отключает это сочетание. Во время записи кнопки геймпада не управляют интерфейсом; чтобы остановить запись, используйте **«Отмена»** или **Esc**. Вне записи **B** закрывает редактор. В поля адреса и своего значения FPS можно вводить текст с клавиатуры. - -При возврате из Big Picture параметр **«Сворачивать Steam в область уведомлений при возврате к ПК»** закрывает окно клиента, но Steam продолжает работать. Если параметр выключен, клиент на рабочем столе остаётся открытым. Окна Steam не трогаются, если запущена игра или её состояние не удаётся проверить. - -При смене основного экрана Windows может перемешать значки рабочего стола. Параметр **«Возвращать значки рабочего стола на место»** (включён по умолчанию) запоминает их расположение перед сеансом и возвращает значки после восстановления рабочего места. Если на рабочем столе включено **«Упорядочить значки автоматически»**, параметр ничего не делает: Windows расставляет их сам. Параметр **«Скрывать значки рабочего стола во время сеанса»** (по умолчанию выключен) скрывает их на время сеанса, чтобы всё выглядело чисто, как на консоли, и показывает снова при возврате к ПК; уже скрытые значки остаются скрытыми, а после прерванного сеанса они появятся при следующем запуске. - -**Убирать указатель мыши** (включено по умолчанию): когда лаунчер появляется на телевизоре, указатель перемещается в правый нижний угол игрового экрана, а через несколько секунд — ещё раз, потому что Steam снова ставит его в центр при открытии Big Picture. При возврате к ПК он возвращается на прежнее место. Полностью скрыть указатель по-прежнему можно в меню сеанса. - -Параметр **«Пробуждать ПК геймпадом»** разрешает беспроводному адаптеру Xbox, Bluetooth или проводному геймпаду выводить ПК из спящего режима центральной кнопкой геймпада. Кнопка **«Включить»** запрашивает у Windows права администратора и отмечает у этих устройств *Разрешить этому устройству выводить компьютер из ждущего режима*. Выключенный ПК или ПК в режиме гибернации не проснётся, а некоторые ПК отключают питание Bluetooth во сне. Вместе с **«Входить при подключении геймпада»** ПК сразу проснётся в режиме консоли. - -**Профили для игр** задают каждой игре Steam собственные разрешение, HDR, ограничение FPS и аудиовыход. Во время игры откройте меню сеанса и выберите **«Профиль игры» → «Сохранить текущие настройки для…»**: сохранится то, что игровой экран использует в этот момент. Когда эта игра в следующий раз запустится во время сеанса, Console Mode применит профиль, а после её закрытия экран вернётся в прежнее состояние. Игра определяется через Steam, независимо от того, запущена ли она из Big Picture, Playnite или приложения Xbox. Сохранённые профили перечислены в разделе «Система» → «При входе в режим консоли» → **«Профили для игр»**, где их можно удалить. - -## Локальный API управления - -Ссылки `consolemode://` срабатывают без ответа. Инструменты, которым нужен ответ (агент удалённого управления, работающий как служба Windows, плагин Stream Deck, показывающий, включён ли режим консоли), могут использовать именованный канал `\\.\pipe\ConsoleMode.Control`, пока приложение запущено: отправьте одну строку JSON и получите одну в ответ. - -``` -→ {"cmd":"status"} // or "start", "stop", "show" -← {"ok":true,"active":true,"restoring":false,"mode":"xboxMode","version":"1.5.0"} -``` - -`start`, `stop` и `show` делают ровно то же, что и соответствующая ссылка `consolemode://`, и отвечают, когда приложение завершит действие (`ok:false` с полем `error`, если режим консоли не запустился или восстановление не завершилось). `status` только читает состояние. Подключиться могут только вошедший в систему пользователь и LocalSystem; в сеть ничего не открывается. - -## Управление телевизором - -В разделе «Система» → **«Телевизор»** можно включать телевизор и переключать его на HDMI-вход ПК при запуске режима консоли, а также, по желанию, переводить его обратно в режим ожидания после восстановления рабочего стола. Телевизор, который не отвечает, никогда не блокирует режим консоли: приложение записывает это в журнал и, как обычно, ждёт игровой экран. - -По умолчанию выбрано **«Не управлять»**: ничего не отправляется, и запуск или восстановление ничем не замедляются. Если выбран способ управления, шаг с телевизором выполняется первым при запуске режима консоли и занимает не больше **30 секунд** (худший случай, когда телевизор не отвечает и пробуется Wake-on-LAN); перевод в режим ожидания при восстановлении занимает не больше **15 секунд**. Уже включённый телевизор обычно отвечает за секунду-две. - -Большинство видеокарт ПК не умеют отправлять HDMI-CEC, поэтому приложение общается с телевизором по сети: - -### Google TV / Android TV - -TCL, Sony, Hisense, Philips и другие телевизоры с Google TV или Android TV, через ADB (протокол отладки Android). На ПК ничего устанавливать не нужно. - -1. На телевизоре: **«Настройки» → «Система» → «Об устройстве»** (Settings → System → About), нажмите 7 раз на **«Сборка ОС Android TV»** (Android TV OS build), чтобы открыть параметры разработчика. -2. **«Настройки» → «Система» → «Для разработчиков»** (Developer options): включите **«Отладка по USB»** (USB debugging; на некоторых телевизорах **«Отладка по сети»** / **ADB over network**). -3. В Console Mode выберите *«Google TV / Android TV (по сети)»*, введите IP-адрес телевизора («Настройки» → «Сеть» на телевизоре; зарезервируйте его в роутере) и HDMI-вход, к которому подключён ПК. -4. Нажмите **«Проверить»**. Телевизор спросит «Разрешить отладку с этого компьютера?» (Allow debugging from this computer?): отметьте **«Всегда разрешать»** (Always allow) и нажмите **«Разрешить»** (Allow). - -Ключ ADB этого ПК хранится в зашифрованном виде для вашего пользователя Windows (DPAPI), поэтому телевизор спрашивает только один раз. Если папку данных скопировать другому пользователю Windows или на другой ПК, ключ там прочитать не удастся: приложение создаст новый, и телевизор снова спросит «Разрешить отладку?». - -Для включения используется клавиша пробуждения Android, затем клавиша **HDMI 1-4**. Если телевизор её игнорирует, укажите в поле **«Команда входа»** любую shell-команду Android, которая открывает вход ПК. Если в режиме ожидания телевизор отключается от сети, заполните **«MAC-адрес»**, чтобы приложение сначала отправило Wake-on-LAN (на телевизоре должна быть включена опция «Включение по сети» / «Включение по Wi-Fi», Wake on network / Wake on Wi-Fi). - -Когда возвращается рабочий стол, сначала на телевизор отправляется **команда при возврате к ПК** (необязательно), например `input keyevent 3` для его главного экрана или команда другого входа; затем режим ожидания, если он включён. - -«Беспроводная отладка» (Wireless debugging) с кодом сопряжения (телефоны с Android 11+) — это другой протокол, обёрнутый в TLS, и он не поддерживается: используйте отладку по USB или по сети. - -## Дополнительные возможности - -### HDR - -Включает HDR на игровом экране, пока активен режим консоли. При выходе HDR снова выключается (или возвращается в прежнее состояние). - -### VRR - -Console Mode может переключать параметр Windows для оптимизации VRR. Для лучшего результата включите также VRR / G-SYNC / FreeSync в **панели управления видеокарты** (NVIDIA или AMD). - -### Ограничение FPS (RTSS) - -Ограничивает частоту кадров во всех играх, пока работает режим консоли (полезно на телевизоре 60 Гц). Нужен установленный и запущенный RTSS. Прежнее ограничение возвращается при выходе. - -## Ограничения - -- Конфигурации с несколькими мониторами бывают очень разными; на некоторых системах восстановление может потребовать второй попытки из области уведомлений -- Режим Xbox не определяет, когда закончился полноэкранный режим: восстанавливайте вручную -- Ограничение FPS глобальное (ограничение RTSS), а не для каждого экрана -- Сборка WinUI 3 пока компилируется только в Windows (`net8.0-windows`) - -## Решение проблем - -### Раскладка рабочего стола не восстановилась - -Откройте меню в области уведомлений и выберите **«Восстановить конфигурацию»**. Если раскладка всё ещё выглядит неправильно, снова выберите **«Восстановить конфигурацию»**, когда Windows закончит применять изменения мониторов. Можно также снова открыть окно из области уведомлений и восстановить вручную. - -### Звук остался на прежнем выходе - -Перед запуском режима консоли убедитесь, что нужный выход подключён и доступен в Windows. Для выходов HDMI/телевизора может понадобиться переподключить кабель и снова запустить режим. - -### Геймпад виден, но ничего не делает (DualSense / DualShock) - -Откройте **«Система» → «Ярлык, справка и данные» → «Проверка геймпада»**: там в реальном времени видно, что Windows получает от каждого геймпада. Если при нажатии кнопок показания остаются пустыми, скорее всего, геймпад перехватывает Steam (запущенный Steam с поддержкой PlayStation в Steam Input превращает его в клавиатуру и мышь на рабочем столе). Закройте Steam или отключите поддержку PlayStation в Steam Input и проверьте снова. Если показаний по-прежнему нет, нажмите **«Копировать диагностику»** и вставьте результат в форму отзыва. - -### HDR или VRR не изменились - -Убедитесь, что игровой экран поддерживает эту функцию и что HDR включён в Windows. Для VRR также включите G-SYNC или FreeSync в панели управления видеокарты, если это применимо. - -## Сборка из исходного кода (Windows) - -Смотрите раздел английского руководства: [GUIDE.md#build-from-source-windows](GUIDE.md#build-from-source-windows). - -*Эта страница — перевод английского руководства. Если что-то расходится, актуальна английская версия.* diff --git a/docs/TESTING.md b/docs/TESTING.md index 88b896c9..37417a6d 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -56,7 +56,7 @@ Pré-condições: interface Console ativa (Ajustes → Interface → Console, ou ### Navegação pelo controle (direcional e analógico) -- [ ] Em Sessão, com o foco num ajuste rápido à direita (ex.: "Limite de FPS"), **cima** sobe para uma tela (a mais próxima), não fica parado. Resultado: ______ +- [ ] Em Sessão, com o foco num ajuste rápido à direita (ex.: "HDR"), **cima** sobe para uma tela (a mais próxima), não fica parado. Resultado: ______ - [ ] Em Sessão, **baixo** das telas vai para o ajuste rápido mais próximo; esquerda/direita andam só dentro da própria fileira e param nas pontas. Resultado: ______ - [ ] Ao trocar de aba com LB/RB o foco cai no primeiro item (Início: Jogar agora; Sessão: primeira tela; Sistema: primeira linha), com o anel branco visível. Resultado: ______ - [ ] Em Início, baixo de Jogar agora vai para "Setup atual"; cima volta; cima de Jogar agora vai ao botão Modo desktop do topo. Resultado: ______ @@ -135,27 +135,13 @@ Pré-condições: PC com adaptador sem fio Xbox, Bluetooth ou controle no cabo; - [ ] Suspender o PC (Iniciar → Energia → Suspender) e apertar o botão Xbox/PS: o PC acorda. Anote a conexão (adaptador Xbox, Bluetooth, cabo) e o modelo do controle. Resultado: ______ - [ ] Com **Entrar ao conectar um controle** ligado e o app na bandeja: acordar pelo controle já entra no modo console. Resultado: ______ - [ ] Teclado e mouse não aparecem na lista e não são alterados. Resultado: ______ -## 1b3. Perfis por jogo (issue #69) - -Pré-condições: dois jogos da Steam instalados (de preferência um que aceite outra resolução sem reiniciar); RTSS instalado para o limite de FPS; sessão ativa. - -- [ ] Sem jogo rodando, o menu da sessão **não** mostra a linha "Perfil do jogo". Com um jogo aberto (pelo Big Picture), em até ~5 s a linha aparece com ": sem perfil". Resultado: ______ -- [ ] No menu, trocar resolução, HDR, FPS e saída de áudio; depois **Perfil do jogo → Salvar os ajustes atuais**: a linha passa a ": perfil salvo" e Ajustes → **Perfis por jogo** lista o jogo com o resumo certo. Resultado: ______ -- [ ] Fechar o jogo: a resolução, o HDR, o FPS e o áudio voltam ao que eram quando o jogo abriu. O log mostra `Perfil por jogo: … fechou; voltando a tela de antes`. Resultado: ______ -- [ ] Abrir o mesmo jogo de novo: o perfil é aplicado sozinho (log `aplicando o perfil de …`) e desfeito ao fechar. Resultado: ______ -- [ ] Abrir **outro** jogo sem perfil: nada muda. Trocar direto de um jogo com perfil para outro: o primeiro é desfeito antes. Resultado: ______ -- [ ] Jogo aberto pelo **Playnite** ou pelo **app Xbox** (jogo da Steam): o perfil também vale. Resultado: ______ -- [ ] **Voltar ao PC** com o jogo ainda aberto e perfil aplicado: a mesa volta exatamente como antes da sessão (resolução, HDR, FPS, áudio). Resultado: ______ -- [ ] A saída de áudio do perfil desconectada (fone desligado): o resto do perfil é aplicado e o log diz que a saída não está ativa. Resultado: ______ -- [ ] Apagar: pelo menu da sessão (Perfil do jogo → Apagar), em Ajustes (botão **Apagar**) e na aba Sistema → Ao entrar no modo console → Perfis por jogo. Sem perfis, a linha da aba Sistema fica desativada. Resultado: ______ - ## 1c. Menu da sessão (atalho sugerido: Select + Y) ### Tela cheia estilo Steam (Shift+Tab), prévia e janelas - [ ] O menu cobre a **tela inteira** do monitor do jogo (ou o principal, na prévia), com o jogo escurecido e desfocado por trás: painel lateral à esquerda com as opções e, no meio, o bloco "Janelas". Resultado: ______ -- [ ] Com o atalho do menu definido e **sem** sessão ativa, segurar o atalho abre o menu (prévia), com o selo "Prévia · fora da sessão". O link `consolemode://menu` e o item da bandeja também abrem. Resultado: ______ -- [ ] Na prévia: o FPS não aparece, "Voltar ao PC" vira "Fechar menu" e só fecha o menu, e "Sair do Console Mode" fecha o app sem restaurar nada. Volume, saída de áudio, resolução e HDR valem de verdade (não há sessão para desfazê-los). Resultado: ______ +- [ ] Com o atalho do menu definido e **sem** sessão ativa, segurar o atalho abre o menu (prévia), com o selo "Prévia · fora da sessão". O item da bandeja também abre. Resultado: ______ +- [ ] Na prévia: "Voltar ao PC" vira "Fechar menu" e só fecha o menu, e "Sair do Console Mode" fecha o app sem restaurar nada. Volume, saída de áudio, resolução e HDR valem de verdade (não há sessão para desfazê-los). Resultado: ______ - [ ] O painel lateral entra deslizando pela esquerda com as linhas em cascata, as janelas sobem e aparecem, e ao fechar (B, Esc ou o atalho) tudo some em ~0,2 s. Com as animações do Windows desligadas, abre e fecha sem movimento. Resultado: ______ - [ ] A linha/card em foco ganha contorno branco e cresce um pouco; há som ao mover, confirmar e voltar. Resultado: ______ - [ ] Direcional entre o painel lateral e o grid de janelas (esquerda/direita) e dentro de cada um (cima/baixo) nunca fica "morto"; com o seletor (resolução, áudio, FPS) aberto o foco não escapa para trás. Resultado: ______ @@ -183,14 +169,12 @@ Pré-condições: sessão ativa com Big Picture (ou jogo borderless) na tela; co - [ ] **Volume:** ◀/▶ na linha muda de 5 em 5 e o Windows reflete; A alterna mudo. O valor inicial é o atual do Windows. Resultado: ______ - [ ] **Resolução:** abre a lista com a atual marcada; escolher outra aplica na TV, o Big Picture continua aberto e a sessão não se encerra sozinha. Ao restaurar no fim, a resolução original volta. Resultado: ______ - [ ] **Saída de áudio:** lista só saídas ativas; escolher troca o som na hora e o "ao conectar" não desfaz. Resultado: ______ -- [ ] **Limite de FPS** (só com RTSS): trocar o limite vale no jogo; "Sem limite" desliga o limitador; ao restaurar, o RTSS volta ao que era antes da sessão. Resultado: ______ - [ ] **HDR:** alternar liga/desliga na TV; ao restaurar, o HDR volta ao estado de antes da sessão (inclusive se você desligou um que estava ligado). Resultado: ______ - [ ] "Gravar os últimos 30 s" aparece desativado com "em breve". Resultado: ______ - [ ] **Voltar ao PC** restaura e o app fica na bandeja; **Sair do Console Mode** restaura e fecha o app. Resultado: ______ - [ ] Start + Select continua restaurando direto, sem abrir o menu. Resultado: ______ - [ ] Com **PlayStation**: D-pad/✕/○ funcionam no menu (a janela toma o primeiro plano). Resultado: ______ - [ ] Jogo em **tela cheia exclusiva**: o menu não aparece por cima (limitação documentada); Select + Y não quebra nada. Resultado: ______ -- [ ] `start consolemode://menu` no cmd abre o menu; fora da sessão, não faz nada. Resultado: ______ ### Tour guiado do menu @@ -199,7 +183,7 @@ Pré-condição para o convite: `SessionMenuTourDone` ausente ou `false` no `con - [ ] **Convite na primeira vez**: ao abrir o menu (sessão ou prévia), depois que as linhas terminam de entrar, aparece um cartão centralizado "Primeira vez neste menu?", com "Agora não" (B) e "Fazer o tour" (A, em foco). A dica do convite mostra o botão certo (Y no Xbox, △ no PlayStation). Resultado: ______ - [ ] **Agora não** (ou B): o cartão some, o foco volta para "Voltar ao jogo" e o convite **não** aparece mais ao reabrir o menu (`SessionMenuTourDone: true` no config). Resultado: ______ - [ ] **Fechar o menu com o convite aberto** (pelo atalho): o convite aparece de novo na próxima abertura. Resultado: ______ -- [ ] **Paradas**: A avança por Voltar ao jogo → Explorador de arquivos → Volume → Tela e som → FPS (só com RTSS e fora da prévia) → Janelas → Voltar ao PC (ou "Fechar menu" na prévia) → Sair do Console Mode. Cada parada escurece o resto do menu, contorna na cor de destaque só as linhas certas (resolução e áudio juntas e o HDR à parte quando as linhas de FPS estão entre eles) e mostra "n de N". Resultado: ______ +- [ ] **Paradas**: A avança por Voltar ao jogo → Explorador de arquivos → Volume → Tela e som → Janelas → Voltar ao PC (ou "Fechar menu" na prévia) → Sair do Console Mode. Cada parada escurece o resto do menu, contorna na cor de destaque só as linhas certas (resolução e áudio juntas e o HDR à parte quando as linhas de FPS estão entre eles) e mostra "n de N". Resultado: ______ - [ ] **Balão**: fica à direita do painel lateral, na altura das linhas destacadas, sem sair da tela; na parada Janelas fica sobre o painel lateral. Os textos não ficam cortados a 1080p nem a 4K com escala. Resultado: ______ - [ ] **Rolagem**: numa tela em que o painel lateral precisa rolar (1080p com escala de 125%+), as paradas Voltar ao PC e Sair do Console Mode rolam o painel até as linhas e o destaque acompanha. Resultado: ______ - [ ] **Textos das saídas**: em sessão, "Voltar ao PC" explica que restaura e o app fica na bandeja, e "Sair do Console Mode" que também fecha o app; na prévia, "Fechar menu" diz que só fecha o menu. Resultado: ______ @@ -268,15 +252,6 @@ Onde aparece: no cabeçalho do menu da sessão (depois de "controle Xbox detecta - [ ] Bateria fraca na sessão: com um controle em 15 % ou menos, aparece um aviso no canto da TV ("Bateria do controle fraca"), sem tirar o foco do jogo; não repete a cada 30 s. Aparece de novo só em 5 % ou menos, ou depois de carregar. Fora da sessão não há aviso. Log: `Controle: bateria fraca (...)`. Resultado: ______ - [ ] Leitor de tela (Narrador) no indicador: lê "Bateria do controle: 65%" (e ", carregando"). Resultado: ______ -## 2. Links `consolemode://` - -- [ ] `start consolemode://start` no `cmd` com o app **fechado**: abre e entra no modo console. Resultado: ______ -- [ ] `consolemode://start` com o app **aberto**: entra no modo console sem abrir segunda instância (só um `ConsoleMode.exe` no Gerenciador de Tarefas). Resultado: ______ -- [ ] `consolemode://stop` durante a sessão: restaura a mesa. Com sessão inativa: só mostra a janela. Resultado: ______ -- [ ] `consolemode://show`: traz a janela para frente (da bandeja também). Resultado: ______ -- [ ] Versão **instalada**: o instalador registra o protocolo; desinstalar remove `HKCU\Software\Classes\consolemode`. Resultado: ______ -- [ ] Versão **portátil** movida de pasta: ao abrir, o registro passa a apontar para o novo caminho (log `Protocolo: consolemode:// registrado`). Resultado: ______ - ## 3. Interface Console Pré-condições: Ajustes → Interface = **Automático** (padrão). @@ -294,6 +269,7 @@ Pré-condições: Ajustes → Interface = **Automático** (padrão). - [ ] Trocar o idioma em Ajustes e voltar para Console: todos os textos, incluindo os cartões, trocam. Resultado: ______ - [ ] Em alemão, francês e russo (textos mais longos), percorrer Home, Ajustes, menu da sessão e tutorial nas duas interfaces: nenhum botão, cartão ou linha do menu corta o texto ou sobrepõe outro elemento. Resultado: ______ - [ ] Instalador em alemão, francês e russo: o diálogo de idioma lista os três, as opções de atalho e de iniciar com o Windows aparecem sem caracteres quebrados, e o app abre no idioma escolhido. Resultado: ______ +- [ ] Instalador e app em italiano: o diálogo de idioma lista Italiano, as opções de atalho e de iniciar com o Windows aparecem sem caracteres quebrados, e o app abre em italiano. Percorrer Início, Sessão, Sistema, o menu da sessão e o tutorial, nas interfaces Desktop e Console, procurando textos cortados ou sobrepostos. Resultado: ______ ### Navegação por controle (Xbox **e** PlayStation; a janela precisa estar em primeiro plano) - [ ] **Interface Desktop:** D-pad move o foco entre tiles, o seletor de papel, os cards de Ajustes e os ComboBoxes; A abre um ComboBox, D-pad percorre, A escolhe, B fecha; Start abre e fecha Ajustes; Y vai para a interface Console; no tutorial, A avança e B pula. Resultado: ______ @@ -302,7 +278,7 @@ Pré-condições: Ajustes → Interface = **Automático** (padrão). - [ ] Ao abrir, o foco está em **Jogar agora** (anel grosso). Resultado: ______ - [ ] D-pad e analógico esquerdo movem o foco: Jogar → cartões de ajustes → cartões de telas → "Modo desktop", e de volta. Segurar uma direção repete. Resultado: ______ - [ ] **A** num cartão de tela abre o painel "O que a tela X faz?" com foco em "Jogar aqui"; A escolhe; **B** fecha sem mudar. Resultado: ______ -- [ ] **A** num cartão de ajuste rápido cicla o valor (Abrir, Áudio, Resolução, HDR, VRR, FPS) e o resumo no topo acompanha. Resultado: ______ +- [ ] **A** num cartão de ajuste rápido cicla o valor (Abrir, Áudio, Resolução, HDR, VRR) e o resumo no topo acompanha. Resultado: ______ - [ ] **Start/Options** com foco em qualquer lugar inicia a sessão; **Y/△** abre "Todos os ajustes" (interface Desktop). Resultado: ______ - [ ] As dicas do rodapé mostram A/B/☰/Y com Xbox e ✕/○/OPTIONS/△ com PlayStation. Resultado: ______ - [ ] Teclado: setas, Enter e Esc fazem o mesmo que D-pad, A e B. Resultado: ______ @@ -327,7 +303,7 @@ Pré-condições: Ajustes → Interface = **Automático** (padrão). Pré-condições: lançador = Steam Big Picture; Ajustes → "Mandar a Steam para a bandeja ao voltar ao PC" **ligado** (padrão); nenhum jogo aberto. -- [ ] Voltar ao PC por cada caminho (botão "Voltar ao PC", menu da sessão, atalho do controle, `consolemode://stop`, tray → Restaurar): o **Big Picture fecha**, a janela principal some e a **Steam continua em execução na bandeja**. Resultado: ______ +- [ ] Voltar ao PC por cada caminho (botão "Voltar ao PC", menu da sessão, atalho do controle, tray → Restaurar): o **Big Picture fecha**, a janela principal some e a **Steam continua em execução na bandeja**. Resultado: ______ - [ ] Sair pelo próprio Big Picture (Sair → Sair do Big Picture): a mesa volta e a Steam permanece na bandeja. Resultado: ______ - [ ] O processo da Steam continua no Gerenciador de Tarefas; clicar no ícone da bandeja reabre o cliente sem login nem reinício. Resultado: ______ - [ ] Com um **jogo da Steam rodando**: a Steam fica aberta e o log mostra `Steam: mantida aberta (jogo em execução, id …)`; o Big Picture ainda é fechado. Resultado: ______ @@ -340,39 +316,13 @@ Pré-condições: lançador = Steam Big Picture; Ajustes → "Mandar a Steam par - [ ] Janelas de jogo, chat/popups da Steam e outros aplicativos não recebem o pedido de fechamento da janela principal. Resultado: ______ - [ ] Se o Big Picture demorar a fechar (travado), a restauração da mesa continua e termina normalmente (o log mostra `Big Picture ainda aberto`). Resultado: ______ -## 3c. Controle da TV: Google TV / Android TV (issue #75) - -### Volta na 1.7.1 (#207) - -- [ ] Sistema mostra de novo a categoria **TV**; o direcional e o mouse chegam nela e nas outras sem buracos. Resultado: ______ -- [ ] Com a TV configurada na 1.6 (ou no Legacy): o `config.json` mantém o bloco `tv`, a sessão liga a TV e troca a entrada, e a volta a coloca em espera se a opção estiver ligada (o log tem "TV: ligar" / "TV: desligar"). Resultado: ______ -- [ ] Com um **Comando de entrada** próprio (ex.: `am start -n com.smartdevice.livetv/skyworth.skyworthlivetv.osd.ui.mainActivity.LiveTvScreenActivity` numa Coocaa/Skyworth): a TV vai para a entrada do PC. Resultado: ______ - -Pré-condições: TV Google TV / Android TV na mesma rede do PC, com **Depuração USB** (ou "Depuração pela rede") ativada nas Opções do desenvolvedor; Ajustes → TV → *Google TV / Android TV* com o IP e a entrada HDMI do PC. - -- [ ] **Testar agora** na primeira vez: a TV pede "Permitir depuração"; com "Sempre permitir" + "Permitir", a TV acorda e vai para a entrada do PC. O status mostra sucesso. Resultado: ______ -- [ ] **Testar agora** de novo: não pede mais permissão; com a TV em espera, ela liga e troca a entrada. Resultado: ______ -- [ ] Recusar o pedido na TV (ou esperar 60 s): o status explica que a TV não autorizou este PC. Resultado: ______ -- [ ] IP errado / TV fora da rede: o status diz que a TV não respondeu, em poucos segundos. Resultado: ______ -- [ ] TV acessível pela rede, mas sem responder ao teste ADB: o status informa o limite de 90 s e o botão **Testar agora** volta a ficar disponível. Resultado: ______ -- [ ] **Jogar agora** com a TV em espera: ela liga, troca para o PC e o modo console segue normal. O log tem `TV: ligar (androidTv) ok`. Resultado: ______ -- [ ] Com a TV desligada da tomada: o modo console não trava; o log tem `TV: ligar ... falhou` e o fluxo segue (a TV não aparece, o app avisa como antes). Resultado: ______ -- [ ] TV que some da rede em espera + **MAC** preenchido: o log mostra `enviando Wake-on-LAN` e a TV liga (com "Ligar pela rede" ativo na TV). Resultado: ______ -- [ ] **Colocar a TV em espera ao restaurar** ligado: ao sair do Big Picture, a mesa volta e depois a TV entra em espera. Desligado (padrão): a TV continua ligada. Resultado: ______ -- [ ] TV que ignora a tecla HDMI: preencher **Comando da entrada** faz a troca funcionar. Resultado: ______ -- [ ] Escolher "Não controlar": os campos somem e nada é enviado à TV, e **Jogar agora** não demora mais do que antes (nenhuma linha `TV:` no log). Resultado: ______ -- [ ] O arquivo `adbkey.pem` na pasta de dados começa com `dpapi:` (não com `-----BEGIN`). Copiar a pasta de dados para outro usuário do Windows: o log mostra "chave ADB de outro usuário/PC; criando outra" e a TV pede permissão de novo. Resultado: ______ -- [ ] TV desligada da tomada: **Jogar agora** espera no máximo ~30 s pela TV e segue (o log mostra o tempo). Resultado: ______ - ## 3d. Configurações no modo Console -- [ ] Em Sistema, as configurações do modo PC também estão disponíveis: caminho do Playnite, fechar a Steam, Android TV, FPS personalizado, atalhos, diagnóstico do controle, tutorial e pasta de dados. Resultado: ______ +- [ ] Em Sistema, as configurações do modo PC também estão disponíveis: caminho do Playnite, fechar a Steam, atalhos, diagnóstico do controle, tutorial e pasta de dados. Resultado: ______ - [ ] Configurar, alterar e remover os atalhos de abrir o app, menu da sessão e voltar ao PC; uma combinação em conflito mostra o mesmo erro do modo PC. Durante a captura, os botões não navegam nem iniciam uma sessão. Resultado: ______ - [ ] Na captura, apertar e soltar B/○ sozinho cancela sem alterar o atalho; B/○ de novo fecha o editor e devolve o foco à configuração. B/○ junto com outro botão ainda pode ser salvo como combinação, mas B/○ sozinho não é um atalho válido. Teclado e mouse também conseguem abrir e fechar o editor sem acionar opções atrás dele. Resultado: ______ - [ ] Alterar uma configuração no modo Console, trocar para PC e reabrir o app: o valor permanece igual nas duas interfaces. Resultado: ______ - [ ] Selecionar e limpar o caminho do Playnite; cancelar o seletor mantém o valor anterior. Resultado: ______ -- [ ] Configurar a Android TV no modo Console: endereço, MAC opcional, entrada HDMI, comando da entrada e espera ao restaurar; Testar agora mostra o resultado e libera o botão após erro ou timeout. Resultado: ______ -- [ ] Selecionar FPS personalizado e digitar o limite; o modo PC mostra o mesmo valor. Sem RTSS disponível, a configuração respeita a mesma indisponibilidade das duas interfaces. Resultado: ______ - [ ] Copiar o diagnóstico do controle, abrir a pasta de dados e rever o tutorial no modo Console; ao voltar, o foco continua em uma opção visível. Resultado: ______ - [ ] Passar o mouse sobre categorias, opções, abas e cards: o realce aparece e some suavemente (sem cinza brusco), e o texto não fica apagado ao clicar; clicar afunda o item de leve. Trocar de categoria acende a barra verde e o nome com transição. Resultado: ______ - [ ] Desativar uma opção (ex.: atalho de toque curto sem atalho Home) a deixa esmaecida e sem realce. Menu da sessão: as mesmas linhas e cards continuam legíveis no tema claro. Resultado: ______ @@ -443,7 +393,6 @@ Pré-condições: 1.6 instalada por cima da 1.5, com a configuração da 1.5 (te ### Outras estratégias - [ ] "Cortinas pretas": as telas da mesa ficam pretas e voltam ao restaurar. Resultado: ______ -- [ ] "Desligar por DDC/CI" (monitor com DDC/CI ligado no menu dele): as telas da mesa apagam e voltam a acender ao restaurar. Resultado: ______ ### Aplicativo personalizado @@ -500,43 +449,6 @@ Pré-condições: 1.6 instalada por cima da 1.5, com a configuração da 1.5 (te - [ ] Reduza a altura da janela e confirme que o editor rola até **Voltar**, sem esconder os cartões. - [ ] Feche o editor durante uma captura e confirme que ela para; reabra-o e confirme que nenhum botão fica preso em captura. -## Contador de FPS (RTSS) - -Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Display" ligado; MSI Afterburner aberto com o OSD dele ligado. - -- [ ] Sem o RTSS instalado, a linha "Contador de FPS" não aparece no menu da sessão e o cartão em Ajustes fica desabilitado. -- [ ] Na prévia (menu aberto fora de uma sessão), a linha não aparece. -- [ ] Config nova: o estilo é "Afterburner (não mexer)" e o OSD do Afterburner aparece normal na sessão. -- [ ] Em sessão, A na linha "Contador de FPS" abre a lista de ajustes do contador. A em "Estilo" alterna Afterburner → Desligado → Apenas FPS → Compacto → Detalhado → Personalizado → Afterburner, e o jogo muda na hora; a lista continua aberta com o foco na mesma linha. -- [ ] Na lista do contador, Tamanho, Posição, Fundo em card e Cor mudam o contador na hora; com Personalizado aparecem "Tudo em uma linha" e os itens (com ✓ nos ligados), e A liga/desliga cada um. B fecha a lista e volta para a linha do contador. Os ajustes ficam salvos e aparecem iguais em Ajustes. -- [ ] Desligado: nada na tela, nem o nosso nem o do Afterburner (no máximo um piscar rápido do Afterburner de vez em quando). -- [ ] Compacto / Detalhado / Personalizado: só o nosso aparece; o do Afterburner fica escondido. -- [ ] Afterburner: o nosso some e o do Afterburner volta em até 1 s. -- [ ] Ajustes → Contador de FPS → Personalizado: marcar/desmarcar API, FPS e tempo de quadro, "Tudo em uma linha" e a cor muda o contador no jogo na hora (com a sessão ativa). -- [ ] Personalizado sem nenhum item marcado ainda mostra o FPS. -- [ ] Com o RTSS fechado, ligar Compacto abre o RTSS e o contador aparece. -- [ ] Voltar ao PC: o nosso some e o do Afterburner volta. -- [ ] A escolha e o layout ficam salvos para a próxima sessão. -- [ ] Com Compacto (ou outro estilo nosso) já salvo em Ajustes, iniciar a sessão: o contador aparece e o do Afterburner some sem precisar mexer na linha do menu. - -### Card, tamanhos e dados do PC (1.6.1) - -- [ ] Apenas FPS / Compacto / Detalhado aparecem dentro de um card escuro, translúcido e de cantos arredondados, com uma folga em volta do texto; o card acompanha o tamanho do texto (não cobre a tela toda nem o OSD de outro programa). -- [ ] Posição "A do RTSS": o card fica na posição do OSD escolhida no RTSS. -- [ ] Posição em cada um dos quatro cantos: o contador vai para aquele canto da tela, com e sem o card, e não sai da tela nos cantos da direita e de baixo. -- [ ] "Fundo em card" desligado: o texto volta a ficar direto sobre o jogo, sem fundo. -- [ ] Tamanho Pequeno / Médio / Grande muda o tamanho de todo o contador na hora; no Grande o texto continua nítido e as unidades (FPS, %, GHz) ficam alinhadas na base dos números. -- [ ] Compacto: uma linha com FPS, CPU %, GPU % e RAM %; os números não fazem o texto "pular" quando mudam de 2 para 3 dígitos. -- [ ] Detalhado: FPS, tempo de quadro e API na primeira linha; CPU (uso e clock), GPU (uso, clock e °C), VRAM (usada / total) e RAM (usada / total) em linhas alinhadas. -- [ ] Os valores batem com o Gerenciador de Tarefas (CPU %, velocidade, GPU %, memória dedicada, temperatura da GPU) e atualizam a cada ~1 s. -- [ ] No primeiro segundo os valores aparecem como "--" e depois são preenchidos. -- [ ] Notebook com GPU integrada + dedicada: os dados de GPU são da placa que está rodando o jogo. -- [ ] GPU cujo driver não informa temperatura ou clock: esses itens simplesmente não aparecem (sem "0 MHz"). -- [ ] Personalizado: marcar/desmarcar cada item do PC (uso/clock da CPU, RAM, VRAM, uso/clock/temperatura da GPU) muda o contador na hora; com "Tudo em uma linha" ligado, fica tudo numa linha. -- [ ] Config salva na 1.6.0 com "Compacto": depois de atualizar, aparece "Apenas FPS" e o jogo mostra só o FPS. -- [ ] Voltar ao PC com Compacto/Detalhado: o contador some e não volta sozinho segundos depois. -- [ ] Uso de CPU do Console Mode com Detalhado ligado continua baixo (Gerenciador de Tarefas, < 1%). - ## Minimizar para a bandeja - [ ] Ajustes → "Minimizar para a bandeja" vem desligado; minimizar deixa a janela na barra de tarefas, como antes. @@ -591,14 +503,6 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] TV como tela de jogo com 2560x1440 @ 60 Hz em Sistema: a sessão começa e a TV muda de resolução **uma vez só** (sem apagar duas ou três vezes). O log tem "Telas: ... em 2560x1440@59 (pedido 2560x1440@60)" ou "@60", e nenhum "Não foi possível aplicar". Resultado: ______ - [ ] O mesmo com 3840x2160 @ 60 e com "Não alterar": nada muda para pior. Resultado: ______ -- [ ] Perfil por jogo salvo com @60: abrir o jogo com a TV já em @59 não faz a TV piscar. Resultado: ______ - -## Comando na TV ao voltar ao PC (#213, issue #209) - -- [ ] Android TV configurada, **Comando ao voltar ao PC** = `input keyevent 3`, espera desligada: ao voltar ao PC a TV vai para a tela inicial e continua ligada. O log tem "TV: voltar ao PC (androidTv) ok". Resultado: ______ -- [ ] O mesmo com a espera ligada: a TV vai para a tela inicial e depois entra em espera. Resultado: ______ -- [ ] Comando vazio e espera ligada: igual à 1.6 (só a espera). Comando vazio e espera desligada: nada é enviado (nenhuma linha "TV: voltar ao PC" no log). Resultado: ______ -- [ ] Com o comando de outra entrada (ex.: o `am start …` da Skyworth do PLEXX-DE para a HDMI dele), a TV troca para ela ao voltar ao PC. Resultado: ______ ## Interface Console no estilo console (1.7.0) @@ -610,7 +514,7 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] A num iniciador (ou um clique) só marca aquele iniciador, sem abrir nada; com A o foco desce para o Jogar agora, e é ele que abre. - [ ] Fonte Inter: os textos da interface Console e do menu da sessão usam a Inter (o "a" e o "g" de dois andares mudam de cara em relação à Segoe), em negrito de verdade no título e no Jogar agora, sem aparência borrada de negrito sintético. Conferir também no **portátil**: se a fonte não carregar, o app cai na Segoe UI sem quebrar. O modo PC continua com a Segoe UI. - [ ] Russo: o cirílico aparece na Inter, sem misturar fontes no meio da palavra. -- [ ] A linha embaixo do título mostra a resolução da tela de jogo e depois áudio, FPS, HDR e VRR quando ligados, separados por "·", e atualiza ao mudar cada um. +- [ ] A linha embaixo do título mostra a resolução da tela de jogo e depois áudio, HDR e VRR quando ligados, separados por "·", e atualiza ao mudar cada um. - [ ] Sem tela de jogo escolhida, o texto pede para escolher a tela e Jogar agora fica desativado. - [ ] O botão redondo ao lado de Jogar agora abre a aba Sessão. - [ ] Com capas da Steam como fundo, as capas aparecem mais à direita e o lado esquerdo e a parte de baixo ficam escuros; o texto continua legível. Com imagem própria e sem fundo também. @@ -628,7 +532,6 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] Atalhos (Controle): abrir o editor e voltar devolve o foco para a linha do atalho. - [ ] Teste do controle (Atalho, ajuda e dados): ao fechar, o foco volta para a linha. - [ ] Fundo, imagem do fundo e sons da interface ficam em App; Fechar a Steam ao voltar ao PC fica em Ao entrar no modo console. -- [ ] Campos de texto da TV e do FPS personalizado continuam aceitando digitação e as setas movem o cursor neles. ### Visual geral - [ ] Blocos e linhas sem borda fina, cantos mais arredondados, Jogar agora em formato de pílula; o contorno branco do foco aparece em tudo, inclusive no menu da sessão. @@ -641,7 +544,7 @@ Pré-requisito: RivaTuner Statistics Server instalado, com "Show On-Screen Displ - [ ] Ligar o HDR no Windows e clicar em **Atualizar**: a tela passa a "HDR on". - [ ] Áudio: lista as saídas, com a padrão do Windows e a escolhida no app marcadas; com "Ao conectar", nenhuma vem como escolhida. - [ ] Controles: com um Xbox e um DualSense ligados, os dois aparecem (Xbox / PlayStation); sem nenhum, "(none)". -- [ ] Programas: Steam, Playnite, RTSS e ControlFS com caminho e versão quando instalados, e "not found" quando não; "Launches" mostra o iniciador escolhido. +- [ ] Programas: Steam, Playnite e ControlFS com caminho e versão quando instalados, e "not found" quando não; "Launches" mostra o iniciador escolhido. - [ ] Log: as últimas ~50 linhas do `consolemode.log` aparecem no fim. - [ ] Nenhum caminho mostra o nome do usuário do Windows (`C:\Users\…\`), nem com Playnite instalado em `%LOCALAPPDATA%`. - [ ] **Copiar relatório** mostra o aviso de copiado e o texto colado no Bloco de Notas é igual ao da tela. @@ -682,7 +585,6 @@ Pré-condições: a opção **Tirar o ponteiro do mouse do caminho** ligada (é - [ ] Com uma soundbar ou receiver que liga junto com a TV: o áudio vai para a soundbar, não para a TV. Resultado: ______ - [ ] Controle que fazia o menu "subir sozinho": o menu fica parado; se o log mostrar `analógico fora do centro desde o início`, o direcional e os botões continuam navegando. Anote o modelo do controle. Resultado: ______ - [ ] Controle normal: o analógico navega como antes (na primeira leitura ele está no centro). Resultado: ______ -- [ ] Aba Sessão em espanhol, francês e russo: as legendas dos ajustes rápidos aparecem inteiras, em até duas linhas. Resultado: ______ ## Barra de título (#182) @@ -740,7 +642,6 @@ Pré-condições: um `config.json` sem `consoleTourDone` (vale para quem atualiz - [ ] 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: ______ @@ -771,7 +672,7 @@ Pré-condições: um `config.json` sem `consoleTourDone` (vale para quem atualiz - [ ] Aviso de início de sessão (com o atalho do menu definido) e de bateria fraca: entra deslizando da borda direita da TV, sem aparecer em outra tela ao lado; o fundo em volta do card é transparente (sem retângulo preto); a barrinha verde esvazia e o aviso sai deslizando para a direita. O jogo não perde o foco em nenhum momento. Resultado: ______ -- [ ] Menu fora do modo console: com o atalho do menu definido e o Console Mode só na bandeja, segurar o atalho abre o Menu da sessão na tela de jogo (ou na principal, com a TV desligada), com o selo "Fora da sessão" e sem limite/contador de FPS. Resultado: ______ +- [ ] Menu fora do modo console: com o atalho do menu definido e o Console Mode só na bandeja, segurar o atalho abre o Menu da sessão na tela de jogo (ou na principal, com a TV desligada), com o selo "Fora da sessão". Resultado: ______ - [ ] Fora da sessão, **Controlar o mouse com o controle** move o ponteiro e clica; com a janela do Console Mode em primeiro plano o controle volta a navegar a interface (o mouse espera); com o menu aberto, também. **Ocultar o cursor** some com a seta. Começar uma sessão desliga os dois; fechar o Console Mode traz o cursor de volta. Resultado: ______ - [ ] Sistema → Controle → **Menu da sessão fora do modo console** desligado: o atalho não abre o menu fora da sessão (abre numa sessão), o ícone da bandeja continua abrindo; desligar com o mouse do controle ligado o desliga. Resultado: ______ diff --git a/docs/TRANSLATING.md b/docs/TRANSLATING.md index c918709b..215698cd 100644 --- a/docs/TRANSLATING.md +++ b/docs/TRANSLATING.md @@ -1,12 +1,12 @@ # Translating Console Mode -Console Mode speaks English, Português (Brasil), Español, Deutsch, Français and Русский. Thanks for helping it speak yours, or for fixing a line that reads wrong in your language. +Console Mode speaks English, Português (Brasil) and Italiano. Thanks for helping it speak yours, or for fixing a line that reads wrong in your language. You don't need Windows or a build environment: every text the app shows lives in one JSON file per language, and the tests that check it run on any OS. ## Fix or improve an existing translation -1. Open `src/ConsoleMode/Resources/Strings..json` for your language (for example `Strings.de-DE.json`). +1. Open `src/ConsoleMode/Resources/Strings..json` for your language (for example `Strings.it-IT.json`). 2. Change the **values**, never the keys. To find a text, search for it in `Strings.en-US.json`, then look up the same key in your file. 3. Open a pull request. If you'd rather not touch Git, [open a feedback issue](https://github.com/lippdev/consolemode/issues/new?template=feedback.yml) with the key (or a screenshot), the current text and your suggestion. @@ -31,7 +31,7 @@ A translated `README..md` and `docs/GUIDE..md` are welcome too, in a - **Keep it short.** Much of the app is read from the couch on a TV and laid out in cards and menu rows; a text much longer than the English may be cut. If your language runs long, prefer the shorter wording. - **Talk to the player** the way games and consoles in your language do (in most languages, informally). Keep one tone across the whole file. - **Use the official names** of things outside the app as they appear in your language: Windows settings, Steam, Big Picture, Xbox, PlayStation buttons (✕ ○ □ △), HDR, VRR. -- **Don't translate** product names: Console Mode, Steam Big Picture, Playnite, RTSS, ControlFS, the `Console Mode 1 Click` shortcut. +- **Don't translate** product names: Console Mode, Steam Big Picture, Playnite, ControlFS, the `Console Mode 1 Click` shortcut. ## Checking your work diff --git a/src/ConsoleMode/App.xaml.cs b/src/ConsoleMode/App.xaml.cs index 70eb0916..152503f8 100644 --- a/src/ConsoleMode/App.xaml.cs +++ b/src/ConsoleMode/App.xaml.cs @@ -26,7 +26,6 @@ public partial class App : Application private EventWaitHandle? _startSignal; private EventWaitHandle? _stopSignal; private EventWaitHandle? _menuSignal; - private ControlPipeService? _control; private readonly List _signalWaits = []; public static MainWindow? MainWindowInstance { get; private set; } @@ -52,11 +51,8 @@ protected override async void OnLaunched(LaunchActivatedEventArgs args) { var cliArgs = Environment.GetCommandLineArgs().Skip(1).ToList(); bool HasArg(string name) => cliArgs.Any(a => string.Equals(a, name, StringComparison.OrdinalIgnoreCase)); - // consolemode://start|stop|show arrives as the only argument (ProtocolService). - var protocolAction = cliArgs.Select(ProtocolService.ParseAction).FirstOrDefault(a => a is not null); - var autoStart = HasArg(ShortcutService.StartArgument) || protocolAction == ProtocolService.StartAction; - var stopRequest = HasArg(ShortcutService.StopArgument) || protocolAction == ProtocolService.StopAction; - var menuRequest = protocolAction == ProtocolService.MenuAction; + var autoStart = HasArg(ShortcutService.StartArgument); + var stopRequest = HasArg(ShortcutService.StopArgument); // --tray: launched with Windows; stay in the tray until the user opens the window. var trayOnly = !autoStart && HasArg(StartupService.TrayArgument); @@ -64,7 +60,7 @@ protected override async void OnLaunched(LaunchActivatedEventArgs args) if (!isFirstInstance) { // Hand the request to the running instance (tray) instead of fighting over the screens. - if (!trayOnly) SignalRunningInstance(autoStart ? StartSignalName : stopRequest ? StopSignalName : menuRequest ? MenuSignalName : ShowSignalName); + if (!trayOnly) SignalRunningInstance(autoStart ? StartSignalName : stopRequest ? StopSignalName : ShowSignalName); Exit(); return; } @@ -77,20 +73,13 @@ protected override async void OnLaunched(LaunchActivatedEventArgs args) ConfigService.Load().AppLanguage, StartupService.ReadInstallerLanguage(), CultureInfo.CurrentUICulture.Name)); ControllerInput.Warmup(); AppLog.Write("Controles: " + ControllerInput.DescribeDevices().ReplaceLineEndings(" | ")); - ProtocolService.EnsureRegistered(); - AppLog.Write($"Startup: exe={Environment.ProcessPath}, args={string.Join(' ', Environment.GetCommandLineArgs().Skip(1))}, " + - $"rtss-cli={AppPaths.HasRtssCli}"); + AppLog.Write($"Startup: exe={Environment.ProcessPath}, args={string.Join(' ', Environment.GetCommandLineArgs().Skip(1))}"); ViewModel = new MainViewModel(); _window = new MainWindow(ViewModel); MainWindowInstance = _window; _tray = new TrayService(_window, ViewModel); ListenForSignals(); - // same requests as consolemode:// links, plus a status reply (see ControlPipeService) - _control = new ControlPipeService(ViewModel, _window.DispatcherQueue, - requestStart: () => _startSignal?.Set(), - requestStop: () => _stopSignal?.Set(), - requestShow: () => _showSignal?.Set()); WatchGuideButton(); // A stop request with nothing running just opens the window. diff --git a/src/ConsoleMode/ConsoleMode.csproj b/src/ConsoleMode/ConsoleMode.csproj index fb61c564..144bcf55 100644 --- a/src/ConsoleMode/ConsoleMode.csproj +++ b/src/ConsoleMode/ConsoleMode.csproj @@ -17,10 +17,10 @@ true latest x64 - 1.7.1 - 1.7.1.0 - 1.7.1.0 - 1.7.1 + 1.7.2 + 1.7.2.0 + 1.7.2.0 + 1.7.2 Console Mode Console Mode lippdev @@ -40,13 +40,9 @@ - - - - - + diff --git a/src/ConsoleMode/Models/Models.cs b/src/ConsoleMode/Models/Models.cs index 10d57b85..ab0c0f32 100644 --- a/src/ConsoleMode/Models/Models.cs +++ b/src/ConsoleMode/Models/Models.cs @@ -36,10 +36,6 @@ public sealed class AppConfig public string AudioDeviceId { get; set; } = ""; public string AudioDeviceName { get; set; } = ""; public bool AudioAutoSwitch { get; set; } - public int FpsLimit { get; set; } - /// RtssOverlay style: "external" | "off" | "compact" (FPS only) | "stats" | "detailed" | "custom". Applied over the game during a session. - public string FpsOverlay { get; set; } = RtssOverlay.External; - public FpsOverlayLayout FpsOverlayLayout { get; set; } = new(); public Dictionary MonitorModes { get; set; } = new(StringComparer.OrdinalIgnoreCase); public bool HdrEnable { get; set; } public bool VrrEnable { get; set; } @@ -145,12 +141,6 @@ public sealed class AppConfig /// A version the user chose to skip; newer ones are still announced. public string SkippedUpdateVersion { get; set; } = ""; - /// Turning the TV on / to the PC's input when console mode starts (issue #75). - public TvControlConfig Tv { get; set; } = new(); - - /// Settings applied while a given Steam game runs during a session (issue #69). - public List GameProfiles { get; set; } = []; - /// /// A copy with other monitor fields and every other setting as it is here. A copy, not a field-by-field /// rebuild: a setting added later is carried along without anyone having to remember it. @@ -169,65 +159,6 @@ public AppConfig WithMonitors(string focusMonitor, List hideMonitors, Di $"{FocusMonitor}|{(MonitorModes.TryGetValue(FocusMonitor, out var mode) ? mode.Key : "current")}"; } -public sealed class TvControlConfig -{ - public const string None = "none"; - public const string AndroidTv = "androidTv"; - - /// "none" | "androidTv". - public string Provider { get; set; } = None; - - /// The TV's IP address or host name, optionally with ":port". - public string Host { get; set; } = ""; - - /// For Wake-on-LAN when the TV is in deep standby; empty = don't send it. - public string MacAddress { get; set; } = ""; - - /// HDMI input the PC is plugged into (1-4). - public int HdmiInput { get; set; } = 1; - - /// Android TV: shell command that switches to the PC's input, for TVs that ignore the HDMI key codes. - public string InputCommand { get; set; } = ""; - - /// Put the TV in standby after the desk is restored. Off by default. - public bool TurnOffOnRestore { get; set; } - - /// Android TV: shell command sent when the desk is back, before standby (Home screen, another input…). - public string RestoreCommand { get; set; } = ""; - - /// Something to send the TV when going back to the PC. - [JsonIgnore] - public bool HasRestoreStep => TurnOffOnRestore || !string.IsNullOrWhiteSpace(RestoreCommand); - - [JsonIgnore] - public bool IsEnabled => !string.IsNullOrWhiteSpace(Provider) && Provider != None; -} - -/// -/// One game's own settings, saved from the session menu while it runs. Every field left empty keeps -/// the session's value. Applied when the game starts, undone when it closes. -/// -public sealed class GameProfile -{ - public int SteamAppId { get; set; } - public string Name { get; set; } = ""; - public SavedDisplayMode? Mode { get; set; } - public bool? Hdr { get; set; } - /// 0 = no limit; null = leave the session's. - public int? FpsLimit { get; set; } - public string? AudioDeviceId { get; set; } - public string? AudioDeviceName { get; set; } -} - -/// What the game screen looked like when a game started, to go back to when it closes. -public sealed class GameBaseline -{ - public SavedDisplayMode? Mode { get; set; } - public bool Hdr { get; set; } - public int FpsLimit { get; set; } - public string? AudioDeviceId { get; set; } -} - public sealed class SavedDisplayMode { public int Width { get; set; } @@ -403,8 +334,6 @@ public sealed class ScreenRect public sealed class ConsoleRuntimeState { public bool IsActive { get; set; } - /// TV control used for this session, for the optional standby on restore. - public TvControlConfig? Tv { get; set; } public bool ShouldExit { get; set; } public bool RestoreInProgress { get; set; } public bool SteamMoved { get; set; } @@ -446,9 +375,6 @@ public sealed class ConsoleRuntimeState public nint CachedXboxHandle { get; set; } public bool BigPictureWatchActive { get; set; } public bool AudioWatchComplete { get; set; } - public int FpsLimit { get; set; } - public RtssBackup? RtssBackup { get; set; } - public bool RtssLimitApplied { get; set; } public bool HdrApplied { get; set; } public string? HdrMonitor { get; set; } public bool VrrApplied { get; set; } @@ -467,20 +393,6 @@ public sealed class ConsoleRuntimeState public int PointerParks { get; set; } public DateTime? LastPointerPark { get; set; } public (int X, int Y)? PointerBefore { get; set; } - /// Per-game profiles for this session; the session menu updates them as they are saved. - public List GameProfiles { get; set; } = []; - /// The Steam game running now (0 = none), and the screen as it was when it started. - public int RunningGameId { get; set; } - public GameBaseline? GameBaseline { get; set; } - /// A profile changed the screen for the running game; it is undone when the game closes. - public bool GameProfileApplied { get; set; } -} - -public sealed class RtssBackup -{ - public int FramerateLimit { get; set; } - public bool LimiterEnabled { get; set; } - public string SavedAt { get; set; } = ""; } public sealed class MonitorBackupMeta diff --git a/src/ConsoleMode/Native/NativeDisplays.cs b/src/ConsoleMode/Native/NativeDisplays.cs index 2c912d69..ff976f13 100644 --- a/src/ConsoleMode/Native/NativeDisplays.cs +++ b/src/ConsoleMode/Native/NativeDisplays.cs @@ -7,7 +7,7 @@ namespace ConsoleMode.Native; /// -/// Displays through Windows' own APIs (CCD, ChangeDisplaySettingsEx, DDC/CI via dxva2) (issue #91). +/// Displays through Windows' own APIs (CCD, ChangeDisplaySettingsEx) (issue #91). /// Monitors are named by their GDI source (\\.\DISPLAYn), the same names 1.5 saved. /// internal static class NativeDisplays @@ -197,23 +197,6 @@ public static int QueueMode(string gdiName, int width, int height, int frequency /// Applies every change queued by at once. public static int ApplyPending() => ChangeDisplaySettingsEx(null, 0, 0, 0, 0); - /// DDC/CI power (VCP 0xD6): on, or off (DPM) so it can still be woken over DDC. - public static bool SetPower(string gdiName, bool on) - { - var hMonitor = FindHMonitor(gdiName); - if (hMonitor == 0 || !GetNumberOfPhysicalMonitorsFromHMONITOR(hMonitor, out var count) || count == 0) return false; - var physical = new PHYSICAL_MONITOR[count]; - if (!GetPhysicalMonitorsFromHMONITOR(hMonitor, count, physical)) return false; - try - { - var ok = true; - foreach (var p in physical) ok &= SetVCPFeature(p.hPhysicalMonitor, 0xD6, on ? 1u : 4u); - if (!ok) AppLog.Write($"Telas: DDC/CI {(on ? "ligar" : "desligar")} {gdiName} falhou"); - return ok; - } - finally { DestroyPhysicalMonitors(count, physical); } - } - /// Moves the main windows of a process onto a rectangle. public static void MoveProcessWindows(string processName, ScreenRect rect) { @@ -307,13 +290,6 @@ private struct TARGET_DEVICE_NAME [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] public string monitorDevicePath; } - [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] - private struct PHYSICAL_MONITOR - { - public nint hPhysicalMonitor; - [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)] public string szPhysicalMonitorDescription; - } - [StructLayout(LayoutKind.Sequential)] private struct RECT { public int Left, Top, Right, Bottom; } @@ -344,15 +320,4 @@ private struct MONITORINFOEX [DllImport("user32.dll", CharSet = CharSet.Unicode)] private static extern bool GetMonitorInfo(nint hMonitor, ref MONITORINFOEX info); - [DllImport("dxva2.dll", SetLastError = true)] - private static extern bool GetNumberOfPhysicalMonitorsFromHMONITOR(nint hMonitor, out uint count); - - [DllImport("dxva2.dll", SetLastError = true)] - private static extern bool GetPhysicalMonitorsFromHMONITOR(nint hMonitor, uint count, [Out] PHYSICAL_MONITOR[] monitors); - - [DllImport("dxva2.dll", SetLastError = true)] - private static extern bool SetVCPFeature(nint hPhysicalMonitor, byte code, uint value); - - [DllImport("dxva2.dll", SetLastError = true)] - private static extern bool DestroyPhysicalMonitors(uint count, PHYSICAL_MONITOR[] monitors); } diff --git a/src/ConsoleMode/Resources/Strings.de-DE.json b/src/ConsoleMode/Resources/Strings.de-DE.json deleted file mode 100644 index 64278c0a..00000000 --- a/src/ConsoleMode/Resources/Strings.de-DE.json +++ /dev/null @@ -1,451 +0,0 @@ -{ - "Brand": "Console Mode", - "Back": "Zurück", - "IgnoreUpdate": "Diese Version überspringen", - "RolePlayHere": "Hier spielen", - "RoleTurnOff": "Ausschalten", - "RoleKeepOn": "Eingeschaltet lassen", - "Settings": "Einstellungen", - "SendFeedback": "Feedback senden", - "Next": "Weiter", - "SkipTour": "Tutorial überspringen", - "CreateDesktopShortcut": "Desktop-Verknüpfung erstellen", - "ActiveTitle": "Console Mode ist aktiv", - "GameScreenSection": "Gaming-Bildschirm", - "ResolutionRefreshCard": "Auflösung und Bildwiederholrate", - "HideOtherScreensCard": "Andere Bildschirme ausschalten", - "HideOtherScreensDescription": "Trennen geht am schnellsten. Ein schwarzer Bildschirm lässt die Anordnung unverändert; DDC/CI schaltet das Display über seine Hardware aus.", - "EnteringConsoleSection": "Beim Starten des Konsolenmodus", - "LaunchCard": "Öffnen", - "AudioOutputCard": "Audioausgabe", - "OptionalExtrasSection": "Optionale Extras", - "HdrCard": "HDR auf dem Gaming-Bildschirm", - "HdrDescription": "Wird beim Start aktiviert und beim Beenden auf den vorherigen Zustand zurückgesetzt.", - "VrrCard": "Variable Bildwiederholrate (VRR)", - "VrrDescription": "Aktiviert die entsprechende Windows-Einstellung. Aktiviere sie zusätzlich in der NVIDIA-/AMD-Systemsteuerung.", - "FpsCard": "FPS-Begrenzung", - "FpsPlaceholder": "FPS", - "AppSection": "App", - "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", - "BackgroundCovers": "Steam-Cover", - "BackgroundGradient": "Nur Farbverlauf", - "BackgroundImage": "Eigenes Bild", - "BackgroundImageCard": "Bild auswählen…", - "HomeSetupHeading": "Aktuelle Konfiguration", - "TabHome": "Startseite", - "TabSession": "Sitzung", - "TabSystem": "System", - "HintTabs": "Registerkarten", - "SoundsCard": "Oberflächentöne", - "SoundsDescription": "Dezente Töne beim Navigieren, Auswählen und Zurückgehen in der Konsolenoberfläche.", - "SessionMenuTitle": "Sitzungsmenü", - "BackToGame": "Zurück zum Spiel", - "VolumeRow": "Lautstärke", - "Muted": "Stummgeschaltet", - "SessionMenuHint": "Mit deiner Sitzungsmenü-Tastenkombination kannst du dieses Menü jederzeit öffnen.", - "SessionHintTitle": "Menü von Console Mode", - "SessionHintBody": "Halte {0} gedrückt, um das Menü über dem Spiel zu öffnen.", - "ExitConsoleMode": "Console Mode beenden", - "HintVolume": "Lautstärke", - "SessionElapsed": "Spieldauer: {0}", - "SessionMenuCard": "Tastenkombination für das Sitzungsmenü", - "SessionMenuDescription": "Halte während einer Sitzung diese Tastenkombination gedrückt, um ein Menü über dem Spiel zu öffnen: Lautstärke, Auflösung, Audio, FPS, HDR, zurück zum PC oder Beenden. Funktioniert nicht bei Spielen im exklusiven Vollbildmodus.", - "ConsoleScreensHeading": "Bildschirme", - "ConsoleQuickHeading": "Schnelleinstellungen", - "FullSettings": "Alle Einstellungen", - "HintSelect": "Auswählen", - "HintChange": "Ändern", - "ConsoleSettingsHint": "Drücke bei einer Zeile A, um ihren Wert zu ändern. Alles wird sofort gespeichert.", - "BackToPc": "Zurück zum PC", - "CloseMenu": "Menü schließen", - "ControlFsCard": "Dateimanager (ControlFS)", - "ControlFsOpen": "Dateien mit dem Controller durchsuchen", - "ControlFsMissing": "Nicht installiert · zum Herunterladen und Installieren drücken", - "ControlFsDownloading": "Wird heruntergeladen… {0} %", - "ControlFsInstalling": "Wird installiert…", - "ControlFsInstallFailed": "Installation fehlgeschlagen · drücken, um die Downloadseite zu öffnen", - "ControlFsInstalled": "Installiert · zum Öffnen drücken", - "JoyChromiumCard": "Browser (JoyChromium)", - "JoyChromiumOpen": "Surfe mit dem Controller im Web", - "ControlFsMissingNote": "ControlFS ist nicht installiert. Die Downloadseite wird im Browser geöffnet.", - "SessionWindowsCard": "Fenster", - "SessionWindowsCount": "{0} geöffnet", - "SwitcherEmpty": "Keine geöffneten Fenster", - "SwitcherOpen": "Öffnen", - "SwitcherCloseWindow": "Fenster schließen", - "SwitcherCloseConfirmTitle": "Dieses Fenster schließen?", - "SwitcherCloseConfirmBody": "Wenn Änderungen nicht gespeichert wurden, fragt die App möglicherweise trotzdem, ob du sie speichern möchtest.", - "SwitcherCloseConfirmAction": "Fenster schließen", - "SessionPreviewBadge": "Außerhalb einer Sitzung", - "ConsoleActiveHint": "Oder halte {0} am Controller 1 Sekunde lang gedrückt.", - "ChooseRoleFor": "Was soll der Bildschirm {0} tun?", - "HomeButtonCard": "Controller-Tastenkombination zum Öffnen von Console Mode", - "HomeButtonDescription": "Wenn die App im Infobereich läuft, halte diese Tastenkombination 1 Sekunde lang gedrückt, um den Konsolenmodus zu starten (ein kurzer Druck genügt, wenn du die Option für kurzes Drücken unten aktivierst). Funktioniert mit Xbox- und PlayStation-Controllern.", - "ExitShortcutCard": "Controller-Tastenkombination für die Rückkehr zum PC", - "TaskViewShortcutCard": "Controller-Tastenkombination für „Aktive Anwendungen“", - "TaskViewShortcutDescription": "Öffnet „Aktive Anwendungen“ von Windows (Win + Tab) mit allen offenen Fenstern, in einer Sitzung oder außerhalb. Solange sie offen ist, wählen Steuerkreuz oder Stick ein Fenster, A öffnet es und B schließt die Ansicht; die Tastenkombination schließt sie ebenfalls.", - "TaskViewHint": "Steuerkreuz oder Stick wählt ein Fenster · {0} öffnet · {1} schließt", - "TaskViewPlayStationCard": "„Aktive Anwendungen“ mit einem PlayStation-Controller bedienen", - "TaskViewPlayStationDescription": "Windows bedient „Aktive Anwendungen“ bereits mit einem Xbox-Controller. Eingeschaltet macht Console Mode dasselbe mit einem PlayStation-Controller, den Windows dort nicht versteht. Schalte es aus, wenn ein Programm deinen Controller zu einem Xbox-Controller macht (DS4Windows, Steam) und sich Eingaben wiederholen.", - "ExitShortcutDescription": "Halte diese Tastenkombination während einer Sitzung 1 Sekunde lang gedrückt, um deinen Desktop wiederherzustellen und zum PC zurückzukehren.", - "ShortcutHome": "Console Mode öffnen", - "ControllerSection": "Controller", - "ControllerLayoutCard": "Tastenbelegung", - "ControllerLayoutDescription": "Automatisch richtet sich nach dem verbundenen Controller. Du kannst auch fest die Xbox- oder PlayStation-Symbole auswählen.", - "ControllerLayoutAuto": "Automatisch", - "ControllerLayoutXbox": "Xbox (A, B, X, Y)", - "ControllerLayoutPlaystation": "PlayStation (✕, ○, □, △)", - "ShortcutMenu": "Sitzungsmenü", - "ShortcutExit": "Zurück zum PC", - "ShortcutTaskView": "Aktive Anwendungen", - "ShortcutNotSet": "Nicht festgelegt", - "ShortcutSet": "Festlegen", - "ShortcutChange": "Ändern", - "ShortcutClear": "Entfernen", - "ShortcutCancel": "Abbrechen", - "ShortcutPressButtons": "Halte die Tasten gedrückt und lass sie dann los…", - "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.", - "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", - "RestoreIconsDescription": "Speichert vor der Sitzung, wo die Desktopsymbole liegen, und setzt sie bei der Rückkehr zum PC wieder dorthin, falls Windows sie beim Wechsel des Hauptbildschirms durcheinanderbringt. Bei aktivierter automatischer Anordnung passiert nichts.", - "HideIconsCard": "Desktopsymbole während der Sitzung ausblenden", - "HideIconsDescription": "Blendet die Desktopsymbole aus, solange die Sitzung läuft, damit der Fernseher aufgeräumt wie eine Konsole aussieht, und zeigt sie bei der Rückkehr zum PC wieder an. Waren sie schon ausgeblendet, bleibt es so.", - "ParkPointerCard": "Mauszeiger aus dem Weg räumen", - "ParkPointerDescription": "Sobald der Launcher auf dem Fernseher erscheint, wird der Zeiger in die untere rechte Ecke des Spielbildschirms bewegt, damit er nicht mitten im Bild steht. Beim Zurückkehren zum PC kommt er an seine alte Stelle zurück.", - "GameProfilesCard": "Profile pro Spiel", - "GameProfilesDescription": "Eigene Auflösung, HDR, FPS-Limit und Audioausgabe für jedes Steam-Spiel. Zum Anlegen öffnest du das Sitzungsmenü, während das Spiel läuft, und wählst Spielprofil → Aktuelle Einstellungen speichern. Das Profil gilt, wenn das Spiel startet, und wird beim Schließen rückgängig gemacht.", - "GameProfilesEmpty": "Keine gespeicherten Profile", - "GameProfilesCount": "{0} gespeichert", - "GameProfilesPickerTitle": "Wähle das Profil zum Löschen", - "GameProfileRow": "Spielprofil", - "GameProfileNoGame": "Kein Steam-Spiel läuft", - "GameProfileNone": "{0}: kein Profil", - "GameProfileActive": "{0}: Profil gespeichert", - "GameProfileSave": "Aktuelle Einstellungen für {0} speichern", - "GameProfileRemove": "Profil von {0} löschen", - "GameProfileDelete": "Löschen", - "GameProfileHdrOn": "HDR an", - "GameProfileHdrOff": "HDR aus", - "GameProfileNothing": "Ändert nichts", - "HideCursorCard": "Mauszeiger ausblenden", - "HideCursorDescription": "Bleibt ausgeblendet, bis du diese Option deaktivierst; er kommt von selbst zurück, wenn eine Sitzung beginnt oder endet und wenn Console Mode geschlossen wird. Praktisch für Emulatoren und Spiele, bei denen der Zeiger mitten auf dem Bildschirm stehen bleibt.", - "ControllerMouseRow": "Maus mit dem Controller steuern", - "ControllerMouseHint": "Linker Stick bewegt · {0} klickt · {0} zweimal: Rechtsklick · rechter Stick scrollt", - "AutoStartControllerCard": "Beim Verbinden eines Controllers starten", - "AutoStartControllerDescription": "Wenn die App im Infobereich läuft, startet das Einschalten oder Anschließen eines Controllers den Konsolenmodus. Die ersten 15 Sekunden nach dem Öffnen und 30 Sekunden nach der Wiederherstellung werden ignoriert.", - "ControllerWakeCard": "PC mit dem Controller aufwecken", - "ControllerWakeDescription": "Erlaubt dem Xbox Wireless Adapter, Bluetooth oder einem Controller am Kabel, den PC aus dem Energiesparmodus zu wecken, wenn du die mittlere Taste des Controllers drückst. Windows fragt nach Administratorrechten. Ein ausgeschalteter PC oder einer im Ruhezustand wacht nicht auf, und manche PCs schalten Bluetooth im Energiesparmodus ab. Mit Beim Verbinden eines Controllers starten wacht der PC direkt im Konsolenmodus auf.", - "ControllerWakeButton": "Einschalten", - "ControllerWakeChecking": "Geräte werden geprüft…", - "ControllerWakeReady": "Bereit: {0} kann den PC aufwecken.", - "ControllerWakeOff": "Kann den PC noch nicht aufwecken: {0}.", - "ControllerWakeNone": "Kein Controller-Adapter und kein Bluetooth dieses PCs kann ihn aufwecken. Schließe den Adapter oder den Controller an und versuche es erneut.", - "ControllerWakeUnknown": "Die Geräte konnten nicht geprüft werden.", - "ControllerWakeEnabled": "Fertig. Versetze den PC in den Energiesparmodus und drücke die mittlere Taste des Controllers, um es zu testen.", - "ControllerWakeCanceled": "Windows hat keine Berechtigung erhalten; nichts wurde geändert.", - "ControllerWakeFailed": "Konnte nicht eingeschaltet werden. Details stehen im Protokoll.", - "ControllerWakeGone": "Das Gerät war beim Einschalten nicht mehr da (wurde es getrennt?). Schließe es wieder an und versuche es erneut.", - "ControllerWakeUnavailable": "Nicht verfügbar", - "HomeButtonShortPressCard": "Kurzer Druck auf die Xbox-Taste", - "HomeButtonShortPressDescription": "Einfach drücken, nicht gedrückt halten. Deaktiviert die Controller-Tastenkombination für die Game Bar in Windows (Win+G funktioniert weiterhin).", - "HomeButtonSteamHint": "Steam ist geöffnet und verwendet ebenfalls die Xbox-Taste. Deaktiviere in Steam die Option „Guide-Taste fokussiert Steam“, damit der kurze Tastendruck funktioniert.", - "GameBarSettingError": "Die Game-Bar-Einstellung konnte nicht geändert werden: {0}", - "StartupCard": "Mit Windows starten", - "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.", - "MenuOutsideSessionCard": "Sitzungsmenü außerhalb des Konsolenmodus", - "MenuOutsideSessionDescription": "Die Menü-Tastenkombination öffnet das Sitzungsmenü auch außerhalb des Konsolenmodus, mit den offenen Fenstern, der Lautstärke, dem Bildschirm und dem Controller als Maus, solange Console Mode geöffnet ist (auch nur im Infobereich). Schalte es aus, wenn die Kombination in einem Spiel stört.", - "CheckNow": "Jetzt suchen", - "NotifyUpdatesCard": "Bei einer neuen Version benachrichtigen", - "NotifyUpdatesDescription": "Prüft beim Start der App die GitHub-Releases.", - "BetaUpdatesCard": "Testversionen erhalten (Beta)", - "BetaUpdatesDescription": "Erhalte Vorabversionen, um beim Testen zu helfen. Sie können Fehler enthalten. Wenn du diese Option deaktivierst, wechselst du nicht zur stabilen Version zurück: Du erhältst die nächste stabile Version, sobald sie erscheint.", - "BetaUpdatesWarning": "Testversionen können auf manchen Systemen Probleme verursachen. Wenn etwas nicht mehr funktioniert, lade die stabile Version von der Releases-Seite herunter und sende uns über die Feedback-Schaltfläche eine Rückmeldung.", - "HelpDataSection": "Tastenkombination, Hilfe und Daten", - "OtherAppsSection": "Weitere Apps des Entwicklers", - "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.", - "TvSection": "Fernseher", - "TvControlCard": "Fernseher einschalten und Eingang wechseln", - "TvProviderNone": "Nicht steuern", - "TvProviderAndroid": "Google TV / Android TV (Netzwerk)", - "TvNoneDescription": "Beim Start des Konsolenmodus schaltet die App den Fernseher ein und wechselt zum PC-Eingang. Beim Wiederherstellen kann sie ihn in den Standby versetzen.", - "TvAndroidDescription": "Über das Netzwerk, ohne Installation. Auf dem Fernseher: Einstellungen → System → Entwickleroptionen → „USB-Debugging“ (oder „Netzwerk-Debugging“) aktivieren. Beim ersten Mal „Debugging zulassen“ auf dem Fernseher bestätigen.", - "TvHostCard": "TV-Adresse", - "TvHostDescription": "Die IP-Adresse des Fernsehers in deinem Netzwerk (Einstellungen → Netzwerk). Tipp: Reserviere die Adresse im Router, damit sie sich nicht ändert.", - "TvMacCard": "MAC-Adresse (optional)", - "TvMacDescription": "Damit der Fernseher aus dem Tiefschlaf geweckt werden kann (Wake-on-LAN). Leer lassen, wenn der Fernseher auch im ausgeschalteten Zustand reagiert.", - "TvHdmiCard": "PC-Eingang", - "TvHdmiDescription": "Der HDMI-Anschluss des Fernsehers, an den der PC angeschlossen ist.", - "TvInputCommandCard": "Eingangsbefehl (erweitert)", - "TvInputCommandDescription": "Nur verwenden, wenn der Fernseher die HDMI-Taste ignoriert: ein Android-Shell-Befehl, der zum PC-Eingang wechselt. Leer lassen = die oben ausgewählte HDMI-Taste verwenden.", - "TvRestoreCommandCard": "Befehl bei der Rückkehr zum PC (erweitert)", - "TvTurnOffCard": "Fernseher beim Wiederherstellen in den Standby versetzen", - "TvTurnOffDescription": "Nachdem die Desktop-Bildschirme wiederhergestellt wurden.", - "TvTestCard": "Fernseher testen", - "TvTestDescription": "Schaltet den Fernseher jetzt ein und wechselt zum PC-Eingang, ohne die Bildschirme zu verändern. Beim ersten Mal wird er mit dem Fernseher gekoppelt.", - "TvTesting": "Verbindung zum Fernseher wird hergestellt… Falls eine Abfrage erscheint, bestätige sie auf dem Fernseher.", - "TvTestSuccess": "Der Fernseher hat geantwortet: Er sollte jetzt eingeschaltet und auf den PC-Eingang eingestellt sein.", - "TvTestFailure": "Verbindung zum Fernseher fehlgeschlagen: {0}", - "TvTestTimedOut": "Der Fernseher hat nicht innerhalb von 90 Sekunden vollständig geantwortet. Versuche es erneut.", - "TvNotConfigured": "Lege fest, wie der Fernseher gesteuert werden soll.", - "TvHostMissing": "Gib die IP-Adresse des Fernsehers ein.", - "TvUnreachable": "Der Fernseher unter {0} hat nicht geantwortet. Prüfe die IP-Adresse, ob der Fernseher im selben Netzwerk ist und ob Debugging aktiviert ist.", - "TvAdbNotAllowed": "Der Fernseher hat diesem PC keinen Zugriff erlaubt. Drücke erneut auf „Testen“ und wähle auf dem Fernseher „Immer zulassen“ + „Zulassen“.", - "TvAdbTlsUnsupported": "Der Fernseher akzeptiert nur „Drahtloses Debugging“ (Kopplung mit Code). Aktiviere in den Entwickleroptionen „USB-Debugging“ / „Netzwerk-Debugging“.", - "ControllerTestCard": "Controller testen", - "ControllerTestDescription": "Zeigt live, welche Eingaben Windows von jedem Controller erhält: Quelle, Tasten nach Index, Steuerkreuz und Sticks. Verwende diese Funktion, wenn ein Controller erkannt wird, aber nichts bewirkt.", - "ControllerTestSteamHint": "Wenn Steam mit PlayStation-Unterstützung läuft, fängt es die Eingaben des Controllers ab und die App erhält nichts. Schließe Steam (oder deaktiviere die PlayStation-Unterstützung in Steam Input) und teste erneut.", - "CopyDiagnostics": "Diagnosedaten kopieren", - "ControllerDevicesHeading": "Geräte", - "ControllerSampleHeading": "Live-Anzeige (Tasten drücken)", - "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.", - "CopyReport": "Bericht kopieren", - "TutorialCard": "Tutorial", - "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", - "DataFolderCard": "Datenordner", - "DataFolderDescription": "Einstellungen, Bildschirm-Sicherung und Protokolldatei (consolemode.log).", - "LanguageCard": "Sprache", - "LanguageDescription": "Wähle die Sprache für Console Mode.", - "ConfirmTitle": "Kannst du diesen Bildschirm sehen?", - "ConfirmDescription": "Dies ist der Gaming-Bildschirm. Bestätige mit Maus, Tastatur oder Controller. Wenn niemand reagiert, werden deine Bildschirme automatisch wiederhergestellt.", - "Revert": "Zurücksetzen", - "Continue": "Ja, fortfahren", - "Countdown": "Rückkehr zum Normalzustand in {0} Sek.", - "AudioHint": "Wird beim Start angewendet und beim Beenden wiederhergestellt. „Bei Verbindung“ schaltet automatisch um, sobald der Fernseher erkannt wird.", - "StartEntering": "Wird gestartet…", - "StartNow": "Jetzt spielen", - "LaunchPlayniteDescription": "Öffnet Playnite im Vollbildmodus. Deine Bildschirme werden automatisch wiederhergestellt, wenn du es schließt.", - "LaunchXboxDescription": "Experimentell: Sendet Win+F11. Um deine Bildschirme wiederherzustellen, verwende „Jetzt wiederherstellen“ oder das Menü im Infobereich.", - "LaunchSteamDescription": "Öffnet Steam Big Picture. Deine Bildschirme werden automatisch wiederhergestellt, wenn du es schließt.", - "FocusChoose": "Wähle auf der Startseite einen Gaming-Bildschirm aus.", - "FocusApplied": "Beim Start auf {0} angewendet und beim Beenden zurückgesetzt.", - "StrategyDisconnect": "In Windows trennen", - "StrategyBlack": "Mit schwarzem Bildschirm abdecken", - "StrategyTurnOff": "Display ausschalten (DDC/CI)", - "LaunchSteam": "Steam Big Picture", - "LaunchPlaynite": "Playnite (Vollbild)", - "PlaynitePathCard": "Playnite-Ordner", - "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).", - "PlaynitePathInvalid": "Playnite.FullscreenApp.exe wurde unter {0} nicht gefunden.", - "PlaynitePathPickError": "Dateiauswahl konnte nicht geöffnet werden: {0}", - "LaunchXbox": "Xbox-Modus (experimentell)", - "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", - "CustomAppArgumentsCard": "Argumente", - "CustomAppArgumentsDescription": "Optional. Werden der App beim Start übergeben, zum Beispiel um sie im Vollbild zu öffnen.", - "CustomAppWatchCard": "Zu überwachender Prozess", - "CustomAppWatchDescription": "Optional. Wenn die App nur ein anderes Programm startet und sich schließt, gib den Prozessnamen dieses Programms ein. Deine Bildschirme werden wiederhergestellt, wenn es geschlossen wird.", - "CustomAppMissing": "Wähle die App, die geöffnet werden soll (eine .exe-Datei).", - "CustomAppNotExe": "{0} ist keine .exe-Datei. Wähle die App, die geöffnet werden soll.", - "CustomAppNotFound": "{0} wurde nicht gefunden. Wähle die App erneut.", - "FpsOverlayCard": "FPS-Anzeige", - "FpsOverlayExternal": "Afterburner (unverändert lassen)", - "FpsOverlayOff": "Aus (alles ausblenden)", - "FpsOverlayCustom": "Benutzerdefiniert", - "FpsOverlayDescription": "Zeigt während einer Sitzung die FPS über dem Spiel an, mithilfe von RTSS. Außer bei „Afterburner“ wird das OSD von MSI Afterburner ausgeblendet, solange der Konsolenmodus aktiv ist.", - "FpsOverlayItems": "Spieleanzeige", - "FpsOverlayShowApi": "API (D3D/Vulkan)", - "FpsOverlayShowFps": "FPS", - "FpsOverlayShowFrameTime": "Framezeit (ms)", - "FpsOverlaySingleLine": "Alles in einer Zeile", - "FpsOverlayColor": "Zahlenfarbe", - "FpsOverlayColorWhite": "Weiß", - "FpsOverlayColorBlue": "Blau", - "FpsOverlayColorGreen": "Grün", - "FpsOverlayColorYellow": "Gelb", - "FpsOverlayColorOrange": "Orange", - "FpsOverlayCompact": "Kompakt", - "FpsOverlayCompactHint": "FPS, CPU, GPU und RAM", - "FpsOverlayDetailed": "Detailliert", - "FpsOverlayDetailedHint": "Taktraten, Temperatur und Speicher", - "FpsOverlayFpsOnly": "Nur FPS", - "FpsOverlayPcItems": "PC-Anzeige", - "FpsOverlayPcItemsDescription": "Daten aus Windows und dem Grafiktreiber; es muss nichts installiert werden. GPU-Temperatur und -Taktrate werden nur angezeigt, wenn der Treiber sie meldet.", - "FpsOverlayShowCpu": "CPU-Auslastung", - "FpsOverlayShowCpuClock": "CPU-Taktrate", - "FpsOverlayShowGpu": "GPU-Auslastung", - "FpsOverlayShowGpuClock": "GPU-Taktrate", - "FpsOverlayShowGpuTemp": "GPU-Temperatur", - "FpsOverlayShowVram": "VRAM", - "FpsOverlayShowRam": "RAM", - "FpsOverlaySize": "Größe", - "FpsOverlaySizeSmall": "Klein", - "FpsOverlaySizeMedium": "Mittel", - "FpsOverlaySizeLarge": "Groß", - "FpsOverlayStyle": "Stil", - "FpsOverlayPosition": "Position", - "FpsOverlayPositionRtss": "Wie in RTSS", - "FpsOverlayPositionTopLeft": "Oben links", - "FpsOverlayPositionTopRight": "Oben rechts", - "FpsOverlayPositionBottomLeft": "Unten links", - "FpsOverlayPositionBottomRight": "Unten rechts", - "FpsOverlayCardBackground": "Hintergrund der Anzeige", - "FpsOverlayCardBackgroundDescription": "Eine dunkle, abgerundete Fläche hinter den Zahlen, damit sie vor jedem Spielhintergrund gut lesbar sind.", - "FpsNoLimit": "Keine Begrenzung", - "FpsCustom": "Benutzerdefiniert", - "FpsAvailable": "Gilt für alle Spiele, solange der Konsolenmodus aktiv ist. Verwendet RTSS.", - "FpsUnavailable": "Optional. Installiere RivaTuner Statistics Server (RTSS), um diese Funktion zu nutzen.", - "NoGameDisplayConfigured": "Es ist kein Gaming-Bildschirm konfiguriert. Der Konsolenmodus kann nicht gestartet werden.", - "NoDisplayTryRefresh": "Keine Bildschirme gefunden. Versuche, die Anzeige zu aktualisieren.", - "ListDisplaysError": "Bildschirme konnten nicht aufgelistet werden: {0}", - "DisplayNoChange": "Nicht ändern", - "AudioNoChange": "Nicht ändern", - "AudioOnConnect": "Der bei Verbindung erscheinende Ausgang (Fernseher)", - "ShortcutCreated": "Die Desktop-Verknüpfung „Console Mode 1 Click“ wurde erstellt.", - "ShortcutCreateError": "Verknüpfung konnte nicht erstellt werden: {0}", - "OpenFolderError": "Ordner konnte nicht geöffnet werden: {0}", - "ChooseGameScreen": "Wähle den Bildschirm aus, auf dem du spielen möchtest.", - "UnconfirmedSetup": "Deine Bildschirme wurden wiederhergestellt, weil der Gaming-Bildschirm nicht bestätigt wurde. Prüfe deine Auswahl und versuche es erneut.", - "StartFailure": "Konsolenmodus konnte nicht gestartet werden: {0}", - "ControllerXbox": "Xbox-Controller erkannt", - "ControllerPlaystation": "PlayStation-Controller erkannt", - "ControllerOther": "Controller erkannt", - "ControllerNone": "Kein Controller erkannt", - "ConfirmationResult": "Test: {0} durch {1} ({2}).", - "ConfirmationAccepted": "bestätigt", - "ConfirmationWillRevert": "würde wiederhergestellt werden", - "SourceController": "Controller", - "SourceKeyboard": "Tastatur", - "SourceMouseKeyboard": "Maus/Tastatur", - "SourceTimeout": "Zeitüberschreitung", - "ListConjunction": " und ", - "ListSeparator": ", ", - "ShortcutName": "Console Mode 1 Click", - "ShortcutDescription": "Startet den Konsolenmodus mit einem Klick", - "ShortcutUnavailable": "WScript.Shell ist in dieser Windows-Version nicht verfügbar.", - "UnknownExecutablePath": "Der Pfad zur ausführbaren Datei ist unbekannt.", - "ProcessTimeout": "Zeitüberschreitung bei {0}: {1}", - "ProcessFailure": "{0} fehlgeschlagen ({1}): {2}", - "CachedModeSuffix": " (zwischengespeichert)", - "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.", - "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.", - "RestoreFailure": "Bildschirme konnten nicht wiederhergestellt werden: {0}", - "ConfigSaveFailure": "Einstellungen konnten nicht gespeichert werden: {0}", - "SummaryChooseScreen": "Wähle den Bildschirm aus, auf dem du spielen möchtest", - "SummaryFocusOnly": "Auf {0} spielen", - "SummaryFocusAndHide": "Auf {0} spielen und {1} ausschalten", - "SummaryAudio": "Audio: {0}", - "SummaryAudioOnConnect": "Audio bei Verbindung", - "SummaryFps": "{0} FPS", - "MonitorOff": "aus", - "DisplayOffNow": "derzeit ausgeschaltet", - "CurrentModeSuffix": " (aktuell)", - "AudioDisabledSuffix": " [Deaktiviert]", - "AlreadyConsoleActive": "Der Konsolenmodus ist bereits aktiv.", - "GameScreenNotConfirmed": "Der Gaming-Bildschirm wurde nicht bestätigt.", - "GameScreenDidNotTurnOn": "Der Gaming-Bildschirm wurde nicht eingeschaltet. Prüfe, ob der Fernseher eingeschaltet und der richtige HDMI-Eingang ausgewählt ist, und versuche es erneut.", - "ActivePlaynite": "Schließe Playnite, um deine Bildschirme automatisch wiederherzustellen.", - "ActiveXbox": "Im Xbox-Modus erfolgt die Wiederherstellung manuell: Verwende „Jetzt wiederherstellen“ oder das Menü im Infobereich.", - "ActiveSteam": "Schließe Big Picture, um deine Bildschirme automatisch wiederherzustellen.", - "ActiveCustomApp": "Schließe {0}, um deine Bildschirme automatisch wiederherzustellen.", - "InstallKindInstalled": "Version {0} · installiert", - "InstallKindPortable": "Version {0} · portabel", - "Download": "Herunterladen", - "UpdateNow": "Jetzt aktualisieren", - "StartupSettingError": "Die Windows-Starteinstellung konnte nicht geändert werden: {0}", - "SearchingUpdates": "Suche nach Updates…", - "LatestVersionStatus": "{0} · du bist auf dem neuesten Stand", - "AppUpToDate": "Console Mode ist auf dem neuesten Stand.", - "UpdateAvailableStatus": "{0} · {1} verfügbar", - "UpdateAvailableTitle": "Console Mode {0} ist verfügbar{1}", - "BetaSuffix": " (Beta)", - "NewVersionOnGithub": "Eine neue Version ist auf GitHub verfügbar.", - "UpdateCheckFailedStatus": "{0} · Suche nach Updates fehlgeschlagen", - "UpdateSearchFailure": "Updates konnten nicht gesucht werden: {0}", - "ExitConsoleBeforeUpdate": "Beende den Konsolenmodus vor dem Aktualisieren.", - "UpdateFailure": "Aktualisierung fehlgeschlagen: {0}", - "BrowserOpenFailure": "Browser konnte nicht geöffnet werden: {0}", - "ShowWindow": "Fenster anzeigen", - "TrayEnterConsole": "Konsolenmodus starten", - "RestoreSetup": "Konfiguration wiederherstellen", - "Exit": "Beenden", - "ToggleOn": "Ein", - "ToggleOff": "Aus", - "SessionTourInviteTitle": "Zum ersten Mal in diesem Menü?", - "SessionTourInviteBody": "Eine kurze Führung erklärt die einzelnen Optionen, einschließlich des Unterschieds zwischen „Zurück zum PC“ und „Console Mode beenden“. Um sie später erneut aufzurufen, drücke hier im Menü {0}.", - "SessionTourStart": "Führung starten", - "SessionTourNotNow": "Nicht jetzt", - "SessionTourProgress": "{0} von {1}", - "SessionTourHint": "Führung", - "SessionTourBackToGameBody": "Schließt dieses Menü und gibt die Steuerung unverändert an das Spiel zurück. {0} bewirkt dasselbe von überall im Menü.", - "SessionTourControlFsBody": "Öffnet ControlFS, einen für Controller entwickelten Dateimanager, im Vollbildmodus. Wenn er noch nicht installiert ist, wird er beim ersten Drücken heruntergeladen und installiert. Direkt darunter macht JoyChromium dasselbe mit einem Browser für den Fernseher: Er öffnet sich über dem Spiel und bleibt beim Zurückkehren zum PC als Fenster offen.", - "SessionTourVolumeBody": "Drücke {0}, um die Lautstärke der Audioausgabe anzupassen: ◀ ▶ ändern sie in 5er-Schritten, {1} schaltet stumm, und mit {0} oder {2} bist du fertig.", - "SessionTourDisplayTitle": "Bildschirm und Ton", - "SessionTourDisplayBody": "Auflösung, Bildwiederholrate, Audioausgabe und HDR des Gaming-Bildschirms. Änderungen gelten nur für diese Sitzung: Wenn du zum PC zurückkehrst, wird alles auf den vorherigen Zustand zurückgesetzt.", - "SessionTourDisplayPreviewBody": "Auflösung, Bildwiederholrate, Audioausgabe und HDR des Gaming-Bildschirms. Außerhalb einer Sitzung – wie jetzt – bleiben Änderungen bestehen, bis du sie erneut änderst.", - "SessionTourFpsTitle": "FPS", - "SessionTourFpsBody": "Die FPS-Begrenzung limitiert die Bildrate deiner Spiele und die Anzeige zeigt die FPS in einer Bildschirmecke an. Beides läuft über RivaTuner. Bei der Rückkehr zum PC werden beide Einstellungen zurückgesetzt.", - "SessionTourWindowsBody": "Die geöffneten Programme – wie Alt + Tab, nur dauerhaft auf dem Bildschirm. {0} bringt ein Fenster nach vorn; {1} fordert es nach deiner Bestätigung zum Schließen auf.", - "SessionTourBackToPcBody": "Beendet die Sitzung: Bildschirme, Auflösung, HDR, Audio und FPS-Begrenzung werden zurückgesetzt, Big Picture wird geschlossen und der Fernseher ausgeschaltet, falls du das eingerichtet hast. Console Mode bleibt im Infobereich geöffnet und ist für das nächste Mal bereit.", - "SessionTourCloseMenuBody": "Außerhalb einer Sitzung gibt es nichts wiederherzustellen, daher schließt diese Schaltfläche nur das Menü. Während einer Sitzung wird daraus „Zurück zum PC“ und Bildschirme, Audio und Auflösung werden auf den vorherigen Zustand zurückgesetzt.", - "SessionTourExitBody": "Macht alles wie „Zurück zum PC“ und schließt zusätzlich Console Mode: Die App wird aus dem Infobereich beendet und die Controller-Tastenkombinationen funktionieren erst wieder, wenn du sie erneut öffnest.", - "SessionTourExitPreviewBody": "Schließt Console Mode vollständig: Die App wird aus dem Infobereich beendet und die Controller-Tastenkombinationen funktionieren erst wieder, wenn du sie erneut öffnest.", - "SessionTourCard": "Führung durch das Sitzungsmenü", - "SessionTourDescription": "Erklärt die einzelnen Optionen des Menüs über dem Spiel. Öffnet eine Vorschau des Menüs, ohne eine Sitzung zu starten.", - "ShowTour": "Führung anzeigen", - "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.", - "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. {0} auf dem gewünschten (oder ein Klick) markiert ihn: Er öffnet sich, wenn du spielst. Nur darauf zu gehen zeigt bloß auf ihn. Bei einer eigenen App entfernt {1} oder ein Rechtsklick sie von der Startseite.", - "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.", - "AddCustomAppTile": "App hinzufügen", - "AddCustomAppCard": "Eigene App hinzufügen", - "AddCustomAppDescription": "Wähle eine .exe: Sie wird zur Kachel auf der Startseite, mit Symbol und Namen des Programms.", - "RemoveCustomAppCard": "Diese App entfernen", - "RemoveCustomAppDescription": "Entfernt die Kachel dieser App von der Startseite; stattdessen öffnet sich Steam Big Picture.", - "RemoveFromHome": "Von der Startseite entfernen", - "Cancel": "Abbrechen", - "OtherAppsControlFsDescription": "Ein Dateimanager für den Controller, mit sicherem ZIP-Entpacker.", - "OtherAppsTakoDescription": "Deine Spielebibliothek in einem Launcher für Fernseher und Controller.", - "OtherAppsJoyChromiumDescription": "Ein Webbrowser für den Fernseher, mit dem Controller vom Sofa aus bedient.", - "OtherAppsStageAlpha": "Alpha", - "OtherAppsStageClosedAlpha": "Geschlossene Alpha", - "OtherAppsStageBeta": "Beta" -} diff --git a/src/ConsoleMode/Resources/Strings.en-US.json b/src/ConsoleMode/Resources/Strings.en-US.json index e94cb515..07badd16 100644 --- a/src/ConsoleMode/Resources/Strings.en-US.json +++ b/src/ConsoleMode/Resources/Strings.en-US.json @@ -14,7 +14,7 @@ "GameScreenSection": "Gaming display", "ResolutionRefreshCard": "Resolution and refresh rate", "HideOtherScreensCard": "How to turn off other displays", - "HideOtherScreensDescription": "Disconnecting is fastest. The black screen keeps the layout unchanged; DDC/CI turns off the panel through its hardware.", + "HideOtherScreensDescription": "Disconnecting is fastest. The black screen keeps the layout unchanged.", "EnteringConsoleSection": "When entering console mode", "LaunchCard": "Open", "AudioOutputCard": "Audio output", @@ -23,8 +23,6 @@ "HdrDescription": "Enabled on entry and restored to its previous state on exit.", "VrrCard": "Variable refresh rate (VRR)", "VrrDescription": "Enables the Windows setting. Also enable it in the NVIDIA/AMD control panel.", - "FpsCard": "FPS limit", - "FpsPlaceholder": "FPS", "AppSection": "App", "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.", @@ -117,21 +115,6 @@ "HideIconsDescription": "Hides the desktop icons while the session runs, so the TV looks clean like a console, and shows them again when you go back to the PC. If they were already hidden, they stay that way.", "ParkPointerCard": "Move the mouse pointer out of the way", "ParkPointerDescription": "When the launcher shows up on the TV, moves the pointer to the bottom-right corner of the game screen so it doesn't sit in the middle of the picture. Going back to the PC puts it back where it was.", - "GameProfilesCard": "Per-game profiles", - "GameProfilesDescription": "Each Steam game's own resolution, HDR, FPS limit and audio output. To create one, open the session menu while the game runs and pick Game profile → Save the current settings. The profile applies when the game starts and is undone when it closes.", - "GameProfilesEmpty": "No saved profiles", - "GameProfilesCount": "{0} saved", - "GameProfilesPickerTitle": "Pick the profile to delete", - "GameProfileRow": "Game profile", - "GameProfileNoGame": "No Steam game running", - "GameProfileNone": "{0}: no profile", - "GameProfileActive": "{0}: profile saved", - "GameProfileSave": "Save the current settings for {0}", - "GameProfileRemove": "Delete the profile of {0}", - "GameProfileDelete": "Delete", - "GameProfileHdrOn": "HDR on", - "GameProfileHdrOff": "HDR off", - "GameProfileNothing": "Changes nothing", "HideCursorCard": "Hide the mouse pointer", "HideCursorDescription": "Stays hidden until you turn this off; it comes back by itself when a session starts or ends and when Console Mode closes. Handy for emulators and games that leave it in the middle of the screen.", "ControllerMouseRow": "Control the mouse with the controller", @@ -171,34 +154,6 @@ "OtherAppsSection": "More apps from the developer", "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.", - "TvSection": "TV", - "TvControlCard": "Turn the TV on and switch input", - "TvProviderNone": "Don't control it", - "TvProviderAndroid": "Google TV / Android TV (network)", - "TvNoneDescription": "When console mode starts, the app turns the TV on and switches it to the PC's input; on restore it can put it in standby.", - "TvAndroidDescription": "Over the network, nothing to install. On the TV: Settings → System → Developer options → turn on \"USB debugging\" (or \"Network debugging\"). The first time, accept \"Allow debugging\" on the TV.", - "TvHostCard": "TV address", - "TvHostDescription": "The TV's IP on your network (Settings → Network). Tip: reserve it in your router so it doesn't change.", - "TvMacCard": "MAC address (optional)", - "TvMacDescription": "To wake the TV from deep standby (Wake-on-LAN). Leave it empty if the TV answers while off.", - "TvHdmiCard": "PC input", - "TvHdmiDescription": "The TV's HDMI port the PC is plugged into.", - "TvInputCommandCard": "Input command (advanced)", - "TvInputCommandDescription": "Only if the TV ignores the HDMI key: an Android shell command that switches to the PC's input. Empty = the HDMI key chosen above.", - "TvRestoreCommandCard": "Command when going back to the PC (advanced)", - "TvTurnOffCard": "Put the TV in standby on restore", - "TvTurnOffDescription": "After the desk screens are back.", - "TvTestCard": "Test the TV", - "TvTestDescription": "Turns the TV on and switches to the PC's input now, without touching the screens. The first time, it pairs with the TV.", - "TvTesting": "Talking to the TV… If it asks, accept on the TV screen.", - "TvTestSuccess": "The TV answered: it should now be on, on the PC's input.", - "TvTestFailure": "Could not talk to the TV: {0}", - "TvTestTimedOut": "The TV did not finish responding within 90 seconds. Try again.", - "TvNotConfigured": "Choose how to control the TV.", - "TvHostMissing": "Enter the TV's IP address.", - "TvUnreachable": "The TV at {0} didn't answer. Check the IP, that the TV is on the same network and that debugging is on.", - "TvAdbNotAllowed": "The TV didn't allow this PC. Press Test again and choose \"Always allow\" + \"Allow\" on the TV.", - "TvAdbTlsUnsupported": "The TV only accepts \"Wireless debugging\" (pairing with a code). Turn on \"USB debugging\" / \"Network debugging\" in Developer options.", "ControllerTestCard": "Test controller", "ControllerTestDescription": "Shows live what Windows delivers from each controller: source, buttons by index, D-pad and sticks. Use it when a pad shows up but does nothing.", "ControllerTestSteamHint": "Steam running with PlayStation support captures the pad and the app gets nothing. Close Steam (or turn off PlayStation support in Steam Input) and test again.", @@ -233,7 +188,6 @@ "FocusApplied": "Applied to {0} on entry and reverted on exit.", "StrategyDisconnect": "Disconnect in Windows", "StrategyBlack": "Cover with a black screen", - "StrategyTurnOff": "Turn off the panel (DDC/CI)", "LaunchSteam": "Steam Big Picture", "LaunchPlaynite": "Playnite (fullscreen)", "PlaynitePathCard": "Playnite folder", @@ -253,53 +207,6 @@ "CustomAppMissing": "Choose the app to open (an .exe file).", "CustomAppNotExe": "{0} is not an .exe file. Choose the app to open.", "CustomAppNotFound": "Could not find {0}. Choose the app again.", - "FpsOverlayCard": "FPS counter", - "FpsOverlayExternal": "Afterburner (leave as is)", - "FpsOverlayOff": "Off (hide everything)", - "FpsOverlayCustom": "Custom", - "FpsOverlayDescription": "Shows the FPS over the game during a session, through RTSS. Except on \"Afterburner\", MSI Afterburner's OSD is hidden while console mode is on.", - "FpsOverlayItems": "Game items", - "FpsOverlayShowApi": "API (D3D/Vulkan)", - "FpsOverlayShowFps": "FPS", - "FpsOverlayShowFrameTime": "Frame time (ms)", - "FpsOverlaySingleLine": "All on one line", - "FpsOverlayColor": "Number color", - "FpsOverlayColorWhite": "White", - "FpsOverlayColorBlue": "Blue", - "FpsOverlayColorGreen": "Green", - "FpsOverlayColorYellow": "Yellow", - "FpsOverlayColorOrange": "Orange", - "FpsOverlayCompact": "Compact", - "FpsOverlayCompactHint": "FPS, CPU, GPU and RAM", - "FpsOverlayDetailed": "Detailed", - "FpsOverlayDetailedHint": "clocks, temperature and memory", - "FpsOverlayFpsOnly": "FPS only", - "FpsOverlayPcItems": "PC items", - "FpsOverlayPcItemsDescription": "Read from Windows and the graphics driver, nothing to install. GPU temperature and clock only show if the driver reports them.", - "FpsOverlayShowCpu": "CPU usage", - "FpsOverlayShowCpuClock": "CPU clock", - "FpsOverlayShowGpu": "GPU usage", - "FpsOverlayShowGpuClock": "GPU clock", - "FpsOverlayShowGpuTemp": "GPU temperature", - "FpsOverlayShowVram": "VRAM", - "FpsOverlayShowRam": "RAM", - "FpsOverlaySize": "Size", - "FpsOverlaySizeSmall": "Small", - "FpsOverlaySizeMedium": "Medium", - "FpsOverlaySizeLarge": "Large", - "FpsOverlayStyle": "Style", - "FpsOverlayPosition": "Position", - "FpsOverlayPositionRtss": "RTSS's", - "FpsOverlayPositionTopLeft": "Top left corner", - "FpsOverlayPositionTopRight": "Top right corner", - "FpsOverlayPositionBottomLeft": "Bottom left corner", - "FpsOverlayPositionBottomRight": "Bottom right corner", - "FpsOverlayCardBackground": "Card background", - "FpsOverlayCardBackgroundDescription": "A dark rounded card behind the numbers, so they read well over any scene.", - "FpsNoLimit": "No limit", - "FpsCustom": "Custom", - "FpsAvailable": "Applies to all games while console mode is active. Uses RTSS.", - "FpsUnavailable": "Optional. Install RivaTuner Statistics Server (RTSS) to use this feature.", "NoGameDisplayConfigured": "No gaming display is configured; unable to enter console mode.", "NoDisplayTryRefresh": "No displays found. Try refreshing.", "ListDisplaysError": "Could not list displays: {0}", @@ -345,7 +252,6 @@ "SummaryFocusAndHide": "Play on {0} and turn off {1}", "SummaryAudio": "Audio: {0}", "SummaryAudioOnConnect": "Audio when connected", - "SummaryFps": "{0} FPS", "MonitorOff": "off", "DisplayOffNow": "currently off", "CurrentModeSuffix": " (current)", @@ -392,8 +298,6 @@ "SessionTourDisplayTitle": "Screen and sound", "SessionTourDisplayBody": "Resolution, refresh rate, audio output and HDR of the game screen. Whatever you change here lasts for this session only: back at the PC, everything goes back to how it was.", "SessionTourDisplayPreviewBody": "Resolution, refresh rate, audio output and HDR of the game screen. Outside a session, like now, whatever you change here stays until you change it again.", - "SessionTourFpsTitle": "FPS", - "SessionTourFpsBody": "The FPS limit caps the frame rate of your games and the counter shows the FPS in a corner of the screen, both through RivaTuner. Back at the PC, both are undone.", "SessionTourWindowsBody": "The open programs, like an Alt + Tab that is always on screen. {0} brings a window to the front; {1} asks it to close, once you confirm.", "SessionTourBackToPcBody": "Ends the session: screens, resolution, HDR, audio and the FPS limit go back to how they were, Big Picture closes and the TV turns off if you set that up. Console Mode stays open in the tray, ready for next time.", "SessionTourCloseMenuBody": "Outside a session there is nothing to restore, so this button only closes the menu. During a session it becomes Back to the PC and puts screens, audio and resolution back as they were.", diff --git a/src/ConsoleMode/Resources/Strings.es-ES.json b/src/ConsoleMode/Resources/Strings.es-ES.json deleted file mode 100644 index 1e824828..00000000 --- a/src/ConsoleMode/Resources/Strings.es-ES.json +++ /dev/null @@ -1,451 +0,0 @@ -{ - "Brand": "Console Mode", - "Back": "Volver", - "IgnoreUpdate": "Omitir esta versión", - "RolePlayHere": "Jugar aquí", - "RoleTurnOff": "Apagar", - "RoleKeepOn": "Dejar encendida", - "Settings": "Ajustes", - "SendFeedback": "Enviar comentarios", - "Next": "Siguiente", - "SkipTour": "Saltar el tutorial", - "CreateDesktopShortcut": "Crear un acceso directo en el escritorio", - "ActiveTitle": "Modo consola activo", - "GameScreenSection": "Pantalla de juego", - "ResolutionRefreshCard": "Resolución y frecuencia de actualización", - "HideOtherScreensCard": "Cómo apagar las otras pantallas", - "HideOtherScreensDescription": "Desconectar es lo más rápido. La pantalla negra no cambia la disposición; DDC/CI apaga el panel por hardware.", - "EnteringConsoleSection": "Al entrar en modo consola", - "LaunchCard": "Abrir", - "AudioOutputCard": "Salida de audio", - "OptionalExtrasSection": "Extras opcionales", - "HdrCard": "HDR en la pantalla de juego", - "HdrDescription": "Se activa al entrar y vuelve a su estado anterior al salir.", - "VrrCard": "Frecuencia de actualización variable (VRR)", - "VrrDescription": "Activa el ajuste de Windows. Actívalo también en el panel de control de NVIDIA/AMD.", - "FpsCard": "Límite de FPS", - "FpsPlaceholder": "FPS", - "AppSection": "Aplicación", - "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", - "BackgroundCovers": "Portadas de Steam", - "BackgroundGradient": "Solo degradado", - "BackgroundImage": "Mi imagen", - "BackgroundImageCard": "Elegir una imagen…", - "HomeSetupHeading": "Configuración actual", - "TabHome": "Inicio", - "TabSession": "Sesión", - "TabSystem": "Sistema", - "HintTabs": "Pestañas", - "SoundsCard": "Sonidos de la interfaz", - "SoundsDescription": "Sonidos suaves al moverte, elegir y volver en la interfaz Consola.", - "SessionMenuTitle": "Menú de la sesión", - "BackToGame": "Volver al juego", - "VolumeRow": "Volumen", - "Muted": "Silencio", - "SessionMenuHint": "El atajo del menú de la sesión abre este menú en cualquier momento.", - "SessionHintTitle": "Menú de Console Mode", - "SessionHintBody": "Mantén {0} para abrir el panel sobre el juego.", - "ExitConsoleMode": "Salir de Console Mode", - "HintVolume": "Volumen", - "SessionElapsed": "Jugando desde hace {0}", - "SessionMenuCard": "Atajo del menú de la sesión", - "SessionMenuDescription": "Durante la sesión, mantén este atajo para abrir un menú sobre el juego: volumen, resolución, audio, FPS, HDR, volver al PC o salir. No funciona sobre juegos en pantalla completa exclusiva.", - "ConsoleScreensHeading": "Pantallas", - "ConsoleQuickHeading": "Ajustes rápidos", - "FullSettings": "Todos los ajustes", - "HintSelect": "Seleccionar", - "HintChange": "Cambiar", - "ConsoleSettingsHint": "Pulsa A en una fila para cambiar su valor. Todo se guarda al momento.", - "BackToPc": "Volver al PC", - "CloseMenu": "Cerrar menú", - "ControlFsCard": "Explorador de archivos (ControlFS)", - "ControlFsOpen": "Explora tus archivos con el mando", - "ControlFsMissing": "No instalado · pulsa para descargar e instalar", - "ControlFsDownloading": "Descargando… {0}%", - "ControlFsInstalling": "Instalando…", - "ControlFsInstallFailed": "No se pudo instalar · pulsa para abrir la página de descarga", - "ControlFsInstalled": "Instalado · pulsa para abrir", - "JoyChromiumCard": "Navegador (JoyChromium)", - "JoyChromiumOpen": "Navega por la web con el mando", - "ControlFsMissingNote": "ControlFS no está instalado. Abriendo su página de descarga en el navegador.", - "SessionWindowsCard": "Ventanas", - "SessionWindowsCount": "{0} abiertas", - "SwitcherEmpty": "No hay ventanas abiertas", - "SwitcherOpen": "Abrir", - "SwitcherCloseWindow": "Cerrar ventana", - "SwitcherCloseConfirmTitle": "¿Cerrar esta ventana?", - "SwitcherCloseConfirmBody": "Si hay cambios sin guardar, la aplicación todavía puede pedirte que los guardes.", - "SwitcherCloseConfirmAction": "Cerrar ventana", - "SessionPreviewBadge": "Fuera de la sesión", - "ConsoleActiveHint": "O mantén {0} en el mando durante 1 segundo.", - "ChooseRoleFor": "¿Qué hace la pantalla {0}?", - "HomeButtonCard": "Atajo del mando para abrir Console Mode", - "HomeButtonDescription": "Con la aplicación en la bandeja, mantén este atajo 1 segundo para entrar en modo consola (una sola pulsación si activas la pulsación corta de abajo). Funciona con mandos Xbox y PlayStation.", - "ExitShortcutCard": "Atajo del mando para volver al PC", - "TaskViewShortcutCard": "Atajo del mando para la vista de tareas", - "TaskViewShortcutDescription": "Abre la vista de tareas de Windows (Win + Tab) con todas las ventanas abiertas, dentro o fuera de una sesión. Con ella abierta, la cruceta o el joystick eligen la ventana, A la abre y B cierra la vista; el atajo otra vez también la cierra.", - "TaskViewHint": "La cruceta o el joystick eligen la ventana · {0} la abre · {1} cierra", - "TaskViewPlayStationCard": "Moverse por la vista de tareas con un mando de PlayStation", - "TaskViewPlayStationDescription": "Windows ya permite moverse por la vista de tareas con un mando de Xbox. Activado, Console Mode hace lo mismo con un mando de PlayStation, que Windows no entiende ahí. Desactívalo si usas un programa que convierte el mando en uno de Xbox (DS4Windows, Steam) y los movimientos se repiten.", - "ExitShortcutDescription": "Durante la sesión, mantén este atajo 1 segundo para restaurar el escritorio y volver al PC.", - "ShortcutHome": "Abrir Console Mode", - "ControllerSection": "Mando", - "ControllerLayoutCard": "Diseño de botones", - "ControllerLayoutDescription": "Automático sigue el mando conectado. También puedes fijar los símbolos de Xbox o PlayStation.", - "ControllerLayoutAuto": "Automático", - "ControllerLayoutXbox": "Xbox (A, B, X, Y)", - "ControllerLayoutPlaystation": "PlayStation (✕, ○, □, △)", - "ShortcutMenu": "Menú de la sesión", - "ShortcutExit": "Volver al PC", - "ShortcutTaskView": "Vista de tareas", - "ShortcutNotSet": "Sin definir", - "ShortcutSet": "Definir", - "ShortcutChange": "Cambiar", - "ShortcutClear": "Quitar", - "ShortcutCancel": "Cancelar", - "ShortcutPressButtons": "Mantén los botones y luego suéltalos…", - "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.", - "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", - "RestoreIconsDescription": "Guarda la posición de los iconos del escritorio antes de la sesión y los vuelve a colocar al volver al PC, por si Windows los reordena al cambiar la pantalla principal. No hace nada si la organización automática está activada.", - "HideIconsCard": "Ocultar los iconos del escritorio en la sesión", - "HideIconsDescription": "Oculta los iconos del escritorio mientras dura la sesión, para que la TV se vea limpia como una consola, y los vuelve a mostrar al volver al PC. Si ya estaban ocultos, siguen así.", - "ParkPointerCard": "Apartar el puntero del ratón", - "ParkPointerDescription": "Cuando el iniciador aparece en la TV, lleva el puntero a la esquina inferior derecha de la pantalla de juego para que no quede en medio de la imagen. Al volver al PC, el puntero vuelve a donde estaba.", - "GameProfilesCard": "Perfiles por juego", - "GameProfilesDescription": "Resolución, HDR, límite de FPS y salida de audio propios de cada juego de Steam. Para crear uno, abre el menú de la sesión con el juego en marcha y elige Perfil del juego → Guardar los ajustes actuales. El perfil se aplica cuando el juego se abre y se deshace cuando se cierra.", - "GameProfilesEmpty": "Ningún perfil guardado", - "GameProfilesCount": "{0} guardados", - "GameProfilesPickerTitle": "Elige el perfil que quieres borrar", - "GameProfileRow": "Perfil del juego", - "GameProfileNoGame": "Ningún juego de Steam en marcha", - "GameProfileNone": "{0}: sin perfil", - "GameProfileActive": "{0}: perfil guardado", - "GameProfileSave": "Guardar los ajustes actuales para {0}", - "GameProfileRemove": "Borrar el perfil de {0}", - "GameProfileDelete": "Borrar", - "GameProfileHdrOn": "HDR activado", - "GameProfileHdrOff": "HDR desactivado", - "GameProfileNothing": "No cambia nada", - "HideCursorCard": "Ocultar el cursor del ratón", - "HideCursorDescription": "Queda oculto hasta que lo desactives aquí; vuelve solo al empezar o terminar una sesión y al cerrar Console Mode. Útil en emuladores y juegos que lo dejan en el centro de la pantalla.", - "ControllerMouseRow": "Controlar el ratón con el mando", - "ControllerMouseHint": "Stick izquierdo mueve · {0} hace clic · {0} dos veces: clic derecho · stick derecho desplaza", - "AutoStartControllerCard": "Entrar al conectar un mando", - "AutoStartControllerDescription": "Con la aplicación en la bandeja, encender o conectar un mando entra en modo consola. Ignora los primeros 15 s tras abrir y 30 s tras restaurar.", - "ControllerWakeCard": "Despertar el PC con el mando", - "ControllerWakeDescription": "Permite que el adaptador inalámbrico Xbox, el Bluetooth o un mando con cable despierten el PC de la suspensión al pulsar el botón central del mando. Windows pide permiso de administrador. No despierta un PC apagado o en hibernación, y algunos PC cortan la energía del Bluetooth al suspender. Con Entrar al conectar un mando activado, el PC despierta directamente en modo consola.", - "ControllerWakeButton": "Activar", - "ControllerWakeChecking": "Comprobando los dispositivos…", - "ControllerWakeReady": "Listo: {0} puede despertar el PC.", - "ControllerWakeOff": "Todavía no puede despertar el PC: {0}.", - "ControllerWakeNone": "Ningún adaptador de mando ni Bluetooth de este PC puede despertarlo. Conecta el adaptador o el mando y vuelve a intentarlo.", - "ControllerWakeUnknown": "No se pudieron comprobar los dispositivos.", - "ControllerWakeEnabled": "Listo. Suspende el PC y pulsa el botón central del mando para probarlo.", - "ControllerWakeCanceled": "Windows no recibió el permiso; no se ha cambiado nada.", - "ControllerWakeFailed": "No se pudo activar. Los detalles están en el registro.", - "ControllerWakeGone": "No se encontró el dispositivo al activarlo (¿se desconectó?). Vuelve a conectarlo e inténtalo de nuevo.", - "ControllerWakeUnavailable": "No disponible", - "HomeButtonShortPressCard": "Pulsación corta del botón Xbox", - "HomeButtonShortPressDescription": "Basta con pulsar, sin mantener. Desactiva el atajo del mando para la Game Bar en Windows (Win+G sigue funcionando).", - "HomeButtonSteamHint": "Steam está abierto y también usa el botón Xbox. En Steam, desactiva \"El botón Guía enfoca Steam\" para que la pulsación corta funcione.", - "GameBarSettingError": "No se pudo cambiar el ajuste de la Game Bar: {0}", - "StartupCard": "Iniciar con Windows", - "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.", - "MenuOutsideSessionCard": "Menú de la sesión fuera del modo consola", - "MenuOutsideSessionDescription": "El atajo del menú también abre el Menú de la sesión cuando no estás en el modo consola, con las ventanas abiertas, el volumen, la pantalla y el mando como ratón, siempre que Console Mode esté abierto (aunque sea solo en la bandeja). Desactívalo si el atajo molesta en algún juego.", - "CheckNow": "Buscar ahora", - "NotifyUpdatesCard": "Avisarme cuando haya una versión nueva", - "NotifyUpdatesDescription": "Consulta las versiones de GitHub al abrir la aplicación.", - "BetaUpdatesCard": "Recibir versiones de prueba (beta)", - "BetaUpdatesDescription": "Recibe las versiones nuevas antes que nadie para ayudar a probarlas. Pueden tener errores. Desactivarlo no vuelve a la versión estable: recibirás la próxima estable cuando salga.", - "BetaUpdatesWarning": "Las versiones de prueba pueden fallar en algunas configuraciones. Si algo sale mal, descarga la versión estable en la página de versiones y cuéntanoslo con el botón de comentarios.", - "HelpDataSection": "Acceso directo, ayuda y datos", - "OtherAppsSection": "Más apps del desarrollador", - "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.", - "TvSection": "TV", - "TvControlCard": "Encender la TV y cambiar la entrada", - "TvProviderNone": "No controlarla", - "TvProviderAndroid": "Google TV / Android TV (red)", - "TvNoneDescription": "Al entrar en el modo consola, la app enciende la TV y cambia a la entrada del PC; al restaurar, puede ponerla en reposo.", - "TvAndroidDescription": "Por la red, sin instalar nada. En la TV: Ajustes → Sistema → Opciones de desarrollador → activa \"Depuración USB\" (o \"Depuración por red\"). La primera vez, acepta \"Permitir depuración\" en la TV.", - "TvHostCard": "Dirección de la TV", - "TvHostDescription": "IP de la TV en tu red (Ajustes → Red). Consejo: resérvala en el router para que no cambie.", - "TvMacCard": "Dirección MAC (opcional)", - "TvMacDescription": "Para despertar la TV del reposo profundo (Wake-on-LAN). Déjalo vacío si la TV responde apagada.", - "TvHdmiCard": "Entrada del PC", - "TvHdmiDescription": "Puerto HDMI de la TV donde está conectado el PC.", - "TvInputCommandCard": "Comando de la entrada (avanzado)", - "TvInputCommandDescription": "Solo si la TV ignora la tecla HDMI: un comando de shell de Android que cambia a la entrada del PC. Vacío = la tecla HDMI elegida arriba.", - "TvRestoreCommandCard": "Comando al volver al PC (avanzado)", - "TvTurnOffCard": "Poner la TV en reposo al restaurar", - "TvTurnOffDescription": "Después de que vuelvan las pantallas del escritorio.", - "TvTestCard": "Probar la TV", - "TvTestDescription": "Enciende la TV y cambia a la entrada del PC ahora, sin tocar las pantallas. La primera vez, se empareja con la TV.", - "TvTesting": "Hablando con la TV… Si lo pide, acepta en la pantalla de la TV.", - "TvTestSuccess": "La TV respondió: debería estar encendida en la entrada del PC.", - "TvTestFailure": "No se pudo hablar con la TV: {0}", - "TvTestTimedOut": "La TV no terminó de responder en 90 segundos. Inténtalo de nuevo.", - "TvNotConfigured": "Elige cómo controlar la TV.", - "TvHostMissing": "Indica la dirección IP de la TV.", - "TvUnreachable": "La TV en {0} no respondió. Revisa la IP, que la TV esté en la misma red y que la depuración esté activada.", - "TvAdbNotAllowed": "La TV no autorizó este PC. Pulsa Probar de nuevo y elige \"Permitir siempre\" + \"Permitir\" en la TV.", - "TvAdbTlsUnsupported": "La TV solo acepta \"Depuración inalámbrica\" (emparejamiento con código). Activa \"Depuración USB\" / \"Depuración por red\" en Opciones de desarrollador.", - "ControllerTestCard": "Probar mando", - "ControllerTestDescription": "Muestra en vivo lo que Windows entrega de cada mando: origen, botones por índice, cruceta y sticks. Úsalo si el mando aparece pero no responde.", - "ControllerTestSteamHint": "Steam abierto con soporte para PlayStation captura el mando y la aplicación no recibe nada. Cierra Steam (o desactiva el soporte para PlayStation en Steam Input) y prueba de nuevo.", - "CopyDiagnostics": "Copiar diagnóstico", - "ControllerDevicesHeading": "Dispositivos", - "ControllerSampleHeading": "Lectura en vivo (pulsa botones)", - "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.", - "CopyReport": "Copiar informe", - "TutorialCard": "Tutorial", - "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", - "DataFolderCard": "Carpeta de datos", - "DataFolderDescription": "Ajustes, copia de la disposición de pantallas y el registro (consolemode.log).", - "LanguageCard": "Idioma", - "LanguageDescription": "Elige el idioma de Console Mode.", - "ConfirmTitle": "¿Ves esta pantalla?", - "ConfirmDescription": "Esta es la pantalla de juego. Confirma con el ratón, el teclado o el mando. Si nadie responde, tus pantallas vuelven solas.", - "Revert": "Deshacer", - "Continue": "Sí, continuar", - "Countdown": "Volviendo a la normalidad en {0} s", - "AudioHint": "Se aplica al entrar y se restaura al salir. \"Al conectar\" cambia solo cuando aparece la TV.", - "StartEntering": "Entrando…", - "StartNow": "Jugar ahora", - "LaunchPlayniteDescription": "Abre Playnite a pantalla completa. Al cerrarlo, tus pantallas vuelven solas.", - "LaunchXboxDescription": "Experimental: envía Win+F11. Para restaurar las pantallas, usa la aplicación o el menú de la bandeja.", - "LaunchSteamDescription": "Abre Steam Big Picture. Al cerrarlo, tus pantallas vuelven solas.", - "FocusChoose": "Elige una pantalla de juego en la pantalla de inicio.", - "FocusApplied": "Se aplica a {0} al entrar y se deshace al salir.", - "StrategyDisconnect": "Desconectar en Windows", - "StrategyBlack": "Cubrir con una pantalla negra", - "StrategyTurnOff": "Apagar el panel (DDC/CI)", - "LaunchSteam": "Steam Big Picture", - "LaunchPlaynite": "Playnite (pantalla completa)", - "PlaynitePathCard": "Carpeta de Playnite", - "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).", - "PlaynitePathInvalid": "No se encontró Playnite.FullscreenApp.exe en {0}.", - "PlaynitePathPickError": "No se pudo abrir el selector de archivos: {0}", - "LaunchXbox": "Modo Xbox (experimental)", - "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", - "CustomAppArgumentsCard": "Argumentos", - "CustomAppArgumentsDescription": "Opcional. Se pasan a la aplicación al abrirla, por ejemplo para abrirla en pantalla completa.", - "CustomAppWatchCard": "Proceso que vigilar", - "CustomAppWatchDescription": "Opcional. Si la aplicación solo abre otro programa y se cierra, escribe el nombre del proceso de ese programa. Tus pantallas vuelven cuando se cierre.", - "CustomAppMissing": "Elige la aplicación que abrir (un archivo .exe).", - "CustomAppNotExe": "{0} no es un archivo .exe. Elige la aplicación que abrir.", - "CustomAppNotFound": "No se encontró {0}. Vuelve a elegir la aplicación.", - "FpsOverlayCard": "Contador de FPS", - "FpsOverlayExternal": "Afterburner (no tocar)", - "FpsOverlayOff": "Desactivado (oculta todo)", - "FpsOverlayCustom": "Personalizado", - "FpsOverlayDescription": "Muestra los FPS sobre el juego durante la sesión, mediante RTSS. Salvo en \"Afterburner\", el OSD de MSI Afterburner se oculta mientras el modo consola esté activo.", - "FpsOverlayItems": "Elementos del juego", - "FpsOverlayShowApi": "API (D3D/Vulkan)", - "FpsOverlayShowFps": "FPS", - "FpsOverlayShowFrameTime": "Tiempo de fotograma (ms)", - "FpsOverlaySingleLine": "Todo en una línea", - "FpsOverlayColor": "Color de los números", - "FpsOverlayColorWhite": "Blanco", - "FpsOverlayColorBlue": "Azul", - "FpsOverlayColorGreen": "Verde", - "FpsOverlayColorYellow": "Amarillo", - "FpsOverlayColorOrange": "Naranja", - "FpsOverlayCompact": "Compacto", - "FpsOverlayCompactHint": "FPS, CPU, GPU y RAM", - "FpsOverlayDetailed": "Detallado", - "FpsOverlayDetailedHint": "relojes, temperatura y memoria", - "FpsOverlayFpsOnly": "Solo FPS", - "FpsOverlayPcItems": "Elementos del PC", - "FpsOverlayPcItemsDescription": "Se leen de Windows y del controlador de vídeo, sin instalar nada. La temperatura y el reloj de la GPU solo aparecen si el controlador los informa.", - "FpsOverlayShowCpu": "Uso de CPU", - "FpsOverlayShowCpuClock": "Reloj de CPU", - "FpsOverlayShowGpu": "Uso de GPU", - "FpsOverlayShowGpuClock": "Reloj de GPU", - "FpsOverlayShowGpuTemp": "Temperatura de GPU", - "FpsOverlayShowVram": "VRAM", - "FpsOverlayShowRam": "RAM", - "FpsOverlaySize": "Tamaño", - "FpsOverlaySizeSmall": "Pequeño", - "FpsOverlaySizeMedium": "Mediano", - "FpsOverlaySizeLarge": "Grande", - "FpsOverlayStyle": "Estilo", - "FpsOverlayPosition": "Posición", - "FpsOverlayPositionRtss": "La de RTSS", - "FpsOverlayPositionTopLeft": "Esquina superior izquierda", - "FpsOverlayPositionTopRight": "Esquina superior derecha", - "FpsOverlayPositionBottomLeft": "Esquina inferior izquierda", - "FpsOverlayPositionBottomRight": "Esquina inferior derecha", - "FpsOverlayCardBackground": "Fondo de tarjeta", - "FpsOverlayCardBackgroundDescription": "Una tarjeta oscura y redondeada detrás de los números, para leerlos bien en cualquier escena.", - "FpsNoLimit": "Sin límite", - "FpsCustom": "Personalizado", - "FpsAvailable": "Se aplica a todos los juegos mientras el modo consola está activo. Usa RTSS.", - "FpsUnavailable": "Opcional. Instala RivaTuner Statistics Server (RTSS) para usar esta función.", - "NoGameDisplayConfigured": "No hay ninguna pantalla de juego configurada; no se puede entrar en modo consola.", - "NoDisplayTryRefresh": "No se encontraron pantallas. Prueba a actualizar.", - "ListDisplaysError": "No se pudieron listar las pantallas: {0}", - "DisplayNoChange": "No cambiar", - "AudioNoChange": "No cambiar", - "AudioOnConnect": "La que aparece al conectar (TV)", - "ShortcutCreated": "Se creó el acceso directo \"Console Mode 1 Click\" en el escritorio.", - "ShortcutCreateError": "No se pudo crear el acceso directo: {0}", - "OpenFolderError": "No se pudo abrir la carpeta: {0}", - "ChooseGameScreen": "Elige la pantalla en la que quieres jugar.", - "UnconfirmedSetup": "Tus pantallas se restauraron porque la pantalla de juego no se confirmó. Revisa la selección e inténtalo de nuevo.", - "StartFailure": "No se pudo entrar en modo consola: {0}", - "ControllerXbox": "mando Xbox detectado", - "ControllerPlaystation": "mando PlayStation detectado", - "ControllerOther": "mando detectado", - "ControllerNone": "ningún mando detectado", - "ConfirmationResult": "Prueba: {0} por {1} ({2}).", - "ConfirmationAccepted": "confirmado", - "ConfirmationWillRevert": "se restauraría", - "SourceController": "mando", - "SourceKeyboard": "teclado", - "SourceMouseKeyboard": "ratón/teclado", - "SourceTimeout": "sin respuesta", - "ListConjunction": " y ", - "ListSeparator": ", ", - "ShortcutName": "Console Mode 1 Click", - "ShortcutDescription": "Entra en modo consola con un clic", - "ShortcutUnavailable": "WScript.Shell no está disponible en esta versión de Windows.", - "UnknownExecutablePath": "No se conoce la ruta del ejecutable.", - "ProcessTimeout": "{0} agotó el tiempo de espera: {1}", - "ProcessFailure": "{0} falló ({1}): {2}", - "CachedModeSuffix": " (en caché)", - "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.", - "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.", - "RestoreFailure": "No se pudieron restaurar las pantallas: {0}", - "ConfigSaveFailure": "No se pudieron guardar los ajustes: {0}", - "SummaryChooseScreen": "Elige la pantalla en la que quieres jugar", - "SummaryFocusOnly": "Jugar en {0}", - "SummaryFocusAndHide": "Jugar en {0} y apagar {1}", - "SummaryAudio": "Audio: {0}", - "SummaryAudioOnConnect": "Audio al conectar", - "SummaryFps": "{0} FPS", - "MonitorOff": "apagada", - "DisplayOffNow": "apagada ahora", - "CurrentModeSuffix": " (actual)", - "AudioDisabledSuffix": " [Desactivado]", - "AlreadyConsoleActive": "El modo consola ya está activo.", - "GameScreenNotConfirmed": "La pantalla de juego no se confirmó.", - "GameScreenDidNotTurnOn": "La pantalla de juego no se encendió. Comprueba que la TV está encendida y en la entrada HDMI correcta, y vuelve a intentarlo.", - "ActivePlaynite": "Cierra Playnite para que tus pantallas vuelvan solas.", - "ActiveXbox": "En modo Xbox la restauración es manual: usa Restaurar ahora o el menú de la bandeja.", - "ActiveSteam": "Cierra Big Picture para que tus pantallas vuelvan solas.", - "ActiveCustomApp": "Cierra {0} para que tus pantallas vuelvan solas.", - "InstallKindInstalled": "Versión {0} · instalada", - "InstallKindPortable": "Versión {0} · portátil", - "Download": "Descargar", - "UpdateNow": "Actualizar ahora", - "StartupSettingError": "No se pudo cambiar el ajuste de inicio de Windows: {0}", - "SearchingUpdates": "Buscando actualizaciones…", - "LatestVersionStatus": "{0} · estás al día", - "AppUpToDate": "Console Mode está actualizado.", - "UpdateAvailableStatus": "{0} · {1} disponible", - "UpdateAvailableTitle": "Console Mode {0} está disponible{1}", - "BetaSuffix": " (beta)", - "NewVersionOnGithub": "Hay una versión nueva en GitHub.", - "UpdateCheckFailedStatus": "{0} · no se pudieron buscar actualizaciones", - "UpdateSearchFailure": "No se pudieron buscar actualizaciones: {0}", - "ExitConsoleBeforeUpdate": "Sal del modo consola antes de actualizar.", - "UpdateFailure": "No se pudo actualizar: {0}", - "BrowserOpenFailure": "No se pudo abrir el navegador: {0}", - "ShowWindow": "Mostrar ventana", - "TrayEnterConsole": "Entrar en modo consola", - "RestoreSetup": "Restaurar pantallas", - "Exit": "Salir", - "ToggleOn": "Activado", - "ToggleOff": "Desactivado", - "SessionTourInviteTitle": "¿Primera vez en este menú?", - "SessionTourInviteBody": "Un recorrido rápido muestra qué hace cada opción, incluida la diferencia entre Volver al PC y Salir de Console Mode. Para verlo más tarde, pulsa {0} aquí en el menú.", - "SessionTourStart": "Hacer el recorrido", - "SessionTourNotNow": "Ahora no", - "SessionTourProgress": "{0} de {1}", - "SessionTourHint": "Recorrido", - "SessionTourBackToGameBody": "Cierra este menú y devuelve el mando al juego, tal como estaba. {0} hace lo mismo desde cualquier punto del menú.", - "SessionTourControlFsBody": "Abre ControlFS, un explorador de archivos hecho para el mando, a pantalla completa. Si todavía no está instalado, la primera pulsación lo descarga e instala. Justo debajo, JoyChromium hace lo mismo con un navegador para la TV: se abre sobre el juego y, al volver al PC, queda abierto en una ventana.", - "SessionTourVolumeBody": "Pulsa {0} para ajustar el volumen de la salida de audio: ◀ ▶ lo cambian de 5 en 5, {1} lo silencia y {0} o {2} terminan el ajuste.", - "SessionTourDisplayTitle": "Pantalla y sonido", - "SessionTourDisplayBody": "Resolución, frecuencia de actualización, salida de audio y HDR de la pantalla de juego. Lo que cambies aquí vale solo para esta sesión: al volver al PC, todo vuelve a ser como era.", - "SessionTourDisplayPreviewBody": "Resolución, frecuencia de actualización, salida de audio y HDR de la pantalla de juego. Fuera de una sesión, como ahora, lo que cambies aquí se queda así hasta que lo cambies de nuevo.", - "SessionTourFpsTitle": "FPS", - "SessionTourFpsBody": "El límite de FPS fija la tasa de fotogramas de los juegos y el contador muestra los FPS en una esquina de la pantalla, los dos mediante RivaTuner. Al volver al PC, los dos se deshacen.", - "SessionTourWindowsBody": "Los programas abiertos, como un Alt + Tab siempre en pantalla. {0} trae la ventana al frente; {1} le pide que se cierre, después de que lo confirmes.", - "SessionTourBackToPcBody": "Termina la sesión: pantallas, resolución, HDR, audio y límite de FPS vuelven a ser como eran, Big Picture se cierra y la TV se apaga, si lo configuraste. Console Mode sigue abierto en la bandeja, listo para la próxima.", - "SessionTourCloseMenuBody": "Fuera de una sesión no hay nada que restaurar, así que este botón solo cierra el menú. Durante una sesión se convierte en Volver al PC y devuelve pantallas, audio y resolución a como estaban.", - "SessionTourExitBody": "Hace todo lo que hace Volver al PC y, además, cierra Console Mode: sale de la bandeja y los atajos del mando dejan de funcionar hasta que lo abras de nuevo.", - "SessionTourExitPreviewBody": "Cierra Console Mode por completo: sale de la bandeja y los atajos del mando dejan de funcionar hasta que lo abras de nuevo.", - "SessionTourCard": "Recorrido del menú de sesión", - "SessionTourDescription": "Explica cada opción del menú sobre el juego. Abre el menú como vista previa, sin iniciar una sesión.", - "ShowTour": "Ver el recorrido", - "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.", - "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. {0} en el que quieras (o un clic) lo marca: es lo que se abre al jugar. Pasar por encima solo lo señala. En una aplicación tuya, {1} o el botón derecho del ratón la quita de Inicio.", - "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.", - "AddCustomAppTile": "Añadir app", - "AddCustomAppCard": "Añadir una aplicación personalizada", - "AddCustomAppDescription": "Elige un .exe: se convierte en un bloque en Inicio, con el icono y el nombre del programa.", - "RemoveCustomAppCard": "Quitar esta aplicación", - "RemoveCustomAppDescription": "Quita el bloque de esta aplicación de Inicio; en su lugar se abre Steam Big Picture.", - "RemoveFromHome": "Quitar de Inicio", - "Cancel": "Cancelar", - "OtherAppsControlFsDescription": "Explorador de archivos pensado para el mando, con extractor de ZIP seguro.", - "OtherAppsTakoDescription": "Tu biblioteca de juegos en un lanzador hecho para la TV y el mando.", - "OtherAppsJoyChromiumDescription": "Navegador para la TV que se usa con el mando, desde el sofá.", - "OtherAppsStageAlpha": "Alfa", - "OtherAppsStageClosedAlpha": "Alfa cerrada", - "OtherAppsStageBeta": "Beta" -} diff --git a/src/ConsoleMode/Resources/Strings.fr-FR.json b/src/ConsoleMode/Resources/Strings.fr-FR.json deleted file mode 100644 index f24fd23e..00000000 --- a/src/ConsoleMode/Resources/Strings.fr-FR.json +++ /dev/null @@ -1,451 +0,0 @@ -{ - "Brand": "Console Mode", - "Back": "Retour", - "IgnoreUpdate": "Ignorer cette version", - "RolePlayHere": "Jouer ici", - "RoleTurnOff": "Éteindre", - "RoleKeepOn": "Laisser allumé", - "Settings": "Paramètres", - "SendFeedback": "Envoyer des commentaires", - "Next": "Suivant", - "SkipTour": "Passer le tutoriel", - "CreateDesktopShortcut": "Créer un raccourci sur le Bureau", - "ActiveTitle": "Le mode console est actif", - "GameScreenSection": "Écran de jeu", - "ResolutionRefreshCard": "Résolution et fréquence d'actualisation", - "HideOtherScreensCard": "Comment éteindre les autres écrans", - "HideOtherScreensDescription": "La déconnexion est la plus rapide. L'écran noir conserve la disposition ; DDC/CI éteint la dalle au niveau matériel.", - "EnteringConsoleSection": "À l'entrée en mode console", - "LaunchCard": "Ouvrir", - "AudioOutputCard": "Sortie audio", - "OptionalExtrasSection": "Options supplémentaires", - "HdrCard": "HDR sur l'écran de jeu", - "HdrDescription": "Activé à l'entrée et remis dans son état précédent à la sortie.", - "VrrCard": "Fréquence d'actualisation variable (VRR)", - "VrrDescription": "Active le paramètre Windows. Activez-le aussi dans le panneau de configuration NVIDIA/AMD.", - "FpsCard": "Limite de FPS", - "FpsPlaceholder": "FPS", - "AppSection": "Application", - "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", - "BackgroundCovers": "Jaquettes Steam", - "BackgroundGradient": "Dégradé seul", - "BackgroundImage": "Mon image", - "BackgroundImageCard": "Choisir une image…", - "HomeSetupHeading": "Configuration actuelle", - "TabHome": "Accueil", - "TabSession": "Session", - "TabSystem": "Système", - "HintTabs": "Onglets", - "SoundsCard": "Sons de l'interface", - "SoundsDescription": "Sons discrets quand vous naviguez, sélectionnez et revenez en arrière dans l'interface console.", - "SessionMenuTitle": "Menu de session", - "BackToGame": "Retour au jeu", - "VolumeRow": "Volume", - "Muted": "Muet", - "SessionMenuHint": "Le raccourci du menu de session ouvre ce menu à tout moment.", - "SessionHintTitle": "Menu Console Mode", - "SessionHintBody": "Maintenez {0} pour ouvrir le panneau par-dessus le jeu.", - "ExitConsoleMode": "Quitter Console Mode", - "HintVolume": "Volume", - "SessionElapsed": "En jeu depuis {0}", - "SessionMenuCard": "Raccourci du menu de session", - "SessionMenuDescription": "Pendant une session, maintenez ce raccourci pour ouvrir un menu par-dessus le jeu : volume, résolution, audio, FPS, HDR, retour au PC ou quitter. Ne fonctionne pas sur les jeux en plein écran exclusif.", - "ConsoleScreensHeading": "Écrans", - "ConsoleQuickHeading": "Réglages rapides", - "FullSettings": "Tous les paramètres", - "HintSelect": "Sélectionner", - "HintChange": "Modifier", - "ConsoleSettingsHint": "Appuyez sur A sur une ligne pour modifier sa valeur. Tout est enregistré immédiatement.", - "BackToPc": "Retour au PC", - "CloseMenu": "Fermer le menu", - "ControlFsCard": "Explorateur de fichiers (ControlFS)", - "ControlFsOpen": "Parcourez vos fichiers à la manette", - "ControlFsMissing": "Non installé · appuyez pour télécharger et installer", - "ControlFsDownloading": "Téléchargement… {0} %", - "ControlFsInstalling": "Installation…", - "ControlFsInstallFailed": "Échec de l'installation · appuyez pour ouvrir la page de téléchargement", - "ControlFsInstalled": "Installé · appuyez pour ouvrir", - "JoyChromiumCard": "Navigateur (JoyChromium)", - "JoyChromiumOpen": "Naviguez sur le Web à la manette", - "ControlFsMissingNote": "ControlFS n'est pas installé. Ouverture de sa page de téléchargement dans le navigateur.", - "SessionWindowsCard": "Fenêtres", - "SessionWindowsCount": "{0} ouvertes", - "SwitcherEmpty": "Aucune fenêtre ouverte", - "SwitcherOpen": "Ouvrir", - "SwitcherCloseWindow": "Fermer la fenêtre", - "SwitcherCloseConfirmTitle": "Fermer cette fenêtre ?", - "SwitcherCloseConfirmBody": "S'il y a des modifications non enregistrées, l'application peut encore vous demander de les enregistrer.", - "SwitcherCloseConfirmAction": "Fermer la fenêtre", - "SessionPreviewBadge": "Hors session", - "ConsoleActiveHint": "Ou maintenez {0} sur la manette pendant 1 seconde.", - "ChooseRoleFor": "Que fait l'écran {0} ?", - "HomeButtonCard": "Raccourci manette pour ouvrir Console Mode", - "HomeButtonDescription": "Avec l'application dans la zone de notification, maintenez ce raccourci pendant 1 seconde pour entrer en mode console (un simple appui si vous activez l'appui court ci-dessous). Fonctionne avec les manettes Xbox et PlayStation.", - "ExitShortcutCard": "Raccourci manette pour revenir au PC", - "TaskViewShortcutCard": "Raccourci manette pour l'affichage des tâches", - "TaskViewShortcutDescription": "Ouvre l'affichage des tâches de Windows (Win + Tab) avec toutes les fenêtres ouvertes, en session ou non. Tant qu'il est ouvert, la croix ou le stick choisit la fenêtre, A l'ouvre et B ferme l'affichage ; le raccourci le ferme aussi.", - "TaskViewHint": "La croix ou le stick choisit la fenêtre · {0} l'ouvre · {1} ferme", - "TaskViewPlayStationCard": "Naviguer dans l'affichage des tâches avec une manette PlayStation", - "TaskViewPlayStationDescription": "Windows permet déjà de naviguer dans l'affichage des tâches avec une manette Xbox. Activé, Console Mode fait de même avec une manette PlayStation, que Windows ne comprend pas à cet endroit. Désactivez-le si un programme transforme votre manette en manette Xbox (DS4Windows, Steam) et que les commandes se répètent.", - "ExitShortcutDescription": "Pendant une session, maintenez ce raccourci pendant 1 seconde pour restaurer votre bureau et revenir au PC.", - "ShortcutHome": "Ouvrir Console Mode", - "ControllerSection": "Manette", - "ControllerLayoutCard": "Disposition des boutons", - "ControllerLayoutDescription": "Automatique suit la manette connectée. Vous pouvez aussi imposer les symboles Xbox ou PlayStation.", - "ControllerLayoutAuto": "Automatique", - "ControllerLayoutXbox": "Xbox (A, B, X, Y)", - "ControllerLayoutPlaystation": "PlayStation (✕, ○, □, △)", - "ShortcutMenu": "Menu de session", - "ShortcutExit": "Retour au PC", - "ShortcutTaskView": "Affichage des tâches", - "ShortcutNotSet": "Non défini", - "ShortcutSet": "Définir", - "ShortcutChange": "Modifier", - "ShortcutClear": "Supprimer", - "ShortcutCancel": "Annuler", - "ShortcutPressButtons": "Maintenez les boutons, puis relâchez…", - "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.", - "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", - "RestoreIconsDescription": "Enregistre la position des icônes du bureau avant la session et les remet en place au retour au PC, au cas où Windows les mélange en changeant d'écran principal. Sans effet si la réorganisation automatique est activée.", - "HideIconsCard": "Masquer les icônes du bureau pendant la session", - "HideIconsDescription": "Masque les icônes du bureau pendant la session, pour que la TV reste nette comme une console, et les réaffiche au retour sur le PC. Si elles étaient déjà masquées, elles le restent.", - "ParkPointerCard": "Écarter le pointeur de la souris", - "ParkPointerDescription": "Quand le lanceur apparaît sur la TV, le pointeur est déplacé dans le coin inférieur droit de l'écran de jeu pour ne pas rester au milieu de l'image. Au retour sur le PC, il revient là où il était.", - "GameProfilesCard": "Profils par jeu", - "GameProfilesDescription": "Résolution, HDR, limite de FPS et sortie audio propres à chaque jeu Steam. Pour en créer un, ouvrez le menu de la session pendant que le jeu tourne et choisissez Profil du jeu → Enregistrer les réglages actuels. Le profil s'applique quand le jeu démarre et est annulé quand il se ferme.", - "GameProfilesEmpty": "Aucun profil enregistré", - "GameProfilesCount": "{0} enregistrés", - "GameProfilesPickerTitle": "Choisissez le profil à supprimer", - "GameProfileRow": "Profil du jeu", - "GameProfileNoGame": "Aucun jeu Steam en cours", - "GameProfileNone": "{0} : pas de profil", - "GameProfileActive": "{0} : profil enregistré", - "GameProfileSave": "Enregistrer les réglages actuels pour {0}", - "GameProfileRemove": "Supprimer le profil de {0}", - "GameProfileDelete": "Supprimer", - "GameProfileHdrOn": "HDR activé", - "GameProfileHdrOff": "HDR désactivé", - "GameProfileNothing": "Ne change rien", - "HideCursorCard": "Masquer le pointeur de la souris", - "HideCursorDescription": "Reste masqué jusqu'à ce que vous désactiviez cette option ; il revient tout seul au début ou à la fin d'une session et à la fermeture de Console Mode. Pratique pour les émulateurs et les jeux qui le laissent au milieu de l'écran.", - "ControllerMouseRow": "Contrôler la souris avec la manette", - "ControllerMouseHint": "Stick gauche : déplacer · {0} : clic · {0} deux fois : clic droit · stick droit : défiler", - "AutoStartControllerCard": "Entrer à la connexion d'une manette", - "AutoStartControllerDescription": "Avec l'application dans la zone de notification, allumer ou brancher une manette lance le mode console. Ignoré pendant les 15 s suivant l'ouverture et les 30 s suivant une restauration.", - "ControllerWakeCard": "Réveiller le PC avec la manette", - "ControllerWakeDescription": "Permet à l'adaptateur sans fil Xbox, au Bluetooth ou à une manette filaire de sortir le PC de la veille quand vous appuyez sur le bouton central de la manette. Windows demande l'autorisation d'administrateur. 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 activé, le PC se réveille directement en mode console.", - "ControllerWakeButton": "Activer", - "ControllerWakeChecking": "Vérification des périphériques…", - "ControllerWakeReady": "Prêt : {0} peut réveiller le PC.", - "ControllerWakeOff": "Ne peut pas encore réveiller le PC : {0}.", - "ControllerWakeNone": "Aucun adaptateur de manette ni Bluetooth de ce PC ne peut le réveiller. Branchez l'adaptateur ou la manette et réessayez.", - "ControllerWakeUnknown": "Impossible de vérifier les périphériques.", - "ControllerWakeEnabled": "C'est fait. Mettez le PC en veille et appuyez sur le bouton central de la manette pour essayer.", - "ControllerWakeCanceled": "Windows n'a pas reçu l'autorisation ; rien n'a été modifié.", - "ControllerWakeFailed": "Impossible d'activer. Les détails sont dans le journal.", - "ControllerWakeGone": "L'appareil était introuvable au moment de l'activer (a-t-il été débranché ?). Rebranchez-le et réessayez.", - "ControllerWakeUnavailable": "Indisponible", - "HomeButtonShortPressCard": "Appui court sur le bouton Xbox", - "HomeButtonShortPressDescription": "Un simple appui, sans maintenir. Désactive le raccourci manette de la Game Bar dans Windows (Win+G continue de fonctionner).", - "HomeButtonSteamHint": "Steam est ouvert et utilise aussi le bouton Xbox. Dans Steam, désactivez \"Le bouton Guide met Steam au premier plan\" pour que l'appui court fonctionne.", - "GameBarSettingError": "Impossible de modifier le paramètre de la Game Bar : {0}", - "StartupCard": "Démarrer avec Windows", - "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.", - "MenuOutsideSessionCard": "Menu de session hors du mode console", - "MenuOutsideSessionDescription": "Le raccourci du menu ouvre aussi le menu de session hors du mode console, avec les fenêtres ouvertes, le volume, l'écran et la manette comme souris, tant que Console Mode est ouvert (même seulement dans la zone de notification). Désactivez-le si le raccourci gêne dans un jeu.", - "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.", - "BetaUpdatesCard": "Recevoir les versions de test (bêta)", - "BetaUpdatesDescription": "Recevez les versions en avant-première pour aider à les tester. Elles peuvent contenir des bugs. Désactiver cette option ne revient pas à la version stable : vous recevrez la prochaine version stable à sa sortie.", - "BetaUpdatesWarning": "Les versions de test peuvent échouer sur certaines configurations. En cas de problème, téléchargez la version stable sur la page des versions et signalez-le-nous avec le bouton de commentaires.", - "HelpDataSection": "Raccourci, aide et données", - "OtherAppsSection": "Autres applications du développeur", - "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.", - "TvSection": "TV", - "TvControlCard": "Allumer la TV et changer d'entrée", - "TvProviderNone": "Ne pas la contrôler", - "TvProviderAndroid": "Google TV / Android TV (réseau)", - "TvNoneDescription": "Au lancement du mode console, l'application allume la TV et la bascule sur l'entrée du PC ; à la restauration, elle peut la mettre en veille.", - "TvAndroidDescription": "Par le réseau, rien à installer. Sur la TV : Paramètres → Système → Options pour les développeurs → activez \"Débogage USB\" (ou \"Débogage réseau\"). La première fois, acceptez \"Autoriser le débogage\" sur la TV.", - "TvHostCard": "Adresse de la TV", - "TvHostDescription": "L'adresse IP de la TV sur votre réseau (Paramètres → Réseau). Astuce : réservez-la dans votre routeur pour qu'elle ne change pas.", - "TvMacCard": "Adresse MAC (facultatif)", - "TvMacDescription": "Pour sortir la TV de la veille profonde (Wake-on-LAN). Laissez vide si la TV répond lorsqu'elle est éteinte.", - "TvHdmiCard": "Entrée du PC", - "TvHdmiDescription": "Le port HDMI de la TV auquel le PC est branché.", - "TvInputCommandCard": "Commande d'entrée (avancé)", - "TvInputCommandDescription": "Seulement si la TV ignore la touche HDMI : une commande shell Android qui bascule sur l'entrée du PC. Vide = la touche HDMI choisie ci-dessus.", - "TvRestoreCommandCard": "Commande au retour sur le PC (avancé)", - "TvTurnOffCard": "Mettre la TV en veille à la restauration", - "TvTurnOffDescription": "Une fois les écrans du bureau rétablis.", - "TvTestCard": "Tester la TV", - "TvTestDescription": "Allume la TV et bascule sur l'entrée du PC maintenant, sans toucher aux écrans. La première fois, l'appairage avec la TV est effectué.", - "TvTesting": "Communication avec la TV… Si elle le demande, acceptez sur l'écran de la TV.", - "TvTestSuccess": "La TV a répondu : elle devrait maintenant être allumée, sur l'entrée du PC.", - "TvTestFailure": "Impossible de communiquer avec la TV : {0}", - "TvTestTimedOut": "La TV n'a pas fini de répondre en 90 secondes. Réessayez.", - "TvNotConfigured": "Choisissez comment contrôler la TV.", - "TvHostMissing": "Saisissez l'adresse IP de la TV.", - "TvUnreachable": "La TV à l'adresse {0} n'a pas répondu. Vérifiez l'IP, que la TV est sur le même réseau et que le débogage est activé.", - "TvAdbNotAllowed": "La TV n'a pas autorisé ce PC. Appuyez à nouveau sur Tester et choisissez \"Toujours autoriser\" + \"Autoriser\" sur la TV.", - "TvAdbTlsUnsupported": "La TV n'accepte que le \"Débogage sans fil\" (association par code). Activez \"Débogage USB\" / \"Débogage réseau\" dans les Options pour les développeurs.", - "ControllerTestCard": "Tester la manette", - "ControllerTestDescription": "Affiche en direct ce que Windows reçoit de chaque manette : source, boutons par index, croix directionnelle et sticks. Utile quand une manette apparaît mais ne fait rien.", - "ControllerTestSteamHint": "Steam ouvert avec la prise en charge PlayStation capture la manette et l'application ne reçoit rien. Fermez Steam (ou désactivez la prise en charge PlayStation dans Steam Input) et testez à nouveau.", - "CopyDiagnostics": "Copier le diagnostic", - "ControllerDevicesHeading": "Appareils", - "ControllerSampleHeading": "Lecture en direct (appuyez sur des boutons)", - "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.", - "CopyReport": "Copier le rapport", - "TutorialCard": "Tutoriel", - "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", - "DataFolderCard": "Dossier de données", - "DataFolderDescription": "Paramètres, sauvegarde des écrans et fichier journal (consolemode.log).", - "LanguageCard": "Langue", - "LanguageDescription": "Choisissez la langue de Console Mode.", - "ConfirmTitle": "Voyez-vous cet écran ?", - "ConfirmDescription": "Ceci est l'écran de jeu. Confirmez avec la souris, le clavier ou la manette. Sans réponse, vos écrans seront restaurés automatiquement.", - "Revert": "Annuler", - "Continue": "Oui, continuer", - "Countdown": "Retour à la normale dans {0} s", - "AudioHint": "Appliquée à l'entrée et restaurée à la sortie. \"À la connexion\" bascule automatiquement quand la TV apparaît.", - "StartEntering": "Démarrage…", - "StartNow": "Jouer", - "LaunchPlayniteDescription": "Ouvre Playnite en plein écran. Vos écrans sont restaurés automatiquement quand vous le fermez.", - "LaunchXboxDescription": "Expérimental : envoie Win+F11. Pour restaurer vos écrans, utilisez l'application ou le menu de la zone de notification.", - "LaunchSteamDescription": "Ouvre Steam Big Picture. Vos écrans sont restaurés automatiquement quand vous le fermez.", - "FocusChoose": "Choisissez un écran de jeu sur l'écran d'accueil.", - "FocusApplied": "Appliqué à {0} à l'entrée et annulé à la sortie.", - "StrategyDisconnect": "Déconnecter dans Windows", - "StrategyBlack": "Couvrir d'un écran noir", - "StrategyTurnOff": "Éteindre la dalle (DDC/CI)", - "LaunchSteam": "Steam Big Picture", - "LaunchPlaynite": "Playnite (plein écran)", - "PlaynitePathCard": "Dossier de Playnite", - "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).", - "PlaynitePathInvalid": "Playnite.FullscreenApp.exe introuvable dans {0}.", - "PlaynitePathPickError": "Impossible d'ouvrir le sélecteur de fichiers : {0}", - "LaunchXbox": "Mode Xbox (expérimental)", - "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", - "CustomAppArgumentsCard": "Arguments de lancement", - "CustomAppArgumentsDescription": "Facultatif. Transmis à l'application à son lancement, par exemple pour l'ouvrir en plein écran.", - "CustomAppWatchCard": "Processus à surveiller", - "CustomAppWatchDescription": "Facultatif. Si l'application ne fait que lancer un autre programme puis se ferme, saisissez le nom du processus de ce programme. Vos écrans sont restaurés quand il se ferme.", - "CustomAppMissing": "Choisissez l'application à ouvrir (un fichier .exe).", - "CustomAppNotExe": "{0} n'est pas un fichier .exe. Choisissez l'application à ouvrir.", - "CustomAppNotFound": "{0} est introuvable. Choisissez à nouveau l'application.", - "FpsOverlayCard": "Compteur de FPS", - "FpsOverlayExternal": "Afterburner (ne pas toucher)", - "FpsOverlayOff": "Désactivé (tout masquer)", - "FpsOverlayCustom": "Personnalisé", - "FpsOverlayDescription": "Affiche les FPS par-dessus le jeu pendant une session, via RTSS. Sauf sur \"Afterburner\", l'OSD de MSI Afterburner est masqué tant que le mode console est actif.", - "FpsOverlayItems": "Éléments du jeu", - "FpsOverlayShowApi": "API (D3D/Vulkan)", - "FpsOverlayShowFps": "FPS", - "FpsOverlayShowFrameTime": "Temps d'image (ms)", - "FpsOverlaySingleLine": "Tout sur une ligne", - "FpsOverlayColor": "Couleur des chiffres", - "FpsOverlayColorWhite": "Blanc", - "FpsOverlayColorBlue": "Bleu", - "FpsOverlayColorGreen": "Vert", - "FpsOverlayColorYellow": "Jaune", - "FpsOverlayColorOrange": "Orange", - "FpsOverlayCompact": "Compact", - "FpsOverlayCompactHint": "FPS, CPU, GPU et RAM", - "FpsOverlayDetailed": "Détaillé", - "FpsOverlayDetailedHint": "fréquences, température et mémoire", - "FpsOverlayFpsOnly": "FPS seulement", - "FpsOverlayPcItems": "Éléments du PC", - "FpsOverlayPcItemsDescription": "Lus depuis Windows et le pilote graphique, rien à installer. La température et la fréquence du GPU ne s'affichent que si le pilote les fournit.", - "FpsOverlayShowCpu": "Utilisation du CPU", - "FpsOverlayShowCpuClock": "Fréquence du CPU", - "FpsOverlayShowGpu": "Utilisation du GPU", - "FpsOverlayShowGpuClock": "Fréquence du GPU", - "FpsOverlayShowGpuTemp": "Température du GPU", - "FpsOverlayShowVram": "VRAM", - "FpsOverlayShowRam": "RAM", - "FpsOverlaySize": "Taille", - "FpsOverlaySizeSmall": "Petite", - "FpsOverlaySizeMedium": "Moyenne", - "FpsOverlaySizeLarge": "Grande", - "FpsOverlayStyle": "Style", - "FpsOverlayPosition": "Position", - "FpsOverlayPositionRtss": "Celle de RTSS", - "FpsOverlayPositionTopLeft": "Coin supérieur gauche", - "FpsOverlayPositionTopRight": "Coin supérieur droit", - "FpsOverlayPositionBottomLeft": "Coin inférieur gauche", - "FpsOverlayPositionBottomRight": "Coin inférieur droit", - "FpsOverlayCardBackground": "Fond de carte", - "FpsOverlayCardBackgroundDescription": "Une carte sombre aux coins arrondis derrière les chiffres, pour qu'ils restent lisibles sur n'importe quelle scène.", - "FpsNoLimit": "Aucune limite", - "FpsCustom": "Personnalisé", - "FpsAvailable": "S'applique à tous les jeux tant que le mode console est actif. Utilise RTSS.", - "FpsUnavailable": "Facultatif. Installez RivaTuner Statistics Server (RTSS) pour utiliser cette fonction.", - "NoGameDisplayConfigured": "Aucun écran de jeu n'est configuré ; impossible d'entrer en mode console.", - "NoDisplayTryRefresh": "Aucun écran trouvé. Essayez d'actualiser.", - "ListDisplaysError": "Impossible de lister les écrans : {0}", - "DisplayNoChange": "Ne pas modifier", - "AudioNoChange": "Ne pas modifier", - "AudioOnConnect": "Celle qui apparaît à la connexion (TV)", - "ShortcutCreated": "Raccourci \"Console Mode 1 Click\" créé sur le Bureau.", - "ShortcutCreateError": "Impossible de créer le raccourci : {0}", - "OpenFolderError": "Impossible d'ouvrir le dossier : {0}", - "ChooseGameScreen": "Choisissez l'écran sur lequel vous voulez jouer.", - "UnconfirmedSetup": "Vos écrans ont été restaurés car l'écran de jeu n'a pas été confirmé. Vérifiez votre sélection et réessayez.", - "StartFailure": "Impossible d'entrer en mode console : {0}", - "ControllerXbox": "Manette Xbox détectée", - "ControllerPlaystation": "Manette PlayStation détectée", - "ControllerOther": "Manette détectée", - "ControllerNone": "Aucune manette détectée", - "ConfirmationResult": "Test : {0} via {1} ({2}).", - "ConfirmationAccepted": "confirmé", - "ConfirmationWillRevert": "serait restauré", - "SourceController": "manette", - "SourceKeyboard": "clavier", - "SourceMouseKeyboard": "souris/clavier", - "SourceTimeout": "délai expiré", - "ListConjunction": " et ", - "ListSeparator": ", ", - "ShortcutName": "Console Mode 1 Click", - "ShortcutDescription": "Entre en mode console en un clic", - "ShortcutUnavailable": "WScript.Shell n'est pas disponible sur cette version de Windows.", - "UnknownExecutablePath": "Le chemin de l'exécutable est inconnu.", - "ProcessTimeout": "{0} a expiré : {1}", - "ProcessFailure": "{0} a échoué ({1}) : {2}", - "CachedModeSuffix": " (en cache)", - "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.", - "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é.", - "RestoreFailure": "Impossible de restaurer les écrans : {0}", - "ConfigSaveFailure": "Impossible d'enregistrer les paramètres : {0}", - "SummaryChooseScreen": "Choisissez l'écran sur lequel vous voulez jouer", - "SummaryFocusOnly": "Jouer sur {0}", - "SummaryFocusAndHide": "Jouer sur {0} et éteindre {1}", - "SummaryAudio": "Audio : {0}", - "SummaryAudioOnConnect": "Audio à la connexion", - "SummaryFps": "{0} FPS", - "MonitorOff": "éteint", - "DisplayOffNow": "actuellement éteint", - "CurrentModeSuffix": " (actuel)", - "AudioDisabledSuffix": " [Désactivé]", - "AlreadyConsoleActive": "Le mode console est déjà actif.", - "GameScreenNotConfirmed": "L'écran de jeu n'a pas été confirmé.", - "GameScreenDidNotTurnOn": "L'écran de jeu ne s'est pas allumé. Vérifiez que la TV est allumée et sur la bonne entrée HDMI, puis réessayez.", - "ActivePlaynite": "Fermez Playnite pour restaurer automatiquement vos écrans.", - "ActiveXbox": "En mode Xbox, la restauration est manuelle : utilisez Restaurer maintenant ou le menu de la zone de notification.", - "ActiveSteam": "Fermez Big Picture pour restaurer automatiquement vos écrans.", - "ActiveCustomApp": "Fermez {0} pour restaurer automatiquement vos écrans.", - "InstallKindInstalled": "Version {0} · installée", - "InstallKindPortable": "Version {0} · portable", - "Download": "Télécharger", - "UpdateNow": "Mettre à jour", - "StartupSettingError": "Impossible de modifier le démarrage avec Windows : {0}", - "SearchingUpdates": "Recherche de mises à jour…", - "LatestVersionStatus": "{0} · à jour", - "AppUpToDate": "Console Mode est à jour.", - "UpdateAvailableStatus": "{0} · {1} disponible", - "UpdateAvailableTitle": "Console Mode {0} est disponible{1}", - "BetaSuffix": " (bêta)", - "NewVersionOnGithub": "Une nouvelle version est disponible sur GitHub.", - "UpdateCheckFailedStatus": "{0} · impossible de rechercher les mises à jour", - "UpdateSearchFailure": "Impossible de rechercher les mises à jour : {0}", - "ExitConsoleBeforeUpdate": "Quittez le mode console avant de mettre à jour.", - "UpdateFailure": "Impossible de mettre à jour : {0}", - "BrowserOpenFailure": "Impossible d'ouvrir le navigateur : {0}", - "ShowWindow": "Afficher la fenêtre", - "TrayEnterConsole": "Entrer en mode console", - "RestoreSetup": "Restaurer la configuration", - "Exit": "Quitter", - "ToggleOn": "Activé", - "ToggleOff": "Désactivé", - "SessionTourInviteTitle": "Première fois dans ce menu ?", - "SessionTourInviteBody": "Une visite rapide présente chaque option, y compris la différence entre Retour au PC et Quitter Console Mode. Pour la revoir plus tard, appuyez sur {0} ici dans le menu.", - "SessionTourStart": "Faire la visite", - "SessionTourNotNow": "Pas maintenant", - "SessionTourProgress": "{0} sur {1}", - "SessionTourHint": "Visite", - "SessionTourBackToGameBody": "Ferme ce menu et rend la manette au jeu, comme avant. {0} fait de même depuis n'importe où dans le menu.", - "SessionTourControlFsBody": "Ouvre ControlFS, un explorateur de fichiers conçu pour la manette, en plein écran. S'il n'est pas encore installé, le premier appui le télécharge et l'installe. Juste en dessous, JoyChromium fait de même avec un navigateur pour la TV : il s'ouvre par-dessus le jeu et, au retour sur le PC, reste ouvert en fenêtre.", - "SessionTourVolumeBody": "Appuyez sur {0} pour régler le volume de la sortie audio : ◀ ▶ le modifient par paliers de 5, {1} le coupe, et {0} ou {2} terminent.", - "SessionTourDisplayTitle": "Image et son", - "SessionTourDisplayBody": "Résolution, fréquence d'actualisation, sortie audio et HDR de l'écran de jeu. Ce que vous modifiez ici ne vaut que pour cette session : de retour au PC, tout redevient comme avant.", - "SessionTourDisplayPreviewBody": "Résolution, fréquence d'actualisation, sortie audio et HDR de l'écran de jeu. Hors session, comme maintenant, ce que vous modifiez ici reste en place jusqu'à ce que vous le changiez à nouveau.", - "SessionTourFpsTitle": "FPS", - "SessionTourFpsBody": "La limite de FPS plafonne la fréquence d'images de vos jeux et le compteur affiche les FPS dans un coin de l'écran, tous deux via RivaTuner. De retour au PC, les deux sont annulés.", - "SessionTourWindowsBody": "Les programmes ouverts, comme un Alt + Tab toujours à l'écran. {0} met une fenêtre au premier plan ; {1} lui demande de se fermer, après confirmation.", - "SessionTourBackToPcBody": "Met fin à la session : écrans, résolution, HDR, audio et limite de FPS redeviennent comme avant, Big Picture se ferme et la TV s'éteint si vous l'avez configuré. Console Mode reste ouvert dans la zone de notification, prêt pour la prochaine fois.", - "SessionTourCloseMenuBody": "Hors session, il n'y a rien à restaurer : ce bouton ferme seulement le menu. Pendant une session, il devient Retour au PC et remet les écrans, l'audio et la résolution comme avant.", - "SessionTourExitBody": "Fait tout ce que fait Retour au PC et ferme aussi Console Mode : il quitte la zone de notification et les raccourcis manette ne fonctionnent plus jusqu'à ce que vous le rouvriez.", - "SessionTourExitPreviewBody": "Ferme complètement Console Mode : il quitte la zone de notification et les raccourcis manette ne fonctionnent plus jusqu'à ce que vous le rouvriez.", - "SessionTourCard": "Visite du menu de session", - "SessionTourDescription": "Explique chaque option du menu affiché par-dessus le jeu. Ouvre le menu en aperçu, sans lancer de session.", - "ShowTour": "Voir la visite", - "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.", - "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. {0} sur celui que vous voulez (ou un clic) le coche : c'est lui qui s'ouvre quand vous jouez. Passer dessus ne fait que le désigner. Sur une application à vous, {1} ou un clic droit la retire de l'Accueil.", - "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.", - "AddCustomAppTile": "Ajouter une app", - "AddCustomAppCard": "Ajouter une application personnalisée", - "AddCustomAppDescription": "Choisissez un .exe : il devient une tuile de l'Accueil, avec l'icône et le nom du programme.", - "RemoveCustomAppCard": "Retirer cette application", - "RemoveCustomAppDescription": "Retire la tuile de cette application de l'Accueil ; Steam Big Picture s'ouvre à la place.", - "RemoveFromHome": "Retirer de l'Accueil", - "Cancel": "Annuler", - "OtherAppsControlFsDescription": "Un gestionnaire de fichiers pensé pour la manette, avec un extracteur ZIP sûr.", - "OtherAppsTakoDescription": "Votre bibliothèque de jeux dans un lanceur fait pour la TV et la manette.", - "OtherAppsJoyChromiumDescription": "Un navigateur pour la TV, piloté à la manette depuis le canapé.", - "OtherAppsStageAlpha": "Alpha", - "OtherAppsStageClosedAlpha": "Alpha fermée", - "OtherAppsStageBeta": "Bêta" -} diff --git a/src/ConsoleMode/Resources/Strings.it-IT.json b/src/ConsoleMode/Resources/Strings.it-IT.json new file mode 100644 index 00000000..3f5cdccc --- /dev/null +++ b/src/ConsoleMode/Resources/Strings.it-IT.json @@ -0,0 +1,355 @@ +{ + "Brand": "Console Mode", + "Back": "Indietro", + "IgnoreUpdate": "Salta questa versione", + "RolePlayHere": "Gioca qui", + "RoleTurnOff": "Spegni", + "RoleKeepOn": "Lascia acceso", + "Settings": "Impostazioni", + "SendFeedback": "Invia un feedback", + "Next": "Avanti", + "SkipTour": "Salta il tutorial", + "CreateDesktopShortcut": "Crea un collegamento sul desktop", + "ActiveTitle": "La modalità console è attiva", + "GameScreenSection": "Schermo da gioco", + "ResolutionRefreshCard": "Risoluzione e frequenza di aggiornamento", + "HideOtherScreensCard": "Come spegnere gli altri schermi", + "HideOtherScreensDescription": "Scollegare è il metodo più rapido. Lo schermo nero mantiene la disposizione invariata.", + "EnteringConsoleSection": "All'ingresso in modalità console", + "LaunchCard": "Apri", + "AudioOutputCard": "Uscita audio", + "OptionalExtrasSection": "Extra opzionali", + "HdrCard": "HDR sullo schermo da gioco", + "HdrDescription": "Attivato all'ingresso e ripristinato allo stato precedente all'uscita.", + "VrrCard": "Frequenza di aggiornamento variabile (VRR)", + "VrrDescription": "Attiva l'impostazione di Windows. Attivala anche nel pannello di controllo NVIDIA/AMD.", + "AppSection": "App", + "BackgroundCard": "Sfondo", + "BackgroundDescription": "Lo sfondo di Console Mode, le copertine dei tuoi giochi Steam installati sotto una sfumatura, solo la sfumatura o un'immagine a tua scelta.", + "BackgroundAuto": "Aurora", + "BackgroundCovers": "Copertine di Steam", + "BackgroundGradient": "Solo sfumatura", + "BackgroundImage": "La mia immagine", + "BackgroundImageCard": "Scegli un'immagine…", + "HomeSetupHeading": "Configurazione attuale", + "TabHome": "Home", + "TabSession": "Sessione", + "TabSystem": "Sistema", + "HintTabs": "Schede", + "SoundsCard": "Suoni dell'interfaccia", + "SoundsDescription": "Suoni delicati quando ti muovi, scegli e torni indietro nell'interfaccia console.", + "SessionMenuTitle": "Menu della sessione", + "BackToGame": "Torna al gioco", + "VolumeRow": "Volume", + "Muted": "Muto", + "SessionMenuHint": "La scorciatoia del menu della sessione apre questo menu in qualsiasi momento.", + "SessionHintTitle": "Menu di Console Mode", + "SessionHintBody": "Tieni premuto {0} per aprire il pannello sopra il gioco.", + "ExitConsoleMode": "Esci da Console Mode", + "HintVolume": "Volume", + "SessionElapsed": "In gioco da {0}", + "SessionMenuCard": "Scorciatoia del menu della sessione", + "SessionMenuDescription": "Durante una sessione, tieni premuta questa scorciatoia per aprire un menu sopra il gioco: volume, risoluzione, audio, FPS, HDR, ritorno al PC o uscita. Non funziona sui giochi a schermo intero esclusivo.", + "ConsoleScreensHeading": "Schermi", + "ConsoleQuickHeading": "Impostazioni rapide", + "FullSettings": "Tutte le impostazioni", + "HintSelect": "Seleziona", + "HintChange": "Cambia", + "ConsoleSettingsHint": "Premi A su una riga per cambiarne il valore. Tutto viene salvato subito.", + "BackToPc": "Torna al PC", + "CloseMenu": "Chiudi il menu", + "ControlFsCard": "Gestione file (ControlFS)", + "ControlFsOpen": "Sfoglia i tuoi file con il controller", + "ControlFsMissing": "Non installato · premi per scaricare e installare", + "ControlFsDownloading": "Download in corso… {0}%", + "ControlFsInstalling": "Installazione in corso…", + "ControlFsInstallFailed": "Installazione non riuscita · premi per aprire la pagina di download", + "ControlFsInstalled": "Installato · premi per aprire", + "JoyChromiumCard": "Browser (JoyChromium)", + "JoyChromiumOpen": "Naviga sul web con il controller", + "ControlFsMissingNote": "ControlFS non è installato. Apro la pagina di download nel browser.", + "SessionWindowsCard": "Finestre", + "SessionWindowsCount": "{0} aperte", + "SwitcherEmpty": "Nessuna finestra aperta", + "SwitcherOpen": "Apri", + "SwitcherCloseWindow": "Chiudi la finestra", + "SwitcherCloseConfirmTitle": "Chiudere questa finestra?", + "SwitcherCloseConfirmBody": "Se ci sono modifiche non salvate, l'app potrebbe comunque chiederti di salvarle.", + "SwitcherCloseConfirmAction": "Chiudi la finestra", + "SessionPreviewBadge": "Fuori da una sessione", + "ConsoleActiveHint": "Oppure tieni premuto {0} sul controller per 1 secondo.", + "ChooseRoleFor": "Che cosa fa lo schermo {0}?", + "HomeButtonCard": "Scorciatoia del controller per aprire Console Mode", + "HomeButtonDescription": "Con l'app nell'area di notifica, tieni premuta questa scorciatoia per 1 secondo per entrare in modalità console (basta una pressione se attivi la pressione breve qui sotto). Funziona con i controller Xbox e PlayStation.", + "ExitShortcutCard": "Scorciatoia del controller per tornare al PC", + "TaskViewShortcutCard": "Scorciatoia del controller per la Visualizzazione attività", + "TaskViewShortcutDescription": "Apre la Visualizzazione attività di Windows (Win + Tab) con tutte le finestre aperte, in sessione o no. Finché è aperta, la croce direzionale o lo stick scelgono una finestra, A la apre e B chiude la visualizzazione; anche la scorciatoia premuta di nuovo la chiude.", + "TaskViewHint": "Croce direzionale o stick scelgono una finestra · {0} la apre · {1} chiude", + "TaskViewPlayStationCard": "Muoviti nella Visualizzazione attività con un controller PlayStation", + "TaskViewPlayStationDescription": "Windows si muove già nella Visualizzazione attività con un controller Xbox. Se attivo, Console Mode fa lo stesso con un controller PlayStation, che Windows non riconosce in quel contesto. Disattivalo se uno strumento fa passare il tuo controller per uno Xbox (DS4Windows, Steam) e i movimenti si ripetono.", + "ExitShortcutDescription": "Durante una sessione, tieni premuta questa scorciatoia per 1 secondo per ripristinare la tua postazione e tornare al PC.", + "ShortcutHome": "Apri Console Mode", + "ControllerSection": "Controller", + "ControllerLayoutCard": "Disposizione dei pulsanti", + "ControllerLayoutDescription": "Automatica segue il controller collegato. Puoi anche fissare i simboli Xbox o PlayStation.", + "ControllerLayoutAuto": "Automatica", + "ControllerLayoutXbox": "Xbox (A, B, X, Y)", + "ControllerLayoutPlaystation": "PlayStation (✕, ○, □, △)", + "ShortcutMenu": "Menu della sessione", + "ShortcutExit": "Torna al PC", + "ShortcutTaskView": "Visualizzazione attività", + "ShortcutNotSet": "Non impostata", + "ShortcutSet": "Impostata", + "ShortcutChange": "Cambia", + "ShortcutClear": "Rimuovi", + "ShortcutCancel": "Annulla", + "ShortcutPressButtons": "Tieni premuti i pulsanti, poi rilasciali…", + "ShortcutCaptureHint": "Rilascia per salvare. Premi {0} da solo per annullare.", + "ShortcutNotAllowed": "Usa due o più pulsanti insieme (come Select + Y) oppure il pulsante Home da solo. Un singolo pulsante scatterebbe nel mezzo di una partita.", + "ShortcutInUse": "{0} è già la scorciatoia per \"{1}\". Scegli un'altra combinazione.", + "CloseSteamCard": "Manda Steam nell'area di notifica quando torni al PC", + "CloseSteamDescription": "Quando esci da Big Picture, Steam riceve una normale richiesta di chiusura della finestra, così può passare nell'area di notifica senza terminare il processo. Se un gioco è in esecuzione o non è possibile verificarne lo stato, la finestra resta com'è.", + "RestoreIconsCard": "Rimetti le icone del desktop al loro posto", + "RestoreIconsDescription": "Salva la posizione delle icone del desktop prima della sessione e le rimette a posto quando torni al PC, nel caso Windows le riordini mentre cambia lo schermo principale. Non fa nulla se la disposizione automatica è attiva.", + "HideIconsCard": "Nascondi le icone del desktop durante la sessione", + "HideIconsDescription": "Nasconde le icone del desktop mentre la sessione è attiva, così la TV appare pulita come una console, e le mostra di nuovo quando torni al PC. Se erano già nascoste, restano tali.", + "ParkPointerCard": "Sposta il puntatore del mouse fuori dalla vista", + "ParkPointerDescription": "Quando il launcher compare sulla TV, sposta il puntatore nell'angolo in basso a destra dello schermo da gioco così non resta in mezzo all'immagine. Tornando al PC, il puntatore torna dov'era.", + "HideCursorCard": "Nascondi il puntatore del mouse", + "HideCursorDescription": "Resta nascosto finché non disattivi questa opzione; riappare da solo all'inizio o alla fine di una sessione e quando Console Mode si chiude. Comodo per gli emulatori e i giochi che lo lasciano in mezzo allo schermo.", + "ControllerMouseRow": "Controlla il mouse con il controller", + "ControllerMouseHint": "Lo stick sinistro muove · {0} clicca · {0} due volte: clic destro · lo stick destro scorre", + "AutoStartControllerCard": "Entra quando si collega un controller", + "AutoStartControllerDescription": "Con l'app nell'area di notifica, accendere o collegare un controller attiva la modalità console. Ignora i primi 15 s dopo l'apertura e i 30 s dopo il ripristino.", + "ControllerWakeCard": "Riattiva il PC con il controller", + "ControllerWakeDescription": "Permette all'adattatore wireless Xbox, al Bluetooth o a un controller cablato di riattivare il PC dalla sospensione quando premi il pulsante centrale del controller. Windows chiede l'autorizzazione di amministratore. Non può riattivare un PC spento o in ibernazione, e alcuni PC tolgono l'alimentazione al Bluetooth durante la sospensione. Con Entra quando si collega un controller attivo, il PC si riattiva direttamente in modalità console.", + "ControllerWakeButton": "Attiva", + "ControllerWakeChecking": "Controllo dei dispositivi…", + "ControllerWakeReady": "Pronto: {0} può riattivare il PC.", + "ControllerWakeOff": "Non può ancora riattivare il PC: {0}.", + "ControllerWakeNone": "Nessun adattatore per controller né Bluetooth di questo PC può riattivarlo. Collega l'adattatore o il controller e riprova.", + "ControllerWakeUnknown": "Impossibile controllare i dispositivi.", + "ControllerWakeEnabled": "Fatto. Metti il PC in sospensione e premi il pulsante centrale del controller per provare.", + "ControllerWakeCanceled": "Windows non ha ottenuto l'autorizzazione; non è cambiato nulla.", + "ControllerWakeFailed": "Impossibile attivarlo. I dettagli sono nel log.", + "ControllerWakeGone": "Il dispositivo non era presente durante l'attivazione (è stato scollegato?). Ricollegalo e riprova.", + "ControllerWakeUnavailable": "Non disponibile", + "HomeButtonShortPressCard": "Pressione breve del pulsante Xbox", + "HomeButtonShortPressDescription": "Basta premerlo, senza tenerlo premuto. Disattiva la scorciatoia del controller per la Xbox Game Bar in Windows (Win+G continua a funzionare).", + "HomeButtonSteamHint": "Steam è aperto e usa anch'esso il pulsante Xbox. In Steam, disattiva \"Il pulsante Guida porta Steam in primo piano\" perché la pressione breve funzioni.", + "GameBarSettingError": "Impossibile cambiare l'impostazione della Game Bar: {0}", + "StartupCard": "Avvia con Windows", + "StartupDescription": "Si apre nell'area di notifica all'avvio del PC, pronto per il collegamento con un clic.", + "MinimizeToTrayCard": "Riduci nell'area di notifica", + "MinimizeToTrayDescription": "Riducendo a icona, la finestra scompare dalla barra delle applicazioni e Console Mode resta tra le icone nascoste. Clicca l'icona per riaprirlo.", + "MenuOutsideSessionCard": "Menu della sessione fuori dalla modalità console", + "MenuOutsideSessionDescription": "La scorciatoia del menu apre il menu della sessione anche quando non sei in modalità console, con le finestre aperte, il volume, lo schermo e il controller come mouse, purché Console Mode sia aperto (anche solo nell'area di notifica). Disattivala se la scorciatoia dà fastidio in un gioco.", + "CheckNow": "Controlla ora", + "NotifyUpdatesCard": "Avvisami quando c'è una nuova versione", + "NotifyUpdatesDescription": "Controlla le release di GitHub all'avvio dell'app.", + "BetaUpdatesCard": "Ricevi le versioni di prova (beta)", + "BetaUpdatesDescription": "Ricevi le versioni in anteprima prima di tutti per aiutare a provarle. Possono contenere bug. Disattivando questa opzione non si torna alla versione stabile: riceverai la prossima stabile quando uscirà.", + "BetaUpdatesWarning": "Le versioni di prova possono dare problemi su alcune configurazioni. Se qualcosa non va, scarica la versione stabile dalla pagina delle release e segnalacelo con il pulsante del feedback.", + "HelpDataSection": "Scorciatoia, aiuto e dati", + "OtherAppsSection": "Altre app dello sviluppatore", + "TvConfirmationCard": "Conferma sulla TV", + "TvConfirmationDescription": "La prima volta che usi un nuovo schermo da gioco, la TV ti chiede di confermare che vedi l'immagine. Rispondi con mouse, tastiera o controller (Xbox: A/B · PlayStation: ✕/○). Provalo qui senza modificare i tuoi schermi.", + "ControllerTestCard": "Prova il controller", + "ControllerTestDescription": "Mostra in tempo reale ciò che Windows riceve da ogni controller: origine, pulsanti per indice, croce direzionale e stick. Usalo quando un controller compare ma non fa nulla.", + "ControllerTestSteamHint": "Se Steam è in esecuzione con il supporto PlayStation, cattura il controller e l'app non riceve nulla. Chiudi Steam (o disattiva il supporto PlayStation in Steam Input) e riprova.", + "CopyDiagnostics": "Copia la diagnostica", + "ControllerDevicesHeading": "Dispositivi", + "ControllerSampleHeading": "Lettura in tempo reale (premi i pulsanti)", + "DiagnosticsCopied": "Diagnostica copiata. Incollala nella segnalazione o nel modulo di feedback.", + "DiagnosticsCard": "Diagnostica", + "DiagnosticsDescription": "Versioni, schermi, audio, controller, programmi trovati e la fine del log, da allegare a una segnalazione di bug. I percorsi con il tuo nome utente e le chiavi vengono nascosti.", + "CopyReport": "Copia il rapporto", + "TutorialCard": "Tutorial", + "TutorialDescription": "Mostra di nuovo il giro guidato dell'interfaccia.", + "OneClickCard": "Collegamento con un clic", + "OneClickDescription": "Crea \"Console Mode 1 Click\" sul desktop, accanto al normale collegamento dell'app. Entra direttamente in modalità console senza aprire questa finestra.", + "CreateShortcut": "Crea il collegamento", + "DataFolderCard": "Cartella dei dati", + "DataFolderDescription": "Impostazioni, backup degli schermi e il file di log (consolemode.log).", + "LanguageCard": "Lingua", + "LanguageDescription": "Scegli la lingua usata in Console Mode.", + "ConfirmTitle": "Riesci a vedere questa schermata?", + "ConfirmDescription": "Questo è lo schermo da gioco. Conferma con mouse, tastiera o controller. Se nessuno risponde, i tuoi schermi verranno ripristinati automaticamente.", + "Revert": "Ripristina", + "Continue": "Sì, continua", + "Countdown": "Ritorno alla normalità tra {0} s", + "AudioHint": "Applicato all'ingresso e ripristinato all'uscita. \"Quando è collegato\" cambia automaticamente quando compare la TV.", + "StartEntering": "Avvio in corso…", + "StartNow": "Gioca ora", + "LaunchPlayniteDescription": "Apre Playnite a schermo intero. I tuoi schermi vengono ripristinati automaticamente quando lo chiudi.", + "LaunchXboxDescription": "Sperimentale: invia Win+F11. Per ripristinare i tuoi schermi, usa l'app o il menu dell'area di notifica.", + "LaunchSteamDescription": "Apre Steam Big Picture. I tuoi schermi vengono ripristinati automaticamente quando lo chiudi.", + "FocusChoose": "Scegli uno schermo da gioco nella schermata iniziale.", + "FocusApplied": "Applicato a {0} all'ingresso e annullato all'uscita.", + "StrategyDisconnect": "Scollega in Windows", + "StrategyBlack": "Copri con una schermata nera", + "LaunchSteam": "Steam Big Picture", + "LaunchPlaynite": "Playnite (a schermo intero)", + "PlaynitePathCard": "Cartella di Playnite", + "PlaynitePathClear": "Cancella", + "PlaynitePathDetected": "Trovato automaticamente in {0}. Scegli Playnite.FullscreenApp.exe se usi la versione portatile.", + "PlaynitePathMissing": "Playnite non trovato. Scegli Playnite.FullscreenApp.exe (per esempio la versione portatile).", + "PlaynitePathInvalid": "Impossibile trovare Playnite.FullscreenApp.exe in {0}.", + "PlaynitePathPickError": "Impossibile aprire la selezione dei file: {0}", + "LaunchXbox": "Modalità Xbox (sperimentale)", + "LaunchCustomApp": "App personalizzata", + "LaunchCustomAppDescription": "Apre il programma che scegli (un emulatore, un altro launcher…). I tuoi schermi vengono ripristinati automaticamente quando lo chiudi.", + "CustomAppPathCard": "App da aprire", + "CustomAppArgumentsCard": "Argomenti", + "CustomAppArgumentsDescription": "Facoltativo. Passati all'app all'avvio, per esempio per aprirla a schermo intero.", + "CustomAppWatchCard": "Processo da monitorare", + "CustomAppWatchDescription": "Facoltativo. Quando l'app si limita ad avviare un altro programma e poi si chiude, scrivi il nome del processo di quel programma. I tuoi schermi vengono ripristinati quando si chiude.", + "CustomAppMissing": "Scegli l'app da aprire (un file .exe).", + "CustomAppNotExe": "{0} non è un file .exe. Scegli l'app da aprire.", + "CustomAppNotFound": "Impossibile trovare {0}. Scegli di nuovo l'app.", + "NoGameDisplayConfigured": "Nessuno schermo da gioco configurato; impossibile entrare in modalità console.", + "NoDisplayTryRefresh": "Nessuno schermo trovato. Prova ad aggiornare.", + "ListDisplaysError": "Impossibile elencare gli schermi: {0}", + "DisplayNoChange": "Non cambiare", + "AudioNoChange": "Non cambiare", + "AudioOnConnect": "Quello che compare al collegamento (TV)", + "ShortcutCreated": "Creato il collegamento \"Console Mode 1 Click\" sul desktop.", + "ShortcutCreateError": "Impossibile creare il collegamento: {0}", + "OpenFolderError": "Impossibile aprire la cartella: {0}", + "ChooseGameScreen": "Scegli lo schermo su cui vuoi giocare.", + "UnconfirmedSetup": "I tuoi schermi sono stati ripristinati perché lo schermo da gioco non è stato confermato. Controlla la tua scelta e riprova.", + "StartFailure": "Impossibile entrare in modalità console: {0}", + "ControllerXbox": "Controller Xbox rilevato", + "ControllerPlaystation": "Controller PlayStation rilevato", + "ControllerOther": "Controller rilevato", + "ControllerNone": "Nessun controller rilevato", + "ConfirmationResult": "Prova: {0} da {1} ({2}).", + "ConfirmationAccepted": "confermato", + "ConfirmationWillRevert": "sarebbe stato ripristinato", + "SourceController": "controller", + "SourceKeyboard": "tastiera", + "SourceMouseKeyboard": "mouse/tastiera", + "SourceTimeout": "tempo scaduto", + "ListConjunction": " e ", + "ListSeparator": ", ", + "ShortcutName": "Console Mode 1 Click", + "ShortcutDescription": "Entra in modalità console con un clic", + "ShortcutUnavailable": "WScript.Shell non è disponibile in questa versione di Windows.", + "UnknownExecutablePath": "Il percorso dell'eseguibile è sconosciuto.", + "ProcessTimeout": "{0}: tempo scaduto: {1}", + "ProcessFailure": "{0}: operazione non riuscita ({1}): {2}", + "CachedModeSuffix": " (in cache)", + "EstimatedModeSuffix": " (stimato)", + "UpdateAssetMissing": "Questa release non ha un file verificabile per questo tipo di installazione.", + "UpdateHashMismatch": "Lo SHA-256 del file scaricato non corrisponde all'impronta pubblicata da GitHub.", + "RestoreSuccess": "I tuoi schermi sono tornati alla normalità.", + "SessionRecovered": "L'ultima sessione non si è conclusa correttamente (l'app si è chiusa o il PC si è spento a metà). I tuoi schermi, l'audio, le icone e il puntatore sono stati ripristinati.", + "SessionJournalFailed": "Impossibile scrivere il registro della sessione nella cartella dei dati ({0}). Senza di esso non ci sarebbe modo di tornare indietro dopo un arresto anomalo, quindi non è stato cambiato nulla.", + "RestoreFailure": "Impossibile ripristinare gli schermi: {0}", + "ConfigSaveFailure": "Impossibile salvare le impostazioni: {0}", + "SummaryChooseScreen": "Scegli lo schermo su cui vuoi giocare", + "SummaryFocusOnly": "Gioca su {0}", + "SummaryFocusAndHide": "Gioca su {0} e spegni {1}", + "SummaryAudio": "Audio: {0}", + "SummaryAudioOnConnect": "Audio al collegamento", + "MonitorOff": "spento", + "DisplayOffNow": "attualmente spento", + "CurrentModeSuffix": " (attuale)", + "AudioDisabledSuffix": " [Disattivato]", + "AlreadyConsoleActive": "La modalità console è già attiva.", + "GameScreenNotConfirmed": "Lo schermo da gioco non è stato confermato.", + "GameScreenDidNotTurnOn": "Lo schermo da gioco non si è acceso. Controlla che la TV sia accesa e sull'ingresso HDMI giusto, poi riprova.", + "ActivePlaynite": "Chiudi Playnite per ripristinare automaticamente i tuoi schermi.", + "ActiveXbox": "Nella modalità Xbox il ripristino è manuale: usa Ripristina ora o il menu dell'area di notifica.", + "ActiveSteam": "Chiudi Big Picture per ripristinare automaticamente i tuoi schermi.", + "ActiveCustomApp": "Chiudi {0} per ripristinare automaticamente i tuoi schermi.", + "InstallKindInstalled": "Versione {0} · installata", + "InstallKindPortable": "Versione {0} · portatile", + "Download": "Scarica", + "UpdateNow": "Aggiorna ora", + "StartupSettingError": "Impossibile cambiare l'impostazione di avvio di Windows: {0}", + "SearchingUpdates": "Ricerca di aggiornamenti…", + "LatestVersionStatus": "{0} · sei aggiornato", + "AppUpToDate": "Console Mode è aggiornato.", + "UpdateAvailableStatus": "{0} · {1} disponibile", + "UpdateAvailableTitle": "Console Mode {0} è disponibile{1}", + "BetaSuffix": " (beta)", + "NewVersionOnGithub": "Una nuova versione è disponibile su GitHub.", + "UpdateCheckFailedStatus": "{0} · impossibile cercare aggiornamenti", + "UpdateSearchFailure": "Impossibile cercare aggiornamenti: {0}", + "ExitConsoleBeforeUpdate": "Esci dalla modalità console prima di aggiornare.", + "UpdateFailure": "Impossibile aggiornare: {0}", + "BrowserOpenFailure": "Impossibile aprire il browser: {0}", + "ShowWindow": "Mostra la finestra", + "TrayEnterConsole": "Entra in modalità console", + "RestoreSetup": "Ripristina la configurazione", + "Exit": "Esci", + "ToggleOn": "Sì", + "ToggleOff": "No", + "SessionTourInviteTitle": "Prima volta in questo menu?", + "SessionTourInviteBody": "Un breve giro mostra cosa fa ogni opzione, compresa la differenza tra Torna al PC ed Esci da Console Mode. Per rivederlo più tardi, premi {0} qui nel menu.", + "SessionTourStart": "Fai il giro", + "SessionTourNotNow": "Non ora", + "SessionTourProgress": "{0} di {1}", + "SessionTourHint": "Giro", + "SessionTourBackToGameBody": "Chiude questo menu e restituisce il controller al gioco, esattamente com'era. {0} fa lo stesso da qualsiasi punto del menu.", + "SessionTourControlFsBody": "Apre ControlFS, un gestore di file pensato per il controller, a schermo intero. Se non è ancora installato, la prima pressione lo scarica e lo installa. Subito sotto, JoyChromium fa lo stesso con un browser per la TV: si apre sopra il gioco e, quando torni al PC, resta aperto come finestra.", + "SessionTourVolumeBody": "Premi {0} per regolare il volume dell'uscita audio: ◀ ▶ lo cambiano a passi di 5, {1} lo silenzia e {0} o {2} terminano.", + "SessionTourDisplayTitle": "Schermo e audio", + "SessionTourDisplayBody": "Risoluzione, frequenza di aggiornamento, uscita audio e HDR dello schermo da gioco. Ciò che cambi qui dura solo per questa sessione: tornato al PC, tutto torna com'era.", + "SessionTourDisplayPreviewBody": "Risoluzione, frequenza di aggiornamento, uscita audio e HDR dello schermo da gioco. Fuori da una sessione, come adesso, ciò che cambi qui resta finché non lo cambi di nuovo.", + "SessionTourWindowsBody": "I programmi aperti, come un Alt + Tab sempre visibile sullo schermo. {0} porta una finestra in primo piano; {1} le chiede di chiudersi, dopo la tua conferma.", + "SessionTourBackToPcBody": "Termina la sessione: schermi, risoluzione, HDR, audio e limite di FPS tornano com'erano, Big Picture si chiude e la TV si spegne se l'hai impostato. Console Mode resta aperto nell'area di notifica, pronto per la prossima volta.", + "SessionTourCloseMenuBody": "Fuori da una sessione non c'è nulla da ripristinare, quindi questo pulsante chiude solo il menu. Durante una sessione diventa Torna al PC e rimette schermi, audio e risoluzione com'erano.", + "SessionTourExitBody": "Fa tutto ciò che fa Torna al PC e chiude anche Console Mode: esce dall'area di notifica e le scorciatoie del controller smettono di funzionare finché non lo riapri.", + "SessionTourExitPreviewBody": "Chiude completamente Console Mode: esce dall'area di notifica e le scorciatoie del controller smettono di funzionare finché non lo riapri.", + "SessionTourCard": "Giro del menu della sessione", + "SessionTourDescription": "Spiega ogni opzione del menu sopra il gioco. Apre il menu in anteprima, senza avviare una sessione.", + "ShowTour": "Mostra il giro", + "ControllerBattery": "Batteria del controller: {0}", + "ControllerBatteryCharging": "Batteria del controller: {0}, in carica", + "LowBatteryTitle": "Batteria del controller scarica", + "LowBatteryBody": "Resta il {0}. Collega il cavo o ricarica il controller.", + "ConsoleTourWelcomeTitle": "Benvenuto in Console Mode", + "ConsoleTourWelcomeBody": "Trasforma il tuo PC in una console: porta il gioco sulla TV (o sullo schermo che scegli), spegne gli altri schermi e apre Steam Big Picture, Playnite o la modalità Xbox. Quando torni, la tua postazione è esattamente com'era. Questo giro mostra dove si trova ogni cosa; usa il controller, il mouse o la tastiera.", + "ConsoleTourTabsTitle": "Tre schede", + "ConsoleTourTabsBody": "Home, Sessione e Sistema. Cambia scheda con {0} e {1} sul controller, Pag↑ e Pag↓ sulla tastiera, oppure cliccando sul nome di una scheda.", + "ConsoleTourLaunchersTitle": "Cosa si apre", + "ConsoleTourLaunchersBody": "Ogni riquadro è un launcher: Steam Big Picture, Playnite, la modalità Xbox o un'app tua. {0} su quello che vuoi (o un clic) lo seleziona: è quello che si apre quando giochi. Passarci sopra lo indica soltanto. Su un'app tua, {1} o un clic destro la toglie dalla Home.", + "ConsoleTourPlayTitle": "Gioca", + "ConsoleTourPlayBody": "{0} qui, oppure {1} da qualsiasi punto della Home, entra in modalità console: lo schermo da gioco diventa quello principale, gli altri si spengono e il launcher si apre su di esso. Il nome e la riga sotto mostrano cosa si apre, dove giocherai e cosa cambia.", + "ConsoleTourScreensTitle": "I tuoi schermi", + "ConsoleTourScreensBody": "La scheda Sessione elenca gli schermi di questo PC. {0} su uno schermo ne sceglie il ruolo durante la sessione: giocare su di esso, spegnerlo o lasciarlo acceso.", + "ConsoleTourQuickSettingsTitle": "Impostazioni rapide", + "ConsoleTourQuickSettingsBody": "Uscita audio, risoluzione, HDR e limite di FPS per la prossima sessione, a una pressione di distanza. Quando torni al PC, tutto torna com'era.", + "ConsoleTourSystemTitle": "Tutte le impostazioni", + "ConsoleTourSystemBody": "La scheda Sistema contiene tutte le impostazioni, per categoria: schermo da gioco, cosa succede all'ingresso, controller, TV, extra e app. {0} apre e chiude questa scheda da qualsiasi punto.", + "ConsoleTourShortcutsTitle": "Scorciatoie del controller", + "ConsoleTourShortcutsBody": "Scegli qui le scorciatoie che funzionano anche a finestra chiusa: una per entrare in modalità console, una per aprire il menu della sessione sopra il gioco e una per tornare al PC. Una scorciatoia senza combinazione non fa nulla.", + "ConsoleTourDoneTitle": "Tutto pronto", + "ConsoleTourDoneBody": "Controlla lo schermo da gioco nella scheda Sessione e premi Gioca ora. Per rivedere questo giro: Sistema → {0} → {1}.", + "ConsoleTourFinish": "Iniziamo", + "IntroSoundCard": "Suono di apertura", + "IntroSoundDescription": "Riproduce un suono d'ingresso con l'apertura.", + "IntroStyleCard": "Stile di apertura", + "IntroStyleDescription": "Quello di Console Mode è l'ufficiale e, di tanto in tanto, l'app si apre con uno ispirato a Xbox 360 o PS4 come sorpresa. Scegliere uno stile qui mantiene quello stile e pone fine alle sorprese.", + "IntroStyleConsole": "Console Mode", + "IntroStyleX360": "Ispirato a Xbox 360", + "IntroStylePs4": "Ispirato a PS4", + "IntroStyleNone": "Nessuno (si apre subito)", + "IntroPreviewCard": "Guarda l'apertura", + "IntroPreviewDescription": "Mostra subito l'apertura scelta, con il suo suono.", + "AddCustomAppTile": "Aggiungi app", + "AddCustomAppCard": "Aggiungi un'app personalizzata", + "AddCustomAppDescription": "Scegli un .exe: diventa un riquadro nella Home, con l'icona e il nome del programma.", + "RemoveCustomAppCard": "Rimuovi questa app", + "RemoveCustomAppDescription": "Toglie il riquadro di questa app dalla Home; si apre invece Steam Big Picture.", + "RemoveFromHome": "Rimuovi dalla Home", + "Cancel": "Annulla", + "OtherAppsControlFsDescription": "Un gestore di file pensato prima di tutto per il controller, con un estrattore ZIP sicuro.", + "OtherAppsTakoDescription": "La tua libreria di giochi in un launcher fatto per la TV e il controller.", + "OtherAppsJoyChromiumDescription": "Un browser web per la TV, da usare con il controller dal divano.", + "OtherAppsStageAlpha": "Alpha", + "OtherAppsStageClosedAlpha": "Alpha chiusa", + "OtherAppsStageBeta": "Beta" +} diff --git a/src/ConsoleMode/Resources/Strings.pt-BR.json b/src/ConsoleMode/Resources/Strings.pt-BR.json index b4813bc0..a4636ece 100644 --- a/src/ConsoleMode/Resources/Strings.pt-BR.json +++ b/src/ConsoleMode/Resources/Strings.pt-BR.json @@ -14,7 +14,7 @@ "GameScreenSection": "Tela de jogo", "ResolutionRefreshCard": "Resolução e taxa de atualização", "HideOtherScreensCard": "Como desligar as outras telas", - "HideOtherScreensDescription": "Desconectar é o mais rápido. A tela preta não mexe no layout; DDC/CI apaga o painel pelo hardware.", + "HideOtherScreensDescription": "Desconectar é o mais rápido. A tela preta não mexe no layout.", "EnteringConsoleSection": "Ao entrar no modo console", "LaunchCard": "Abrir", "AudioOutputCard": "Saída de áudio", @@ -23,8 +23,6 @@ "HdrDescription": "Liga ao entrar e volta como estava ao sair.", "VrrCard": "Taxa de atualização variável (VRR)", "VrrDescription": "Liga o ajuste do Windows. Ative também no painel da NVIDIA/AMD.", - "FpsCard": "Limite de FPS", - "FpsPlaceholder": "FPS", "AppSection": "App", "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.", @@ -117,21 +115,6 @@ "HideIconsDescription": "Some com os ícones da área de trabalho enquanto a sessão roda, para a TV ficar limpa como num console, e os mostra de novo ao voltar ao PC. Se eles já estavam escondidos, continuam assim.", "ParkPointerCard": "Tirar o ponteiro do mouse do caminho", "ParkPointerDescription": "Quando o iniciador aparece na TV, leva o ponteiro para o canto inferior direito da tela de jogo, para ele não ficar no meio da imagem. Ao voltar ao PC, o ponteiro volta para onde estava.", - "GameProfilesCard": "Perfis por jogo", - "GameProfilesDescription": "Resolução, HDR, limite de FPS e saída de áudio próprios de cada jogo da Steam. Para criar, abra o menu da sessão com o jogo rodando e escolha Perfil do jogo → Salvar os ajustes atuais. O perfil vale quando o jogo abre e é desfeito quando ele fecha.", - "GameProfilesEmpty": "Nenhum perfil salvo", - "GameProfilesCount": "{0} salvos", - "GameProfilesPickerTitle": "Escolha o perfil a apagar", - "GameProfileRow": "Perfil do jogo", - "GameProfileNoGame": "Nenhum jogo da Steam rodando", - "GameProfileNone": "{0}: sem perfil", - "GameProfileActive": "{0}: perfil salvo", - "GameProfileSave": "Salvar os ajustes atuais para {0}", - "GameProfileRemove": "Apagar o perfil de {0}", - "GameProfileDelete": "Apagar", - "GameProfileHdrOn": "HDR ligado", - "GameProfileHdrOff": "HDR desligado", - "GameProfileNothing": "Não muda nada", "HideCursorCard": "Ocultar o cursor do mouse", "HideCursorDescription": "Fica oculto até você desligar aqui; volta sozinho ao começar ou terminar uma sessão e ao fechar o Console Mode. Útil em emuladores e jogos que deixam o cursor no meio da tela.", "ControllerMouseRow": "Controlar o mouse com o controle", @@ -171,34 +154,6 @@ "OtherAppsSection": "Outros apps do desenvolvedor", "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.", - "TvSection": "TV", - "TvControlCard": "Ligar a TV e trocar a entrada", - "TvProviderNone": "Não controlar", - "TvProviderAndroid": "Google TV / Android TV (rede)", - "TvNoneDescription": "Ao entrar no modo console, o app liga a TV e troca para a entrada do PC; ao restaurar, pode colocá-la em espera.", - "TvAndroidDescription": "Pela rede, sem instalar nada. Na TV: Configurações → Sistema → Opções do desenvolvedor → ative \"Depuração USB\" (ou \"Depuração pela rede\"). Na primeira vez, aceite \"Permitir depuração\" na TV.", - "TvHostCard": "Endereço da TV", - "TvHostDescription": "IP da TV na sua rede (Configurações → Rede). Dica: reserve esse IP no roteador para ele não mudar.", - "TvMacCard": "Endereço MAC (opcional)", - "TvMacDescription": "Para acordar a TV em espera profunda (Wake-on-LAN). Deixe vazio se a TV responde mesmo desligada.", - "TvHdmiCard": "Entrada do PC", - "TvHdmiDescription": "Porta HDMI da TV onde o PC está ligado.", - "TvInputCommandCard": "Comando da entrada (avançado)", - "TvInputCommandDescription": "Só se a TV ignorar a tecla HDMI: um comando de shell do Android que troca para a entrada do PC. Vazio = tecla HDMI escolhida acima.", - "TvRestoreCommandCard": "Comando ao voltar ao PC (avançado)", - "TvTurnOffCard": "Colocar a TV em espera ao restaurar", - "TvTurnOffDescription": "Depois que as telas da mesa voltam.", - "TvTestCard": "Testar a TV", - "TvTestDescription": "Liga a TV e troca para a entrada do PC agora, sem mexer nas telas. Na primeira vez, pareia com a TV.", - "TvTesting": "Falando com a TV… Se ela pedir, aceite na tela da TV.", - "TvTestSuccess": "A TV respondeu: ela deve estar ligada na entrada do PC.", - "TvTestFailure": "Não foi possível falar com a TV: {0}", - "TvTestTimedOut": "A TV não concluiu a resposta em 90 segundos. Tente novamente.", - "TvNotConfigured": "Escolha como controlar a TV.", - "TvHostMissing": "Informe o endereço IP da TV.", - "TvUnreachable": "A TV em {0} não respondeu. Confira o IP, se a TV está na mesma rede e se a depuração está ativada.", - "TvAdbNotAllowed": "A TV não autorizou este PC. Toque em Testar de novo e escolha \"Sempre permitir\" + \"Permitir\" na TV.", - "TvAdbTlsUnsupported": "A TV só aceita \"Depuração sem fio\" (com pareamento por código). Ative \"Depuração USB\" / \"Depuração pela rede\" nas Opções do desenvolvedor.", "ControllerTestCard": "Testar controle", "ControllerTestDescription": "Mostra ao vivo o que o Windows entrega de cada controle: origem, botões por índice, D-pad e analógicos. Use se o controle aparece mas não responde.", "ControllerTestSteamHint": "Steam aberto com suporte a PlayStation captura o controle e o app não recebe nada. Feche o Steam (ou desligue o suporte a PlayStation no Steam Input) e teste de novo.", @@ -233,7 +188,6 @@ "FocusApplied": "Aplicada em {0} ao entrar e desfeita ao sair.", "StrategyDisconnect": "Desconectar no Windows", "StrategyBlack": "Cobrir com tela preta", - "StrategyTurnOff": "Apagar o painel (DDC/CI)", "LaunchSteam": "Steam Big Picture", "LaunchPlaynite": "Playnite (tela cheia)", "PlaynitePathCard": "Pasta do Playnite", @@ -253,53 +207,6 @@ "CustomAppMissing": "Escolha o aplicativo a abrir (um arquivo .exe).", "CustomAppNotExe": "{0} não é um arquivo .exe. Escolha o aplicativo a abrir.", "CustomAppNotFound": "{0} não foi encontrado. Escolha o aplicativo de novo.", - "FpsOverlayCard": "Contador de FPS", - "FpsOverlayExternal": "Afterburner (não mexer)", - "FpsOverlayOff": "Desligado (esconde tudo)", - "FpsOverlayCustom": "Personalizado", - "FpsOverlayDescription": "Mostra o FPS sobre o jogo durante a sessão, pelo RTSS. Fora de \"Afterburner\", o OSD do MSI Afterburner fica escondido enquanto o modo console estiver ativo.", - "FpsOverlayItems": "Itens do jogo", - "FpsOverlayShowApi": "API (D3D/Vulkan)", - "FpsOverlayShowFps": "FPS", - "FpsOverlayShowFrameTime": "Tempo de quadro (ms)", - "FpsOverlaySingleLine": "Tudo em uma linha", - "FpsOverlayColor": "Cor dos números", - "FpsOverlayColorWhite": "Branco", - "FpsOverlayColorBlue": "Azul", - "FpsOverlayColorGreen": "Verde", - "FpsOverlayColorYellow": "Amarelo", - "FpsOverlayColorOrange": "Laranja", - "FpsOverlayCompact": "Compacto", - "FpsOverlayCompactHint": "FPS, CPU, GPU e RAM", - "FpsOverlayDetailed": "Detalhado", - "FpsOverlayDetailedHint": "clocks, temperatura e memória", - "FpsOverlayFpsOnly": "Apenas FPS", - "FpsOverlayPcItems": "Itens do PC", - "FpsOverlayPcItemsDescription": "Lidos do Windows e do driver de vídeo, sem instalar nada. Temperatura e clock da GPU só aparecem se o driver informar.", - "FpsOverlayShowCpu": "Uso da CPU", - "FpsOverlayShowCpuClock": "Clock da CPU", - "FpsOverlayShowGpu": "Uso da GPU", - "FpsOverlayShowGpuClock": "Clock da GPU", - "FpsOverlayShowGpuTemp": "Temperatura da GPU", - "FpsOverlayShowVram": "VRAM", - "FpsOverlayShowRam": "RAM", - "FpsOverlaySize": "Tamanho", - "FpsOverlaySizeSmall": "Pequeno", - "FpsOverlaySizeMedium": "Médio", - "FpsOverlaySizeLarge": "Grande", - "FpsOverlayStyle": "Estilo", - "FpsOverlayPosition": "Posição", - "FpsOverlayPositionRtss": "A do RTSS", - "FpsOverlayPositionTopLeft": "Canto superior esquerdo", - "FpsOverlayPositionTopRight": "Canto superior direito", - "FpsOverlayPositionBottomLeft": "Canto inferior esquerdo", - "FpsOverlayPositionBottomRight": "Canto inferior direito", - "FpsOverlayCardBackground": "Fundo em card", - "FpsOverlayCardBackgroundDescription": "Um cartão escuro e arredondado atrás dos números, para ler bem em qualquer cena.", - "FpsNoLimit": "Sem limite", - "FpsCustom": "Personalizado", - "FpsAvailable": "Vale para todos os jogos enquanto o modo console estiver ativo. Usa o RTSS.", - "FpsUnavailable": "Opcional. Instale o RivaTuner Statistics Server (RTSS) para usar.", "NoGameDisplayConfigured": "Nenhuma tela de jogo configurada; não foi possível entrar no modo console.", "NoDisplayTryRefresh": "Nenhuma tela encontrada. Tente atualizar.", "ListDisplaysError": "Não foi possível listar as telas: {0}", @@ -345,7 +252,6 @@ "SummaryFocusAndHide": "Jogar em {0} e desligar {1}", "SummaryAudio": "Áudio: {0}", "SummaryAudioOnConnect": "Áudio ao conectar", - "SummaryFps": "{0} FPS", "MonitorOff": "desligada", "DisplayOffNow": "desligada agora", "CurrentModeSuffix": " (atual)", @@ -392,8 +298,6 @@ "SessionTourDisplayTitle": "Tela e som", "SessionTourDisplayBody": "Resolução, taxa de atualização, saída de áudio e HDR da tela de jogo. O que você mudar aqui vale só para esta sessão: ao voltar ao PC, tudo volta a ser como era.", "SessionTourDisplayPreviewBody": "Resolução, taxa de atualização, saída de áudio e HDR da tela de jogo. Fora de uma sessão, como agora, o que você mudar aqui fica assim até ser trocado de novo.", - "SessionTourFpsTitle": "FPS", - "SessionTourFpsBody": "O limite de FPS trava a taxa de quadros dos jogos e o contador mostra os FPS num canto da tela, os dois pelo RivaTuner. Ao voltar ao PC, os dois são desfeitos.", "SessionTourWindowsBody": "Os programas abertos, como um Alt + Tab que fica sempre na tela. {0} traz a janela para a frente; {1} pede para ela fechar, depois de você confirmar.", "SessionTourBackToPcBody": "Encerra a sessão: telas, resolução, HDR, áudio e limite de FPS voltam ao que eram antes, o Big Picture fecha e a TV desliga, se você configurou isso. O Console Mode continua aberto na bandeja, pronto para a próxima.", "SessionTourCloseMenuBody": "Fora de uma sessão não há nada para restaurar, então este botão só fecha o menu. Durante uma sessão ele vira Voltar ao PC e devolve telas, áudio e resolução ao que eram.", diff --git a/src/ConsoleMode/Resources/Strings.ru-RU.json b/src/ConsoleMode/Resources/Strings.ru-RU.json deleted file mode 100644 index 6f28d1d3..00000000 --- a/src/ConsoleMode/Resources/Strings.ru-RU.json +++ /dev/null @@ -1,451 +0,0 @@ -{ - "Brand": "Console Mode", - "Back": "Назад", - "IgnoreUpdate": "Пропустить эту версию", - "RolePlayHere": "Играть здесь", - "RoleTurnOff": "Выключить", - "RoleKeepOn": "Оставить включённым", - "Settings": "Параметры", - "SendFeedback": "Отправить отзыв", - "Next": "Далее", - "SkipTour": "Пропустить обучение", - "CreateDesktopShortcut": "Создать ярлык на рабочем столе", - "ActiveTitle": "Режим консоли включён", - "GameScreenSection": "Игровой экран", - "ResolutionRefreshCard": "Разрешение и частота обновления", - "HideOtherScreensCard": "Как выключать другие экраны", - "HideOtherScreensDescription": "Отключение работает быстрее всего. Чёрный экран сохраняет расположение без изменений; DDC/CI выключает панель аппаратно.", - "EnteringConsoleSection": "При входе в режим консоли", - "LaunchCard": "Открыть", - "AudioOutputCard": "Аудиовыход", - "OptionalExtrasSection": "Дополнительно", - "HdrCard": "HDR на игровом экране", - "HdrDescription": "Включается при входе и возвращается в прежнее состояние при выходе.", - "VrrCard": "Переменная частота обновления (VRR)", - "VrrDescription": "Включает параметр Windows. Включите его также в панели управления NVIDIA/AMD.", - "FpsCard": "Ограничение FPS", - "FpsPlaceholder": "FPS", - "AppSection": "Приложение", - "BackgroundCard": "Фон", - "BackgroundDescription": "Фоновый рисунок Console Mode, обложки установленных игр Steam под градиентом, только градиент или ваше изображение.", - "BackgroundAuto": "Аврора", - "BackgroundCovers": "Обложки Steam", - "BackgroundGradient": "Только градиент", - "BackgroundImage": "Моё изображение", - "BackgroundImageCard": "Выбрать изображение…", - "HomeSetupHeading": "Текущая конфигурация", - "TabHome": "Главная", - "TabSession": "Сеанс", - "TabSystem": "Система", - "HintTabs": "Вкладки", - "SoundsCard": "Звуки интерфейса", - "SoundsDescription": "Негромкие звуки при перемещении, выборе и возврате в интерфейсе консоли.", - "SessionMenuTitle": "Меню сеанса", - "BackToGame": "Вернуться к игре", - "VolumeRow": "Громкость", - "Muted": "Звук выключен", - "SessionMenuHint": "Сочетание для меню сеанса открывает это меню в любой момент.", - "SessionHintTitle": "Меню Console Mode", - "SessionHintBody": "Удерживайте {0}, чтобы открыть панель поверх игры.", - "ExitConsoleMode": "Выйти из Console Mode", - "HintVolume": "Громкость", - "SessionElapsed": "В игре: {0}", - "SessionMenuCard": "Сочетание для меню сеанса", - "SessionMenuDescription": "Во время сеанса удерживайте это сочетание, чтобы открыть меню поверх игры: громкость, разрешение, звук, FPS, HDR, возврат к ПК или выход. Не работает поверх игр в монопольном полноэкранном режиме.", - "ConsoleScreensHeading": "Экраны", - "ConsoleQuickHeading": "Быстрые настройки", - "FullSettings": "Все параметры", - "HintSelect": "Выбрать", - "HintChange": "Изменить", - "ConsoleSettingsHint": "Нажмите A на строке, чтобы изменить значение. Всё сохраняется сразу.", - "BackToPc": "Вернуться к ПК", - "CloseMenu": "Закрыть меню", - "ControlFsCard": "Проводник (ControlFS)", - "ControlFsOpen": "Просмотр файлов с геймпада", - "ControlFsMissing": "Не установлен · нажмите, чтобы скачать и установить", - "ControlFsDownloading": "Загрузка… {0}%", - "ControlFsInstalling": "Установка…", - "ControlFsInstallFailed": "Не удалось установить · нажмите, чтобы открыть страницу загрузки", - "ControlFsInstalled": "Установлен · нажмите, чтобы открыть", - "JoyChromiumCard": "Браузер (JoyChromium)", - "JoyChromiumOpen": "Сёрфинг в интернете с геймпадом", - "ControlFsMissingNote": "ControlFS не установлен. Открываем страницу загрузки в браузере.", - "SessionWindowsCard": "Окна", - "SessionWindowsCount": "Открыто: {0}", - "SwitcherEmpty": "Нет открытых окон", - "SwitcherOpen": "Открыть", - "SwitcherCloseWindow": "Закрыть окно", - "SwitcherCloseConfirmTitle": "Закрыть это окно?", - "SwitcherCloseConfirmBody": "Если есть несохранённые изменения, приложение может предложить их сохранить.", - "SwitcherCloseConfirmAction": "Закрыть окно", - "SessionPreviewBadge": "Вне сеанса", - "ConsoleActiveHint": "Или удерживайте {0} на геймпаде 1 секунду.", - "ChooseRoleFor": "Что делает экран {0}?", - "HomeButtonCard": "Сочетание на геймпаде для открытия Console Mode", - "HomeButtonDescription": "Когда приложение в области уведомлений, удерживайте это сочетание 1 секунду, чтобы войти в режим консоли (или просто нажмите, если включите короткое нажатие ниже). Работает с геймпадами Xbox и PlayStation.", - "ExitShortcutCard": "Сочетание на геймпаде для возврата к ПК", - "TaskViewShortcutCard": "Сочетание на геймпаде для представления задач", - "TaskViewShortcutDescription": "Открывает представление задач Windows (Win + Tab) со всеми открытыми окнами — в сеансе и вне его. Пока оно открыто, крестовина или стик выбирают окно, A открывает его, а B закрывает представление; повторное сочетание тоже закрывает его.", - "TaskViewHint": "Крестовина или стик выбирают окно · {0} открывает · {1} закрывает", - "TaskViewPlayStationCard": "Управлять представлением задач геймпадом PlayStation", - "TaskViewPlayStationDescription": "Windows уже позволяет управлять представлением задач геймпадом Xbox. Если включено, Console Mode делает то же для геймпада PlayStation, который Windows там не понимает. Выключите, если программа превращает геймпад в Xbox (DS4Windows, Steam) и команды повторяются.", - "ExitShortcutDescription": "Во время сеанса удерживайте это сочетание 1 секунду, чтобы восстановить рабочее место и вернуться к ПК.", - "ShortcutHome": "Открыть Console Mode", - "ControllerSection": "Геймпад", - "ControllerLayoutCard": "Обозначения кнопок", - "ControllerLayoutDescription": "«Автоматически» — по подключённому геймпаду. Можно также закрепить символы Xbox или PlayStation.", - "ControllerLayoutAuto": "Автоматически", - "ControllerLayoutXbox": "Xbox (A, B, X, Y)", - "ControllerLayoutPlaystation": "PlayStation (✕, ○, □, △)", - "ShortcutMenu": "Меню сеанса", - "ShortcutExit": "Вернуться к ПК", - "ShortcutTaskView": "Представление задач", - "ShortcutNotSet": "Не задано", - "ShortcutSet": "Задать", - "ShortcutChange": "Изменить", - "ShortcutClear": "Удалить", - "ShortcutCancel": "Отмена", - "ShortcutPressButtons": "Удерживайте кнопки, затем отпустите…", - "ShortcutCaptureHint": "Отпустите, чтобы сохранить. Нажмите только {0}, чтобы отменить.", - "ShortcutNotAllowed": "Используйте две или более кнопки одновременно (например, Select + Y) или одну кнопку Home. Одиночная кнопка срабатывала бы посреди игры.", - "ShortcutInUse": "{0} уже используется для действия «{1}». Выберите другое сочетание.", - "CloseSteamCard": "Сворачивать Steam в область уведомлений при возврате к ПК", - "CloseSteamDescription": "Когда вы выходите из Big Picture, Steam получает обычный запрос на закрытие окна и может свернуться в область уведомлений, не завершая процесс. Если запущена игра или её состояние не удаётся проверить, окно не трогается.", - "RestoreIconsCard": "Возвращать значки рабочего стола на место", - "RestoreIconsDescription": "Запоминает расположение значков рабочего стола перед сеансом и возвращает их при возврате к ПК, если Windows перемешает их при смене основного экрана. Ничего не делает, если включено автоматическое упорядочивание.", - "HideIconsCard": "Скрывать значки рабочего стола во время сеанса", - "HideIconsDescription": "Скрывает значки рабочего стола на время сеанса, чтобы телевизор выглядел чисто, как консоль, и показывает их снова при возврате к ПК. Если они уже были скрыты, так и остаётся.", - "ParkPointerCard": "Убирать указатель мыши", - "ParkPointerDescription": "Когда лаунчер появляется на телевизоре, указатель перемещается в правый нижний угол игрового экрана, чтобы не висеть посреди изображения. При возврате к ПК он возвращается на прежнее место.", - "GameProfilesCard": "Профили для игр", - "GameProfilesDescription": "Собственные разрешение, HDR, ограничение FPS и аудиовыход для каждой игры Steam. Чтобы создать профиль, откройте меню сеанса во время игры и выберите «Профиль игры» → «Сохранить текущие настройки». Профиль применяется при запуске игры и отменяется при её закрытии.", - "GameProfilesEmpty": "Нет сохранённых профилей", - "GameProfilesCount": "Сохранено: {0}", - "GameProfilesPickerTitle": "Выберите профиль для удаления", - "GameProfileRow": "Профиль игры", - "GameProfileNoGame": "Игра Steam не запущена", - "GameProfileNone": "{0}: без профиля", - "GameProfileActive": "{0}: профиль сохранён", - "GameProfileSave": "Сохранить текущие настройки для {0}", - "GameProfileRemove": "Удалить профиль {0}", - "GameProfileDelete": "Удалить", - "GameProfileHdrOn": "HDR вкл.", - "GameProfileHdrOff": "HDR выкл.", - "GameProfileNothing": "Ничего не меняет", - "HideCursorCard": "Скрыть указатель мыши", - "HideCursorDescription": "Остаётся скрытым, пока вы не выключите этот параметр; возвращается сам, когда сеанс начинается или заканчивается и когда Console Mode закрывается. Удобно для эмуляторов и игр, которые оставляют его посреди экрана.", - "ControllerMouseRow": "Управлять мышью с геймпада", - "ControllerMouseHint": "Левый стик — перемещение · {0} — щелчок · {0} дважды — правый щелчок · правый стик — прокрутка", - "AutoStartControllerCard": "Входить при подключении геймпада", - "AutoStartControllerDescription": "Когда приложение в области уведомлений, включение или подключение геймпада запускает режим консоли. Не срабатывает первые 15 с после запуска и 30 с после восстановления.", - "ControllerWakeCard": "Пробуждать ПК геймпадом", - "ControllerWakeDescription": "Разрешает беспроводному адаптеру Xbox, Bluetooth или проводному геймпаду выводить ПК из спящего режима по нажатию центральной кнопки геймпада. Windows запросит права администратора. Выключенный ПК или ПК в режиме гибернации не проснётся, а некоторые ПК отключают питание Bluetooth во сне. Если включено «Входить при подключении геймпада», ПК сразу проснётся в режиме консоли.", - "ControllerWakeButton": "Включить", - "ControllerWakeChecking": "Проверка устройств…", - "ControllerWakeReady": "Готово: {0} может пробудить ПК.", - "ControllerWakeOff": "Пока не может пробудить ПК: {0}.", - "ControllerWakeNone": "Ни адаптер геймпада, ни Bluetooth этого ПК не могут его пробудить. Подключите адаптер или геймпад и попробуйте снова.", - "ControllerWakeUnknown": "Не удалось проверить устройства.", - "ControllerWakeEnabled": "Готово. Переведите ПК в спящий режим и нажмите центральную кнопку геймпада, чтобы проверить.", - "ControllerWakeCanceled": "Windows не получила разрешения; ничего не изменено.", - "ControllerWakeFailed": "Не удалось включить. Подробности в журнале.", - "ControllerWakeGone": "Устройство не найдено в момент включения (его отключили?). Подключите его снова и повторите попытку.", - "ControllerWakeUnavailable": "Недоступно", - "HomeButtonShortPressCard": "Короткое нажатие кнопки Xbox", - "HomeButtonShortPressDescription": "Достаточно нажать, удерживать не нужно. Отключает открытие Game Bar с геймпада в Windows (Win+G продолжает работать).", - "HomeButtonSteamHint": "Steam открыт и тоже использует кнопку Xbox. Чтобы короткое нажатие работало, отключите в Steam параметр «Кнопка Guide переключает на Steam».", - "GameBarSettingError": "Не удалось изменить параметр Game Bar: {0}", - "StartupCard": "Запускать вместе с Windows", - "StartupDescription": "При включении ПК открывается в области уведомлений и готово к запуску в один клик.", - "MinimizeToTrayCard": "Сворачивать в область уведомлений", - "MinimizeToTrayDescription": "При сворачивании окно исчезает с панели задач, а Console Mode остаётся среди скрытых значков. Нажмите на значок, чтобы открыть его снова.", - "MenuOutsideSessionCard": "Меню сеанса вне режима консоли", - "MenuOutsideSessionDescription": "Сочетание для меню открывает меню сеанса и вне режима консоли — с открытыми окнами, громкостью, экраном и геймпадом вместо мыши, пока Console Mode запущен (даже только в трее). Отключите, если сочетание мешает в какой-нибудь игре.", - "CheckNow": "Проверить", - "NotifyUpdatesCard": "Сообщать о выходе новой версии", - "NotifyUpdatesDescription": "Проверяет релизы на GitHub при запуске приложения.", - "BetaUpdatesCard": "Получать тестовые версии (бета)", - "BetaUpdatesDescription": "Получайте ранние версии раньше всех и помогайте их тестировать. В них могут быть ошибки. Если выключить этот параметр, возврата к стабильной версии не будет: вы получите следующую стабильную, когда она выйдет.", - "BetaUpdatesWarning": "Тестовые версии могут не работать на некоторых конфигурациях. Если что-то сломалось, скачайте стабильную версию со страницы релизов и сообщите нам через кнопку отзыва.", - "HelpDataSection": "Ярлык, справка и данные", - "OtherAppsSection": "Другие приложения разработчика", - "TvConfirmationCard": "Подтверждение на телевизоре", - "TvConfirmationDescription": "При первом использовании нового игрового экрана телевизор просит подтвердить, что изображение видно. Ответьте мышью, клавиатурой или геймпадом (Xbox: A/B · PlayStation: ✕/○). Проверьте здесь, не меняя настройки экранов.", - "TvSection": "Телевизор", - "TvControlCard": "Включать телевизор и переключать вход", - "TvProviderNone": "Не управлять", - "TvProviderAndroid": "Google TV / Android TV (по сети)", - "TvNoneDescription": "При запуске режима консоли приложение включает телевизор и переключает его на вход ПК; при восстановлении может перевести его в режим ожидания.", - "TvAndroidDescription": "По сети, ничего устанавливать не нужно. На телевизоре: «Настройки» → «Система» → «Для разработчиков» → включите «Отладка по USB» (или «Отладка по сети»). В первый раз примите запрос «Разрешить отладку» на телевизоре.", - "TvHostCard": "Адрес телевизора", - "TvHostDescription": "IP-адрес телевизора в вашей сети («Настройки» → «Сеть»). Совет: зарезервируйте его в роутере, чтобы он не менялся.", - "TvMacCard": "MAC-адрес (необязательно)", - "TvMacDescription": "Для пробуждения телевизора из глубокого режима ожидания (Wake-on-LAN). Оставьте пустым, если телевизор отвечает в выключенном состоянии.", - "TvHdmiCard": "Вход ПК", - "TvHdmiDescription": "Порт HDMI телевизора, к которому подключён ПК.", - "TvInputCommandCard": "Команда входа (дополнительно)", - "TvInputCommandDescription": "Только если телевизор игнорирует клавишу HDMI: команда оболочки Android, переключающая на вход ПК. Пусто — клавиша HDMI, выбранная выше.", - "TvRestoreCommandCard": "Команда при возврате к ПК (дополнительно)", - "TvTurnOffCard": "Переводить телевизор в режим ожидания при восстановлении", - "TvTurnOffDescription": "После того как экраны рабочего места вернутся.", - "TvTestCard": "Проверить телевизор", - "TvTestDescription": "Включает телевизор и сразу переключает на вход ПК, не трогая экраны. В первый раз выполняется сопряжение с телевизором.", - "TvTesting": "Связь с телевизором… Если появится запрос, примите его на экране телевизора.", - "TvTestSuccess": "Телевизор ответил: теперь он должен быть включён на входе ПК.", - "TvTestFailure": "Не удалось связаться с телевизором: {0}", - "TvTestTimedOut": "Телевизор не ответил за 90 секунд. Повторите попытку.", - "TvNotConfigured": "Выберите способ управления телевизором.", - "TvHostMissing": "Введите IP-адрес телевизора.", - "TvUnreachable": "Телевизор по адресу {0} не ответил. Проверьте IP-адрес, что телевизор в той же сети и что отладка включена.", - "TvAdbNotAllowed": "Телевизор не разрешил подключение этого ПК. Снова нажмите «Проверить» и выберите на телевизоре «Всегда разрешать» + «Разрешить».", - "TvAdbTlsUnsupported": "Телевизор принимает только «Беспроводную отладку» (сопряжение по коду). Включите «Отладка по USB» / «Отладка по сети» в разделе «Для разработчиков».", - "ControllerTestCard": "Проверка геймпада", - "ControllerTestDescription": "Показывает в реальном времени, что Windows получает от каждого геймпада: источник, кнопки по номерам, крестовину и стики. Используйте, если геймпад виден, но ничего не делает.", - "ControllerTestSteamHint": "Steam с включённой поддержкой PlayStation перехватывает геймпад, и приложение ничего не получает. Закройте Steam (или отключите поддержку PlayStation в Steam Input) и проверьте снова.", - "CopyDiagnostics": "Копировать диагностику", - "ControllerDevicesHeading": "Устройства", - "ControllerSampleHeading": "Данные в реальном времени (нажимайте кнопки)", - "DiagnosticsCopied": "Диагностика скопирована. Вставьте её в issue или форму отзыва.", - "DiagnosticsCard": "Диагностика", - "DiagnosticsDescription": "Версии, экраны, звук, контроллеры, найденные программы и конец журнала — чтобы приложить к сообщению об ошибке. Пути с вашим именем пользователя и ключи скрываются.", - "CopyReport": "Копировать отчёт", - "TutorialCard": "Обучение", - "TutorialDescription": "Снова показать обзор интерфейса.", - "OneClickCard": "Ярлык «в один клик»", - "OneClickDescription": "Создаёт «Console Mode 1 Click» на рабочем столе рядом с обычным ярлыком приложения. Он сразу включает режим консоли, не открывая это окно.", - "CreateShortcut": "Создать ярлык", - "DataFolderCard": "Папка данных", - "DataFolderDescription": "Параметры, резервная копия экранов и файл журнала (consolemode.log).", - "LanguageCard": "Язык", - "LanguageDescription": "Выберите язык Console Mode.", - "ConfirmTitle": "Вы видите этот экран?", - "ConfirmDescription": "Это игровой экран. Подтвердите мышью, клавиатурой или геймпадом. Если никто не ответит, экраны будут восстановлены автоматически.", - "Revert": "Отменить", - "Continue": "Да, продолжить", - "Countdown": "Возврат к обычному режиму через {0} с", - "AudioHint": "Применяется при входе и восстанавливается при выходе. «При подключении» переключает автоматически, когда появляется телевизор.", - "StartEntering": "Запуск…", - "StartNow": "Играть", - "LaunchPlayniteDescription": "Открывает Playnite в полноэкранном режиме. Экраны восстанавливаются автоматически, когда вы его закроете.", - "LaunchXboxDescription": "Экспериментально: отправляет Win+F11. Чтобы восстановить экраны, используйте приложение или меню в области уведомлений.", - "LaunchSteamDescription": "Открывает Steam Big Picture. Экраны восстанавливаются автоматически, когда вы его закроете.", - "FocusChoose": "Выберите игровой экран на главном экране.", - "FocusApplied": "Для {0}: применяется при входе и отменяется при выходе.", - "StrategyDisconnect": "Отключить в Windows", - "StrategyBlack": "Закрыть чёрным экраном", - "StrategyTurnOff": "Выключить панель (DDC/CI)", - "LaunchSteam": "Steam Big Picture", - "LaunchPlaynite": "Playnite (полноэкранный)", - "PlaynitePathCard": "Папка Playnite", - "PlaynitePathClear": "Очистить", - "PlaynitePathDetected": "Найдено автоматически: {0}. Если у вас портативная версия, укажите Playnite.FullscreenApp.exe.", - "PlaynitePathMissing": "Playnite не найден. Укажите Playnite.FullscreenApp.exe (например, для портативной версии).", - "PlaynitePathInvalid": "Не удалось найти Playnite.FullscreenApp.exe в {0}.", - "PlaynitePathPickError": "Не удалось открыть окно выбора файла: {0}", - "LaunchXbox": "Режим Xbox (экспериментально)", - "LaunchCustomApp": "Своё приложение", - "LaunchCustomAppDescription": "Открывает выбранную вами программу (эмулятор, другой лаунчер…). Экраны восстанавливаются автоматически, когда вы её закроете.", - "CustomAppPathCard": "Открываемое приложение", - "CustomAppArgumentsCard": "Аргументы", - "CustomAppArgumentsDescription": "Необязательно. Передаются приложению при запуске, например чтобы открыть его во весь экран.", - "CustomAppWatchCard": "Отслеживаемый процесс", - "CustomAppWatchDescription": "Необязательно. Если приложение только запускает другую программу и закрывается, введите имя процесса этой программы. Экраны восстановятся, когда она закроется.", - "CustomAppMissing": "Выберите приложение для запуска (файл .exe).", - "CustomAppNotExe": "{0} — не файл .exe. Выберите приложение для запуска.", - "CustomAppNotFound": "Не удалось найти {0}. Выберите приложение снова.", - "FpsOverlayCard": "Счётчик FPS", - "FpsOverlayExternal": "Afterburner (не менять)", - "FpsOverlayOff": "Выкл. (скрыть всё)", - "FpsOverlayCustom": "Настраиваемый", - "FpsOverlayDescription": "Показывает FPS поверх игры во время сеанса с помощью RTSS. Кроме варианта «Afterburner», OSD MSI Afterburner скрывается, пока включён режим консоли.", - "FpsOverlayItems": "Данные игры", - "FpsOverlayShowApi": "API (D3D/Vulkan)", - "FpsOverlayShowFps": "FPS", - "FpsOverlayShowFrameTime": "Время кадра (мс)", - "FpsOverlaySingleLine": "Всё в одну строку", - "FpsOverlayColor": "Цвет чисел", - "FpsOverlayColorWhite": "Белый", - "FpsOverlayColorBlue": "Синий", - "FpsOverlayColorGreen": "Зелёный", - "FpsOverlayColorYellow": "Жёлтый", - "FpsOverlayColorOrange": "Оранжевый", - "FpsOverlayCompact": "Компактный", - "FpsOverlayCompactHint": "FPS, ЦП, ГП и ОЗУ", - "FpsOverlayDetailed": "Подробный", - "FpsOverlayDetailedHint": "частоты, температура и память", - "FpsOverlayFpsOnly": "Только FPS", - "FpsOverlayPcItems": "Данные ПК", - "FpsOverlayPcItemsDescription": "Берутся из Windows и графического драйвера, ничего устанавливать не нужно. Температура и частота ГП отображаются, только если драйвер их сообщает.", - "FpsOverlayShowCpu": "Загрузка ЦП", - "FpsOverlayShowCpuClock": "Частота ЦП", - "FpsOverlayShowGpu": "Загрузка ГП", - "FpsOverlayShowGpuClock": "Частота ГП", - "FpsOverlayShowGpuTemp": "Температура ГП", - "FpsOverlayShowVram": "VRAM", - "FpsOverlayShowRam": "ОЗУ", - "FpsOverlaySize": "Размер", - "FpsOverlaySizeSmall": "Маленький", - "FpsOverlaySizeMedium": "Средний", - "FpsOverlaySizeLarge": "Большой", - "FpsOverlayStyle": "Стиль", - "FpsOverlayPosition": "Положение", - "FpsOverlayPositionRtss": "Как в RTSS", - "FpsOverlayPositionTopLeft": "Левый верхний угол", - "FpsOverlayPositionTopRight": "Правый верхний угол", - "FpsOverlayPositionBottomLeft": "Левый нижний угол", - "FpsOverlayPositionBottomRight": "Правый нижний угол", - "FpsOverlayCardBackground": "Фон карточки", - "FpsOverlayCardBackgroundDescription": "Тёмная скруглённая карточка под числами, чтобы их было хорошо видно в любой сцене.", - "FpsNoLimit": "Без ограничения", - "FpsCustom": "Своё значение", - "FpsAvailable": "Применяется ко всем играм, пока включён режим консоли. Использует RTSS.", - "FpsUnavailable": "Необязательно. Чтобы использовать эту функцию, установите RivaTuner Statistics Server (RTSS).", - "NoGameDisplayConfigured": "Игровой экран не настроен, войти в режим консоли невозможно.", - "NoDisplayTryRefresh": "Экраны не найдены. Попробуйте обновить список.", - "ListDisplaysError": "Не удалось получить список экранов: {0}", - "DisplayNoChange": "Не менять", - "AudioNoChange": "Не менять", - "AudioOnConnect": "Появившийся при подключении (телевизор)", - "ShortcutCreated": "Ярлык «Console Mode 1 Click» создан на рабочем столе.", - "ShortcutCreateError": "Не удалось создать ярлык: {0}", - "OpenFolderError": "Не удалось открыть папку: {0}", - "ChooseGameScreen": "Выберите экран, на котором хотите играть.", - "UnconfirmedSetup": "Экраны восстановлены, так как игровой экран не был подтверждён. Проверьте выбор и повторите попытку.", - "StartFailure": "Не удалось войти в режим консоли: {0}", - "ControllerXbox": "Обнаружен геймпад Xbox", - "ControllerPlaystation": "Обнаружен геймпад PlayStation", - "ControllerOther": "Обнаружен геймпад", - "ControllerNone": "Геймпад не обнаружен", - "ConfirmationResult": "Проверка: {0} ({1}, {2}).", - "ConfirmationAccepted": "подтверждено", - "ConfirmationWillRevert": "экраны были бы восстановлены", - "SourceController": "геймпад", - "SourceKeyboard": "клавиатура", - "SourceMouseKeyboard": "мышь/клавиатура", - "SourceTimeout": "время истекло", - "ListConjunction": " и ", - "ListSeparator": ", ", - "ShortcutName": "Console Mode 1 Click", - "ShortcutDescription": "Включает режим консоли в один клик", - "ShortcutUnavailable": "WScript.Shell недоступен в этой версии Windows.", - "UnknownExecutablePath": "Путь к исполняемому файлу неизвестен.", - "ProcessTimeout": "{0}: превышено время ожидания ({1})", - "ProcessFailure": "{0}: ошибка ({1}): {2}", - "CachedModeSuffix": " (из кэша)", - "EstimatedModeSuffix": " (примерно)", - "UpdateAssetMissing": "В этом релизе нет проверяемого файла для этого типа установки.", - "UpdateHashMismatch": "SHA-256 скачанного файла не совпадает с хешем, опубликованным на GitHub.", - "RestoreSuccess": "Экраны вернулись в обычный режим.", - "SessionRecovered": "Последний сеанс завершился некорректно (приложение закрылось или ПК выключился посередине). Экраны, звук, значки и указатель восстановлены.", - "SessionJournalFailed": "Не удалось записать журнал сеанса в папку данных ({0}). Без него после сбоя нельзя было бы всё вернуть, поэтому ничего не изменено.", - "RestoreFailure": "Не удалось восстановить экраны: {0}", - "ConfigSaveFailure": "Не удалось сохранить параметры: {0}", - "SummaryChooseScreen": "Выберите экран, на котором хотите играть", - "SummaryFocusOnly": "Играть на {0}", - "SummaryFocusAndHide": "Играть на {0}, выключить {1}", - "SummaryAudio": "Звук: {0}", - "SummaryAudioOnConnect": "Звук при подключении", - "SummaryFps": "{0} FPS", - "MonitorOff": "выкл.", - "DisplayOffNow": "сейчас выключен", - "CurrentModeSuffix": " (текущий)", - "AudioDisabledSuffix": " [Отключено]", - "AlreadyConsoleActive": "Режим консоли уже включён.", - "GameScreenNotConfirmed": "Игровой экран не был подтверждён.", - "GameScreenDidNotTurnOn": "Игровой экран не включился. Убедитесь, что телевизор включён и выбран нужный вход HDMI, и повторите попытку.", - "ActivePlaynite": "Закройте Playnite, чтобы экраны восстановились автоматически.", - "ActiveXbox": "В режиме Xbox восстановление выполняется вручную: нажмите «Восстановить сейчас» или используйте меню в области уведомлений.", - "ActiveSteam": "Закройте Big Picture, чтобы экраны восстановились автоматически.", - "ActiveCustomApp": "Закройте {0}, чтобы экраны восстановились автоматически.", - "InstallKindInstalled": "Версия {0} · установленная", - "InstallKindPortable": "Версия {0} · портативная", - "Download": "Скачать", - "UpdateNow": "Обновить", - "StartupSettingError": "Не удалось изменить параметр автозапуска Windows: {0}", - "SearchingUpdates": "Проверка обновлений…", - "LatestVersionStatus": "{0} · установлена последняя версия", - "AppUpToDate": "У вас последняя версия Console Mode.", - "UpdateAvailableStatus": "{0} · доступна версия {1}", - "UpdateAvailableTitle": "Доступна версия Console Mode {0}{1}", - "BetaSuffix": " (бета)", - "NewVersionOnGithub": "На GitHub доступна новая версия.", - "UpdateCheckFailedStatus": "{0} · не удалось проверить обновления", - "UpdateSearchFailure": "Не удалось проверить обновления: {0}", - "ExitConsoleBeforeUpdate": "Перед обновлением выйдите из режима консоли.", - "UpdateFailure": "Не удалось обновить: {0}", - "BrowserOpenFailure": "Не удалось открыть браузер: {0}", - "ShowWindow": "Показать окно", - "TrayEnterConsole": "Войти в режим консоли", - "RestoreSetup": "Восстановить конфигурацию", - "Exit": "Выход", - "ToggleOn": "Вкл.", - "ToggleOff": "Выкл.", - "SessionTourInviteTitle": "Впервые в этом меню?", - "SessionTourInviteBody": "Короткий обзор покажет, что делает каждый пункт, в том числе чем «Вернуться к ПК» отличается от «Выйти из Console Mode». Чтобы посмотреть его позже, нажмите {0} в этом меню.", - "SessionTourStart": "Начать обзор", - "SessionTourNotNow": "Не сейчас", - "SessionTourProgress": "{0} из {1}", - "SessionTourHint": "Обзор", - "SessionTourBackToGameBody": "Закрывает это меню и возвращает геймпад игре в том же состоянии. {0} делает то же самое из любого места меню.", - "SessionTourControlFsBody": "Открывает ControlFS — проводник для управления геймпадом — во весь экран. Если он ещё не установлен, первое нажатие скачает и установит его. Сразу под ним JoyChromium делает то же самое с браузером для телевизора: открывается поверх игры и при возврате к ПК остаётся открытым в окне.", - "SessionTourVolumeBody": "Нажмите {0}, чтобы настроить громкость аудиовыхода: ◀ ▶ меняют её с шагом 5, {1} выключает звук, а {0} или {2} завершают настройку.", - "SessionTourDisplayTitle": "Экран и звук", - "SessionTourDisplayBody": "Разрешение, частота обновления, аудиовыход и HDR игрового экрана. Изменения действуют только в этом сеансе: при возврате к ПК всё станет как было.", - "SessionTourDisplayPreviewBody": "Разрешение, частота обновления, аудиовыход и HDR игрового экрана. Вне сеанса, как сейчас, изменения сохраняются, пока вы не измените их снова.", - "SessionTourFpsTitle": "FPS", - "SessionTourFpsBody": "Ограничение FPS ограничивает частоту кадров в играх, а счётчик показывает FPS в углу экрана — оба работают через RivaTuner. При возврате к ПК оба отключаются.", - "SessionTourWindowsBody": "Открытые программы — как Alt + Tab, который всегда на экране. {0} выводит окно на передний план; {1} просит его закрыться после вашего подтверждения.", - "SessionTourBackToPcBody": "Завершает сеанс: экраны, разрешение, HDR, звук и ограничение FPS возвращаются к прежним значениям, Big Picture закрывается, а телевизор выключается, если вы это настроили. Console Mode остаётся открытым в области уведомлений и готов к следующему разу.", - "SessionTourCloseMenuBody": "Вне сеанса восстанавливать нечего, поэтому эта кнопка только закрывает меню. Во время сеанса она становится кнопкой «Вернуться к ПК» и возвращает экраны, звук и разрешение как было.", - "SessionTourExitBody": "Делает всё то же, что и «Вернуться к ПК», и вдобавок закрывает Console Mode: он исчезает из области уведомлений, а сочетания на геймпаде перестают работать, пока вы снова его не откроете.", - "SessionTourExitPreviewBody": "Полностью закрывает Console Mode: он исчезает из области уведомлений, а сочетания на геймпаде перестают работать, пока вы снова его не откроете.", - "SessionTourCard": "Обзор меню сеанса", - "SessionTourDescription": "Объясняет каждый пункт меню поверх игры. Открывает меню в режиме предпросмотра, не начиная сеанс.", - "ShowTour": "Показать обзор", - "ControllerBattery": "Заряд геймпада: {0}", - "ControllerBatteryCharging": "Заряд геймпада: {0}, заряжается", - "LowBatteryTitle": "Низкий заряд геймпада", - "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 или ваше приложение. {0} на нужном (или щелчок мышью) отмечает его: он откроется, когда вы начнёте играть. Простое наведение только указывает на плитку. Ваше приложение можно убрать с главной кнопкой {1} или правым щелчком мыши.", - "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": "Показывает выбранную заставку прямо сейчас, со звуком.", - "AddCustomAppTile": "Добавить", - "AddCustomAppCard": "Добавить своё приложение", - "AddCustomAppDescription": "Выберите .exe: он станет плиткой на Главной со значком и названием программы.", - "RemoveCustomAppCard": "Удалить это приложение", - "RemoveCustomAppDescription": "Убирает плитку этого приложения с Главной; вместо него откроется Steam Big Picture.", - "RemoveFromHome": "Убрать с главной", - "Cancel": "Отмена", - "OtherAppsControlFsDescription": "Файловый менеджер для геймпада с безопасной распаковкой ZIP.", - "OtherAppsTakoDescription": "Ваша библиотека игр в лаунчере для телевизора и геймпада.", - "OtherAppsJoyChromiumDescription": "Браузер для телевизора, которым управляют геймпадом с дивана.", - "OtherAppsStageAlpha": "Альфа", - "OtherAppsStageClosedAlpha": "Закрытая альфа", - "OtherAppsStageBeta": "Бета" -} diff --git a/src/ConsoleMode/Services/AppPaths.cs b/src/ConsoleMode/Services/AppPaths.cs index 3a07f807..730405a2 100644 --- a/src/ConsoleMode/Services/AppPaths.cs +++ b/src/ConsoleMode/Services/AppPaths.cs @@ -49,15 +49,12 @@ public static class AppPaths { public static string ExeDir { get; private set; } = AppContext.BaseDirectory.TrimEnd(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); public static string DataDir { get; private set; } = ""; - public static string ToolsDir { get; private set; } = ""; - public static string RtssCliPath { get; private set; } = ""; public static string ConfigPath { get; private set; } = ""; public static string BackupMonitorConfig { get; private set; } = ""; public static string BackupMonitorMeta { get; private set; } = ""; public static string BackupAudioFile { get; private set; } = ""; /// What the running console session changed; left behind only when it never got to its restore. public static string SessionJournalFile { get; private set; } = ""; - public static string BackupRtssFpsFile { get; private set; } = ""; public static string MonitorModesCacheFile { get; private set; } = ""; public static string IconPath { get; private set; } = ""; @@ -86,28 +83,16 @@ public static void Initialize() ExeDir = ResolveExeDir(); IsInstalled = File.Exists(Path.Combine(ExeDir, InstalledMarker)); DataDir = ResolveDataDir(ExeDir); - ToolsDir = Path.Combine(DataDir, "tools"); Directory.CreateDirectory(DataDir); - Directory.CreateDirectory(ToolsDir); - EmbeddedFiles.ExtractTools(ToolsDir); EmbeddedFiles.ExtractIcon(Path.Combine(DataDir, "icon.ico")); - var rtssBeside = Path.Combine(ExeDir, "rtss-cli.exe"); - var rtssDest = Path.Combine(ToolsDir, "rtss-cli.exe"); - if (!File.Exists(rtssDest) && File.Exists(rtssBeside)) - { - try { File.Copy(rtssBeside, rtssDest, true); } catch { /* ignore */ } - } - - RtssCliPath = FirstExisting(Path.Combine(ToolsDir, "rtss-cli.exe"), Path.Combine(ExeDir, "rtss-cli.exe")); ConfigPath = Path.Combine(DataDir, "config.json"); BackupMonitorConfig = Path.Combine(DataDir, "backup_monitores.cfg"); BackupMonitorMeta = Path.Combine(DataDir, "backup_monitores_meta.json"); BackupAudioFile = Path.Combine(DataDir, "backup_audio.txt"); SessionJournalFile = Path.Combine(DataDir, "session.json"); - BackupRtssFpsFile = Path.Combine(DataDir, "backup_rtss_fps.json"); MonitorModesCacheFile = Path.Combine(DataDir, "monitor_modes_cache.json"); IconPath = FirstExisting( @@ -119,13 +104,12 @@ public static void Initialize() // Files the PowerShell 1.x build left next to the exe (portable only). if (IsInstalled) return; MigrateLegacy(ExeDir, "config.json", ConfigPath); - foreach (var file in new[] { "backup_monitores.cfg", "backup_monitores_meta.json", "backup_audio.txt", "backup_rtss_fps.json" }) + foreach (var file in new[] { "backup_monitores.cfg", "backup_monitores_meta.json", "backup_audio.txt" }) { MigrateLegacy(ExeDir, file, Path.Combine(DataDir, file)); } } - public static bool HasRtssCli => File.Exists(RtssCliPath); private static string FirstExisting(params string[] paths) { diff --git a/src/ConsoleMode/Services/ConsoleEngine.GameProfiles.cs b/src/ConsoleMode/Services/ConsoleEngine.GameProfiles.cs deleted file mode 100644 index c24c5f74..00000000 --- a/src/ConsoleMode/Services/ConsoleEngine.GameProfiles.cs +++ /dev/null @@ -1,120 +0,0 @@ -using ConsoleMode.Models; -using ConsoleMode.Native; - -namespace ConsoleMode.Services; - -// Per-game profiles (issue #69): while a session runs, Steam's running game is read on every Tick. -// When a game with a profile starts, its resolution, HDR, FPS limit and audio output are applied; -// when it closes (or another game starts), the screen goes back to how it was when it started. -public sealed partial class ConsoleEngine -{ - private void ResetGameProfileState() - { - State.RunningGameId = 0; - State.GameBaseline = null; - State.GameProfileApplied = false; - } - - private void TickGameProfile() - { - if (string.IsNullOrWhiteSpace(State.FocusMonitor) || State.RestoreInProgress) return; - var previous = State.RunningGameId; - var current = SteamSession.RunningAppId(); - var change = GameProfiles.Change(previous, current); - if (change == GameChange.None) return; - - if (change is GameChange.Ended or GameChange.Switched) EndGame(previous); - State.RunningGameId = current ?? 0; - if (change is GameChange.Started or GameChange.Switched) BeginGame(State.RunningGameId); - } - - private void BeginGame(int appId) - { - State.GameBaseline = ReadGameBaseline(); - State.GameProfileApplied = false; - if (GameProfiles.Find(State.GameProfiles, appId) is not { } profile || GameProfiles.IsEmpty(profile)) - { - AppLog.Write($"Perfil por jogo: {appId} começou, sem perfil"); - return; - } - AppLog.Write($"Perfil por jogo: aplicando o perfil de {profile.Name} ({appId})"); - Apply(profile.Mode, profile.Hdr, profile.FpsLimit, profile.AudioDeviceId); - State.GameProfileApplied = true; - } - - private void EndGame(int appId) - { - if (State.GameProfileApplied && State.GameBaseline is { } baseline) - { - AppLog.Write($"Perfil por jogo: {appId} fechou; voltando a tela de antes"); - Apply(baseline.Mode, baseline.Hdr, baseline.FpsLimit, baseline.AudioDeviceId); - } - State.GameBaseline = null; - State.GameProfileApplied = false; - } - - /// - /// The session menu saved a profile for the game running now: closing it goes back to how the - /// screen was when it started, as if the profile had been applied then. - /// - public void OnGameProfileSaved(List profiles) - { - State.GameProfiles = [.. profiles]; - if (State.RunningGameId > 0 && GameProfiles.Find(profiles, State.RunningGameId) is not null) - State.GameProfileApplied = true; - } - - /// The settings in effect now on the game screen. - public GameBaseline ReadGameBaseline() - { - var focus = State.FocusMonitor ?? ""; - var mode = NativeWindows.GetCurrentDisplayMode(focus); - return new GameBaseline - { - Mode = mode is null ? null : new SavedDisplayMode { Width = mode.Width, Height = mode.Height, Frequency = mode.Frequency }, - Hdr = Video.IsHdrOn(focus), - FpsLimit = State.FpsLimit, - AudioDeviceId = string.IsNullOrWhiteSpace(State.AudioDeviceId) ? Audio.GetDefaultId() : State.AudioDeviceId - }; - } - - /// Each part on its own: one that fails is logged and the others still apply. - private void Apply(SavedDisplayMode? mode, bool? hdr, int? fpsLimit, string? audioId) - { - var focus = State.FocusMonitor!; - if (mode is { Width: > 0, Height: > 0 }) - { - var current = NativeWindows.GetCurrentDisplayMode(focus); - // A TV at @59 for a profile saved at @60 is already there: re-applying would only blank it. - if (current is null || !DisplayModeMatch.IsSame(mode.Width, mode.Height, mode.Frequency, current.Width, current.Height, current.Frequency)) - Try("resolução", () => - { - Monitors.ApplyFocusMode(focus, mode); - Monitors.UpdateFocusRect(focus, State, true); - }); - } - if (hdr is { } on && Video.IsHdrOn(focus) != on) - Try("HDR", () => { if (!Video.SetHdrFromMenu(focus, on, State)) throw new InvalidOperationException(focus); }); - if (fpsLimit is { } fps && fps != State.FpsLimit && Rtss.IsReady) - Try("FPS", () => - { - var result = Rtss.SetLimit(fps, State); - if (!result.Success) throw new InvalidOperationException(result.Message); - }); - if (!string.IsNullOrWhiteSpace(audioId) && audioId != (State.AudioDeviceId ?? Audio.GetDefaultId())) - Try("áudio", () => - { - if (Audio.GetDevices(true).FirstOrDefault(d => d.FriendlyId == audioId) is not { IsActive: true }) - throw new InvalidOperationException($"saída {audioId} não está ativa"); - Audio.SetOutput(audioId); - State.AudioDeviceId = audioId; - State.AudioWatchComplete = true; // the auto-switch must not undo it - }); - } - - private static void Try(string what, Action action) - { - try { action(); } - catch (Exception ex) { AppLog.Write($"Perfil por jogo: {what}: {ex.Message}"); } - } -} diff --git a/src/ConsoleMode/Services/ConsoleEngine.cs b/src/ConsoleMode/Services/ConsoleEngine.cs index 49733bbc..16e0cba0 100644 --- a/src/ConsoleMode/Services/ConsoleEngine.cs +++ b/src/ConsoleMode/Services/ConsoleEngine.cs @@ -1,6 +1,5 @@ using ConsoleMode.Models; using ConsoleMode.Native; -using ConsoleMode.Services.Tv; namespace ConsoleMode.Services; @@ -9,10 +8,8 @@ public sealed partial class ConsoleEngine public ConsoleRuntimeState State { get; } = new(); public MonitorService Monitors { get; } = new(); public AudioService Audio { get; } = new(); - public RtssService Rtss { get; } = new(); public LaunchService Launch { get; } = new(); public VideoFeaturesService Video { get; } = new(); - public TvControlService Tv { get; } = new(); public const string AudioOnConnectId = "__on_connect__"; @@ -74,11 +71,6 @@ public void Start(AppConfig config, MonitorInfo? focusInfo, Func m.Name == config.FocusMonitor) ?? focusInfo; @@ -178,10 +165,6 @@ public void Start(AppConfig config, MonitorInfo? focusInfo, Func 0 && Rtss.IsReady) - { - var rtss = Rtss.Enable(config.FpsLimit, State); - if (!rtss.Success && !string.IsNullOrWhiteSpace(rtss.Message)) - AppLog.Write(rtss.Message); - } - - if (RtssOverlay.HidesOthers(config.FpsOverlay) && Rtss.IsInstalled - && !Rtss.ApplyOverlay(config.FpsOverlay, config.FpsOverlayLayout)) - AppLog.Write("RTSS: o contador de FPS não pôde ser exibido"); - switch (config.FullscreenMode) { case "bigPicture": @@ -280,7 +252,6 @@ public string Tick() if (mode == "xboxMode") { TickAudio(); - TickGameProfile(); TickPointer(); return "running"; } @@ -289,7 +260,6 @@ public string Tick() { if (IsCustomAppExit()) return "exit"; TickAudio(); - TickGameProfile(); TickPointer(); return "running"; } @@ -347,7 +317,6 @@ public string Tick() } TickAudio(); - TickGameProfile(); TickPointer(); return "running"; } @@ -366,8 +335,6 @@ public void Stop() if (!State.IsActive) { OnUi(BlackCurtain.Close); - Rtss.Restore(State); - Rtss.SetOverlay("", hideOthers: false); return; } @@ -394,11 +361,8 @@ public void Stop() : "Ícones da área de trabalho: visíveis de novo"); if (State.DesktopIcons is { Count: > 0 } icons) RestoreDesktopIconsLater(icons); ReturnPointer(); - Rtss.Restore(State); - Rtss.SetOverlay("", hideOthers: false); Monitors.ClearCache(); Audio.ClearCache(); - if (State.Tv is { IsEnabled: true, HasRestoreStep: true } tv) Tv.Restore(tv); AppLog.Write("Stop-ConsoleMode: restauração concluída"); // Only once the screens are back: a restore that threw or left them wrong is tried again on the next start. if (!restore.Success) @@ -421,7 +385,6 @@ public void Stop() State.RestoreInProgress = false; State.IsActive = false; State.ShouldExit = false; - State.Tv = null; State.SteamMoved = false; State.MoveCount = 0; State.HasAppeared = false; @@ -448,9 +411,6 @@ public void Stop() State.CachedXboxHandle = 0; State.AudioWatchComplete = false; State.BigPictureWatchActive = false; - State.FpsLimit = 0; - State.RtssBackup = null; - State.RtssLimitApplied = false; State.HdrApplied = false; State.HdrMonitor = null; State.VrrApplied = false; @@ -461,8 +421,6 @@ public void Stop() State.PointerParks = 0; State.LastPointerPark = null; State.PointerBefore = null; - // The restore above already put the screen, HDR, FPS and audio back as before the session. - ResetGameProfileState(); OnUi(NativeWindows.StopBigPictureExitWatch); } } diff --git a/src/ConsoleMode/Services/ControlPipeService.cs b/src/ConsoleMode/Services/ControlPipeService.cs deleted file mode 100644 index 5c318279..00000000 --- a/src/ConsoleMode/Services/ControlPipeService.cs +++ /dev/null @@ -1,170 +0,0 @@ -using System.IO.Pipes; -using System.Security.AccessControl; -using System.Security.Principal; -using System.Text; -using ConsoleMode.ViewModels; -using Microsoft.UI.Dispatching; - -namespace ConsoleMode.Services; - -/// -/// Local control API for other tools on this PC — a remote-control agent running as a Windows -/// service, scripts, a Stream Deck plugin — over the named pipe \\.\pipe\ConsoleMode.Control -/// (format in ). -/// -/// start/stop/show do exactly what consolemode://start|stop|show do (they set the same -/// signals), then answer once the app has settled, so the caller learns whether it worked. -/// "status" is what a link can't give: whether console mode is on, and in which mode. -/// -/// Only the signed-in user and LocalSystem may connect; nothing is exposed to the network. -/// -public sealed class ControlPipeService : IDisposable -{ - public const string PipeName = "ConsoleMode.Control"; - - private readonly MainViewModel _vm; - private readonly DispatcherQueue _dispatcher; - private readonly Action _requestStart; - private readonly Action _requestStop; - private readonly Action _requestShow; - private readonly CancellationTokenSource _cts = new(); - - public ControlPipeService(MainViewModel vm, DispatcherQueue dispatcher, Action requestStart, Action requestStop, Action requestShow) - { - _vm = vm; - _dispatcher = dispatcher; - _requestStart = requestStart; - _requestStop = requestStop; - _requestShow = requestShow; - _ = Task.Run(ListenAsync); - } - - public void Dispose() => _cts.Cancel(); - - private async Task ListenAsync() - { - while (!_cts.IsCancellationRequested) - { - NamedPipeServerStream? pipe = null; - try - { - pipe = CreatePipe(); - await pipe.WaitForConnectionAsync(_cts.Token); - var client = pipe; - pipe = null; - _ = Task.Run(() => HandleAsync(client)); - } - catch (OperationCanceledException) - { - break; - } - catch (Exception ex) - { - AppLog.Write($"Controle: {ex.Message}"); - try { await Task.Delay(2000, _cts.Token); } - catch (OperationCanceledException) { break; } - } - finally - { - pipe?.Dispose(); - } - } - } - - private static NamedPipeServerStream CreatePipe() - { - var security = new PipeSecurity(); - var user = WindowsIdentity.GetCurrent().User ?? throw new InvalidOperationException("no user SID"); - security.AddAccessRule(new PipeAccessRule(user, PipeAccessRights.ReadWrite | PipeAccessRights.CreateNewInstance, AccessControlType.Allow)); - security.AddAccessRule(new PipeAccessRule(new SecurityIdentifier(WellKnownSidType.LocalSystemSid, null), PipeAccessRights.ReadWrite, AccessControlType.Allow)); - return NamedPipeServerStreamAcl.Create(PipeName, PipeDirection.InOut, NamedPipeServerStream.MaxAllowedServerInstances, - PipeTransmissionMode.Byte, PipeOptions.Asynchronous, 0, 0, security); - } - - private async Task HandleAsync(NamedPipeServerStream pipe) - { - await using (pipe) - { - try - { - using var timeout = CancellationTokenSource.CreateLinkedTokenSource(_cts.Token); - timeout.CancelAfter(TimeSpan.FromSeconds(90)); - using var reader = new StreamReader(pipe, new UTF8Encoding(false), false, 1024, leaveOpen: true); - var line = await reader.ReadLineAsync(timeout.Token); - var reply = await ExecuteAsync(ControlProtocol.ParseCommand(line), timeout.Token); - await pipe.WriteAsync(Encoding.UTF8.GetBytes(reply + "\n"), timeout.Token); - await pipe.FlushAsync(timeout.Token); - } - catch (Exception ex) - { - AppLog.Write($"Controle: {ex.Message}"); - } - } - } - - private async Task ExecuteAsync(string cmd, CancellationToken token) - { - if (cmd != ControlProtocol.Status) AppLog.Write($"Controle: {cmd}"); - switch (cmd) - { - case ControlProtocol.Status: - return await ReplyAsync(true); - case ControlProtocol.Start: - _requestStart(); - // starting can ask "can you see this screen?" on a new TV: give it time - var started = await WaitForAsync(s => s.Active, TimeSpan.FromSeconds(60), token); - return await ReplyAsync(started, started ? null : "console mode did not start"); - case ControlProtocol.Stop: - if (!(await SnapshotAsync()).Active) return await ReplyAsync(true); - _requestStop(); - var stopped = await WaitForAsync(s => !s.Active && !s.Restoring, TimeSpan.FromSeconds(60), token); - return await ReplyAsync(stopped, stopped ? null : "restore did not finish"); - case ControlProtocol.Show: - _requestShow(); - return await ReplyAsync(true); - default: - return await ReplyAsync(false, "unknown command"); - } - } - - private readonly record struct Snapshot(bool Active, bool Restoring, string Mode); - - // the view model belongs to the UI thread - private Task SnapshotAsync() - { - var done = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); - var queued = _dispatcher.TryEnqueue(() => - { - try - { - var mode = _vm.IsConsoleActive ? _vm.Engine.State.FullscreenMode : ConfigService.Load().FullscreenMode; - done.SetResult(new Snapshot(_vm.IsConsoleActive, _vm.IsRestoring, mode)); - } - catch (Exception ex) - { - done.SetException(ex); - } - }); - if (!queued) done.SetException(new InvalidOperationException("dispatcher unavailable")); - return done.Task; - } - - private async Task WaitForAsync(Func condition, TimeSpan limit, CancellationToken token) - { - var deadline = DateTime.UtcNow + limit; - await Task.Delay(300, token); - while (DateTime.UtcNow < deadline) - { - if (condition(await SnapshotAsync())) return true; - await Task.Delay(500, token); - } - return condition(await SnapshotAsync()); - } - - private async Task ReplyAsync(bool ok, string? error = null) - { - var s = await SnapshotAsync(); - var version = UpdateService.CurrentVersion; - return ControlProtocol.Reply(ok, error, s.Active, s.Restoring, s.Mode, version); - } -} diff --git a/src/ConsoleMode/Services/ControlProtocol.cs b/src/ConsoleMode/Services/ControlProtocol.cs deleted file mode 100644 index bb39af08..00000000 --- a/src/ConsoleMode/Services/ControlProtocol.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System.Text; -using System.Text.Json; - -namespace ConsoleMode.Services; - -/// -/// Wire format of the local control API (): one JSON line in, -/// one JSON line out. Kept free of app state so it can be unit-tested. -/// -/// → {"cmd":"status"} // or "start", "stop", "show" -/// ← {"ok":true,"active":true,"restoring":false,"mode":"xboxMode","version":"1.5.0"} -/// -/// -public static class ControlProtocol -{ - public const string Status = "status"; - public const string Start = ProtocolService.StartAction; - public const string Stop = ProtocolService.StopAction; - public const string Show = ProtocolService.ShowAction; - - /// The command of a request line, lower-cased; "" when the line isn't one. - public static string ParseCommand(string? line) - { - if (string.IsNullOrWhiteSpace(line)) return ""; - try - { - using var doc = JsonDocument.Parse(line); - if (doc.RootElement.ValueKind != JsonValueKind.Object || - !doc.RootElement.TryGetProperty("cmd", out var cmd) || - cmd.ValueKind != JsonValueKind.String) - return ""; - var value = (cmd.GetString() ?? "").Trim().ToLowerInvariant(); - return value is Status or Start or Stop or Show ? value : ""; - } - catch (JsonException) - { - return ""; - } - } - - public static string Reply(bool ok, string? error, bool active, bool restoring, string mode, string version) - { - using var buffer = new MemoryStream(); - using (var json = new Utf8JsonWriter(buffer)) - { - json.WriteStartObject(); - json.WriteBoolean("ok", ok); - if (error is not null) json.WriteString("error", error); - json.WriteBoolean("active", active); - json.WriteBoolean("restoring", restoring); - json.WriteString("mode", mode); - json.WriteString("version", version); - json.WriteEndObject(); - } - return Encoding.UTF8.GetString(buffer.ToArray()); - } -} diff --git a/src/ConsoleMode/Services/DisplayBackend.cs b/src/ConsoleMode/Services/DisplayBackend.cs index 46e80069..3540570b 100644 --- a/src/ConsoleMode/Services/DisplayBackend.cs +++ b/src/ConsoleMode/Services/DisplayBackend.cs @@ -5,7 +5,7 @@ namespace ConsoleMode.Services; /// -/// Single display commands through Windows' own APIs: CCD, ChangeDisplaySettingsEx and DDC/CI +/// Single display commands through Windows' own APIs: CCD, ChangeDisplaySettingsEx /// (issue #91). keeps the orchestration (retries, waits, fallbacks). /// internal sealed class DisplayBackend @@ -115,8 +115,6 @@ public Dictionary> ResolveLayout(Dictionary names) => NativeDisplays.Disable(names); public void SetPrimary(string name) => CcdHelper.SetPrimary(name); public int SetPositions(IReadOnlyDictionary positions) => CcdHelper.SetPositions(positions); - public void PowerOn(string name) => NativeDisplays.SetPower(name, on: true); - public void PowerOff(string name) => NativeDisplays.SetPower(name, on: false); public void SetMode(string name, int width, int height, int frequency, string? colors, int? x, int? y, bool primary) { diff --git a/src/ConsoleMode/Services/EmbeddedFiles.cs b/src/ConsoleMode/Services/EmbeddedFiles.cs index 6b7c3e55..06d24e35 100644 --- a/src/ConsoleMode/Services/EmbeddedFiles.cs +++ b/src/ConsoleMode/Services/EmbeddedFiles.cs @@ -4,15 +4,6 @@ namespace ConsoleMode.Services; public static class EmbeddedFiles { - public static void ExtractTools(string toolsDir) - { - Directory.CreateDirectory(toolsDir); - foreach (var name in new[] { "rtss-cli.exe" }) - { - Extract($"ConsoleMode.Tools.{name}", Path.Combine(toolsDir, name)); - } - } - public static string? ExtractIcon(string destPath) { return Extract("ConsoleMode.Assets.icon.ico", destPath) ? destPath : null; diff --git a/src/ConsoleMode/Services/GameProfiles.cs b/src/ConsoleMode/Services/GameProfiles.cs deleted file mode 100644 index a60c589f..00000000 --- a/src/ConsoleMode/Services/GameProfiles.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System.Text.RegularExpressions; -using ConsoleMode.Models; - -namespace ConsoleMode.Services; - -public enum GameChange { None, Started, Ended, Switched } - -/// -/// Pure rules for the per-game profiles (issue #69): noticing when a Steam game starts or closes, -/// keeping the list, finding a game's name, and the one-line summary the settings show. -/// -public static partial class GameProfiles -{ - /// What happened between two reads of Steam's running game. An unknown read (null) changes nothing. - public static GameChange Change(int previous, int? current) - { - if (current is not { } now || now == previous) return GameChange.None; - if (previous == 0) return GameChange.Started; - return now == 0 ? GameChange.Ended : GameChange.Switched; - } - - public static GameProfile? Find(IEnumerable? profiles, int appId) => - appId <= 0 || profiles is null ? null : profiles.FirstOrDefault(p => p.SteamAppId == appId); - - /// The list with this game's profile added or replaced, sorted by name. - public static List Upsert(IEnumerable? profiles, GameProfile profile) => - [.. (profiles ?? []).Where(p => p.SteamAppId != profile.SteamAppId).Append(profile) - .OrderBy(p => p.Name, StringComparer.CurrentCultureIgnoreCase)]; - - public static List Remove(IEnumerable? profiles, int appId) => - [.. (profiles ?? []).Where(p => p.SteamAppId != appId)]; - - /// Whether a profile would change anything at all. - public static bool IsEmpty(GameProfile profile) => - profile.Mode is null && profile.Hdr is null && profile.FpsLimit is null && string.IsNullOrWhiteSpace(profile.AudioDeviceId); - - [GeneratedRegex("\"name\"\\s+\"(?(?:[^\"\\\\]|\\\\.)*)\"", RegexOptions.IgnoreCase)] - private static partial Regex NameLine(); - - [GeneratedRegex("\"path\"\\s+\"(?(?:[^\"\\\\]|\\\\.)*)\"", RegexOptions.IgnoreCase)] - private static partial Regex PathLine(); - - /// The game's name from its steamapps/appmanifest_ID.acf, or null. - public static string? ParseManifestName(string? acf) - { - if (string.IsNullOrWhiteSpace(acf)) return null; - var match = NameLine().Match(acf); - var name = match.Success ? Unescape(match.Groups["v"].Value).Trim() : ""; - return name.Length > 0 ? name : null; - } - - /// Every Steam library folder listed in libraryfolders.vdf. - public static List ParseLibraryPaths(string? vdf) - { - if (string.IsNullOrWhiteSpace(vdf)) return []; - return [.. PathLine().Matches(vdf).Select(m => Unescape(m.Groups["v"].Value)).Where(p => p.Length > 0) - .Distinct(StringComparer.OrdinalIgnoreCase)]; - } - - /// "3840 × 2160 @ 120 Hz · HDR on · 60 FPS · LG TV": only what the profile changes. - public static string Summary(GameProfile profile, string hdrOn, string hdrOff, string noLimit, string nothing) - { - var parts = new List(); - if (profile.Mode is { Width: > 0, Height: > 0 } mode) - parts.Add(mode.Frequency > 0 ? $"{mode.Width} × {mode.Height} @ {mode.Frequency} Hz" : $"{mode.Width} × {mode.Height}"); - if (profile.Hdr is { } hdr) parts.Add(hdr ? hdrOn : hdrOff); - if (profile.FpsLimit is { } fps) parts.Add(fps > 0 ? $"{fps} FPS" : noLimit); - if (!string.IsNullOrWhiteSpace(profile.AudioDeviceName)) parts.Add(profile.AudioDeviceName!); - return parts.Count == 0 ? nothing : string.Join(" · ", parts); - } - - private static string Unescape(string value) => value.Replace("\\\\", "\\").Replace("\\\"", "\""); -} diff --git a/src/ConsoleMode/Services/HardwareMonitor.cs b/src/ConsoleMode/Services/HardwareMonitor.cs deleted file mode 100644 index 76286dd9..00000000 --- a/src/ConsoleMode/Services/HardwareMonitor.cs +++ /dev/null @@ -1,58 +0,0 @@ -using ConsoleMode.Native; - -namespace ConsoleMode.Services; - -/// -/// CPU, GPU and memory for the FPS counter (RtssOverlay), from Windows' own counters and the display -/// driver: nothing to install and no admin. Sample() is meant to be called about once a second; -/// usages need two samples, so the first one has them empty. -/// -public sealed class HardwareMonitor : IDisposable -{ - private readonly PerfCounters _pdh = new(); - private readonly nint _cpuUsage; - private readonly nint _cpuPerformance; - private readonly nint _cpuFrequency; - private readonly nint _gpuEngines; - private readonly nint _gpuDedicated; - - public HardwareMonitor() - { - // "% Processor Utility" is what Task Manager shows (it counts turbo); older systems lack it. - _cpuUsage = _pdh.Add(@"\Processor Information(_Total)\% Processor Utility"); - if (_cpuUsage == 0) _cpuUsage = _pdh.Add(@"\Processor Information(_Total)\% Processor Time"); - // Effective clock = base frequency × % performance, Task Manager's "Speed". - _cpuPerformance = _pdh.Add(@"\Processor Information(_Total)\% Processor Performance"); - _cpuFrequency = _pdh.Add(@"\Processor Information(_Total)\Processor Frequency"); - _gpuEngines = _pdh.Add(@"\GPU Engine(*)\Utilization Percentage"); - _gpuDedicated = _pdh.Add(@"\GPU Adapter Memory(*)\Dedicated Usage"); - _pdh.Collect(); - } - - public HardwareSample Sample() - { - _pdh.Collect(); - - var frequency = _pdh.Read(_cpuFrequency); - var performance = _pdh.Read(_cpuPerformance); - var dedicated = _pdh.ReadAll(_gpuDedicated); - var gpu = GpuCounters.Busiest(_pdh.ReadAll(_gpuEngines), dedicated); - var kmt = gpu is { } a ? GpuKmt.Read(a.LuidLow, a.LuidHigh, a.Node) : default; - var (ramUsed, ramTotal) = SystemMemory.Read(); - - return new HardwareSample - { - CpuUsage = _pdh.Read(_cpuUsage) is { } cpu ? Math.Clamp(cpu, 0, 100) : null, - CpuClockMhz = frequency is > 0 && performance is > 0 ? frequency * performance / 100 : null, - GpuUsage = gpu?.Usage, - GpuClockMhz = kmt.ClockMhz, - GpuTempC = kmt.TemperatureC, - VramUsedMb = gpu is { } g ? GpuCounters.DedicatedMb(dedicated, g.Key) : null, - VramTotalMb = kmt.DedicatedMb, - RamUsedMb = ramUsed, - RamTotalMb = ramTotal - }; - } - - public void Dispose() => _pdh.Dispose(); -} diff --git a/src/ConsoleMode/Services/HardwareStats.cs b/src/ConsoleMode/Services/HardwareStats.cs deleted file mode 100644 index 8a2e1aaa..00000000 --- a/src/ConsoleMode/Services/HardwareStats.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System.Globalization; -using System.Text.RegularExpressions; - -namespace ConsoleMode.Services; - -/// One reading of the PC for the FPS counter (HardwareMonitor). null = not available on this machine. -public sealed record HardwareSample -{ - public double? CpuUsage { get; init; } - public double? CpuClockMhz { get; init; } - public double? GpuUsage { get; init; } - public double? GpuClockMhz { get; init; } - public double? GpuTempC { get; init; } - public double? VramUsedMb { get; init; } - public double? VramTotalMb { get; init; } - public double? RamUsedMb { get; init; } - public double? RamTotalMb { get; init; } -} - -/// -/// Reads the "GPU Engine" / "GPU Adapter Memory" performance counter instances the way Task Manager -/// does: an adapter's usage is its busiest engine, each engine summed over every process. -/// -public static partial class GpuCounters -{ - /// The adapter the game runs on (the busiest one) and the engine node to read its clock from. - public readonly record struct Adapter(string Key, uint LuidLow, int LuidHigh, uint Node, double Usage); - - /// - /// : "\GPU Engine(*)\Utilization Percentage" instances, e.g. - /// pid_1234_luid_0x00000000_0x0000D1E4_phys_0_eng_0_engtype_3D. : - /// "\GPU Adapter Memory(*)\Dedicated Usage" (luid_…_phys_0), the tie-break when every GPU is idle. - /// - public static Adapter? Busiest(IEnumerable<(string Instance, double Value)> engines, IEnumerable<(string Instance, double Value)>? dedicated = null) - { - var perEngine = new Dictionary<(string Key, uint Node), (double Sum, bool Is3D)>(); - foreach (var (instance, value) in engines) - { - var m = EngineInstance().Match(instance); - if (!m.Success) continue; - var key = (AdapterKey(m), uint.Parse(m.Groups["node"].Value, CultureInfo.InvariantCulture)); - var is3D = string.Equals(m.Groups["type"].Value, "3D", StringComparison.OrdinalIgnoreCase); - perEngine[key] = perEngine.TryGetValue(key, out var e) ? (e.Sum + value, e.Is3D || is3D) : (value, is3D); - } - if (perEngine.Count == 0) return null; - - var memory = new Dictionary(StringComparer.OrdinalIgnoreCase); - foreach (var (instance, value) in dedicated ?? []) - { - var m = AdapterInstance().Match(instance); - if (m.Success) memory[AdapterKey(m)] = value; - } - - return perEngine.GroupBy(e => e.Key.Key) - .Select(g => - { - // The clock is read from the 3D engine (the one games load), else the busiest one. - var node = g.OrderByDescending(e => e.Value.Is3D).ThenBy(e => e.Key.Node).First().Key.Node; - var m = AdapterInstance().Match(g.Key); - return new Adapter(g.Key, Hex(m.Groups["low"].Value), (int)Hex(m.Groups["high"].Value), node, - Math.Clamp(g.Max(e => e.Value.Sum), 0, 100)); - }) - .OrderByDescending(a => a.Usage) - .ThenByDescending(a => memory.GetValueOrDefault(a.Key)) - .First(); - } - - /// "\GPU Adapter Memory(*)\Dedicated Usage" of one adapter, in MB. - public static double? DedicatedMb(IEnumerable<(string Instance, double Value)> dedicated, string adapterKey) - { - foreach (var (instance, value) in dedicated) - { - var m = AdapterInstance().Match(instance); - if (m.Success && string.Equals(AdapterKey(m), adapterKey, StringComparison.OrdinalIgnoreCase)) - return value / (1024 * 1024); - } - return null; - } - - private static string AdapterKey(Match m) => - $"luid_0x{m.Groups["high"].Value}_0x{m.Groups["low"].Value}_phys_{m.Groups["phys"].Value}".ToLowerInvariant(); - - private static uint Hex(string value) => uint.Parse(value, NumberStyles.HexNumber, CultureInfo.InvariantCulture); - - [GeneratedRegex(@"luid_0x(?[0-9A-Fa-f]{8})_0x(?[0-9A-Fa-f]{8})_phys_(?\d+)_eng_(?\d+)_engtype_(?.*)$")] - private static partial Regex EngineInstance(); - - [GeneratedRegex(@"luid_0x(?[0-9A-Fa-f]{8})_0x(?[0-9A-Fa-f]{8})_phys_(?\d+)")] - private static partial Regex AdapterInstance(); -} diff --git a/src/ConsoleMode/Services/LocalizationService.cs b/src/ConsoleMode/Services/LocalizationService.cs index 65fc5ac6..2fda0b1c 100644 --- a/src/ConsoleMode/Services/LocalizationService.cs +++ b/src/ConsoleMode/Services/LocalizationService.cs @@ -10,10 +10,7 @@ public static class LocalizationService { public const string PortugueseBrazil = "pt-BR"; public const string EnglishUnitedStates = "en-US"; - public const string SpanishSpain = "es-ES"; - public const string GermanGermany = "de-DE"; - public const string FrenchFrance = "fr-FR"; - public const string RussianRussia = "ru-RU"; + public const string ItalianItaly = "it-IT"; /// A UI language: its culture code and how it names itself in the language picker. public sealed record LanguageInfo(string Code, string NativeName); @@ -27,10 +24,7 @@ public sealed record LanguageInfo(string Code, string NativeName); [ new(PortugueseBrazil, "Português (Brasil)"), new(EnglishUnitedStates, "English (United States)"), - new(SpanishSpain, "Español"), - new(GermanGermany, "Deutsch"), - new(FrenchFrance, "Français"), - new(RussianRussia, "Русский") + new(ItalianItaly, "Italiano") ]; private static readonly IReadOnlyDictionary> Catalogs = @@ -145,28 +139,6 @@ internal void NotifyAll() public string HdrDescription => LocalizationService.Get(nameof(HdrDescription)); public string VrrCard => LocalizationService.Get(nameof(VrrCard)); public string VrrDescription => LocalizationService.Get(nameof(VrrDescription)); - public string FpsCard => LocalizationService.Get(nameof(FpsCard)); - public string FpsOverlayCard => LocalizationService.Get(nameof(FpsOverlayCard)); - public string FpsOverlayItems => LocalizationService.Get(nameof(FpsOverlayItems)); - public string FpsOverlayShowApi => LocalizationService.Get(nameof(FpsOverlayShowApi)); - public string FpsOverlayShowFps => LocalizationService.Get(nameof(FpsOverlayShowFps)); - public string FpsOverlayShowFrameTime => LocalizationService.Get(nameof(FpsOverlayShowFrameTime)); - public string FpsOverlaySingleLine => LocalizationService.Get(nameof(FpsOverlaySingleLine)); - public string FpsOverlayColor => LocalizationService.Get(nameof(FpsOverlayColor)); - public string FpsOverlayPcItems => LocalizationService.Get(nameof(FpsOverlayPcItems)); - public string FpsOverlayPcItemsDescription => LocalizationService.Get(nameof(FpsOverlayPcItemsDescription)); - public string FpsOverlayShowCpu => LocalizationService.Get(nameof(FpsOverlayShowCpu)); - public string FpsOverlayShowCpuClock => LocalizationService.Get(nameof(FpsOverlayShowCpuClock)); - public string FpsOverlayShowGpu => LocalizationService.Get(nameof(FpsOverlayShowGpu)); - public string FpsOverlayShowGpuClock => LocalizationService.Get(nameof(FpsOverlayShowGpuClock)); - public string FpsOverlayShowGpuTemp => LocalizationService.Get(nameof(FpsOverlayShowGpuTemp)); - public string FpsOverlayShowVram => LocalizationService.Get(nameof(FpsOverlayShowVram)); - public string FpsOverlayShowRam => LocalizationService.Get(nameof(FpsOverlayShowRam)); - public string FpsOverlaySize => LocalizationService.Get(nameof(FpsOverlaySize)); - public string FpsOverlayPosition => LocalizationService.Get(nameof(FpsOverlayPosition)); - public string FpsOverlayCardBackground => LocalizationService.Get(nameof(FpsOverlayCardBackground)); - public string FpsOverlayCardBackgroundDescription => LocalizationService.Get(nameof(FpsOverlayCardBackgroundDescription)); - public string FpsPlaceholder => LocalizationService.Get(nameof(FpsPlaceholder)); public string AppSection => LocalizationService.Get(nameof(AppSection)); public string StartupCard => LocalizationService.Get(nameof(StartupCard)); public string StartupDescription => LocalizationService.Get(nameof(StartupDescription)); @@ -254,9 +226,6 @@ internal void NotifyAll() public string HideIconsDescription => LocalizationService.Get(nameof(HideIconsDescription)); public string ParkPointerCard => LocalizationService.Get(nameof(ParkPointerCard)); public string ParkPointerDescription => LocalizationService.Get(nameof(ParkPointerDescription)); - public string GameProfilesCard => LocalizationService.Get(nameof(GameProfilesCard)); - public string GameProfilesDescription => LocalizationService.Get(nameof(GameProfilesDescription)); - public string GameProfileRow => LocalizationService.Get(nameof(GameProfileRow)); public string HideCursorCard => LocalizationService.Get(nameof(HideCursorCard)); public string HideCursorDescription => LocalizationService.Get(nameof(HideCursorDescription)); public string ControllerMouseRow => LocalizationService.Get(nameof(ControllerMouseRow)); @@ -279,21 +248,6 @@ internal void NotifyAll() public string OtherAppsStageBeta => LocalizationService.Get(nameof(OtherAppsStageBeta)); public string TvConfirmationCard => LocalizationService.Get(nameof(TvConfirmationCard)); public string TvConfirmationDescription => LocalizationService.Get(nameof(TvConfirmationDescription)); - public string TvSection => LocalizationService.Get(nameof(TvSection)); - public string TvControlCard => LocalizationService.Get(nameof(TvControlCard)); - public string TvHostCard => LocalizationService.Get(nameof(TvHostCard)); - public string TvHostDescription => LocalizationService.Get(nameof(TvHostDescription)); - public string TvMacCard => LocalizationService.Get(nameof(TvMacCard)); - public string TvMacDescription => LocalizationService.Get(nameof(TvMacDescription)); - public string TvHdmiCard => LocalizationService.Get(nameof(TvHdmiCard)); - public string TvHdmiDescription => LocalizationService.Get(nameof(TvHdmiDescription)); - public string TvInputCommandCard => LocalizationService.Get(nameof(TvInputCommandCard)); - public string TvInputCommandDescription => LocalizationService.Get(nameof(TvInputCommandDescription)); - public string TvRestoreCommandCard => LocalizationService.Get(nameof(TvRestoreCommandCard)); - public string TvTurnOffCard => LocalizationService.Get(nameof(TvTurnOffCard)); - public string TvTurnOffDescription => LocalizationService.Get(nameof(TvTurnOffDescription)); - public string TvTestCard => LocalizationService.Get(nameof(TvTestCard)); - public string TvTestDescription => LocalizationService.Get(nameof(TvTestDescription)); public string TutorialCard => LocalizationService.Get(nameof(TutorialCard)); public string TutorialDescription => LocalizationService.Get(nameof(TutorialDescription)); public string SessionTourCard => LocalizationService.Get(nameof(SessionTourCard)); diff --git a/src/ConsoleMode/Services/MonitorService.cs b/src/ConsoleMode/Services/MonitorService.cs index f3257682..8e2591c0 100644 --- a/src/ConsoleMode/Services/MonitorService.cs +++ b/src/ConsoleMode/Services/MonitorService.cs @@ -116,13 +116,6 @@ public RestoreResult RestoreBackup(ConsoleRuntimeState state) AppLog.Write($"Restore: telas com outro nome desde o backup: {string.Join(", ", moved.Select(kv => $"{kv.Key} → {kv.Value}"))}"); AppLog.Write($"Restore: iniciando (primário={ctx.OriginalPrimary}, foco={ctx.FocusMonitor}, focoInativo={ctx.FocusWasInactive}, esconder={string.Join('+', ctx.HideMonitors)})"); - if (ctx.HideStrategy == "turnOff" && ctx.HideMonitors.Count > 0) - { - foreach (var name in ctx.HideMonitors.Distinct()) - _backend.PowerOn(name); - Thread.Sleep(300); - } - // Screens that were on before the session come back; the ones that were off (the TV, usually) stay off. var monitorsToVerify = backupSpecs .Where(kv => IsBackupSpecActive(kv.Value)) @@ -292,7 +285,6 @@ public void EnableMonitors(IReadOnlyList names, bool windowsEnable) foreach (var name in names) { - _backend.PowerOn(name); _backend.Enable([name]); } MarkActive(names); @@ -319,12 +311,6 @@ public void DisableWindows(IReadOnlyList names) _backend.Disable(names); } - public void DisableDdc(IReadOnlyList names) - { - foreach (var name in names) - _backend.PowerOff(name); - } - public void ApplyFocusMode(string focusMonitor, SavedDisplayMode mode) { var monitors = GetMonitors(true); diff --git a/src/ConsoleMode/Services/ProtocolService.cs b/src/ConsoleMode/Services/ProtocolService.cs deleted file mode 100644 index be2ecc0c..00000000 --- a/src/ConsoleMode/Services/ProtocolService.cs +++ /dev/null @@ -1,61 +0,0 @@ -using Microsoft.Win32; - -namespace ConsoleMode.Services; - -/// -/// consolemode:// links (consolemode://start, consolemode://stop, consolemode://show) so -/// shortcuts, Stream Deck buttons, launchers and future widgets can drive the app. -/// Windows hands the URI to the exe as its first argument; the running instance is then -/// signalled the same way "--start" is. Registered per user, like StartupService. -/// -public static class ProtocolService -{ - public const string Scheme = "consolemode"; - public const string StartAction = "start"; - public const string StopAction = "stop"; - public const string ShowAction = "show"; - /// Opens the session menu (Stream Deck etc.); ignored when no session is running. - public const string MenuAction = "menu"; - - private const string ClassKey = @"Software\Classes\" + Scheme; - - /// The action named by a consolemode:// argument, or null when it isn't one. - public static string? ParseAction(string? argument) - { - if (string.IsNullOrWhiteSpace(argument) || - !argument.StartsWith(Scheme + ":", StringComparison.OrdinalIgnoreCase)) - return null; - - // "consolemode://start/", "consolemode:start" and "consolemode://START?x=1" all mean start. - var rest = argument[(Scheme.Length + 1)..].TrimStart('/'); - var end = rest.IndexOfAny(['/', '?', '#']); - var action = (end < 0 ? rest : rest[..end]).Trim().ToLowerInvariant(); - return action is StartAction or StopAction or ShowAction or MenuAction ? action : null; - } - - /// Points the scheme at this exe; a no-op when it already does (portable moves included). - public static void EnsureRegistered() - { - try - { - var exe = Environment.ProcessPath; - if (string.IsNullOrEmpty(exe)) return; - var command = $"\"{exe}\" \"%1\""; - - using var existing = Registry.CurrentUser.OpenSubKey(ClassKey + @"\shell\open\command"); - if (existing?.GetValue(null) is string current && string.Equals(current, command, StringComparison.OrdinalIgnoreCase)) - return; - - using var key = Registry.CurrentUser.CreateSubKey(ClassKey, writable: true); - key.SetValue(null, "URL:Console Mode"); - key.SetValue("URL Protocol", ""); - using (var icon = key.CreateSubKey("DefaultIcon")) icon.SetValue(null, $"\"{exe}\",0"); - using (var open = key.CreateSubKey(@"shell\open\command")) open.SetValue(null, command); - AppLog.Write($"Protocolo: {Scheme}:// registrado para {exe}"); - } - catch (Exception ex) - { - AppLog.Write($"Protocolo: não foi possível registrar {Scheme}://: {ex.Message}"); - } - } -} diff --git a/src/ConsoleMode/Services/RtssOverlay.cs b/src/ConsoleMode/Services/RtssOverlay.cs deleted file mode 100644 index 5f2f445a..00000000 --- a/src/ConsoleMode/Services/RtssOverlay.cs +++ /dev/null @@ -1,248 +0,0 @@ -using System.Globalization; -using System.Text; -using System.Text.RegularExpressions; - -namespace ConsoleMode.Services; - -/// -/// How our FPS counter looks (Settings → FPS counter). Size, card and color apply to every style; -/// the items and the one-line layout are what Custom shows. -/// -public sealed class FpsOverlayLayout -{ - public bool ShowApi { get; set; } = true; - public bool ShowFps { get; set; } = true; - public bool ShowFrameTime { get; set; } = true; - public bool ShowCpu { get; set; } - public bool ShowCpuClock { get; set; } - public bool ShowGpu { get; set; } - public bool ShowGpuClock { get; set; } - public bool ShowGpuTemp { get; set; } - public bool ShowVram { get; set; } - public bool ShowRam { get; set; } - /// Everything on one line instead of one row per group. - public bool SingleLine { get; set; } - /// RRGGBB of the numbers; one of . - public string Color { get; set; } = RtssOverlay.Colors[0]; - /// One of . - public string Size { get; set; } = RtssOverlay.Small; - /// Draw the counter on a translucent rounded card instead of straight over the game. - public bool Card { get; set; } = true; - /// One of : where RTSS puts its OSD, or a corner of the screen. - public string Position { get; set; } = RtssOverlay.PositionRtss; -} - -/// -/// Our FPS counter on the game, drawn by RTSS in its own OSD slot (). -/// Every style except takes the screen: MSI Afterburner's OSD is hidden -/// while it is on, so "Off" really means nothing on screen. External leaves Afterburner/RTSS alone. -/// FPS and frame time come from RTSS itself; CPU, GPU and memory from a , -/// so styles that show them are rewritten every second (). -/// -public static partial class RtssOverlay -{ - public const string External = "external"; - public const string Off = "off"; - /// Only the FPS. Its id is "compact", the name this style had up to 1.6.0, so saved configs keep it. - public const string FpsOnly = "compact"; - /// FPS plus CPU, GPU and RAM usage on one line. - public const string Compact = "stats"; - public const string Detailed = "detailed"; - public const string Custom = "custom"; - - /// szOSDOwner of our slot. - public const string Owner = "ConsoleMode"; - - /// Menu order; External first, the default, so nobody's Afterburner disappears unasked. - public static readonly string[] Styles = [External, Off, FpsOnly, Compact, Detailed, Custom]; - - /// White, blue, green, yellow, orange. - public static readonly string[] Colors = ["FFFFFF", "4CC2FF", "6FE07A", "FFD54A", "FF8A3D"]; - - public const string Small = "small"; - public const string Medium = "medium"; - public const string Large = "large"; - public static readonly string[] Sizes = [Small, Medium, Large]; - - public const string PositionRtss = "rtss"; - public const string TopLeft = "top-left"; - public const string TopRight = "top-right"; - public const string BottomLeft = "bottom-left"; - public const string BottomRight = "bottom-right"; - /// The RTSS position first (the default): it keeps whatever the user set in RTSS. - public static readonly string[] Positions = [PositionRtss, TopLeft, TopRight, BottomLeft, BottomRight]; - - public static string Normalize(string? style) => - Styles.FirstOrDefault(s => string.Equals(s, style, StringComparison.OrdinalIgnoreCase)) ?? External; - - /// Whether this style keeps Afterburner's OSD off the screen. - public static bool HidesOthers(string? style) => Normalize(style) != External; - - /// A color from the config, back to white if it isn't plain RRGGBB (it goes inside an RTSS tag). - public static string NormalizeColor(string? color) => - color is not null && HexColor().IsMatch(color) ? color.ToUpperInvariant() : Colors[0]; - - public static string NormalizeSize(string? size) => - Sizes.FirstOrDefault(s => string.Equals(s, size, StringComparison.OrdinalIgnoreCase)) ?? Small; - - public static string NormalizePosition(string? position) => - Positions.FirstOrDefault(p => string.Equals(p, position, StringComparison.OrdinalIgnoreCase)) ?? PositionRtss; - - /// Whether the style shows CPU/GPU/memory, which RTSS doesn't know: the text then needs a fresh sample every second. - public static bool NeedsHardware(string? style, FpsOverlayLayout? layout = null) => - (ItemsOf(Normalize(style), layout) & PcItems) != 0; - - [Flags] - private enum Item - { - None = 0, - Fps = 1, FrameTime = 2, Api = 4, - Cpu = 8, CpuClock = 16, Gpu = 32, GpuClock = 64, GpuTemp = 128, Vram = 256, Ram = 512 - } - - private const Item PcItems = Item.Cpu | Item.CpuClock | Item.Gpu | Item.GpuClock | Item.GpuTemp | Item.Vram | Item.Ram; - - private static Item ItemsOf(string style, FpsOverlayLayout? layout) - { - switch (style) - { - case FpsOnly: return Item.Fps; - case Compact: return Item.Fps | Item.Cpu | Item.Gpu | Item.Ram; - case Detailed: return Item.Fps | Item.FrameTime | Item.Api | PcItems; - case Custom: - layout ??= new FpsOverlayLayout(); - var items = Item.None; - if (layout.ShowFps) items |= Item.Fps; - if (layout.ShowFrameTime) items |= Item.FrameTime; - if (layout.ShowApi) items |= Item.Api; - if (layout.ShowCpu) items |= Item.Cpu; - if (layout.ShowCpuClock) items |= Item.CpuClock; - if (layout.ShowGpu) items |= Item.Gpu; - if (layout.ShowGpuClock) items |= Item.GpuClock; - if (layout.ShowGpuTemp) items |= Item.GpuTemp; - if (layout.ShowVram) items |= Item.Vram; - if (layout.ShowRam) items |= Item.Ram; - return items == Item.None ? Item.Fps : items; // nothing ticked still shows something - default: - return Item.None; - } - } - - // RTSS hypertext (SDK sample and OverlayEditor): / / define a - // variable, … / … / … use it ( and go back to 100% / default color). - // Sizes are percent, negative = sits on the baseline; widths are in characters, negative = right - // aligned, so numbers don't make the text jump. framerate, frametime and 3D API - // are filled in by RTSS. The card is a layer () with padding () whose background is a - // rounded bar (, 0,0 = the whole layer) drawn in C3; \b puts the cursor back on its origin. - private const string Value = "C0", Label = "C1", Accent = "C2", CardFill = "C3"; - private const string ValueSize = "S0", UnitSize = "S1", LabelSize = "S2", FpsSize = "S3"; - private const string LabelColor = "9AA4B2", AccentColor = "4CC2FF", CardColor = "C0101418"; - private const string Missing = "--"; - - /// - /// The OSD text for a style; empty for Off and External (nothing of ours on screen). - /// null = not measured yet: hardware values show as "--". - /// The text is Latin-1 (°), what RTSS's slot holds. - /// - public static string Text(string? style, FpsOverlayLayout? layout = null, HardwareSample? sample = null) - { - style = Normalize(style); - var items = ItemsOf(style, layout); - if (items == Item.None) return ""; - layout ??= new FpsOverlayLayout(); - var singleLine = style switch - { - FpsOnly or Compact => true, - Custom => layout.SingleLine, - _ => false - }; - - var scale = NormalizeSize(layout.Size) switch { Medium => 1.5, Large => 2.0, _ => 1.0 }; - var rows = new List(); - var game = new List(); - if (items.HasFlag(Item.Fps)) game.Add(Run(FpsSize, Value, "") + Run(UnitSize, Label, " FPS")); - if (items.HasFlag(Item.FrameTime)) game.Add(Run(ValueSize, Value, "") + Run(UnitSize, Label, " ms")); - if (items.HasFlag(Item.Api)) game.Add(Run(LabelSize, Accent, "")); - if (game.Count > 0) rows.Add(string.Join(Gap, game)); - - // Compact is one short line: RAM as a percentage, like the other two. - var ramAsPercent = style == Compact; - AddRow(rows, "CPU", singleLine, - items.HasFlag(Item.Cpu) ? Number(sample, sample?.CpuUsage, "F0", 3, "%") : null, - items.HasFlag(Item.CpuClock) ? Number(sample, sample?.CpuClockMhz / 1000, "F1", 3, " GHz") : null); - AddRow(rows, "GPU", singleLine, - items.HasFlag(Item.Gpu) ? Number(sample, sample?.GpuUsage, "F0", 3, "%") : null, - items.HasFlag(Item.GpuClock) ? Number(sample, sample?.GpuClockMhz, "F0", 4, " MHz") : null, - items.HasFlag(Item.GpuTemp) ? Number(sample, sample?.GpuTempC, "F0", 3, "°C") : null); - AddRow(rows, "VRAM", singleLine, - items.HasFlag(Item.Vram) ? Memory(sample, sample?.VramUsedMb, sample?.VramTotalMb, false) : null); - AddRow(rows, "RAM", singleLine, - items.HasFlag(Item.Ram) ? Memory(sample, sample?.RamUsedMb, sample?.RamTotalMb, ramAsPercent) : null); - if (rows.Count == 0) rows.Add(Run(FpsSize, Value, "") + Run(UnitSize, Label, " FPS")); - - var header = new StringBuilder() - .Append($"<{Value}={NormalizeColor(layout.Color)}><{Label}={LabelColor}><{Accent}={AccentColor}><{CardFill}={CardColor}>") - .Append($"<{ValueSize}={Percent(100, scale)}><{UnitSize}=-{Percent(55, scale)}><{LabelSize}=-{Percent(70, scale)}>") - .Append($"<{FpsSize}={Percent(singleLine ? 100 : 130, scale)}>") - .Append(""); - // A corner is a sticky position ( top left, top right, bottom left, bottom - // right of RTSS's 3x3 screen grid), which ignores the OSD position set in RTSS; it needs a layer. - var corner = NormalizePosition(layout.Position) switch - { - TopLeft => "", TopRight => "", BottomLeft => "", BottomRight => "", _ => "" - }; - header.Append(corner); - if (layout.Card) - { - var pad = (int)Math.Round(6 * scale); - header.Append($"<{CardFill}>\b"); - } - else if (corner.Length > 0) - { - header.Append(""); - } - return header + string.Join(singleLine ? Gap + Gap : "\n", rows); - } - - private static string Gap => Run(LabelSize, Label, " "); - - private static string Run(string size, string color, string text) => $"<{size}><{color}>{text}"; - - private static string Percent(int percent, double scale) => - ((int)Math.Round(percent * scale)).ToString(CultureInfo.InvariantCulture); - - /// "CPU 45% 4.2 GHz": the label column is fixed-width when stacked so the values line up. - private static void AddRow(List rows, string label, bool singleLine, params string?[] values) - { - var shown = values.Where(v => !string.IsNullOrEmpty(v)).ToList(); - if (shown.Count == 0) return; - var name = singleLine ? Run(LabelSize, Label, label + " ") : $"<{LabelSize}><{Label}>{label}"; - rows.Add(name + string.Join(Gap, shown)); - } - - /// A right-aligned value in a box of characters, then its unit. "" = not available here. - private static string Number(HardwareSample? sample, double? value, string format, int width, string unit) - { - string text; - if (sample is null) text = Missing; - else if (value is { } v && double.IsFinite(v)) text = v.ToString(format, CultureInfo.InvariantCulture); - else return ""; - var box = width >= 4 ? "A1" : "A0"; - return $"<{ValueSize}><{Value}><{box}>{text}" + Run(UnitSize, Label, unit); - } - - /// "5.2 / 8.0 GB", or a percentage on the Compact line. - private static string Memory(HardwareSample? sample, double? usedMb, double? totalMb, bool asPercent) - { - if (asPercent) - return Number(sample, usedMb is { } u && totalMb is > 0 ? u / totalMb * 100 : null, "F0", 3, "%"); - if (sample is null) return Number(null, null, "F1", 3, " GB"); - if (usedMb is not { } used) return ""; - var text = Number(sample, used / 1024, "F1", 3, ""); - var total = totalMb is > 0 ? " / " + (totalMb.Value / 1024).ToString("F0", CultureInfo.InvariantCulture) : ""; - return text + Run(UnitSize, Label, total + " GB"); - } - - [GeneratedRegex("^[0-9A-Fa-f]{6}$")] - private static partial Regex HexColor(); -} diff --git a/src/ConsoleMode/Services/RtssService.cs b/src/ConsoleMode/Services/RtssService.cs deleted file mode 100644 index 40a14d10..00000000 --- a/src/ConsoleMode/Services/RtssService.cs +++ /dev/null @@ -1,411 +0,0 @@ -using System.Diagnostics; -using System.IO.MemoryMappedFiles; -using System.Text.Json; -using ConsoleMode.Models; - -namespace ConsoleMode.Services; - -public sealed class RtssService -{ - private static readonly string[] InstallCandidates = - [ - Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), "RivaTuner Statistics Server", "RTSS.exe"), - Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "RivaTuner Statistics Server", "RTSS.exe") - ]; - - public bool IsInstalled => !string.IsNullOrWhiteSpace(GetInstallPath()); - public bool IsReady => IsInstalled && AppPaths.HasRtssCli; - - public string? GetInstallPath() => InstallCandidates.FirstOrDefault(File.Exists); - - public bool IsRunning() - { - foreach (var name in new[] { "RTSS", "RTSSHooksLoader64", "RTSSHooksLoader" }) - { - if (Process.GetProcessesByName(name).Length > 0) return true; - } - return false; - } - - public bool EnsureRunning() - { - if (IsRunning()) return true; - var exe = GetInstallPath(); - if (exe is null) return false; - try - { - Process.Start(new ProcessStartInfo { FileName = exe, WindowStyle = ProcessWindowStyle.Hidden, UseShellExecute = true }); - Thread.Sleep(1500); - return IsRunning(); - } - catch - { - return false; - } - } - - public OperationResult Enable(int fpsLimit, ConsoleRuntimeState state) - { - if (fpsLimit <= 0) return new OperationResult { Success = false }; - if (!IsInstalled) - return new OperationResult { Success = false, Message = "RivaTuner Statistics Server nao encontrado. Instale via MSI Afterburner para usar limite de FPS." }; - if (!AppPaths.HasRtssCli) - return new OperationResult { Success = false, Message = "rtss-cli.exe nao encontrado. Execute build\\Get-RtssCli.ps1." }; - if (!EnsureRunning()) - return new OperationResult { Success = false, Message = "Nao foi possivel iniciar o RivaTuner Statistics Server." }; - if (!Backup(state)) - return new OperationResult { Success = false, Message = "Nao foi possivel ler as configuracoes atuais do RTSS." }; - - try - { - Cli("limit:set", fpsLimit.ToString()); - Cli("limiter:set", "1"); - state.FpsLimit = fpsLimit; - state.RtssLimitApplied = true; - return new OperationResult { Success = true, Message = $"Limite de FPS global definido para {fpsLimit} via RTSS." }; - } - catch (Exception ex) - { - state.RtssBackup = null; - return new OperationResult { Success = false, Message = $"Falha ao aplicar limite no RTSS: {ex.Message}" }; - } - } - - /// - /// Mid-session change from the session menu. Backs the user's settings up only the first - /// time (Enable may already have), so Restore still puts back what they had. 0 = no limit. - /// - public OperationResult SetLimit(int fpsLimit, ConsoleRuntimeState state) - { - if (!IsReady || !EnsureRunning()) - return new OperationResult { Success = false, Message = "RTSS indisponível." }; - if (SessionMenuMath.NeedsRtssBackup(state.RtssLimitApplied) && !Backup(state)) - return new OperationResult { Success = false, Message = "Nao foi possivel ler as configuracoes atuais do RTSS." }; - try - { - if (fpsLimit > 0) - { - Cli("limit:set", fpsLimit.ToString()); - Cli("limiter:set", "1"); - } - else - { - Cli("limiter:set", "0"); - } - state.FpsLimit = fpsLimit; - state.RtssLimitApplied = true; - return new OperationResult { Success = true }; - } - catch (Exception ex) - { - return new OperationResult { Success = false, Message = ex.Message }; - } - } - - public void Restore(ConsoleRuntimeState state) - { - var hasFile = File.Exists(AppPaths.BackupRtssFpsFile); - if (!state.RtssLimitApplied && !hasFile) return; - - var backup = state.RtssBackup; - if (backup is null && hasFile) - { - try { backup = JsonSerializer.Deserialize(File.ReadAllText(AppPaths.BackupRtssFpsFile), JsonUtil.Options); } - catch { /* ignore */ } - } - - try - { - if (AppPaths.HasRtssCli && EnsureRunning()) - { - if (backup is not null) - { - Cli("limit:set", backup.FramerateLimit.ToString()); - Cli("limiter:set", backup.LimiterEnabled ? "1" : "0"); - } - else - { - Cli("limiter:set", "0"); - } - } - } - catch (Exception ex) - { - AppLog.Write($"Nao foi possivel restaurar RTSS: {ex.Message}"); - } - finally - { - state.RtssLimitApplied = false; - state.RtssBackup = null; - if (hasFile) - { - try { File.Delete(AppPaths.BackupRtssFpsFile); } catch { /* ignore */ } - } - } - } - - /// - /// Shows our FPS counter (RtssOverlay.Text) in our own OSD slot, or clears that slot when - /// the text is empty. With , MSI Afterburner's OSD is kept hidden - /// meanwhile (see HideAfterburnerLoop): an empty text then means nothing on screen at all. - /// - public bool SetOverlay(string text, bool hideOthers) - { - StopTicker(); - return ShowOverlay(text, hideOthers); - } - - /// - /// Applies a style from . Styles with CPU/GPU/memory are rewritten every - /// second from a until the next SetOverlay/ApplyOverlay. - /// - public bool ApplyOverlay(string? style, FpsOverlayLayout? layout) - { - var generation = StopTicker(); - var text = RtssOverlay.Text(style, layout); - if (!ShowOverlay(text, RtssOverlay.HidesOthers(style))) return false; - if (text.Length > 0 && RtssOverlay.NeedsHardware(style, layout)) - new Thread(() => TickOverlay(generation, style, layout)) { IsBackground = true, Name = "RTSS counter" }.Start(); - return true; - } - - private readonly object _slotLock = new(); - private int _overlayGeneration; - - /// Ends the running ticker (its next write sees a newer generation) and returns the new generation. - private int StopTicker() - { - lock (_slotLock) return ++_overlayGeneration; - } - - private void TickOverlay(int generation, string? style, FpsOverlayLayout? layout) - { - try - { - using var monitor = new HardwareMonitor(); - while (Volatile.Read(ref _overlayGeneration) == generation) - { - Thread.Sleep(1000); - var text = RtssOverlay.Text(style, layout, monitor.Sample()); - // Checked under the lock so a session that just ended can't get the counter back. - lock (_slotLock) - { - if (_overlayGeneration != generation) return; - WriteOverlaySlot(text); - } - } - } - catch (Exception ex) - { - AppLog.Write($"RTSS: o contador parou de atualizar CPU/GPU: {ex.Message}"); - } - } - - private bool ShowOverlay(string text, bool hideOthers) - { - if (string.IsNullOrEmpty(text)) - { - WriteOverlaySlot(null); - // Off doesn't start RTSS just to hide something that isn't there. - if (hideOthers && IsRunning()) HideAfterburner(); - else _hideAfterburner = false; - return true; - } - if (!EnsureRunning()) return false; - // Right after RTSS starts its shared memory may not be there yet. - for (var attempt = 0; attempt < 10; attempt++) - { - if (WriteOverlaySlot(text)) - { - if (hideOthers) HideAfterburner(); - else _hideAfterburner = false; - return true; - } - Thread.Sleep(300); - } - return false; - } - - private volatile bool _hideAfterburner; - private Thread? _afterburnerHider; - - private void HideAfterburner() - { - _hideAfterburner = true; - if (_afterburnerHider is { IsAlive: true }) return; - _afterburnerHider = new Thread(HideAfterburnerLoop) { IsBackground = true, Name = "RTSS Afterburner", Priority = ThreadPriority.AboveNormal }; - _afterburnerHider.Start(); - } - - /// - /// RTSS draws every slot and has no way to hide one, and Afterburner's own OSD hotkey turns off - /// the whole OSD (ours too). So, while our counter is on, empty Afterburner's slot text right - /// after each rewrite (it does one per polling period, ~1 s): at worst it shows for a frame. - /// Once we stop, its next rewrite brings it back by itself. - /// - private unsafe void HideAfterburnerLoop() - { - try - { - using var map = MemoryMappedFile.OpenExisting("RTSSSharedMemoryV2", MemoryMappedFileRights.ReadWrite); - using var view = map.CreateViewAccessor(0, 0, MemoryMappedFileAccess.ReadWrite); - byte* mem = null; - view.SafeMemoryMappedViewHandle.AcquirePointer(ref mem); - try - { - mem += view.PointerOffset; - var afterburner = System.Text.Encoding.ASCII.GetBytes(AfterburnerOwner); - var version = *(uint*)(mem + OffVersion); - var entrySize = *(uint*)(mem + OffOsdEntrySize); - var slot = mem + *(uint*)(mem + OffOsdArrOffset); // Afterburner keeps slot 0 - var hasEx2 = version >= 0x00020014 && entrySize > EntryOsdEx2; - while (_hideAfterburner && *(uint*)mem == Signature) - { - if (IsOwner(slot, afterburner) && (slot[EntryOsd] != 0 || slot[EntryOsdEx] != 0 || (hasEx2 && slot[EntryOsdEx2] != 0))) - { - slot[EntryOsd] = 0; - slot[EntryOsdEx] = 0; - if (hasEx2) slot[EntryOsdEx2] = 0; - Interlocked.Increment(ref *(int*)(mem + OffOsdFrame)); - } - Thread.Sleep(1); - } - } - finally - { - view.SafeMemoryMappedViewHandle.ReleasePointer(); - } - } - catch (FileNotFoundException) - { - // RTSS closed: nothing to hide - } - catch (Exception ex) - { - AppLog.Write($"RTSS: não foi possível esconder o OSD do Afterburner: {ex.Message}"); - } - } - - // RTSSSharedMemoryV2 (RTSS SDK, RTSSSharedMemory.h): header offsets and OSD entry layout. - private const uint Signature = 0x52545353; // 'RTSS' - private const int OffVersion = 4, OffOsdEntrySize = 20, OffOsdArrOffset = 24, OffOsdArrSize = 28, OffOsdFrame = 32, OffBusy = 36; - private const int EntryOsd = 0, EntryOwner = 256, EntryOsdEx = 512, OsdSize = 256, OwnerSize = 256, OsdExSize = 4096; - private const int EntryOsdEx2 = EntryOsdEx + OsdExSize + 262144; // after szOSDEx and the 256 KB object buffer - private const string AfterburnerOwner = "MSIAfterburner"; - - /// null = release our slot. Mirrors UpdateOSD/ReleaseOSD from the SDK sample. - private static unsafe bool WriteOverlaySlot(string? text) - { - try - { - using var map = MemoryMappedFile.OpenExisting("RTSSSharedMemoryV2", MemoryMappedFileRights.ReadWrite); - using var view = map.CreateViewAccessor(0, 0, MemoryMappedFileAccess.ReadWrite); - byte* mem = null; - view.SafeMemoryMappedViewHandle.AcquirePointer(ref mem); - try - { - mem += view.PointerOffset; - var version = *(uint*)(mem + OffVersion); - if (*(uint*)mem != Signature || version < 0x00020000) return false; - - var entrySize = *(uint*)(mem + OffOsdEntrySize); - var arrOffset = *(uint*)(mem + OffOsdArrOffset); - var arrSize = *(uint*)(mem + OffOsdArrSize); - var owner = System.Text.Encoding.ASCII.GetBytes(RtssOverlay.Owner); - var entries = mem + arrOffset; - - if (text is null) - { - // Slot 0 belongs to the primary client (Afterburner); third parties start at 1. - for (uint i = 1; i < arrSize; i++) - { - var entry = entries + i * entrySize; - if (!IsOwner(entry, owner)) continue; - new Span(entry, (int)entrySize).Clear(); - Interlocked.Increment(ref *(int*)(mem + OffOsdFrame)); - } - return true; - } - - // The slot we hold already, else the first free one. - byte* slot = null; - for (uint i = 1; i < arrSize && slot is null; i++) - if (IsOwner(entries + i * entrySize, owner)) slot = entries + i * entrySize; - for (uint i = 1; i < arrSize && slot is null; i++) - { - var entry = entries + i * entrySize; - if (entry[EntryOwner] != 0) continue; - owner.CopyTo(new Span(entry + EntryOwner, OwnerSize)); - slot = entry; - } - if (slot is null) return false; - - var bytes = System.Text.Encoding.Latin1.GetBytes(text); // RTSS's font has ° (0xB0) - var extended = version >= 0x00020007; - var target = new Span(slot + (extended ? EntryOsdEx : EntryOsd), extended ? OsdExSize : OsdSize); - // v2.14+: bit 0 of dwBusy locks the OSD while the renderer reads it. - var lockable = version >= 0x0002000e; - ref var busy = ref *(int*)(mem + OffBusy); - for (var spin = 0; lockable && (Interlocked.Or(ref busy, 1) & 1) != 0; spin++) - { - if (spin > 200) return false; - Thread.Sleep(1); - } - try - { - target.Clear(); - bytes.AsSpan(0, Math.Min(bytes.Length, target.Length - 1)).CopyTo(target); - } - finally - { - if (lockable) Interlocked.And(ref busy, ~1); - } - Interlocked.Increment(ref *(int*)(mem + OffOsdFrame)); - return true; - } - finally - { - view.SafeMemoryMappedViewHandle.ReleasePointer(); - } - } - catch (FileNotFoundException) - { - return false; // RTSS isn't running: nothing on screen to show or clear - } - catch (Exception ex) - { - AppLog.Write($"RTSS: não foi possível atualizar o contador de FPS: {ex.Message}"); - return false; - } - } - - private static unsafe bool IsOwner(byte* entry, byte[] owner) => - new ReadOnlySpan(entry + EntryOwner, owner.Length + 1).SequenceEqual([.. owner, (byte)0]); - - private bool Backup(ConsoleRuntimeState state) - { - if (!AppPaths.HasRtssCli || !EnsureRunning()) return false; - try - { - var limitRaw = Cli("limit:get"); - var limiterRaw = Cli("limiter:get"); - if (!int.TryParse(limitRaw, out var limit)) return false; - var limiterOn = limiterRaw == "1" || (int.TryParse(limiterRaw, out var n) && n != 0); - var backup = new RtssBackup - { - FramerateLimit = limit, - LimiterEnabled = limiterOn, - SavedAt = DateTime.Now.ToString("o") - }; - state.RtssBackup = backup; - File.WriteAllText(AppPaths.BackupRtssFpsFile, JsonSerializer.Serialize(backup, JsonUtil.Options)); - return true; - } - catch - { - return false; - } - } - - private static string Cli(params string[] args) => ProcessRunner.RunCapture(AppPaths.RtssCliPath, args); -} diff --git a/src/ConsoleMode/Services/SessionMenuMath.cs b/src/ConsoleMode/Services/SessionMenuMath.cs index 9e013056..4e953e76 100644 --- a/src/ConsoleMode/Services/SessionMenuMath.cs +++ b/src/ConsoleMode/Services/SessionMenuMath.cs @@ -16,7 +16,4 @@ public static string FormatElapsed(TimeSpan elapsed) ? $"{(int)elapsed.TotalHours} h {elapsed.Minutes:00} min" : $"{(int)elapsed.TotalMinutes} min"; } - - /// RTSS: back up the user's settings only the first time we touch them in a session. - public static bool NeedsRtssBackup(bool limitAlreadyApplied) => !limitAlreadyApplied; } diff --git a/src/ConsoleMode/Services/SessionMenuTour.cs b/src/ConsoleMode/Services/SessionMenuTour.cs index 527d9419..adef9b8b 100644 --- a/src/ConsoleMode/Services/SessionMenuTour.cs +++ b/src/ConsoleMode/Services/SessionMenuTour.cs @@ -10,8 +10,6 @@ public enum SessionTourStop Volume, /// Resolution, audio output and HDR together. Display, - /// FPS limit and counter together; only when the menu shows either. - Fps, Windows, BackToPc, Exit @@ -24,12 +22,11 @@ public enum SessionTourStop public static class SessionMenuTour { /// The stops, with the invite first when the tour is offered rather than asked for. - public static IReadOnlyList Stops(bool invite, bool fpsRows) + public static IReadOnlyList Stops(bool invite) { var stops = new List(); if (invite) stops.Add(SessionTourStop.Invite); stops.AddRange([SessionTourStop.BackToGame, SessionTourStop.ControlFs, SessionTourStop.Volume, SessionTourStop.Display]); - if (fpsRows) stops.Add(SessionTourStop.Fps); stops.AddRange([SessionTourStop.Windows, SessionTourStop.BackToPc, SessionTourStop.Exit]); return stops; } @@ -50,7 +47,6 @@ public static (int Number, int Total)? Progress(IReadOnlyList s SessionTourStop.ControlFs => "ControlFsCard", SessionTourStop.Volume => "VolumeRow", SessionTourStop.Display => "SessionTourDisplayTitle", - SessionTourStop.Fps => "SessionTourFpsTitle", SessionTourStop.Windows => "SessionWindowsCard", SessionTourStop.BackToPc => preview ? "CloseMenu" : "BackToPc", _ => "ExitConsoleMode" @@ -67,7 +63,6 @@ public static (int Number, int Total)? Progress(IReadOnlyList s SessionTourStop.ControlFs => "SessionTourControlFsBody", SessionTourStop.Volume => "SessionTourVolumeBody", SessionTourStop.Display => preview ? "SessionTourDisplayPreviewBody" : "SessionTourDisplayBody", - SessionTourStop.Fps => "SessionTourFpsBody", SessionTourStop.Windows => "SessionTourWindowsBody", SessionTourStop.BackToPc => preview ? "SessionTourCloseMenuBody" : "SessionTourBackToPcBody", _ => preview ? "SessionTourExitPreviewBody" : "SessionTourExitBody" diff --git a/src/ConsoleMode/Services/SteamSession.cs b/src/ConsoleMode/Services/SteamSession.cs index ffd893ae..3d2d4ad8 100644 --- a/src/ConsoleMode/Services/SteamSession.cs +++ b/src/ConsoleMode/Services/SteamSession.cs @@ -32,33 +32,6 @@ public static bool IsRunning() } } - /// - /// A game's name: Steam keeps it in the registry for most games, and always in the - /// appmanifest of the library it is installed in. Falls back to "Steam app ID". - /// - public static string GameName(int appId) - { - try - { - using var key = Registry.CurrentUser.OpenSubKey($@"{SteamKey}\Apps\{appId}"); - if (key?.GetValue("Name") is string name && !string.IsNullOrWhiteSpace(name)) return name.Trim(); - - var steam = Path.GetDirectoryName(FindSteamExe() ?? ""); - if (!string.IsNullOrWhiteSpace(steam)) - { - var vdf = Path.Combine(steam, "steamapps", "libraryfolders.vdf"); - var libraries = File.Exists(vdf) ? GameProfiles.ParseLibraryPaths(File.ReadAllText(vdf)) : []; - foreach (var library in libraries.Prepend(steam)) - { - var manifest = Path.Combine(library, "steamapps", $"appmanifest_{appId}.acf"); - if (File.Exists(manifest) && GameProfiles.ParseManifestName(File.ReadAllText(manifest)) is { } found) return found; - } - } - } - catch (Exception ex) { AppLog.Write($"Steam: nome do jogo {appId}: {ex.Message}"); } - return $"Steam app {appId}"; - } - public static string? FindSteamExe() { try diff --git a/src/ConsoleMode/Services/Tv/AdbClient.cs b/src/ConsoleMode/Services/Tv/AdbClient.cs deleted file mode 100644 index 0feb4191..00000000 --- a/src/ConsoleMode/Services/Tv/AdbClient.cs +++ /dev/null @@ -1,205 +0,0 @@ -using System.Net.Sockets; -using System.Security.Cryptography; -using System.Text; - -namespace ConsoleMode.Services.Tv; - -/// -/// Minimal ADB client over TCP ("ADB debugging" / "network debugging" on the TV, port 5555): -/// connect, authenticate with this PC's key and run shell commands. -/// The first time, the TV asks "Allow debugging from this computer?"; with "Always allow" -/// ticked the key is remembered and later connections go straight through. -/// -public sealed class AdbClient : IAsyncDisposable -{ - private readonly TcpClient _tcp; - private readonly NetworkStream _stream; - private uint _nextLocalId = 1; - - private AdbClient(TcpClient tcp) - { - _tcp = tcp; - _stream = tcp.GetStream(); - } - - /// How long to wait for the user to accept the prompt on the TV. - public static async Task ConnectAsync(string host, int port, TimeSpan approvalTimeout, CancellationToken ct) - { - var tcp = new TcpClient { NoDelay = true }; - try - { - using (var connect = CancellationTokenSource.CreateLinkedTokenSource(ct)) - { - connect.CancelAfter(TimeSpan.FromSeconds(3)); - try - { - await tcp.ConnectAsync(host, port, connect.Token); - } - catch (OperationCanceledException) when (!ct.IsCancellationRequested) - { - throw new SocketException((int)SocketError.TimedOut); - } - } - var client = new AdbClient(tcp); - await client.HandshakeAsync(approvalTimeout, ct); - return client; - } - catch - { - tcp.Dispose(); - throw; - } - } - - public async Task ShellAsync(string command, CancellationToken ct) - { - var localId = _nextLocalId++; - uint remoteId = 0; - var output = new AdbShellOutput(); - await SendAsync(AdbProtocol.Open, localId, 0, AdbProtocol.ShellService(command), ct); - - while (true) - { - var message = await ReadAsync(ct); - if (message.Arg1 != localId) continue; - switch (message.Command) - { - case AdbProtocol.Okay: - remoteId = message.Arg0; - break; - case AdbProtocol.Write: - output.Append(message.Data); - await SendAsync(AdbProtocol.Okay, localId, message.Arg0, null, ct); - break; - case AdbProtocol.Close: - if (remoteId != 0) await SendAsync(AdbProtocol.Close, localId, remoteId, null, ct); - return output.ToString(); - } - } - } - - public ValueTask DisposeAsync() - { - _tcp.Dispose(); - return ValueTask.CompletedTask; - } - - private async Task HandshakeAsync(TimeSpan approvalTimeout, CancellationToken ct) - { - using var key = AdbKeyStore.LoadOrCreate(); - await SendAsync(AdbProtocol.Connect, AdbProtocol.Version, AdbProtocol.MaxPayload, AdbProtocol.ConnectBanner(), ct); - - var sentSignature = false; - var sentPublicKey = false; - while (true) - { - // After sending our public key the TV waits for someone to press "Allow". - using var wait = CancellationTokenSource.CreateLinkedTokenSource(ct); - wait.CancelAfter(sentPublicKey ? approvalTimeout : TimeSpan.FromSeconds(5)); - AdbProtocol.Message message; - try - { - message = await ReadAsync(wait.Token); - } - catch (OperationCanceledException) when (!ct.IsCancellationRequested) - { - if (sentPublicKey) throw new TvControlException(LocalizationService.Get("TvAdbNotAllowed")); - throw new IOException("ADB: a TV não respondeu ao handshake"); - } - - switch (message.Command) - { - case AdbProtocol.Connect: - return; - case AdbProtocol.StartTls: - // "Wireless debugging" (Android 11+ pairing) wraps ADB in TLS; the classic - // "ADB debugging"/"network debugging" on port 5555 doesn't. - throw new TvControlException(LocalizationService.Get("TvAdbTlsUnsupported")); - case AdbProtocol.Auth when message.Arg0 == AdbProtocol.AuthToken: - if (!sentSignature) - { - await SendAsync(AdbProtocol.Auth, AdbProtocol.AuthSignature, 0, AdbProtocol.SignToken(key, message.Data), ct); - sentSignature = true; - } - else if (!sentPublicKey) - { - AppLog.Write("TV: chave deste PC ainda não autorizada; aguardando \"Permitir\" na TV"); - var publicKey = AdbProtocol.EncodePublicKey(key.ExportParameters(false), $"ConsoleMode@{Environment.MachineName}"); - await SendAsync(AdbProtocol.Auth, AdbProtocol.AuthRsaPublicKey, 0, publicKey, ct); - sentPublicKey = true; - } - else - { - throw new TvControlException(LocalizationService.Get("TvAdbNotAllowed")); - } - break; - } - } - } - - private async Task SendAsync(uint command, uint arg0, uint arg1, byte[]? data, CancellationToken ct) => - await _stream.WriteAsync(AdbProtocol.Encode(command, arg0, arg1, data), ct); - - private async Task ReadAsync(CancellationToken ct) - { - var header = new byte[AdbProtocol.HeaderSize]; - await _stream.ReadExactlyAsync(header, ct); - var (command, arg0, arg1, length, checksum) = AdbProtocol.DecodeHeader(header); - var data = new byte[length]; - if (length > 0) await _stream.ReadExactlyAsync(data, ct); - AdbProtocol.ValidatePayload(checksum, data); - return new AdbProtocol.Message(command, arg0, arg1, data); - } -} - -/// -/// This PC's ADB key (RSA-2048), kept next to the config so the TV only asks once. -/// The private key is encrypted with DPAPI (see ): the portable -/// data folder travels with the exe, and the key lets whoever has it control the paired TV. -/// -internal static class AdbKeyStore -{ - private static readonly object Gate = new(); - - public static RSA LoadOrCreate() - { - lock (Gate) - { - var path = Path.Combine(AppPaths.DataDir, "adbkey.pem"); - if (File.Exists(path)) - { - var saved = RSA.Create(); - try - { - var stored = File.ReadAllText(path).Trim(); - if (SecretProtector.TryUnprotect(stored, out var pem) && pem.Length > 0) - { - saved.ImportFromPem(pem); - if (saved.KeySize == 2048) - { - // A key written before encryption existed: protect it in place. - if (!SecretProtector.IsProtected(stored)) File.WriteAllText(path, SecretProtector.Protect(pem)); - return saved; - } - } - else - { - // Copied from another Windows user / PC: DPAPI can't open it. A new key just - // means the TV asks "Allow debugging?" once more. - AppLog.Write("TV: chave ADB de outro usuário/PC; criando outra (a TV pedirá permissão de novo)"); - } - } - catch (Exception ex) when (ex is CryptographicException or ArgumentException or IOException) - { - AppLog.Write($"TV: chave ADB ilegível, criando outra: {ex.Message}"); - } - saved.Dispose(); - } - - var created = RSA.Create(2048); - File.WriteAllText(path, SecretProtector.Protect(created.ExportPkcs8PrivateKeyPem())); - AppLog.Write("TV: chave ADB criada"); - return created; - } - } -} diff --git a/src/ConsoleMode/Services/Tv/AdbProtocol.cs b/src/ConsoleMode/Services/Tv/AdbProtocol.cs deleted file mode 100644 index 1b4e8f93..00000000 --- a/src/ConsoleMode/Services/Tv/AdbProtocol.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System.Buffers.Binary; -using System.Numerics; -using System.Security.Cryptography; -using System.Text; - -namespace ConsoleMode.Services.Tv; - -/// -/// The pieces of the ADB wire protocol (the one adb connect speaks to port 5555) that -/// Console Mode needs to send key presses to an Android TV / Google TV, without shipping adb.exe. -/// Pure logic: framing, the auth signature and Android's public key format. -/// -public static class AdbProtocol -{ - public const uint Connect = 0x4e584e43; // CNXN - public const uint Auth = 0x48545541; // AUTH - public const uint Open = 0x4e45504f; // OPEN - public const uint Okay = 0x59414b4f; // OKAY - public const uint Close = 0x45534c43; // CLSE - public const uint Write = 0x45545257; // WRTE - public const uint StartTls = 0x534c5453; // STLS - - public const uint AuthToken = 1; - public const uint AuthSignature = 2; - public const uint AuthRsaPublicKey = 3; - - /// Version with the payload checksum, which every device still accepts. - public const uint Version = 0x01000000; - public const uint MaxPayload = 256 * 1024; - public const int MaxShellOutput = 1024 * 1024; - public const int HeaderSize = 24; - public const int DefaultPort = 5555; - - // android.view.KeyEvent codes. - public const int KeyWakeUp = 224; - public const int KeySleep = 223; - public const int KeyTvInputHdmi1 = 243; - - public readonly record struct Message(uint Command, uint Arg0, uint Arg1, byte[] Data); - - public static byte[] Encode(uint command, uint arg0, uint arg1, byte[]? data = null) - { - data ??= []; - var buffer = new byte[HeaderSize + data.Length]; - var span = buffer.AsSpan(); - BinaryPrimitives.WriteUInt32LittleEndian(span[0..], command); - BinaryPrimitives.WriteUInt32LittleEndian(span[4..], arg0); - BinaryPrimitives.WriteUInt32LittleEndian(span[8..], arg1); - BinaryPrimitives.WriteUInt32LittleEndian(span[12..], (uint)data.Length); - BinaryPrimitives.WriteUInt32LittleEndian(span[16..], Checksum(data)); - BinaryPrimitives.WriteUInt32LittleEndian(span[20..], command ^ 0xFFFFFFFF); - data.CopyTo(buffer, HeaderSize); - return buffer; - } - - /// Reads a header; returns the command, args and payload length. - public static (uint Command, uint Arg0, uint Arg1, int Length, uint Checksum) DecodeHeader(ReadOnlySpan header) - { - if (header.Length < HeaderSize) throw new InvalidDataException("ADB: cabeçalho curto"); - var command = BinaryPrimitives.ReadUInt32LittleEndian(header); - var magic = BinaryPrimitives.ReadUInt32LittleEndian(header[20..]); - if (magic != (command ^ 0xFFFFFFFF)) throw new InvalidDataException("ADB: cabeçalho inválido"); - var length = BinaryPrimitives.ReadUInt32LittleEndian(header[12..]); - if (length > MaxPayload) throw new InvalidDataException("ADB: mensagem grande demais"); - return (command, - BinaryPrimitives.ReadUInt32LittleEndian(header[4..]), - BinaryPrimitives.ReadUInt32LittleEndian(header[8..]), - (int)length, - BinaryPrimitives.ReadUInt32LittleEndian(header[16..])); - } - - public static void ValidatePayload(uint expectedChecksum, ReadOnlySpan data) - { - if (Checksum(data) != expectedChecksum) - throw new InvalidDataException("ADB: checksum do pacote inválido"); - } - - public static uint Checksum(ReadOnlySpan data) - { - uint sum = 0; - foreach (var b in data) sum += b; - return sum; - } - - /// "host::" banner sent with CNXN. - public static byte[] ConnectBanner() => Encoding.ASCII.GetBytes("host::\0"); - - public static byte[] ShellService(string command) => Encoding.UTF8.GetBytes($"shell:{command}\0"); - - /// - /// adb signs the 20-byte token as if it were a SHA-1 digest (RSA_sign with NID_sha1), - /// i.e. PKCS#1 v1.5 over the SHA-1 DigestInfo of the raw token. - /// - public static byte[] SignToken(RSA key, byte[] token) => - key.SignHash(token, HashAlgorithmName.SHA1, RSASignaturePadding.Pkcs1); - - /// - /// Android's RSAPublicKey struct (android_pubkey_encode), base64 encoded, followed by - /// " comment" and a NUL: what the TV shows in "Allow debugging from this computer?". - /// - public static byte[] EncodePublicKey(RSAParameters key, string comment) - { - var modulus = key.Modulus ?? throw new ArgumentException("modulus"); - var exponent = key.Exponent ?? throw new ArgumentException("exponent"); - if (modulus.Length != 256) throw new ArgumentException("ADB keys are RSA-2048"); - - var n = new BigInteger(modulus, isUnsigned: true, isBigEndian: true); - var n0 = BinaryPrimitives.ReadUInt32BigEndian(modulus.AsSpan(modulus.Length - 4)); - // Newton's iteration for the inverse of an odd number mod 2^32. - var inverse = n0; - for (var i = 0; i < 5; i++) inverse = unchecked(inverse * (2 - n0 * inverse)); - var n0Inverse = unchecked(0u - inverse); - var rr = BigInteger.ModPow(2, 2 * 2048, n); - - var buffer = new byte[4 + 4 + 256 + 256 + 4]; - var span = buffer.AsSpan(); - BinaryPrimitives.WriteUInt32LittleEndian(span, 256 / 4); - BinaryPrimitives.WriteUInt32LittleEndian(span[4..], n0Inverse); - WriteLittleEndian(n, span.Slice(8, 256)); - WriteLittleEndian(rr, span.Slice(264, 256)); - uint e = 0; - foreach (var b in exponent) e = (e << 8) | b; - BinaryPrimitives.WriteUInt32LittleEndian(span[520..], e); - - return Encoding.ASCII.GetBytes($"{Convert.ToBase64String(buffer)} {comment}\0"); - } - - /// "host" or "host:port" (default 5555). - public static (string Host, int Port) ParseEndpoint(string value) - { - var text = value.Trim(); - var colon = text.LastIndexOf(':'); - if (colon > 0 && text.IndexOf(':') == colon && int.TryParse(text[(colon + 1)..], out var port) && port is > 0 and < 65536) - return (text[..colon], port); - return (text, DefaultPort); - } - - /// Key code for "HDMI n" (1-4). - public static int HdmiKey(int input) => KeyTvInputHdmi1 + Math.Clamp(input, 1, 4) - 1; - - /// - /// What the TV gets when the desk comes back (issue #209): the user's command first (the TV's Home screen, - /// another HDMI input…), then standby if that is on. Empty when there is nothing to send. - /// - public static IReadOnlyList RestoreCommands(string? restoreCommand, bool standby) - { - var commands = new List(); - if (!string.IsNullOrWhiteSpace(restoreCommand)) commands.Add(restoreCommand.Trim()); - if (standby) commands.Add($"input keyevent {KeySleep}"); - return commands; - } - - private static void WriteLittleEndian(BigInteger value, Span destination) - { - destination.Clear(); - var bytes = value.ToByteArray(isUnsigned: true, isBigEndian: false); - bytes.AsSpan(0, Math.Min(bytes.Length, destination.Length)).CopyTo(destination); - } -} diff --git a/src/ConsoleMode/Services/Tv/AdbShellOutput.cs b/src/ConsoleMode/Services/Tv/AdbShellOutput.cs deleted file mode 100644 index dd94c3a6..00000000 --- a/src/ConsoleMode/Services/Tv/AdbShellOutput.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Text; - -namespace ConsoleMode.Services.Tv; - -/// Accumulates bounded output from a remote ADB shell command. -public sealed class AdbShellOutput -{ - private readonly StringBuilder _text = new(); - private int _bytes; - - public void Append(byte[] data) - { - if (data.Length > AdbProtocol.MaxShellOutput - _bytes) - throw new InvalidDataException("ADB: saída do comando excede o limite de 1 MiB"); - - _bytes += data.Length; - _text.Append(Encoding.UTF8.GetString(data)); - } - - public override string ToString() => _text.ToString(); -} diff --git a/src/ConsoleMode/Services/Tv/AndroidTvController.cs b/src/ConsoleMode/Services/Tv/AndroidTvController.cs deleted file mode 100644 index 471efcae..00000000 --- a/src/ConsoleMode/Services/Tv/AndroidTvController.cs +++ /dev/null @@ -1,44 +0,0 @@ -using ConsoleMode.Models; - -namespace ConsoleMode.Services.Tv; - -/// -/// Android TV / Google TV (TCL, Sony, Hisense, Philips…) over the network with ADB: -/// wake up, then the "HDMI n" key (or a custom command). Needs Developer options → -/// "USB debugging" / "Network debugging" on the TV; nothing to install on the PC. -/// -public sealed class AndroidTvController : ITvController -{ - public async Task TurnOnAsync(TvControlConfig config, TimeSpan approvalTimeout, CancellationToken ct) - { - await using var adb = await ConnectAsync(config, approvalTimeout, wakeOnLan: true, ct); - await adb.ShellAsync($"input keyevent {AdbProtocol.KeyWakeUp}", ct); - // Right after waking, some TVs drop the input key while the launcher loads. - await Task.Delay(1500, ct); - var inputCommand = string.IsNullOrWhiteSpace(config.InputCommand) - ? $"input keyevent {AdbProtocol.HdmiKey(config.HdmiInput)}" - : config.InputCommand.Trim(); - await adb.ShellAsync(inputCommand, ct); - } - - public async Task RestoreAsync(TvControlConfig config, CancellationToken ct) - { - var commands = AdbProtocol.RestoreCommands(config.RestoreCommand, config.TurnOffOnRestore); - if (commands.Count == 0) return; - await using var adb = await ConnectAsync(config, TimeSpan.FromSeconds(5), wakeOnLan: false, ct); - for (var i = 0; i < commands.Count; i++) - { - // A moment between the user's command and standby, or the TV may drop the second while it switches. - if (i > 0) await Task.Delay(1000, ct); - await adb.ShellAsync(commands[i], ct); - } - } - - private static Task ConnectAsync(TvControlConfig config, TimeSpan approvalTimeout, bool wakeOnLan, CancellationToken ct) - { - if (string.IsNullOrWhiteSpace(config.Host)) - throw new TvControlException(LocalizationService.Get("TvHostMissing")); - var (host, port) = AdbProtocol.ParseEndpoint(config.Host); - return TvNetwork.ConnectAsync(config, wakeOnLan, token => AdbClient.ConnectAsync(host, port, approvalTimeout, token), ct); - } -} diff --git a/src/ConsoleMode/Services/Tv/TvControlService.cs b/src/ConsoleMode/Services/Tv/TvControlService.cs deleted file mode 100644 index eab1ed09..00000000 --- a/src/ConsoleMode/Services/Tv/TvControlService.cs +++ /dev/null @@ -1,85 +0,0 @@ -using ConsoleMode.Models; - -namespace ConsoleMode.Services.Tv; - -/// One way of reaching the TV (network API, CEC adapter…). -public interface ITvController -{ - /// Turns the TV on and switches it to the PC's HDMI input. - Task TurnOnAsync(TvControlConfig config, TimeSpan approvalTimeout, CancellationToken ct); - - /// Puts the TV in standby. - Task RestoreAsync(TvControlConfig config, CancellationToken ct); -} - -/// A failure worth showing to the user as is (already localized). -public sealed class TvControlException(string message) : Exception(message); - -/// -/// Turns the TV on / to the PC's input when console mode starts and, optionally, puts it in -/// standby after the restore. A TV that doesn't answer never blocks or breaks console mode: -/// the engine only logs, and its own "wait for the game screen" check does the rest. -/// -public sealed class TvControlService -{ - /// Enough for a TV waking from deep standby (Wake-on-LAN) to answer. - private static readonly TimeSpan StartTimeout = TimeSpan.FromSeconds(30); - private static readonly TimeSpan StopTimeout = TimeSpan.FromSeconds(15); - private static readonly TimeSpan TestTimeout = TimeSpan.FromSeconds(90); - - /// Settings → Test: time to press "Allow" on the TV the first time. - public static readonly TimeSpan PairingTimeout = TimeSpan.FromSeconds(60); - - public static ITvController? Create(string provider) => provider switch - { - TvControlConfig.AndroidTv => new AndroidTvController(), - _ => null - }; - - /// Settings → Test. Throws with a message for the user. - public async Task TestAsync(TvControlConfig config, CancellationToken ct) - { - var controller = Create(config.Provider) ?? throw new TvControlException(LocalizationService.Get("TvNotConfigured")); - AppLog.Write($"TV: teste ({config.Provider})"); - using var timeoutCts = CancellationTokenSource.CreateLinkedTokenSource(ct); - timeoutCts.CancelAfter(TestTimeout); - try - { - await controller.TurnOnAsync(config, PairingTimeout, timeoutCts.Token); - } - catch (OperationCanceledException) when (!ct.IsCancellationRequested) - { - throw new TvControlException(LocalizationService.Get("TvTestTimedOut")); - } - } - - /// Called by the engine on its worker thread; never throws. - public void TurnOn(TvControlConfig config) => - Run(config, "ligar", StartTimeout, (c, tv, ct) => c.TurnOnAsync(tv, TimeSpan.FromSeconds(10), ct)); - - /// Called by the engine after the restore (the user's command, then standby if on); never throws. - public void Restore(TvControlConfig config) => - Run(config, "voltar ao PC", StopTimeout, (c, tv, ct) => c.RestoreAsync(tv, ct)); - - private static void Run(TvControlConfig config, string action, TimeSpan timeout, - Func work) - { - var controller = Create(config.Provider); - if (controller is null) return; - var started = DateTime.UtcNow; - try - { - using var cts = new CancellationTokenSource(timeout); - Task.Run(() => work(controller, config, cts.Token), cts.Token).GetAwaiter().GetResult(); - AppLog.Write($"TV: {action} ({config.Provider}) ok em {(DateTime.UtcNow - started).TotalSeconds:0.0}s"); - } - catch (OperationCanceledException) - { - AppLog.Write($"TV: {action} ({config.Provider}) sem resposta em {timeout.TotalSeconds:0}s"); - } - catch (Exception ex) - { - AppLog.Write($"TV: {action} ({config.Provider}) falhou: {ex.Message}"); - } - } -} diff --git a/src/ConsoleMode/Services/Tv/TvNetwork.cs b/src/ConsoleMode/Services/Tv/TvNetwork.cs deleted file mode 100644 index 42fea230..00000000 --- a/src/ConsoleMode/Services/Tv/TvNetwork.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System.Net.Sockets; -using ConsoleMode.Models; - -namespace ConsoleMode.Services.Tv; - -/// Connecting to a TV on the network, waking it with Wake-on-LAN when it's in deep standby. -public static class TvNetwork -{ - /// A TV woken by Wake-on-LAN takes a while to bring its network (and services) up. - private static readonly TimeSpan WakeWait = TimeSpan.FromSeconds(20); - - /// One connection attempt; throws a network error when nobody answers. - /// Send the magic packet (when a MAC is set) if the first attempt fails. - public static async Task ConnectAsync(TvControlConfig config, bool wakeOnLan, - Func> connect, CancellationToken ct) - { - try - { - return await connect(ct); - } - catch (Exception ex) when (IsUnreachable(ex) && wakeOnLan && WakeOnLan.TryParseMac(config.MacAddress, out var mac)) - { - // Deep standby: no network until the magic packet wakes the TV. - AppLog.Write($"TV: {config.Host} sem resposta; enviando Wake-on-LAN"); - await WakeOnLan.SendAsync(mac, ct); - } - catch (Exception ex) when (IsUnreachable(ex)) - { - throw Unreachable(config); - } - - var deadline = DateTime.UtcNow + WakeWait; - while (true) - { - await Task.Delay(2000, ct); - try - { - return await connect(ct); - } - catch (Exception ex) when (IsUnreachable(ex) && DateTime.UtcNow < deadline) - { - // Still booting; try again. - } - catch (Exception ex) when (IsUnreachable(ex)) - { - throw Unreachable(config); - } - } - } - - /// Nothing listening, no route, connect timeout or a TV that hung up mid-handshake. - public static bool IsUnreachable(Exception ex) => ex is SocketException or IOException; - - private static TvControlException Unreachable(TvControlConfig config) => - new(LocalizationService.Get("TvUnreachable", config.Host)); -} diff --git a/src/ConsoleMode/Services/Tv/WakeOnLan.cs b/src/ConsoleMode/Services/Tv/WakeOnLan.cs deleted file mode 100644 index 0a6857a6..00000000 --- a/src/ConsoleMode/Services/Tv/WakeOnLan.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.Globalization; -using System.Net; -using System.Net.Sockets; - -namespace ConsoleMode.Services.Tv; - -/// Wake-on-LAN "magic packet": 6 × 0xFF followed by the MAC address 16 times. -public static class WakeOnLan -{ - /// Accepts AA:BB:CC:DD:EE:FF, AA-BB-CC-DD-EE-FF or AABBCCDDEEFF. - public static bool TryParseMac(string? text, out byte[] mac) - { - mac = []; - if (string.IsNullOrWhiteSpace(text)) return false; - var hex = text.Trim().Replace(":", "").Replace("-", "").Replace(".", ""); - if (hex.Length != 12) return false; - - var bytes = new byte[6]; - for (var i = 0; i < 6; i++) - { - if (!byte.TryParse(hex.AsSpan(i * 2, 2), NumberStyles.HexNumber, CultureInfo.InvariantCulture, out bytes[i])) - return false; - } - mac = bytes; - return true; - } - - public static byte[] BuildPacket(byte[] mac) - { - if (mac.Length != 6) throw new ArgumentException("MAC must have 6 bytes", nameof(mac)); - var packet = new byte[6 + 16 * 6]; - Array.Fill(packet, (byte)0xFF, 0, 6); - for (var i = 0; i < 16; i++) mac.CopyTo(packet, 6 + i * 6); - return packet; - } - - /// Broadcasts the packet on the usual ports (9 and 7); a few sends in case one is lost. - public static async Task SendAsync(byte[] mac, CancellationToken ct) - { - var packet = BuildPacket(mac); - using var udp = new UdpClient { EnableBroadcast = true }; - for (var attempt = 0; attempt < 3; attempt++) - { - foreach (var port in new[] { 9, 7 }) - await udp.SendAsync(packet, new IPEndPoint(IPAddress.Broadcast, port), ct); - await Task.Delay(100, ct); - } - } -} diff --git a/src/ConsoleMode/Services/UpdateService.cs b/src/ConsoleMode/Services/UpdateService.cs index 50b9a13d..10d2c3c0 100644 --- a/src/ConsoleMode/Services/UpdateService.cs +++ b/src/ConsoleMode/Services/UpdateService.cs @@ -14,7 +14,7 @@ public sealed record UpdateInfo(string Version, string Name, string Notes, strin /// public static partial class UpdateService { - public const string Repository = "lippdev/consolemode"; + public const string Repository = "1r0n51uv/consolemode"; public const string SetupAssetPrefix = "ConsoleMode-Setup"; public const string PortableAssetPrefix = "ConsoleMode-Portable"; diff --git a/src/ConsoleMode/SessionMenuWindow.xaml b/src/ConsoleMode/SessionMenuWindow.xaml index 76e040cf..5fc43075 100644 --- a/src/ConsoleMode/SessionMenuWindow.xaml +++ b/src/ConsoleMode/SessionMenuWindow.xaml @@ -280,30 +280,6 @@ - - - - - - - - @@ -537,7 +520,7 @@ - @@ -547,7 +530,7 @@ - @@ -557,7 +540,7 @@ - @@ -567,18 +550,8 @@ - - - - @@ -668,13 +641,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -991,7 +823,7 @@ - +