Compare commits

..
Author SHA1 Message Date
The412Banner 17b578b7cf fix: Samsung boost retries a failed connection with reasons, and "not needed" when the game keeps up
- Samsung clocks: a failed connection is tried 4 times a session (again after 5, 15 and 30 s) and
  again at the next game, instead of staying off until the app restarts. Each failed try is in
  boost.log with the step it was on and the error ("failed while reading the service's level table
  (EOFException)", "the service did not connect within 3 s ..."). The summary lists every failed try.
  Only a phone without Samsung's firmware library is not asked again.
- The socket from a failed try is closed.
- Check the boost: when the game kept up without the boost for more than half of the boost's turns,
  the verdict is "not needed for this game" instead of a percentage that reads as a loss.
2026-11-01 17:05:34 +00:00
The412Banner 0d82557957 feat: Performance boost switch for any phone, with Samsung clock floors and a boost report
Settings > Performance > Boost gets two switches.

Performance boost: the game's busiest threads are named to Android's
performance hint service (ADPF), which moves them to the fastest cores
while the game falls behind (GameThreadHints, so far Odin 3 only). Now on
any Android 12+ phone; on by default only on the Odin 3, where it was
measured. On a Samsung phone it also holds Samsung's CPU, GPU and memory
bus clock floors through the performance service in Samsung's firmware
(SamsungPerf, no Samsung library in the app), renewed every 500 ms since
Samsung holds a request for at most a second. Both let go when the game
keeps up, the phone is too hot or battery saver is on.

boost.log in each session's logs: whether each part came on and can be
seen working (threads on the fastest cores, raised minimum clocks), a
status line every 30 s of play that says why the boost is off when it is,
and a summary.

Check the boost: the boost is on and paused in one-minute windows in the
order on, paused, paused, on (so a phone warming up favours neither side),
the first minute of play and 5 s after each switch are not counted, and
the summary ends with a verdict. No verdict when heat or battery saver
held the boost back for more than a quarter of its turns.
2026-11-01 01:31:15 +00:00
MaxsTechReview bfa61b5139 fix: "DroidDeck isn't responding" on dual-screen handhelds after the bottom screen sits idle (#1917)
The bottom-screen panel handed focus back to the main screen only when it opened or was touched within the last second. When the panel became the active screen later, the paused launcher kept no focused window, so controller input waited until Android reported the app as not responding. The panel now hands focus back whenever it becomes the active screen or gains window focus, unless bottom-screen typing is open or an app the launcher opened is in front.
2026-10-31 20:40:57 -04:00
MaxsTechReview 0a07926ef3 docs: DroidDeck 0.6.9 release notes (#1904)
* docs: DroidDeck 0.6.9 release notes

* docs: explain the banking app fix in the 0.6.9 notes

* docs: banking app line in the 0.6.9 summary

* docs: dual-screen line in the 0.6.9 summary

* docs: move the dual-screen line into the 0.6.9 intro

* Update release notes for version 0.6.9

Reformatted the release notes for clarity and improved readability.

* docs: add #1888 and #1896 to the 0.6.9 notes

* docs: add #1903 to the 0.6.9 notes
2026-10-31 13:58:57 -04:00
Kurt Himebauch b63feb5eaa fix: three-finger tap opens the keyboard in touchpad mode (#1903) 2026-10-31 13:55:03 -04:00
MaxsTechReview d691bcf832 chore: bump version to 0.6.9 (17) (#1902) 2026-10-31 13:54:30 -04:00
K11MCH1 583f34fc55 fix: stop importing games as Spacewar (480) and follow a changed Steam app id (#1896) 2026-10-31 13:36:43 -04:00
K11MCH1 88719f25d2 Games: launch options for Steam games in the Edit screen, shared with Steam's Properties (#1888) 2026-10-31 13:36:39 -04:00
MaxsTechReview ac132a23e2 fix: dual-screen update prompt survives a bottom-screen tap, home launcher stays out of Recents, Quest panel opens landscape (#1893)
* fix: dual-screen launcher keeps the update prompt on screen and stays out of Recents as home; Quest panel opens landscape

Outside screens the launcher opens (the update prompt, Settings, pickers) now hold the top screen when the bottom screen is touched, so a bottom-screen tap no longer buries the Android install prompt and leaves updates stuck waiting for confirmation (DD-368).

When DroidDeck is the home app its launcher task is excluded from Recents, so it can no longer be swiped closed; a running game session is still listed (DD-377).

The launcher declares a 1024x640 dp default panel size so Meta Quest opens it landscape again after the orientation manifest change in #1606 (DD-360).

* fix: Recents exclusion follows the top DroidDeck activity and only undoes its own change

The launcher task is hidden from Recents only while FrontEndActivity is on top, DroidDeck is home and no session runs; the file manager and a running session show it again, the check repeats when the launcher pauses, and tasks hidden by someone else are left alone.

* fix: Recents ownership survives process death and never claims a task someone else excluded
2026-10-31 09:21:49 -04:00
MaxsTechReview 85dd8beae1 zRAM: compress Battle.net with the Steam client while one of its games runs (#1882) 2026-10-31 08:10:57 -04:00
MaxsTechReview b07eca3c06 perf: .NET games keep the FEX preset's multiblock setting (Stardew Valley starts in 45 s instead of 85 s) (#1880)
perf: .NET games keep the FEX preset's multiblock setting
2026-10-31 00:17:09 -04:00
Kurt Himebauch 6eef0721c9 feat: the HUD is DroidDeck HUD, pinch resizes it, and pushing it off an edge docks it as an FPS tab (#1868) 2026-10-30 22:44:23 -04:00
Kurt Himebauch e3c3471d2f Update README (#1874) 2026-10-30 21:57:32 -04:00
MaxsTechReview a81d1a4d4e Ask for All files access when a USB drive is mounted but unreadable (#1872) 2026-10-30 21:21:26 -04:00
MaxsTechReview 28067b3bbe Run x86_64 Flatpak apps through FEX (#1875)
* Run x86_64 Flatpak apps through FEX

* proot: run an execveat with an absolute path like execve

* Find x86_64 Flatpak installs and resolve sandbox paths like the sandbox does
2026-10-30 21:21:22 -04:00
MaxsTechReview 8088e47d14 fix: "DroidDeck isn't responding" on dual-screen handhelds after the bottom screen takes focus (#1871) 2026-10-30 19:52:17 -04:00
MaxsTechReview 6673a892e2 fix: x86 Flatpak bundles are refused with a clear message instead of installing and failing to start (#1873) 2026-10-30 19:03:27 -04:00
MaxsTechReview 8cf01ebb77 fix: Linux games on an NTFS USB drive start the first time instead of failing to load a library (#1850)
* fix: a read-only file on a USB drive no longer fails to close the first time it is read

On the RedMagic Astra 2, Android's NTFS USB drive returns EIO from close() for a file opened read-only when that first read updates its access time; the update itself succeeds and the descriptor is released. The x86 loader under FEX treats a failed close as fatal, so every Linux game newly installed or updated on such a drive failed to start once (libfreetype.so.6: cannot close file descriptor: Input/output error). The session library's close() now reports success for EIO on read-only descriptors; errors on descriptors opened for writing are still returned.

* Check the read-write close still reports EIO
2026-10-30 18:36:08 -04:00
MaxsTechReview 7e47db2e2a fix: a game with a launch-option picker is no longer closed while the picker is open (MK11) (#1869)
fix: a game with a launch-option picker is no longer closed while the picker is open
2026-10-30 18:16:11 -04:00
MaxsTechReview 484afffffd Translate the strings added since the last translation pass (#1855)
* Translate the strings added since the last translation pass

* Fix translation wording from review

Use the Android settings labels for the pairing guide in bg, cs, da, de, fi, ru and zh-CN, correct the frame limit divisibility wording in de and nl, describe owned games without implying purchase in hi and ru, fix the VRAM label in es-419, describe GOG replacement files correctly in tr and name the Guide button in zh-CN.
2026-10-30 18:08:05 -04:00
MaxsTechReview 0b1af34a5f fix: library filter, sort and display menus aren't cut off in portrait (#1827)
* fix: library menus open toward the side with room, so in portrait they are no longer cut off

In portrait the Filter, Sort, Display and Collections buttons sit at the left of the screen, but their menus still grew to the left and were squeezed into the space before the button, cutting the labels. A menu now opens the other way when its own side is narrower than the menu and the other side has more room.

* fix: step-out menus keep their outline with the content when a resize flips the side

* fix: step-out menus still take keyboard focus when the layout shifts while opening
2026-10-30 17:04:59 -04:00
MaxsTechReview 2ff682a4f5 fix: a folder of games with an extra non-game folder still lists each game (Rance 01) (#1822)
* fix: a folder of games still splits into its games when it also holds a folder with no game, as with Rance 01 in a VNs folder

A visual-novel folder on game storage held a steamapps folder with no exe in it. The group check asked every subfolder to hold a game, so the whole folder stayed one game and a pick in Rance 01 switched that game instead of adding its own. Folders without a game and Steam library folders no longer count, and old games folders being moved to entries split such a folder the same way.

* Check a folder's own entry, removal and store ownership before splitting it, and keep folders with redist or extras as one game

An old Games folder that was removed keeps its games removed after the split, a folder already added stays as it is, and a store game's folder is never split.

* fix: a split games folder keeps the game it launched and that game's settings

When an old games folder entry is split into one entry per game, the
folder holding the selected exe is kept even if ranking left it out (or
the parent stays whole when the exe sits directly in it), and the
parent's name, app ID, launch options and other settings carry over to
that game without overwriting settings it already has.

* fix: a split games folder never migrates steamapps and keeps the launched exe

A saved exe under a steamapps or hidden folder keeps the old entry whole
instead of adding that folder as a game, and the game that inherits the
old entry's settings keeps the exe the old entry launched when nothing
was picked.
2026-10-30 16:58:23 -04:00
MaxsTechReview 18f6305977 fix: banking apps no longer refuse to open while DroidDeck is installed (#1824)
* fix: banking apps open again with DroidDeck installed; the shortcuts accessibility service is listed only once the user sets it up

0.6.7 added HomeButtonService, a key-filtering accessibility service, enabled in the manifest. Android lists it as an installed accessibility service on every phone, and banking apps such as UBS refuse to start while one from outside the Play Store is installed. The service is now disabled by default, turned on when the user opens the Shortcuts setup, turned back off if they leave it unset, and kept on for anyone who already uses it.

* Keep the shortcuts service declared and turn it off at start unless the user chose it, so an update never drops their choice

A failed read of the enabled-services setting now changes nothing.

* Hide the unchosen shortcuts service right after an update, before DroidDeck is opened

A package-replaced receiver in its own light process runs the same listing sync as startup. The manifest default stays enabled because Android drops an unavailable service from the enabled-services setting, which would erase the choice of users updating from 0.6.7.

* Hide the shortcuts service as soon as the user turns it off in Accessibility settings
2026-10-30 16:55:09 -04:00
MaxsTechReview 7bc3529722 fix(audio): DirectAudio no longer crackles where Android refuses low-latency output (#1862)
* fix(audio): DirectAudio no longer crackles where Android refuses low-latency output

On devices where Android won't give the game a low-latency output (AYN Thor,
Android 13), DirectAudio kept Wine's 10 ms period and 12 ms buffer. An
emulated game audio thread can't keep that pace there, so audio crackled.
The session now checks for low-latency output and, only when it is refused,
asks DirectAudio for a 20 ms period and a 60 ms buffer.

DirectAudio's settings are now AUDIO_DIRECT_* everywhere in DroidDeck and are
handed to the driver under the names it reads when DirectAudio is set up.
AUDIO_DIRECT_MS and AUDIO_DIRECT_PERIOD_MS can be set per game.

* fix(audio): game profile DirectAudio settings and the microphone-off setting reach the driver
2026-10-30 16:34:45 -04:00
Kurt Himebauch 9cc56631cd feat: test and local builds show a faint PR, commit and title watermark (#1863) 2026-10-30 15:29:41 -04:00
Kurt Himebauch a5b035b247 test: the required-status gate expects the skip-on-superseded condition (#1866) 2026-10-30 15:25:28 -04:00
MaxsTechReview a8cebd024b fix(ci): required-check test matches the gate's !cancelled() condition (#1864)
fix(ci): the required-check test expects the gate's !cancelled() condition
2026-10-30 15:20:30 -04:00
MaxsTechReview 7c49eef79f fix(dual-screen): keep the bottom-screen controls up while a game loads (#1840)
* fix(dual-screen): keep the bottom-screen controls up while a game loads

The session opened its bottom-screen trackpad only at the game's first frame. The launcher's bottom menu closes when a game starts, so on dual-screen handhelds the bottom screen showed whatever Android app was behind it for the whole load, which is long for Xbox games while Xodus prepares them. The controls now open when the session starts. Devices without a built-in second screen, and players who turned the in-game controls off, are unchanged.

* fix(dual-screen): pick the bottom-screen panel again once the session's controller is known

Opening the bottom-screen controls at session start can run before SessionService has prepared the Steam Deck pad, while SessionState.deckPad is still false, so the trackpad could be chosen where the Deck controls belong. That early choice is now provisional: at the game's first frame it switches to the panel the remembered choice and the real deckPad give, unless the player has already picked one.

* fix(dual-screen): keep the loading-time panel choice through PiP, background and new sessions

* fix(dual-screen): retry a terminal panel opened before it was ready and keep a manual close made during loading
2026-10-30 14:32:34 -04:00
Kurt Himebauch c8c5e22a34 fix: new Steam installs start with shader pre-caching off (#1861) 2026-10-30 14:17:45 -04:00
Kurt Himebauch fa4a54f64a Default game library to vertical covers (#1857) 2026-10-30 14:09:44 -04:00
MaxsTechReview 83980035c6 fix(desktop): video wallpapers no longer race ahead after DroidDeck returns from the background (#1833)
* fix(desktop): video wallpapers no longer race ahead after DroidDeck returns from the background

* test: give the vrclient loader harness the clock syscall hook
2026-10-30 13:58:49 -04:00
MaxsTechReview 8f7cdb7106 fix: Battle.net scales its windows to large desktops instead of opening tiny on high-resolution screens (#1832) 2026-10-30 13:58:44 -04:00
MaxsTechReview 9a1334b73b fix: on dual-screen handhelds DroidDeck no longer jumps back over apps opened from outside it (#1828)
fix: the bottom-screen panel no longer pulls DroidDeck back over an app opened on the main screen from outside DroidDeck

On dual-screen handhelds the panel took focus and moved DroidDeck's task forward whenever another app opened over it on the main screen, unless DroidDeck had opened that app itself. A frontend such as iisu, or Settings opened from a shortcut, was covered again within a fraction of a second. The panel now stops reclaiming once the launcher is paused, and starts again when it resumes.
2026-10-30 13:58:40 -04:00
MaxsTechReview ab949a4a5a fix(runtime): the x86-64 Steam client starts again on the Ubuntu runtime (liblzo2-2 for FEX) (#1825)
* fix(runtime): ship liblzo2-2 so the x86-64 Steam client can install FEX

FEX's unsquashfs links liblzo2. The Ubuntu runtime did not ship it, so the FEX check failed on every build, the x86-64 client was never set up, and the session went straight back to the home screen. Only phones with the desktop installed had it.

* fix: the x86-64 Steam client starts again after it updates itself under FEX

On its first start the x86-64 client downloads a 500 MB update and, under FEX, ends on an illegal instruction (rc=132) instead of asking for a restart with rc=42, so the session ended there. The client is started again once.
2026-10-30 13:58:35 -04:00
MaxsTechReview b91e8fdeab fix: a session in picture-in-picture draws at 30 fps instead of the full refresh (#1842)
* fix: a session in picture-in-picture draws at 30 fps instead of the full refresh

Since auto picture-in-picture became the default (#1727), pressing Home leaves the session running in a small window that takes no input. A game kept drawing at its full rate there: on a REDMAGIC Astra 2 Among Us in picture-in-picture drew 3.31 W, the same as playing it and about 1.05 W more than a suspended session. While in picture-in-picture the compositor now paces the session at 30 fps (or a lower limit already set). Mirroring to glasses keeps the glasses rate, and the display mode request ignores the picture-in-picture limit so the app in front is not slowed.

* fix: keep the no-argument output limit the glasses pacing tests read

* fix: hold scene renders to the output limit and keep frame generation off in picture-in-picture

A frame limit only paced dmabuf buffer releases, so a shared-memory client was still drawn on every vsync with its frame callbacks sent at the panel's rate. The vsync tick now waits until the limit's interval, less half a refresh, has passed since the last scene. Frame generation is disarmed while picture-in-picture is shown and armed again when it ends; frame generation requests are applied in order.

* Give the commit render harness the frame limit hold

* Hold scene renders to a frame limit deadline, also on the fallback timer, and keep frame generation for glasses mirroring in picture in picture
2026-10-30 13:29:10 -04:00
MaxsTechReview 021e7153fa fix: Automatic dual screen needs a real second touch panel (Odin keeps its side rail) (#1801)
* fix: AYN Odin handhelds are single-screen in automatic dual-screen mode

* Use a second screen only when more than one physical screen is lit, instead of excluding AYN models

* fix: open the session panel when the second screen turns on, and keep the On mode's display choice

* fix: let the session panel open again after its screen goes away and returns

* fix: Automatic dual screen needs a touchscreen for the second panel instead of counting lit displays

* fix: check the second screen again when a touchscreen comes back after the display

* fix: check the second screen again when a touchscreen is added or removed, and on resume

* Keep the second screen panel closed once the session has ended
2026-10-30 13:19:21 -04:00
Kurt Himebauch 524292f457 fix: drop the runtime installs on first Play chip from the Steam home (#1854) 2026-10-30 13:04:16 -04:00
Kurt Himebauch 92c1560f63 feat: Steam's sleep-after timers start every session as Disabled (#1848) 2026-10-30 12:13:12 -04:00
MaxsTechReview 41615d2460 fix: Steam's UI runs at the panel's full refresh rate again (#1841)
#1809 held Steam's own UI to an even share of the refresh near 60 fps whenever it had focus. On 120 Hz and faster screens Big Picture then felt locked at 60 while games ran at the full rate, and players reported it as a regression. The compositor now releases Steam UI buffers unpaced again, like a game's. The larger swapchain stays limited to games, so the client UI still uses gamescope's default image count.
2026-10-30 11:10:03 -04:00
Kurt Himebauch bc1a010411 fix: launching a game from a frontend starts it instead of sitting on the home screen (#1844) 2026-10-30 10:34:30 -04:00
MaxsTechReview d31f234f74 fix(xbox): games run from their own folder on the short drive, not the drive root (#1804)
* fix(xbox): keep the game in its own folder on the short drive instead of at the drive root

* fix(xbox): SD card Xbox games can read their own package files

Xodus mounts a store library on the selected SD card at /mnt/droiddeck-stores/<card> and links the launch view to it, but game sessions only bound that library as /mnt/droiddeck-sd. The links were dangling inside the game, so MicrosoftGame.Config, appxmanifest.xml and XCurl.dll could not be read and GDK games stopped with "Failed to initialize GDK". Game sessions now bind the same store roots Xodus uses.

* fix(xbox): give the SD Steam library its own store path when another store root shares the card

externalRootsForXodus added the selected Steam library's Games folder with the card's guest path even when another store root on the same card already used it, so both bound to one destination. It now takes a path-derived suffix in that case, the same way externalRoots separates its own roots.
2026-10-30 10:10:23 -04:00
FX1922 6ffe675a57 fix: match the game page's check for updates, uninstall and edit art buttons to the frosted design (#1831) 2026-10-30 09:31:05 -04:00
MaxsTechReview fb5af9d35e fix(runtime): cutscenes and in-game videos play again with DroidDeck-Proton (libva-drm2, libva-x11-2) (#1823)
fix(runtime): ship libva-drm2 and libva-x11-2 so DroidDeck-Proton's video demuxer loads

DroidDeck-Proton's ffmpeg links libva-drm and libva-x11. The runtime only had libva2, so winedmo.so failed to load and Media Foundation video stopped: Resident Evil Revelations hung on its loading screen with "Failed to create demuxer, status 0xc000007a", and RE engine and Kingdom Hearts cutscenes broke. Installing the desktop hid it because Plasma pulls both in.
2026-10-30 09:18:09 -04:00
Kurt Himebauch b75060c280 feat: cap the frame rate in session for games launched without Steam (#1813) 2026-10-30 07:39:31 -04:00
FX1922 67d391958f feat: apply itch updates as butler patches (#1829) 2026-10-30 07:38:06 -04:00
4770d11e39 feat: Add physical controller button shortcuts (#1202)
* feat(controller): add physical button shortcuts

* fix(controller): improve shortcut capture and assignment feedback

* refactor(controller): simplify menu button assignment UI

* feat(controller): save menu assignments on button release

* refactor(controller): remove obsolete shortcut UI resources

* fix(controller): place drawer remaps below Back

* refactor(controller): simplify shortcut capture wording

* fix(controller): refresh active shortcut bindings on changes

* fix(controller): preserve drawer confirmation for mapped A

* fix: preserve controller shortcut navigation and cancel

* test: align shortcut dialog assertions

---------

Co-authored-by: xXJsonDeruloXx <danielhimebauch@gmail.com>
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
2026-10-30 07:08:59 -04:00
MaxsTechReview f69e2d0171 fix: Steam's UI draws at an even share of the refresh near 60 fps instead of the panel's full rate (lag and heat since 0.6.7) (#1809) 2026-10-30 02:16:25 -04:00
MaxsTechReview b0a8c2065d fix: a folder of games on game storage lists each game instead of one combined game (#1808) 2026-10-30 02:01:56 -04:00
MaxsTechReview d4fd7ac5c3 fix: "DroidDeck isn't responding" on dual-screen handhelds when input reaches the bottom screen (#1806) 2026-10-30 01:56:44 -04:00
MaxsTechReview ed661d7007 fix: the performance HUD is off by default and keeps the user's own choice (#1807) 2026-10-30 00:10:06 -04:00
MaxsTechReview 265335d550 fix: the Stop button no longer wraps letter by letter on narrow bottom screens (#1805) 2026-10-30 00:09:53 -04:00
MaxsTechReview 2b0d633535 fix: the Duo's bottom screen keeps the panel you picked across games (#1803) 2026-10-29 23:45:06 -04:00
MaxsTechReview 3b917c0db3 fix(runtime): ship GTK 3 and the libraries Proton's arm64 builds need (#1802) 2026-10-29 23:44:50 -04:00
MaxsTechReview 58968c9286 fix: itch.io installs unpack a game archive nested inside the download (#1800) 2026-10-29 23:21:38 -04:00
Kurt Himebauch 5736297987 fix: keep the launcher from reclaiming focus when an app opens on the primary screen (#1797) 2026-10-29 21:58:23 -04:00
MaxsTechReview 26e2f26ec9 fix: Steam's Browse buttons work when another app holds port 8080 with Decky enabled (#1798) 2026-10-29 21:22:14 -04:00
MaxsTechReview 23bb361006 fix: Steam no longer restarts every launch to import added games, and asks first (#1795) 2026-10-29 21:14:11 -04:00
MaxsTechReview ee3876b965 Windows components: restore bundle parts, wait for restores and keep older picks (#1788) 2026-10-29 20:31:18 -04:00
Kurt Himebauch 5d6f9c7d74 feat: show the DroidDeck D mark as the fastfetch logo (#1778) 2026-10-29 20:21:49 -04:00
MaxsTechReview d5d3aa2ae4 fix: ARMSX2, melonDS and Cemu start without the desktop installed (#1793) 2026-10-29 20:16:55 -04:00
MaxsTechReview 31c943c82a fix: Windows installs to Android storage no longer ask for an administrator (#1791) 2026-10-29 19:12:22 -04:00
MaxsTechReview 3b9abf6302 Update the Linux runtime by itself when a new one is out (#1787) 2026-10-29 18:50:26 -04:00
MaxsTechReview 161a93a4b3 Session follows the Android time zone, and Teardown keeps its own vsync (#1790) 2026-10-29 18:49:11 -04:00
Kurt Himebauch 7d3d338fb9 Keep the manual second screen option when Dual screen is Off (#1777) 2026-10-29 18:39:17 -04:00
MaxsTechReview a3da6f0bda Launch frontend game links without a tap on dual-screen devices (#1789) 2026-10-29 18:37:52 -04:00
MaxsTechReview b726e19fa4 Keep Windows components across runtime updates and reinstall lost ones (#1786) 2026-10-29 17:48:04 -04:00
240 changed files with 14898 additions and 591 deletions

No files matched your search

+3 -1
View File
@@ -433,6 +433,7 @@ jobs:
id: build-label
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_TITLE: ${{ github.event.pull_request.title }}
PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
BUILD_REF: ${{ github.ref_name }}
BUILD_SHA: ${{ github.sha }}
@@ -451,6 +452,7 @@ jobs:
echo "label=$label" >> "$GITHUB_OUTPUT"
echo "DROIDDECK_SOURCE_COMMIT=${PR_HEAD_SHA:-$BUILD_SHA}" >> "$GITHUB_ENV"
echo "DROIDDECK_PR_NUMBER=${PR_NUMBER:-0}" >> "$GITHUB_ENV"
echo "DROIDDECK_PR_TITLE=${PR_TITLE//$'\n'/ }" >> "$GITHUB_ENV"
echo "Build: \`$label\`" >> "$GITHUB_STEP_SUMMARY"
- name: Rust toolchain for the store engines (aarch64-linux-android)
@@ -760,7 +762,7 @@ jobs:
checks:
name: Compile and test APK
needs: [build, python-tests]
if: ${{ always() && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
if: ${{ !cancelled() && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
+1 -1
View File
@@ -61,7 +61,7 @@ jobs:
jq -r --arg n "$2" '.assets // [] | .[] | select(.name == $n) | .digest // empty'
}
commit=$(gh api "repos/$GITHUB_REPOSITORY/actions/runs/$BUILD_RUN" --jq .head_sha 2>/dev/null || echo "$GITHUB_SHA")
for name in proot directaudio tracking xbox comet; do
for name in proot directaudio tracking xbox comet butler; do
file="packs/$name.tar.zst"
[ -f "$file" ] || { echo "::error::$name.tar.zst is missing from Build APK run $BUILD_RUN"; exit 1; }
sha=$(sha256sum "$file" | cut -d' ' -f1)
+110 -34
View File
@@ -7,72 +7,148 @@
DroidDeck brings the SteamOS experience to Android: Valve's Steam client in Big Picture on your Adreno handheld, with Windows games through Valve's ARM64 Proton.
<p align="center"><a href="https://discord.gg/JRGAvawjsm"><img src="https://img.shields.io/badge/Discord-Join%20the%20community-5865F2?logo=discord&logoColor=white" alt="Join the DroidDeck Discord"></a></p>
<p align="center"><b>100% open source. No ads. No telemetry. No source withheld.</b></p>
<p align="center">
<a href="https://www.star-history.com/droid-deck/droiddeck"><img src="https://api.star-history.com/badge?repo=Droid-Deck/DroidDeck&type=rank&theme=dark" alt="Star History Rank" /></a>
<a href="https://github.com/Droid-Deck/DroidDeck/releases/download/0.6.7/DroidDeck-0.6.7.apk"><img src="https://img.shields.io/badge/Download-DroidDeck%200.6.7%20APK-3DDC84?style=for-the-badge&logo=android&logoColor=white" alt="Download DroidDeck 0.6.7"></a>
<a href="https://discord.gg/JRGAvawjsm"><img src="https://img.shields.io/badge/Discord-Join%20us-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Join the DroidDeck Discord"></a>
</p>
<p align="center">
<a href="https://trendshift.io/repositories/267852?utm_source=trendshift-badge&amp;utm_medium=badge&amp;utm_campaign=badge-trendshift-267852" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/267852/daily?language=C" alt="Droid-Deck%2FDroidDeck | Trendshift" width="250" height="55"/></a>
<a href="https://trendshift.io/repositories/267852?utm_source=trendshift-badge&amp;utm_medium=badge&amp;utm_campaign=badge-trendshift-267852" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/267852/daily?language=Kotlin" alt="Droid-Deck%2FDroidDeck | Trendshift" width="250" height="55"/></a>
<a href="https://www.star-history.com/droid-deck/droiddeck"><img src="https://api.star-history.com/badge?repo=Droid-Deck/DroidDeck&type=rank&theme=dark" alt="Star History Rank"></a>
</p>
<p align="center">
<a href="https://trendshift.io/repositories/267852?utm_source=trendshift-badge&amp;utm_medium=badge&amp;utm_campaign=badge-trendshift-267852" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/267852/weekly?language=C" alt="Droid-Deck%2FDroidDeck | Trendshift" width="250" height="55"/></a>
<a href="https://trendshift.io/repositories/267852?utm_source=trendshift-badge&amp;utm_medium=badge&amp;utm_campaign=badge-trendshift-267852" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/267852/weekly?language=Kotlin" alt="Droid-Deck%2FDroidDeck | Trendshift" width="250" height="55"/></a>
<a href="https://trendshift.io/repositories/267852"><img src="https://trendshift.io/api/badge/trendshift/repositories/267852/daily?language=C" alt="Droid-Deck%2FDroidDeck | Trendshift" width="250" height="55"></a>
<a href="https://trendshift.io/repositories/267852"><img src="https://trendshift.io/api/badge/trendshift/repositories/267852/daily?language=Kotlin" alt="Droid-Deck%2FDroidDeck | Trendshift" width="250" height="55"></a>
</p>
<p align="center"><img src="docs/releases/media/0.2.0/launch-into-steam.gif" width="80%" alt="Tapping DroidDeck on the Android home screen and landing in Steam Big Picture"></p>
<p align="center"><img src="docs/media/steam-to-desktop.gif" width="100%" alt="On a Retroid Pocket Duo: Play Steam from the DroidDeck launcher, open Pac-Man in Steam Big Picture and play it, exit the game, then Switch to Desktop from the Power menu"></p>
> Note: DroidDeck does not have a stand-alone website. Do not click on any download links from websites claiming to be the DroidDeck team.
> DroidDeck has no website. Only download it from this repository's [Releases](https://github.com/Droid-Deck/DroidDeck/releases).
## Requirements and install
<p align="center">
<img src="docs/releases/media/0.6.7/library.gif" width="49%" alt="The Library switching source chips, changing the card size and opening the Filter menu">
<img src="docs/releases/media/0.3.0/in-game.gif" width="49%" alt="A Windows game running through Proton with the on-screen controls">
<img src="docs/releases/media/0.4.0/multi-controller.gif" width="49%" alt="Two controllers playing split screen on one handheld">
<img src="docs/releases/media/0.6.7/ubuntu-desktop-discover.jpg" width="49%" alt="The Kubuntu desktop with Discover open">
</p>
Use Android 9 or newer on a supported Adreno device (730 or newer, or 8xx). Adreno 6xx is experimental: DirectX 11 uses DXVK 2 and may run, and DirectX 12 games can still crash. Mali, Xclipse, PowerVR, and Adreno 710 are unsupported. No root is required. Allow about 3 GB for the runtime and 1.1 GB more for the desktop and emulators. Install the APK from [Releases](https://github.com/Droid-Deck/DroidDeck/releases), install the Linux runtime, then press **Play** and sign in. Steam downloads on first launch. Install **Desktop & apps** to use the desktop and emulators. The **Store** installs Linux apps and games from Flathub (ARM64 builds) with Flatpak; with additional options to install Appimages and set up scripts. **Stores** (Setup › Stores › "Show Stores in the rail") signs in to GOG, Epic Games and Amazon Games and downloads games into the Games storage. Epic keeps its direct API install path. Opening Epic Stores prepares Epic’s official Linux launcher preview. When installed, Epic games launched from DroidDeck use that client, and games installed in the client are imported into DroidDeck’s library and shortcuts. The x86-64 client runs through FEX on ARM and DroidDeck retains its Proton hooks; this preview and ARM setup are outside Epic’s listed Linux support. The cog on a store’s chip row sets its opening tab and download speed tier.
## Install
On Android 14 and newer, before Steam launches, you must turn on **Disable child process restrictions** in Developer options. If this option is not available in developer settings (Android 12 and 13 devices), first launch of Steam will present a "Fix it for me" button, which will help automate the setup process.
1. Android 9 or newer on Adreno 730 or newer, or any 8xx. Adreno 6xx is experimental. Mali, Xclipse, PowerVR and Adreno 710 are unsupported. No root needed.
2. About 3 GB free for the runtime, plus 1.1 GB for the desktop and emulators.
3. Install the [APK](https://github.com/Droid-Deck/DroidDeck/releases/download/0.6.7/DroidDeck-0.6.7.apk), install the Linux runtime, press **Play** and sign in to Steam.
4. On Android 14 and newer, turn on **Disable child process restrictions** in Developer options. On Android 12 and 13, Steam's first launch shows a **Fix it for me** button that walks you through it.
## Smart glasses
Smart glasses setup is in the [support matrix](docs/smart-glasses-support.md). Release notes are in [docs/releases](docs/releases).
Use **Setup → Smart glasses** for app-wide virtual-screen settings across DroidDeck menus, launchers, desktop sessions, and games. Supported VITURE, RayNeo, XREAL, and Rokid connections provide 3DoF; Luma Ultra adds optional experimental 6DoF and stereo-assisted hand/Joy-Con tracking. Model support and SDK requirements differ: see the [smart-glasses support matrix](docs/smart-glasses-support.md) for supported devices, controls, setup, and limitations.
## Community
Join the [DroidDeck Discord](https://discord.gg/JRGAvawjsm) for help, Preview builds, and device reports. Bug reports go in its **#bug-reports** forum; attach the zip from **Share logs** (Setup, or the session drawer) so the logs come with it.
Help, Preview builds and device reports are on [Discord](https://discord.gg/JRGAvawjsm). For bugs, post in **#bug-reports** with the zip from **Share logs**.
## Build
Run `tools/build_local.sh` with Docker, Java 17, the Android SDK/NDK, Rust through rustup, GitHub CLI, Python 3, and `zstd` installed. It prepares the same native libraries, pinned components and audio sinks as CI, then checks the APK's assets, JNI exports and dependencies. The APK is at `app/build/outputs/apk/release/app-release.apk`. Set `DROIDDECK_PA13_SOURCE_DIR` to an existing PulseAudio 13.0 source directory to skip downloading it. Set `DROIDDECK_SIGNING_ENV` to a signing environment file to install over a release build; relative keystore paths resolve beside that file. To install on an attached device, run `tools/deploy_local.sh`.
Needs Docker, Java 17, the Android SDK and NDK, Rust via rustup, GitHub CLI, Python 3 and `zstd`.
After preparation, ordinary `./gradlew :app:assembleRelease` builds can reuse the verified inputs. If native sources, component pins or staged files change, packaging stops with instructions to rerun the helper. Generated audio stays under `app/build/`; the tracked base bundle is never modified. `./gradlew -PskipRust=true :app:testDebugUnitTest` needs no native preparation. For an APK without store engines, use `DROIDDECK_SKIP_RUST=1 tools/build_local.sh`; it omits cached engine libraries too.
```bash
tools/build_local.sh
```
For the prepared Windows checkout, run `./tools/run_windows.ps1` (optionally with `-Serial <adb-serial>`), or select **DroidDeck XR** in Android Studio and run the **app** module on the connected phone. Machine-specific options live in the ignored `local.properties`: `droiddeck.python` selects a Python executable, `droiddeck.skipRust=true` omits the optional store download engines, and `droiddeck.debugApplicationIdSuffix=.xr` installs **DroidDeck XR Dev** alongside the signed release. The development app has its own runtime and Steam login. The local Java selection is in `.gradle/config.properties`.
The APK lands in `app/build/outputs/apk/release/`. Install it with `tools/deploy_local.sh`. After the first run, `./gradlew :app:assembleRelease` reuses the prepared inputs. Unit tests run with `./gradlew -PskipRust=true :app:testDebugUnitTest`, and the helper and preload suite with `bash tools/test_local.sh`.
`python tools/prepare_windows_runtime.py` restores this checkout's audited runtime inputs from the pinned CI APK, three locally rebuilt preload libraries, and the checksum-pinned Gamescope archive in `build/windows-setup/`. Start Docker Desktop's Linux engine first: preparation now rebuilds DroidDeck's ARM64 VR driver and Vulkan layer from current source and runs their native regression tests. The compiler image is built automatically on first use. Vulkan headers come from the NDK beside `--llvm-strip`, or from an explicit `--vk-include <NDK-sysroot-include>` directory.
To reuse that build, pass `--rebuilt-vr build/windows-setup/vr`. Preparation verifies its `vr-build.json` against the current Git revision, source files, Vulkan headers, output checksums, and ARM64 architecture; missing or stale builds fail instead of falling back to the donor's VR libraries. The script checks the actual donor CI merge tree, still rejects unrelated unaudited runtime changes, and records component provenance in `app/build/windows-runtime-provenance.json`. Preserve these ignored preparation files when rebuilding locally; `clean` removes the prepared assets and their verification manifest.
Run the helper and preload regression suite with `bash tools/test_local.sh`. On macOS it runs in Linux through Docker, matching the helpers' runtime and CI instead of compiling Linux preloads against macOS headers.
On Windows, see `tools/run_windows.ps1` and `tools/prepare_windows_runtime.py`.
## Limits
Compatibility and performance vary by device; hardware validation is limited. Desktop compositing uses software rendering. Firefox sandboxing is reduced under proot. Logs are kept app-private (`files/logs/`, the last 30 sessions); **Share logs** packs the newest session, with the stores and tool logs, into one scrubbed zip.
Compatibility and performance vary by device. Desktop compositing is software rendered, and Firefox sandboxing is reduced under proot.
## Credits and licence
GPL-3.0. Runtime, shim, input, and controller work build on WinNative and Bannerlator (maxjivi05). Epic Games and GOG support build on [Phobos’s](https://github.com/phobos665) adaptation of [Legendary](https://github.com/legendary-gl/legendary) and [gogdl](https://github.com/Heroic-Games-Launcher/heroic-gogdl), respectively. Battle.net support is [@kayakyakr](https://github.com/kayakyakr)'s: it runs Blizzard's own Battle.net client, downloaded from Blizzard and not included, in Proton, and shows the key art from each game's [Battle.net Shop](https://shop.battle.net) page; without the Steam client its games see DroidDeck's pad as an Xbox 360 controller through `PROTON_SPOOF_STEAMINPUT_VIDPID` in [Proton](https://github.com/ValveSoftware/wine)'s `dlls/winebus.sys`. Its games install from Stores through Blizzard's own Agent and the local HTTP API it serves, driven the way [@barncastle](https://github.com/barncastle)'s [Battle.Net-Installer](https://github.com/barncastle/Battle.Net-Installer) drives it, with the requests described on [wowdev.wiki](https://wowdev.wiki/Agent); how other launchers find, install and start Blizzard games was read in [@mubaraknumann](https://github.com/mubaraknumann)'s [unifideck](https://github.com/mubaraknumann/unifideck), [@djmittens](https://github.com/djmittens)'s [neo-mittens](https://github.com/djmittens/neo-mittens) `bnetswitch`, [@BCD1210](https://github.com/BCD1210)'s [soju](https://github.com/BCD1210/soju) and [Lutris](https://github.com/lutris/lutris)'s `product.db` reader, without taking their code. The registry entries a GOG game's install script (`goggame-<id>.script`) sets are read the way [Heroic Games Launcher](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher)'s GOG setup (GPL-3.0) reads them. LSFG frame generation is from the work of Camille LaVey and the [Eden](https://eden-emu.dev) emulator project, following [lsfg-vk](https://github.com/PancakeTAS/lsfg-vk), ported to WinNative and DroidDeck by [@maxjivi05](https://github.com/maxjivi05); it needs your own copy of [Lossless Scaling](https://store.steampowered.com/app/993090/) and ships none of its shaders. x86 AppImages, and any whose own runtime cannot unpack them, are unpacked with [uruntime](https://github.com/VHSgunzo/uruntime) by VHSgunzo (MIT), shipped unmodified with its licence, which also starts the arm64 emulator AppImages whose own runtime cannot run its extractor on Android. x86 AppImages packed with [sharun](https://github.com/VHSgunzo/sharun) by VHSgunzo (MIT) start because DroidDeck's own [FEX](https://github.com/FEX-Emu/FEX) build (MIT) puts the platform name under `AT_PLATFORM`, which sharun's [userland-execve](https://crates.io/crates/userland-execve) loader (MIT) requires; FEX filed it under `AT_BASE_PLATFORM`. The Steam client's audio goes through [@The412Banner](https://github.com/The412Banner)'s [DirectAudio](https://github.com/The412Banner/directaudio) PulseAudio sink (LGPL-2.1-or-later), built from `tools/directaudio/sink` with its request size kept to its ring so clients are not asked to queue 100 ms ahead. The in-game performance HUD is [@The412Banner](https://github.com/The412Banner)'s [FusionHUD](https://github.com/The412Banner/FusionHUD) (GPL-3.0 with an attribution term), Bannerlator's HUD; its frame rate, frame times and readings are taken from the same sources, and worked out the same way, as Valve's [MangoHud](https://github.com/flightlessmango/MangoHud) build (MIT) that runs Steam's performance overlay in a DroidDeck session, with the frame times shared by gamescope patch 0125; when gamescope sends no frames for two seconds, the HUD counts the frames DroidDeck's compositor shows instead, which stop at the screen's refresh rate. mmap ring-buffer controller input was developed by ribbit384 ([WinNative #345](https://github.com/WinNative-Emu/WinNative/pull/345)). Why the x86-64 Steam client refused the arm64 client's sign-in was checked by reading Steam's saved token with the `ConnectCache` format from [deadlock-api-ingest](https://github.com/deadlock-api/deadlock-api-ingest). x86 programs that link OpenSSL 3 under FEX use the copy in the [Steam Linux Runtime 4.0](https://gitlab.steamos.cloud/steamrt/steamrt) platform. Hooks written with `WriteProcessMemory` into code [FEX](https://github.com/FEX-Emu/FEX) has translated go through `/proc/<pid>/mem` again when the kernel refuses `process_vm_writev`, as [Wine](https://gitlab.winehq.org/wine/wine)'s `server/ptrace.c` wrote them before Wine 11. x86 Linux games under FEX get the same `/etc/asound.conf` that [pressure-vessel](https://gitlab.steamos.cloud/steamrt/steam-runtime-tools) writes into the Steam Linux Runtime, so ALSA plays through PulseAudio. Games render with [Mesa](https://gitlab.freedesktop.org/mesa/mesa) Turnip's own per-render-pass choice between tile memory and system memory, while the Steam client keeps `TU_DEBUG=sysmem`; [FEX](https://github.com/FEX-Emu/FEX)'s code disk cache was checked in its source and isLine truncated
DroidDeck is [GPL-3.0](LICENSE). Steam and Proton belong to Valve Corporation. VITURE, RayNeo, XREAL, Rokid, REDMAGIC, Nintendo Switch and Joy-Con are trademarks of their owners. This project is not affiliated with any of them.
XR glasses support builds on WinNative's VITURE glasses work. VITURE protocol details were checked against [XRLinuxDriver](https://github.com/wheaney/XRLinuxDriver) by [@wheaney](https://github.com/wheaney), including the VITURE protocol header it ships, [ar-drivers-rs](https://github.com/badicsalex/ar-drivers-rs) by [@badicsalex](https://github.com/badicsalex) and the [go-macos/iokit VITURE package](https://pkg.go.dev/github.com/go-macos/iokit/viture); the optional VITURE SDK belongs to VITURE and is not included. RayNeo support adapts [@informalTechCode](https://github.com/informalTechCode)'s [RayNeo-Air-Series-3DoF-Scaffold](https://github.com/informalTechCode/RayNeo-Air-Series-3DoF-Scaffold) (Apache-2.0) and references [@verncat](https://github.com/verncat)'s [RayNeo-Air-3S-Pro-OpenVR](https://github.com/verncat/RayNeo-Air-3S-Pro-OpenVR) (MIT) and [Monado](https://gitlab.freedesktop.org/monado/monado) (BSL-1.0); see [docs/third-party/rayneo](docs/third-party/rayneo/README.md). XREAL 1S support references [XRLinuxDriver](https://github.com/wheaney/XRLinuxDriver) and [xrealOneDeviceKit](https://github.com/wheaney/xrealOneDeviceKit) by @wheaney, [xreal_one_driver](https://github.com/rohitsangwan01/xreal_one_driver) by [@rohitsangwan01](https://github.com/rohitsangwan01) (MIT) and [xr-tools](https://github.com/0xcaff/xr-tools) by [@0xcaff](https://github.com/0xcaff). Rokid support follows the Rokid protocol notes in [ar-drivers-rs](https://github.com/badicsalex/ar-drivers-rs) and @badicsalex's [Void Computing write-ups](https://voidcomputing.hu/blog/worse-better-prettier/), and [Monado](https://gitlab.freedesktop.org/monado/monado)'s Rokid driver. The REDMAGIC glasses-display findings draw on [@mekhontsev](https://github.com/mekhontsev)'s [MagicDesk investigation](https://github.com/mekhontsev/magicdesk/blob/main/docs/xr-resolution-fix.md) and [@Coding-BR](https://github.com/Coding-BR)'s [decompiled Nubia kernel](https://github.com/Coding-BR/android_kernel_nubia_sm8850_qwjujube). VITURE, RayNeo, XREAL, Rokid and REDMAGIC are trademarks of their owners; this project is not affiliated with them.
<details>
<summary><b>Runtime, Wine and Proton</b></summary>
Joy-Con VR controllers port the arm model of Google's [Google VR SDK for Unity](https://github.com/googlevr/gvr-unity-sdk) (Apache-2.0), adapt the hand skeleton of Valve's [OpenVR](https://github.com/ValveSoftware/openvr) `handskeletonsimulation` sample (BSD-3-Clause), which follows Moshi Turner's hand simulation in [Monado](https://gitlab.freedesktop.org/monado/monado), and use the Index controller offsets from Monado's `vive_poses.c` (BSL-1.0). Joy-Con behaviour was researched in Linux's [hid-nintendo](https://github.com/torvalds/linux/blob/master/drivers/hid/hid-nintendo.c) driver by Daniel J. Ogorchock, [@dekuNukem](https://github.com/dekuNukem)'s [Nintendo_Switch_Reverse_Engineering](https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering), [SDL](https://github.com/libsdl-org/SDL) and the Android Open Source Project, and checked against [ALVR](https://github.com/alvr-org/ALVR), [OpenComposite](https://gitlab.com/znixian/OpenOVR), [PSMoveSteamVRBridge](https://github.com/HipsterSloth/PSMoveSteamVRBridge), [@F8LEFT](https://github.com/F8LEFT)'s [JoyConVr](https://github.com/F8LEFT/JoyConVr), [@krnelpan1c](https://github.com/krnelpan1c)'s [Daydream-Controller-SteamVR](https://github.com/krnelpan1c/Daydream-Controller-SteamVR), [@yoyobuae](https://github.com/yoyobuae)'s [joyconvr](https://github.com/yoyobuae/joyconvr), [Moonlight](https://github.com/moonlight-stream/moonlight-android) and [Dolphin](https://github.com/dolphin-emu/dolphin); see [docs/third-party/joycon](docs/third-party/joycon/README.md). Nintendo Switch and Joy-Con are trademarks of Nintendo; this project is not affiliated with Nintendo.
- Runtime, shim, input and controller work build on WinNative and Bannerlator by maxjivi05.
- mmap ring buffer controller input by ribbit384 ([WinNative #345](https://github.com/WinNative-Emu/WinNative/pull/345)).
- [FEX](https://github.com/FEX-Emu/FEX) (MIT) runs x86 code. DroidDeck's build puts the platform name under `AT_PLATFORM` so [sharun](https://github.com/VHSgunzo/sharun) AppImages by VHSgunzo (MIT) start through its [userland-execve](https://crates.io/crates/userland-execve) loader (MIT). FEX's code disk cache was checked in its source.
- x86 AppImages, and arm64 ones whose runtime can't unpack on Android, are unpacked with [uruntime](https://github.com/VHSgunzo/uruntime) by VHSgunzo (MIT), shipped unmodified with its licence.
- x86 programs linking OpenSSL 3 use the copy in the [Steam Linux Runtime 4.0](https://gitlab.steamos.cloud/steamrt/steamrt). x86 Linux games get the `/etc/asound.conf` that [pressure-vessel](https://gitlab.steamos.cloud/steamrt/steam-runtime-tools) writes.
- `WriteProcessMemory` hooks fall back to `/proc/<pid>/mem` the way [Wine](https://gitlab.winehq.org/wine/wine)'s `server/ptrace.c` did before Wine 11.
- Wine write watches use userfaultfd support in [Proton](https://github.com/ValveSoftware/wine)'s `dlls/ntdll/unix/virtual.c` (LGPL-2.1-or-later). libblsession supplies the arm64 syscall number and answers `PAGEMAP_SCAN` from `/proc/self/pagemap`.
- libblsession runs Wine's arm64 `SIGUSR2` context handler (`dlls/ntdll/unix/signal_arm64.c`, LGPL-2.1-or-later) in place on a frame laid out like [Linux](https://github.com/torvalds/linux)'s `arch/arm64/kernel/signal.c`, and serves `fill_vm_counters` in `dlls/ntdll/unix/process.c` the kernel's own `/proc/<pid>/status`.
- droiddeck-ntsync follows the [Linux](https://github.com/torvalds/linux) ntsync semantics in `Documentation/userspace-api/ntsync.rst` (GPL-2.0).
- The proot fast path orders bindings like [PRoot](https://github.com/proot-me/proot)'s `path/binding.c` (GPL-2.0-or-later).
- Games use [Mesa](https://gitlab.freedesktop.org/mesa/mesa) Turnip's per render pass memory choice. The Steam client keeps `TU_DEBUG=sysmem`.
- Black Ops III and Dark Souls Remastered start without [umu-protonfixes](https://github.com/Open-Wine-Components/umu-protonfixes) (BSD-2-Clause), whose `311210.py` and `570940.py` fail under ARM64 Proton.
- [ReSkate](https://github.com/Dingo-Shenanigans/ReSkate) (GPL-3.0) by Dingo Shenanigans uses the launch option from its README and D3D12 feature level 12_1.
- The arm64 client's sign in was checked by reading Steam's saved token with the `ConnectCache` format from [deadlock-api-ingest](https://github.com/deadlock-api/deadlock-api-ingest).
Camera hand tracking runs Google's [MediaPipe](https://github.com/google-ai-edge/mediapipe) Tasks Vision library with its Pose Landmarker (Lite) model, BlazePose GHUM 3D, and its Hand Landmarker model (all Apache-2.0), on frames from AndroidX [CameraX](https://developer.android.com/jetpack/androidx/releases/camera) (Apache-2.0); MediaPipe's usage reports are switched off. The design was checked against [@F8LEFT](https://github.com/F8LEFT)'s [JoyConVr](https://github.com/F8LEFT/JoyConVr) camera app (MIT), and the short Joy-Con movements follow the accelerometer mode of the [Google VR SDK for Unity](https://github.com/googlevr/gvr-unity-sdk)'s arm model, Eric Foxlin's zero-velocity updates and Frosio, Pedersini and Borghese's accelerometer autocalibration, and the camera and Joy-Con are joined by a Kalman filter (R. E. Kalman, 1960). Bare camera hands take their gestures after [ALVR](https://github.com/alvr-org/ALVR)'s `hand_gestures.rs` (MIT) and Meta Quest's menu pinch, with distances checked on photos from the [HaGRID](https://github.com/hukenovs/hagrid) gesture set (CC BY-SA 4.0, not included), fit the palm with Horn's quaternion method (1987) and smooth it with the 1€ filter (Casiez, Roussel and Vogel, 2012); the white glove model follows Valve's OpenVR render model reference and Index controller poses, is meshed with surface nets (Gibson, 1998; Mikola Lysenko) and blends and shades it with Inigo Quilez's smooth minimum and distance-field ambient occlusion, porting his polygon distance (MIT); see [docs/third-party/handtracking](docs/third-party/handtracking/README.md).
</details>
The Store installs and runs apps with [Flatpak](https://github.com/flatpak/flatpak) (LGPL-2.1). Its sandbox goes through DroidDeck's own bubblewrap shim, which follows how Flatpak hands bwrap its environment. Chromium and Electron apps from Flathub start their browser processes through [zypak](https://github.com/refi64/zypak) by [@refi64](https://github.com/refi64) (BSD-3-Clause); its source was read to see that it always spawns them through Flatpak's spawn portal, which is why DroidDeck starts them directly without Chromium's sandbox instead.
<details>
<summary><b>Stores</b></summary>
Remote Play from a PC to the arm64 Steam client goes through a stand-in for the V4L2 decoder and the libdrm dumb buffers that Steam's `streaming_client` expects: each frame is decoded by Android's MediaCodec through the app, or by the [FFmpeg](https://ffmpeg.org) (LGPL-2.1-or-later) that ships in Steam's own runtime, into dma-heap buffers that its Vulkan renderer imports. The Qualcomm low-latency decoder settings follow [Moonlight](https://github.com/moonlight-stream/moonlight-android) (GPL-3.0).
- Epic Games and GOG build on [Phobos](https://github.com/phobos665)'s adaptation of [Legendary](https://github.com/legendary-gl/legendary) and [gogdl](https://github.com/Heroic-Games-Launcher/heroic-gogdl). GOG install script registry entries are read the way [Heroic Games Launcher](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher) (GPL-3.0) reads them.
- Epic's official Linux launcher preview runs through FEX. That setup is outside Epic's listed Linux support.
- Battle.net is by [@kayakyakr](https://github.com/kayakyakr). It runs Blizzard's own client in Proton (downloaded from Blizzard, not included) and shows key art from the [Battle.net Shop](https://shop.battle.net). Without Steam, its games see the pad as an Xbox 360 controller via `PROTON_SPOOF_STEAMINPUT_VIDPID` in [Proton](https://github.com/ValveSoftware/wine)'s `dlls/winebus.sys`.
- Battle.net installs drive Blizzard's Agent the way [@barncastle](https://github.com/barncastle)'s [Battle.Net-Installer](https://github.com/barncastle/Battle.Net-Installer) does, with requests from [wowdev.wiki](https://wowdev.wiki/Agent). Read without taking code: [@mubaraknumann](https://github.com/mubaraknumann)'s [unifideck](https://github.com/mubaraknumann/unifideck), [@djmittens](https://github.com/djmittens)'s [neo-mittens](https://github.com/djmittens/neo-mittens) `bnetswitch`, [@BCD1210](https://github.com/BCD1210)'s [soju](https://github.com/BCD1210/soju) and [Lutris](https://github.com/lutris/lutris)'s `product.db` reader.
- Xbox games load [@domsvoboda](https://github.com/domsvoboda)'s [xodus-nexus](https://github.com/domsvoboda/xodus-nexus) modules (LGPL-2.1-or-later), including `wintypes.dll`. Minecraft's GameInput setup was checked against [@Wyze3306](https://github.com/Wyze3306)'s [BedrockOnLinux](https://github.com/Wyze3306/BedrockOnLinux) (MIT).
- The itch.io butler pack ships butler's `7z.so`, itch.io's build of [7-Zip](https://www.7-zip.org) by Igor Pavlov (LGPL-2.1, unRAR restriction on RAR code), unmodified. Other archives use Apache Commons Compress and the runtime's bsdtar (libarchive).
- The Store uses [Flatpak](https://github.com/flatpak/flatpak) (LGPL-2.1) through DroidDeck's own bubblewrap shim. Chromium and Electron apps start directly, since [zypak](https://github.com/refi64/zypak) by [@refi64](https://github.com/refi64) (BSD-3-Clause) always uses Flatpak's spawn portal.
Steam's Browse buttons open a GTK 3 file chooser through PyGObject (LGPL-2.1-or-later). It runs under Steam's own `reaper` with Steam's app ID, which [gamescope](https://github.com/ValveSoftware/gamescope) (BSD-2-Clause) reads from the process tree (`GetAppIdFromReaper` in `src/Utils/Process.cpp`) to show it over Steam.
</details>
Black Ops III and Dark Souls Remastered start without [umu-protonfixes](https://github.com/Open-Wine-Components/umu-protonfixes) (BSD-2-Clause), whose fixes for them (`311210.py` sets ALSA audio, `570940.py` installs VC++ 2017) fail under ARM64 Proton.
<details>
<summary><b>Audio, video and HUD</b></summary>
- Steam audio goes through [@The412Banner](https://github.com/The412Banner)'s [DirectAudio](https://github.com/The412Banner/directaudio) PulseAudio sink (LGPL-2.1-or-later), built from `tools/directaudio/sink`.
- The DroidDeck HUD is [@The412Banner](https://github.com/The412Banner)'s [FusionHUD](https://github.com/The412Banner/FusionHUD) (GPL-3.0 with an attribution term). Its readings match Valve's [MangoHud](https://github.com/flightlessmango/MangoHud) build (MIT), with frame times from gamescope patch 0125.
- LSFG frame generation comes from Camille LaVey and the [Eden](https://eden-emu.dev) project, following [lsfg-vk](https://github.com/PancakeTAS/lsfg-vk), ported by [@maxjivi05](https://github.com/maxjivi05). It needs your own copy of [Lossless Scaling](https://store.steampowered.com/app/993090/) and ships none of its shaders.
- Remote Play decodes through Android's MediaCodec or the [FFmpeg](https://ffmpeg.org) (LGPL-2.1-or-later) in Steam's runtime. Qualcomm low latency settings follow [Moonlight](https://github.com/moonlight-stream/moonlight-android) (GPL-3.0).
- [PipeWire](https://gitlab.freedesktop.org/pipewire/pipewire) (MIT) sockets use the settings in its `module-access.c`, and [WirePlumber](https://gitlab.freedesktop.org/pipewire/wireplumber) (MIT) keeps those clients at full permissions.
</details>
<details>
<summary><b>Desktop</b></summary>
- The KDE pacman repository snapshots [Arch Linux ARM](https://archlinuxarm.org) and installs with [pacman](https://gitlab.archlinux.org/pacman/pacman) (GPL-2.0-or-later).
- [KWin](https://invent.kde.org/plasma/kwin) (GPL-2.0-or-later) is patched to pass on the scroll data its `wayland_backend.cpp` leaves as a TODO.
- Read without taking code: [Qt](https://code.qt.io/cgit/qt/qtbase.git)'s `qwaylandinputdevice.cpp` and `qguiapplication.cpp`, [Konsole](https://invent.kde.org/utilities/konsole)'s `TerminalDisplay.cpp`, and [Mesa](https://gitlab.freedesktop.org/mesa/mesa)'s `u_threaded_context.c` and `zink_resource.c`.
- The Steam Keyboard window rule follows Valve's `steamdeck-kde-presets` with [Bazzite](https://github.com/ublue-os/bazzite)'s `0001-steam-virtual-keyboard.patch`.
- Steam's Browse buttons open a GTK 3 file chooser via PyGObject (LGPL-2.1-or-later), shown over Steam by [gamescope](https://github.com/ValveSoftware/gamescope) (BSD-2-Clause) through `GetAppIdFromReaper`.
- The AYN Odin 2 phantom second display was confirmed by [@SapphireRhodonite](https://github.com/SapphireRhodonite)'s [WatermelonDS 0.0.5](https://github.com/SapphireRhodonite/WatermelonDS/releases/tag/0.0.5) notes and [iiSU #363](https://github.com/iisu-network/iiSU/issues/363), without taking their code.
</details>
<details>
<summary><b>Smart glasses</b></summary>
- Builds on WinNative's VITURE work. Protocol checked against [@wheaney](https://github.com/wheaney)'s [XRLinuxDriver](https://github.com/wheaney/XRLinuxDriver), [@badicsalex](https://github.com/badicsalex)'s [ar-drivers-rs](https://github.com/badicsalex/ar-drivers-rs) and [go-macos/iokit](https://pkg.go.dev/github.com/go-macos/iokit/viture). The optional VITURE SDK is not included.
- RayNeo adapts [@informalTechCode](https://github.com/informalTechCode)'s [RayNeo-Air-Series-3DoF-Scaffold](https://github.com/informalTechCode/RayNeo-Air-Series-3DoF-Scaffold) (Apache-2.0) and references [@verncat](https://github.com/verncat)'s [RayNeo-Air-3S-Pro-OpenVR](https://github.com/verncat/RayNeo-Air-3S-Pro-OpenVR) (MIT) and [Monado](https://gitlab.freedesktop.org/monado/monado) (BSL-1.0). See [docs/third-party/rayneo](docs/third-party/rayneo/README.md).
- XREAL 1S references XRLinuxDriver and [xrealOneDeviceKit](https://github.com/wheaney/xrealOneDeviceKit) by @wheaney, [@rohitsangwan01](https://github.com/rohitsangwan01)'s [xreal_one_driver](https://github.com/rohitsangwan01/xreal_one_driver) (MIT) and [@0xcaff](https://github.com/0xcaff)'s [xr-tools](https://github.com/0xcaff/xr-tools).
- Rokid follows ar-drivers-rs, @badicsalex's [Void Computing write-ups](https://voidcomputing.hu/blog/worse-better-prettier/) and Monado's Rokid driver.
- REDMAGIC display findings draw on [@mekhontsev](https://github.com/mekhontsev)'s [MagicDesk investigation](https://github.com/mekhontsev/magicdesk/blob/main/docs/xr-resolution-fix.md) and [@Coding-BR](https://github.com/Coding-BR)'s [decompiled Nubia kernel](https://github.com/Coding-BR/android_kernel_nubia_sm8850_qwjujube).
</details>
<details>
<summary><b>VR, Joy-Con and hand tracking</b></summary>
- Joy-Con VR ports the arm model from Google's [GVR SDK for Unity](https://github.com/googlevr/gvr-unity-sdk) (Apache-2.0) and adapts the hand skeleton from Valve's [OpenVR](https://github.com/ValveSoftware/openvr) `handskeletonsimulation` sample (BSD-3-Clause), which follows Moshi Turner's work in Monado. Index offsets come from Monado's `vive_poses.c` (BSL-1.0).
- Joy-Con research: Linux's [hid-nintendo](https://github.com/torvalds/linux/blob/master/drivers/hid/hid-nintendo.c) by Daniel J. Ogorchock, [@dekuNukem](https://github.com/dekuNukem)'s [Nintendo_Switch_Reverse_Engineering](https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering), [SDL](https://github.com/libsdl-org/SDL) and AOSP. Checked against [ALVR](https://github.com/alvr-org/ALVR), [OpenComposite](https://gitlab.com/znixian/OpenOVR), [PSMoveSteamVRBridge](https://github.com/HipsterSloth/PSMoveSteamVRBridge), [@F8LEFT](https://github.com/F8LEFT)'s [JoyConVr](https://github.com/F8LEFT/JoyConVr), [@krnelpan1c](https://github.com/krnelpan1c)'s [Daydream-Controller-SteamVR](https://github.com/krnelpan1c/Daydream-Controller-SteamVR), [@yoyobuae](https://github.com/yoyobuae)'s [joyconvr](https://github.com/yoyobuae/joyconvr), [Moonlight](https://github.com/moonlight-stream/moonlight-android) and [Dolphin](https://github.com/dolphin-emu/dolphin). See [docs/third-party/joycon](docs/third-party/joycon/README.md).
- Camera hand tracking runs Google's [MediaPipe](https://github.com/google-ai-edge/mediapipe) Pose Landmarker (Lite), BlazePose GHUM 3D and Hand Landmarker (Apache-2.0) on [CameraX](https://developer.android.com/jetpack/androidx/releases/camera) frames (Apache-2.0), with usage reports off. Checked against JoyConVr's camera app (MIT).
- Tracking math: the GVR arm model's accelerometer mode, Eric Foxlin's zero velocity updates, Frosio, Pedersini and Borghese's accelerometer autocalibration, a Kalman filter (Kalman, 1960), Horn's quaternion method (1987) and the 1€ filter (Casiez, Roussel and Vogel, 2012).
- Gestures follow [ALVR](https://github.com/alvr-org/ALVR)'s `hand_gestures.rs` (MIT) and Meta Quest's menu pinch, tuned on [HaGRID](https://github.com/hukenovs/hagrid) photos (CC BY-SA 4.0, not included).
- The glove model follows OpenVR's render model reference, is meshed with surface nets (Gibson, 1998; Mikola Lysenko), and uses Inigo Quilez's smooth minimum, distance field ambient occlusion and polygon distance (MIT). See [docs/third-party/handtracking](docs/third-party/handtracking/README.md).
</details>
## Star history
<a href="https://www.star-history.com/#Droid-Deck/DroidDeck&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Droid-Deck/DroidDeck&type=Date&theme=dark">
<img alt="Star history chart" src="https://api.star-history.com/svg?repos=Droid-Deck/DroidDeck&type=Date" width="100%">
</picture>
</a>
+9 -3
View File
@@ -78,6 +78,10 @@ def escapedBuildLabel = buildLabel.replace('\\', '\\\\').replace('"', '\\"')
def sourceCommit = providers.environmentVariable('DROIDDECK_SOURCE_COMMIT').getOrNull()
?: providers.environmentVariable('GITHUB_SHA').getOrNull() ?: gitValue(['rev-parse', 'HEAD']) ?: ''
def prNumber = (providers.environmentVariable('DROIDDECK_PR_NUMBER').getOrNull() ?: '0').with { it.isInteger() ? it : '0' }
def prTitle = providers.environmentVariable('DROIDDECK_PR_TITLE').getOrNull() ?: ''
def buildBranch = providers.environmentVariable('GITHUB_HEAD_REF').getOrNull()?.trim()
?: gitValue(['branch', '--show-current']) ?: ''
def escapeJava = { String value -> value.replace('\\', '\\\\').replace('"', '\\"').replace('\n', ' ').replace('\r', ' ') }
def ciBuild = providers.environmentVariable('GITHUB_ACTIONS').getOrNull() == 'true'
def releaseSigner = rootProject.file('keystore/release-signer.sha256').text.trim()
def commitTime = (gitValue(['show', '-s', '--format=%ct', '--end-of-options', sourceCommit]) ?: '0').with { it.isLong() ? it : '0' }
@@ -90,7 +94,7 @@ def trackingPack = rootProject.file('tools/packs/tracking/release.env').readLine
def prootPackPin = rootProject.file('tools/packs/proot/release.env').readLines()
.findAll { it.contains('=') && !it.startsWith('#') }
.collectEntries { def kv = it.split('=', 2); [(kv[0].trim()): kv[1].trim()] }
def addonPacks = ['proot', 'directaudio', 'tracking', 'xbox', 'comet'].collectEntries { name ->
def addonPacks = ['proot', 'directaudio', 'tracking', 'xbox', 'comet', 'butler'].collectEntries { name ->
def pack = file("build/packs/${name}.tar.zst")
if (!pack.isFile()) {
if (ciBuild) throw new GradleException("Add-on pack ${pack} is missing: run tools/packs/build.sh app/build/packs")
@@ -130,11 +134,13 @@ android {
applicationId "com.droiddeck.launcher"
minSdkVersion 26
targetSdkVersion 28
versionCode 16
versionName "0.6.7"
versionCode 17
versionName "0.6.9"
buildConfigField "String", "BUILD_LABEL", "\"${escapedBuildLabel}\""
buildConfigField "String", "SOURCE_COMMIT", "\"${sourceCommit}\""
buildConfigField "int", "PR_NUMBER", "${prNumber}"
buildConfigField "String", "PR_TITLE", "\"${escapeJava(prTitle)}\""
buildConfigField "String", "BUILD_BRANCH", "\"${escapeJava(buildBranch)}\""
buildConfigField "boolean", "CI_BUILD", "${ciBuild}"
buildConfigField "String", "RELEASE_SIGNER", "\"${releaseSigner}\""
buildConfigField "long", "COMMIT_TIME", "${commitTime}L * 1000L"
+7
View File
@@ -69,6 +69,12 @@
</intent-filter>
<meta-data android:name="android.accessibilityservice" android:resource="@xml/home_button_service" />
</service>
<receiver android:name=".core.ShortcutsListingReceiver" android:exported="false"
android:process=":shortcuts_sync">
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
<meta-data android:name="com.oculus.supportedDevices" android:value="quest2|quest3|quest3s" />
<activity android:name=".QuestXrActivity" android:exported="true" android:launchMode="singleTask"
android:permission="android.permission.DUMP"
@@ -99,6 +105,7 @@
android:exported="true"
android:screenOrientation="user"
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|density|keyboard|keyboardHidden|navigation">
<layout android:defaultWidth="1024dp" android:defaultHeight="640dp" />
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
+18 -1
View File
@@ -2124,7 +2124,21 @@ void droiddeck_stream_frame(AHardwareBuffer *ahb) {
unsigned droiddeck_stream_frames(void) { return atomic_load(&g_stream_frames); }
static int64_t g_scene_due_ns;
static int scene_held_for_limit(int64_t now, int64_t due, int limit, int unpaced) {
if (limit <= 0 || unpaced || due <= 0) return 0;
return now < due - 1000000LL;
}
static int64_t scene_next_due(int64_t now, int64_t due, int limit) {
if (limit <= 0) return 0;
const int64_t interval = 1000000000LL / limit;
return due > 0 && now - due < interval ? due + interval : now + interval;
}
static void render_scene(void) {
g_scene_due_ns = scene_next_due(now_ns(), g_scene_due_ns, g_fps_limit);
if (atomic_load(&g_stream_on)) { g_dirty_since_ns = 0; render_stream(); return; }
struct draw_list dl = {0};
struct surface *s;
@@ -2302,7 +2316,9 @@ static void render_scene(void) {
static int on_fallback_timer(void *data) {
g_fallback_armed = 0;
if (g_dirty) render_scene();
if (!g_dirty) return 0;
if (scene_held_for_limit(now_ns(), g_scene_due_ns, g_fps_limit, g_release_unpaced)) schedule_render();
else render_scene();
return 0;
}
@@ -2377,6 +2393,7 @@ static void on_vsync(int64_t frame_time_ns) {
g_tick_held = 1;
return;
}
if (g_dirty && scene_held_for_limit(now, g_scene_due_ns, g_fps_limit, g_release_unpaced)) return;
if (g_dirty && !scene_waits_for_game(now)) render_scene();
}
@@ -17,6 +17,8 @@ class App : Application() {
override fun onCreate() {
super.onCreate()
com.droiddeck.launcher.ui.Themes.loadGradient(this)
com.droiddeck.launcher.ui.BuildWatermark.install(this)
HomeApp.trackRecents(this)
// Helper processes must not initialize the main USB provider or guest graphics context.
val process = if (android.os.Build.VERSION.SDK_INT >= 28) Application.getProcessName()
else (getSystemService(ACTIVITY_SERVICE) as android.app.ActivityManager)
@@ -34,8 +36,10 @@ class App : Application() {
com.droiddeck.launcher.stores.StoresState.init(this)
return
}
if (process == "$packageName:vr_recovery" || process == "$packageName:rgb_diagnostic") return
if (process == "$packageName:vr_recovery" || process == "$packageName:rgb_diagnostic" ||
process == "$packageName:shortcuts_sync") return
CrashHandler.install(this)
com.droiddeck.launcher.core.SteamIntegration.syncShortcutsListing(this)
com.droiddeck.launcher.session.QuestExperimental.initialize(this)
com.droiddeck.launcher.session.SessionPrefs.applyNtsyncDefault(this)
com.droiddeck.launcher.session.SessionPrefs.settleGpuDriverMode(this)
@@ -109,6 +109,8 @@ class FrontEndActivity : ComponentActivity() {
private var ready by mutableStateOf(false)
private var removalPending by mutableStateOf(false)
private var available by mutableStateOf<LinuxRuntimeInstaller.Release?>(null)
private var catalogFresh = false
private var componentsQueueBusy by mutableStateOf(false)
private var busy by mutableStateOf(false)
private var stage by mutableStateOf("")
private var percent by mutableIntStateOf(-1)
@@ -169,6 +171,8 @@ class FrontEndActivity : ComponentActivity() {
private var zramClient by mutableStateOf(true)
private var vramCapMb by mutableStateOf(0)
private var gpuClockPin by mutableStateOf(false)
private var performanceBoost by mutableStateOf(false)
private var boostCheck by mutableStateOf(false)
private var prootNoSeccomp by mutableStateOf(false)
private var prootFastPath by mutableStateOf(true)
private var cursorComposite by mutableStateOf(false)
@@ -193,7 +197,7 @@ class FrontEndActivity : ComponentActivity() {
private var navRequest by mutableStateOf<String?>(null)
private var storesShowMature by mutableStateOf(false)
private var storesSort by mutableStateOf(SessionPrefs.STORES_SORTS.first())
private var storesView by mutableStateOf(SessionPrefs.STORES_VIEWS.first())
private var storesView by mutableStateOf(SessionPrefs.DEFAULT_STORES_VIEW)
private var mic by mutableStateOf(false)
private var wifiDiscovery by mutableStateOf(false)
private var wifiDiscoveryPermission by mutableStateOf(false)
@@ -322,7 +326,10 @@ class FrontEndActivity : ComponentActivity() {
SteamIntegration.Feature.SHORTCUTS -> {
if (!integrationState.shortcuts) shortcutsTried = true
if (!HomeApp.isDefault(this)) configureIntegration(SteamIntegration.Feature.HOME)
else integrationSettings(SteamIntegration.shortcutSettings(this), android.provider.Settings.ACTION_ACCESSIBILITY_SETTINGS)
else {
SteamIntegration.setShortcutsListed(this, true)
integrationSettings(SteamIntegration.shortcutSettings(this), android.provider.Settings.ACTION_ACCESSIBILITY_SETTINGS)
}
}
}
}
@@ -537,6 +544,11 @@ class FrontEndActivity : ComponentActivity() {
override fun onDisplayRemoved(displayId: Int) = refreshSecondScreenDisplays()
override fun onDisplayChanged(displayId: Int) = refreshSecondScreenDisplays()
}
private val secondScreenTouchListener = object : android.hardware.input.InputManager.InputDeviceListener {
override fun onInputDeviceAdded(deviceId: Int) = refreshSecondScreenDisplays()
override fun onInputDeviceRemoved(deviceId: Int) = refreshSecondScreenDisplays()
override fun onInputDeviceChanged(deviceId: Int) = refreshSecondScreenDisplays()
}
private val homeRoleRequest = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
refreshHomeAppState()
@@ -666,7 +678,23 @@ class FrontEndActivity : ComponentActivity() {
private var shortcutPicker by mutableStateOf(false)
private var shortcutLibraryScanning by mutableStateOf(false)
@Volatile private var libraryScanGeneration = 0
@Volatile private var lastComponentRestore = 0L
@Volatile private var componentRestoreRetry = false
private val componentRestoreLock = Any()
private fun retryComponentRestore() {
val run = synchronized(componentRestoreLock) {
componentRestoreRetry = false
val now = android.os.SystemClock.elapsedRealtime()
(!isDestroyed && now - lastComponentRestore >= COMPONENT_RESTORE_MS).also { if (it) lastComponentRestore = now }
}
if (run) Thread({
runCatching { com.droiddeck.launcher.frontend.AutoComponents.restoreMissing(this) }.onFailure { Log.w(TAG, "components: restore failed", it) }
}, "components-restore").start()
}
private var pendingGameLink: String? = null
private var gameLinkReading = false
private var gameLinkTried = false
private var gameSyncFolder by mutableStateOf<String?>(null)
private fun pickGameExport(game: Library.SteamGame?) {
onSavePicked = { folder ->
@@ -707,16 +735,25 @@ class FrontEndActivity : ComponentActivity() {
shortcutLibraryScanning = true
} else shortcutLibraryScanning = false
pendingGameLink = null
gameLinkReading = false
gameLinkTried = false
if (GameLaunchIntent.accepts(request.action)) {
gameLinkReading = true
com.droiddeck.launcher.ui.DualScreenPanel.hide(taskId)
val copy = Intent(request)
Thread({
val id = GameLaunchIntent.read(this, copy)
ui.post {
if (intent === request && !isDestroyed) {
gameLinkReading = false
pendingGameLink = id
if (id == null) {
syncDualPanel()
android.widget.Toast.makeText(this, R.string.game_link_invalid, android.widget.Toast.LENGTH_LONG).show()
} else refresh()
} else {
handleGameLink(steamGames, scanned = false)
refresh()
}
}
}
}, "game-launch-file").start()
@@ -919,15 +956,21 @@ class FrontEndActivity : ComponentActivity() {
ui.postDelayed(poll, SESSION_SWITCH_POLL_MS)
}
private fun handleGameLink(games: List<Library.SteamGame>) {
private fun handleGameLink(games: List<Library.SteamGame>, scanned: Boolean = true) {
if (!lifecycle.currentState.isAtLeast(androidx.lifecycle.Lifecycle.State.RESUMED)) return
val id = pendingGameLink ?: return
if (!scanned && games.none { it.gameIdString == id }) return
gameLinkTried = true
ui.postDelayed({
if (!isDestroyed && lifecycle.currentState.isAtLeast(androidx.lifecycle.Lifecycle.State.RESUMED)) syncDualPanel()
}, LINK_PANEL_MS)
val game = games.firstOrNull { it.gameIdString == id }
if (game == null) {
pendingGameLink = null
intent.data = null
intent.action = Intent.ACTION_MAIN
intent.removeExtra(GameLaunchIntent.EXTRA_APP_ID)
syncDualPanel()
android.widget.Toast.makeText(this, R.string.game_link_missing, android.widget.Toast.LENGTH_LONG).show()
} else if (launchGame(game, returnHome = true)) {
pendingGameLink = null
@@ -1498,6 +1541,9 @@ class FrontEndActivity : ComponentActivity() {
super.onNewIntent(intent)
setIntent(intent)
if (intent.action == SteamIntegration.ACTION_SETUP) {
gameLinkReading = false
pendingGameLink = null
syncDualPanel()
readIntegrationIntent(intent)
return
}
@@ -1530,9 +1576,28 @@ class FrontEndActivity : ComponentActivity() {
startSession(Intent(this, SessionActivity::class.java).putExtra(SessionActivity.EXTRA_STEAMVR, steamVr), steamSession = true)
}
@Suppress("OVERRIDE_DEPRECATION")
override fun startActivityForResult(intent: Intent, requestCode: Int, options: Bundle?) {
val outside = com.droiddeck.launcher.ui.DualScreenPanel.shownOn >= 0 &&
com.droiddeck.launcher.ui.DualScreenPanel.opensOutside(packageName, intent.component?.packageName ?: intent.`package` ?: intent.resolveActivity(packageManager)?.packageName)
if (outside) {
com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, true)
window.decorView.postDelayed({ if (hasWindowFocus()) com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false) }, 1500)
}
try {
super.startActivityForResult(intent, requestCode, options)
} catch (e: RuntimeException) {
if (outside) com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
throw e
}
}
override fun onWindowFocusChanged(hasFocus: Boolean) {
super.onWindowFocusChanged(hasFocus)
if (hasFocus) applyLauncherFullscreen()
if (hasFocus) {
com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
applyLauncherFullscreen()
}
}
private fun applyLauncherFullscreen() {
@@ -1591,15 +1656,19 @@ class FrontEndActivity : ComponentActivity() {
override fun onPause() {
compatLaunchVisible = false
if (android.os.Build.VERSION.SDK_INT >= 29) com.droiddeck.launcher.ui.DualScreenPanel.ownerPaused(taskId, true)
super.onPause()
}
override fun onResume() {
super.onResume()
compatLaunchVisible = true
com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
com.droiddeck.launcher.ui.DualScreenPanel.ownerPaused(taskId, false)
orientation = SessionPrefs.orientation(this)
launcherOrientation = com.droiddeck.launcher.core.AppUiPrefs.orientation(this)
requestedOrientation = launcherOrientation
SteamIntegration.syncShortcutsListing(this)
refreshWifiDiscovery()
com.droiddeck.launcher.stores.StoresState.refresh(this)
com.droiddeck.launcher.stores.StoresState.libraryListener = { refreshAddedGames(); refresh() }
@@ -1614,14 +1683,21 @@ class FrontEndActivity : ComponentActivity() {
drivers.checkOnOpen()
resumeInterruptedPackages()
protons.checkUpdates()
if (!SessionState.running) Thread({
val applied = runCatching { ComponentsManager.applyQueued(this) }.getOrDefault(emptyList())
if (applied.isNotEmpty()) ui.post {
android.widget.Toast.makeText(this, getString(R.string.main_applied, applied.joinToString(", ")), android.widget.Toast.LENGTH_LONG).show()
}
ui.post { if (showComponents) components.refreshComponents() }
}, "components-queue").start()
else if (showComponents) components.refreshComponents()
catalogFresh = false
if (!SessionState.running && !componentsQueueBusy && !LinuxRuntimeInstaller.isBusy()) {
componentsQueueBusy = true
Thread({
val applied = runCatching { ComponentsManager.applyQueued(this) }.getOrDefault(emptyList())
if (applied.isNotEmpty()) ui.post {
android.widget.Toast.makeText(this, getString(R.string.main_applied, applied.joinToString(", ")), android.widget.Toast.LENGTH_LONG).show()
}
ui.post {
componentsQueueBusy = false
if (showComponents) components.refreshComponents()
autoUpdateRuntime()
}
}, "components-queue").start()
} else if (showComponents) components.refreshComponents()
oscMode = SessionPrefs.oscMode(this)
refreshController()
refreshHomeAppState()
@@ -1644,6 +1720,7 @@ class FrontEndActivity : ComponentActivity() {
addDataScheme("file")
})
displayManager.registerDisplayListener(secondScreenDisplayListener, ui)
getSystemService(android.hardware.input.InputManager::class.java)?.registerInputDeviceListener(secondScreenTouchListener, ui)
launcherStarted = true
refreshSecondScreenDisplays()
getSystemService(android.content.pm.LauncherApps::class.java).registerCallback(packageCallback, ui)
@@ -1687,8 +1764,9 @@ class FrontEndActivity : ComponentActivity() {
com.droiddeck.launcher.stores.StoresState.libraryListener = null
com.droiddeck.launcher.stores.battlenet.BattleNetClient.opener = null
displayManager.unregisterDisplayListener(secondScreenDisplayListener)
getSystemService(android.hardware.input.InputManager::class.java)?.unregisterInputDeviceListener(secondScreenTouchListener)
launcherStarted = false
com.droiddeck.launcher.ui.DualScreenPanel.hide()
com.droiddeck.launcher.ui.DualScreenPanel.hide(taskId)
flood = null
returning = null
floodProgress = 0f
@@ -1723,8 +1801,7 @@ class FrontEndActivity : ComponentActivity() {
// The launcher can itself be shown on a non-default display (DeX, an external monitor); that one is not a "second screen".
val ownDisplayId = if (android.os.Build.VERSION.SDK_INT >= 30) display?.displayId ?: android.view.Display.DEFAULT_DISPLAY else @Suppress("DEPRECATION") windowManager.defaultDisplay.displayId
dualScreenMode = SessionPrefs.dualScreenMode(this)
secondScreenDisplays = if (dualScreenMode == com.droiddeck.launcher.input.DualScreen.MODE_OFF) emptyList()
else SecondScreenDisplays.available(displayManager, ownDisplayId)
secondScreenDisplays = SecondScreenDisplays.available(displayManager, ownDisplayId)
dualScreenDevice = com.droiddeck.launcher.input.DualScreen.anyDisplay(displayManager, ownDisplayId) != null
dualScreenLauncher = SessionPrefs.dualScreenLauncher(this)
dualScreenControls = SessionPrefs.dualScreenSessionControls(this)
@@ -1734,14 +1811,20 @@ class FrontEndActivity : ComponentActivity() {
}
private fun syncDualPanel() {
if (launchPending()) return
if (launcherStarted && dualDisplayId >= 0) com.droiddeck.launcher.ui.DualScreenPanel.show(this, dualDisplayId, taskId)
else com.droiddeck.launcher.ui.DualScreenPanel.hide()
else com.droiddeck.launcher.ui.DualScreenPanel.hide(taskId)
}
private fun launchPending(): Boolean = gameLinkReading || (pendingGameLink != null && !gameLinkTried)
private fun launchAndroidApp(app: HomeApp.LaunchableApp, displayId: Int?) {
val onOwnScreen = displayId == null || displayId == (display?.displayId ?: Display.DEFAULT_DISPLAY)
if (onOwnScreen) com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, true)
try {
HomeApp.launch(this, app, displayId)
} catch (_: Exception) {
com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, false)
val label = secondScreenDisplays.firstOrNull { it.id == displayId }?.label
val message = when {
displayId == null || displayId == Display.DEFAULT_DISPLAY -> getString(R.string.android_app_open_failed_primary, app.label)
@@ -2161,6 +2244,7 @@ class FrontEndActivity : ComponentActivity() {
fsyncFirst = fsyncFirst,
gamescopeRealtime = gamescopeRealtime,
gpuClockPin = gpuClockPin,
performanceBoost = performanceBoost, boostCheck = boostCheck,
ramCapMb = ramCapMb, vramCapMb = vramCapMb, zramClient = zramClient,
deviceRamMb = (android.app.ActivityManager.MemoryInfo()
.also((getSystemService(ACTIVITY_SERVICE) as android.app.ActivityManager)::getMemoryInfo).totalMem / (1024 * 1024)).toInt(),
@@ -2178,6 +2262,8 @@ class FrontEndActivity : ComponentActivity() {
onFsyncFirst = { on -> SessionPrefs.setFsyncFirst(this, on); fsyncFirst = on },
onGamescopeRealtime = { on -> SessionPrefs.setGamescopeRealtime(this, on); gamescopeRealtime = on },
onGpuClockPin = { on -> SessionPrefs.setGpuClockPin(this, on); gpuClockPin = on },
onPerformanceBoost = { on -> SessionPrefs.setPerformanceBoost(this, on); performanceBoost = on },
onBoostCheck = { on -> SessionPrefs.setBoostCheck(this, on); boostCheck = on },
onRamCapMb = { mb -> SessionPrefs.setRamCapMb(this, mb); ramCapMb = mb },
onZramClient = { on -> SessionPrefs.setZramClient(this, on); zramClient = on },
onVramCapMb = { mb -> SessionPrefs.setVramCapMb(this, mb); vramCapMb = mb },
@@ -2394,6 +2480,8 @@ class FrontEndActivity : ComponentActivity() {
zramClient = SessionPrefs.zramClient(this)
vramCapMb = SessionPrefs.vramCapMb(this)
gpuClockPin = SessionPrefs.gpuClockPin(this)
performanceBoost = SessionPrefs.performanceBoost(this)
boostCheck = SessionPrefs.boostCheck(this)
prootNoSeccomp = SessionPrefs.prootNoSeccomp(this)
prootFastPath = SessionPrefs.prootFastPath(this)
cursorComposite = SessionPrefs.cursorComposite(this)
@@ -2423,6 +2511,7 @@ class FrontEndActivity : ComponentActivity() {
installed = LinuxRuntimeInstaller.installedVersion(this)
ready = LinuxRuntime.isInstalled(this)
removalPending = LinuxRuntimeInstaller.hasRemovalPending(this)
ui.post { autoUpdateRuntime() }
frameGenLabel = FrameGen.label(this)
romsDir = SessionPrefs.romsDir(this).takeIf { it.isNotEmpty() }
logsEnabled = SessionPrefs.logsEnabled(this)
@@ -2465,15 +2554,32 @@ class FrontEndActivity : ComponentActivity() {
}
val scannedArch = SessionPrefs.activeSteamClientArch(this)
val scannedX64 = scannedArch == "x86_64"
val games = if (ready) Library.launchableGames(this, arch = scannedArch) else emptyList()
val games = if (ready || com.droiddeck.launcher.runtime.LinuxRuntime.hasRootfs(this)) Library.launchableGames(this, arch = scannedArch) else emptyList()
val all = games.distinctBy { it.gameId }
if (ready && scanGeneration == libraryScanGeneration) com.droiddeck.launcher.frontend.LibraryCache.save(this, all, scannedX64)
val endedSession = SessionState.sessionId.takeIf { !SessionState.running && it != null && it != componentSweepSession }
if (ready && (!componentSweepDone || endedSession != null)) {
val sweepDue = ready && (!componentSweepDone || endedSession != null)
if (sweepDue) {
componentSweepDone = true
endedSession?.let { componentSweepSession = it }
ui.postDelayed({ Thread({ com.droiddeck.launcher.frontend.AutoComponents.sweep(this, all) }, "components-sweep").start() }, 10_000)
}
val restoreDue = synchronized(componentRestoreLock) {
val now = android.os.SystemClock.elapsedRealtime()
val due = ready && (lastComponentRestore == 0L || now - lastComponentRestore >= COMPONENT_RESTORE_MS)
if (due) {
lastComponentRestore = now
} else if (ready && !componentRestoreRetry) {
componentRestoreRetry = true
ui.postDelayed({ retryComponentRestore() }, (COMPONENT_RESTORE_MS - (now - lastComponentRestore)).coerceAtLeast(0L))
}
due
}
if (restoreDue || sweepDue) ui.postDelayed({
Thread({
if (restoreDue) runCatching { com.droiddeck.launcher.frontend.AutoComponents.restoreMissing(this) }.onFailure { Log.w(TAG, "components: restore failed", it) }
if (sweepDue) com.droiddeck.launcher.frontend.AutoComponents.sweep(this, all)
}, "components-restore").start()
}, 10_000)
ui.post {
if (scanGeneration == libraryScanGeneration) {
val current = steamGames.filter { it.library != Library.ADDED }.associateBy { it.appId }
@@ -2567,7 +2673,7 @@ class FrontEndActivity : ComponentActivity() {
private fun runtimeChangesBlocked(): Boolean =
busy || LinuxRuntimeInstaller.isBusy() || SessionState.running ||
SessionState.phase !in setOf(SessionPhase.IDLE, SessionPhase.FAILED) ||
protons.protonBusyId != null || ProtonExtras.installInProgress || pkgStage != null ||
protons.protonBusyId != null || ProtonExtras.installInProgress || pkgStage != null || componentsQueueBusy ||
components.compBusy != null || saveBusy != null || com.droiddeck.launcher.store.UserAppsState.working != null
private fun removeDesktop() {
@@ -2627,15 +2733,32 @@ class FrontEndActivity : ComponentActivity() {
}, "runtime-operation").start()
}
private fun autoUpdateRuntime() {
val release = available?.takeIf { catalogFresh } ?: return
if (!lifecycle.currentState.isAtLeast(androidx.lifecycle.Lifecycle.State.RESUMED) || runtimeChangesBlocked() || removalPending) return
if (release.version == installed || installed == null) return
if (com.droiddeck.launcher.runtime.RuntimeAutoUpdate.claim(this, installed, release.version)) {
Log.i(TAG, "runtime: updating $installed to ${release.version} by itself")
install(release)
}
}
private fun checkCatalog() {
val release = LinuxRuntimeInstaller.fetchRelease()
Log.i(TAG, "catalog: " + (release?.version ?: "unreachable"))
ui.post { if (release != null) available = release }
ui.post {
if (release == null) return@post
available = release
catalogFresh = true
autoUpdateRuntime()
}
}
companion object {
private const val TAG = "MainActivity"
private const val MEDIA_SETTLE_MS = 1500L
private const val COMPONENT_RESTORE_MS = 60_000L
private const val LINK_PANEL_MS = 1500L
private const val SESSION_SWITCH_WAIT_MS = 30_000L
private const val SESSION_SWITCH_POLL_MS = 250L
private const val KEY_PENDING_SWITCH = "pending_switch"
@@ -147,8 +147,62 @@ object HomeApp {
.getShortcutIconDrawable(info, context.resources.displayMetrics.densityDpi)?.toBitmap(px, px)
}.getOrNull()
fun trackRecents(app: android.app.Application) {
app.registerActivityLifecycleCallbacks(object : android.app.Application.ActivityLifecycleCallbacks {
override fun onActivityCreated(activity: android.app.Activity, savedInstanceState: android.os.Bundle?) = Unit
override fun onActivityStarted(activity: android.app.Activity) = Unit
override fun onActivityResumed(activity: android.app.Activity) = syncRecents(activity)
override fun onActivityPaused(activity: android.app.Activity) { if (activity is FrontEndActivity) syncRecents(activity) }
override fun onActivityStopped(activity: android.app.Activity) = Unit
override fun onActivitySaveInstanceState(activity: android.app.Activity, outState: android.os.Bundle) = Unit
override fun onActivityDestroyed(activity: android.app.Activity) = Unit
})
}
private fun syncRecents(activity: android.app.Activity) =
keepOutOfRecents(activity, activity is FrontEndActivity && !SessionState.running && isDefault(activity))
internal enum class RecentsStep { HIDE, SHOW, FORGET, NONE }
internal fun recentsStep(hidden: Boolean, owned: Boolean, excluded: Boolean): RecentsStep = when {
hidden && !excluded -> RecentsStep.HIDE
!hidden && owned && excluded -> RecentsStep.SHOW
!hidden && owned -> RecentsStep.FORGET
else -> RecentsStep.NONE
}
fun keepOutOfRecents(activity: android.app.Activity, hidden: Boolean) {
val prefs = activity.getSharedPreferences("home-recents", Context.MODE_PRIVATE)
val owned = prefs.getStringSet("tasks", null).orEmpty()
val id = activity.taskId.toString()
if (!hidden && id !in owned) return
runCatching {
@Suppress("DEPRECATION")
fun idOf(task: android.app.ActivityManager.AppTask) =
if (Build.VERSION.SDK_INT >= 29) task.taskInfo.taskId else task.taskInfo.persistentId
val tasks = activity.getSystemService(android.app.ActivityManager::class.java).appTasks
val task = tasks.firstOrNull { idOf(it) == activity.taskId } ?: return
val excluded = task.taskInfo.baseIntent.flags and Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS != 0
val step = recentsStep(hidden, id in owned, excluded)
if (step == RecentsStep.NONE) return
if (step != RecentsStep.FORGET) task.setExcludeFromRecents(step == RecentsStep.HIDE)
val live = tasks.map { idOf(it).toString() }.toSet()
val next = owned.filter { it in live && it != id }.toMutableSet()
if (step == RecentsStep.HIDE) next += id
prefs.edit().putStringSet("tasks", next).apply()
}
}
fun startShortcut(context: Context, info: ShortcutInfo) {
context.getSystemService(LauncherApps::class.java).startShortcut(info, null, null)
val task = generateSequence(context) { (it as? android.content.ContextWrapper)?.baseContext }
.filterIsInstance<android.app.Activity>().firstOrNull()?.taskId
task?.let { com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(it, true) }
try {
context.getSystemService(LauncherApps::class.java).startShortcut(info, null, null)
} catch (e: Exception) {
task?.let { com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(it, false) }
throw e
}
}
fun openAppInfo(context: Context, app: LaunchableApp) {
@@ -75,6 +75,8 @@ import com.droiddeck.launcher.input.ControllerPrefs
import com.droiddeck.launcher.input.SessionClipboard
import com.droiddeck.launcher.input.OnScreenControls
import com.droiddeck.launcher.input.PadBridge
import com.droiddeck.launcher.input.PhysicalShortcuts
import com.droiddeck.launcher.input.PhysicalShortcutRouter
import com.droiddeck.launcher.input.PadMouse
import com.droiddeck.launcher.input.PadState
import com.droiddeck.launcher.input.ScreenKeys
@@ -90,8 +92,8 @@ import com.droiddeck.launcher.input.TouchscreenGestures
import com.droiddeck.launcher.input.ScrollTouchGestures
import com.droiddeck.launcher.runtime.LinuxRuntime
import com.droiddeck.launcher.session.LoadingState
import com.droiddeck.launcher.hud.FusionHudConfig
import com.droiddeck.launcher.hud.FusionHudHost
import com.droiddeck.launcher.hud.DroidDeckHudConfig
import com.droiddeck.launcher.hud.DroidDeckHudHost
import com.droiddeck.launcher.session.PerfMode
import com.droiddeck.launcher.session.SteamRepair
import com.droiddeck.launcher.session.GameEnvironmentStore
@@ -159,9 +161,10 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private lateinit var surfaceView: SurfaceView
private lateinit var sessionOverlay: ComposeView
private lateinit var loading: LoadingState
private lateinit var hud: FusionHudHost
private lateinit var hud: DroidDeckHudHost
private lateinit var memoryHud: com.droiddeck.launcher.session.MemoryHud
private var padBridge: PadBridge? = null
private val physicalShortcuts = PhysicalShortcutRouter()
private var joyConVr: com.droiddeck.launcher.input.JoyConVr? = null
private var handCamera: com.droiddeck.launcher.handtracking.HandCamera? = null
private var padMotion: com.droiddeck.launcher.input.PadMotion? = null
@@ -212,6 +215,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private var gestureConfig = com.droiddeck.launcher.input.TouchGestureConfig()
private var gestureGame: String? = null
private var gestureSettingsOpen by mutableStateOf(false)
private var steamImportAsk by mutableStateOf<com.droiddeck.launcher.session.SteamImportPrompt.Ask?>(null)
private var steamImportAnswered: String? = null
private var directHoldBehavior by mutableStateOf(com.droiddeck.launcher.input.TouchGestureConfig.MOUSE_BEHAVIOR_CLICK)
private var screenKeyPickerOpen by mutableStateOf(false)
private var screenKeyBind: List<Int>? = null
@@ -351,9 +356,13 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private var drawerDefaultProton by mutableStateOf<String?>(null)
private val drawerComponentMenu by lazy { ComponentsMenu(this, uiHandler) }
private var drawerGameProfileId by mutableStateOf<Long?>(null)
private var fpsLimit by mutableStateOf(SessionState.fpsLimit)
private fun noSteamSession(): Boolean = SessionState.mode == SessionService.MODE_RUN &&
SessionState.program in setOf(com.droiddeck.launcher.session.NoSteamLaunch.PROTON_RUN, com.droiddeck.launcher.session.NoSteamLaunch.EPIC)
SessionState.program in setOf(
com.droiddeck.launcher.session.NoSteamLaunch.PROTON_RUN, com.droiddeck.launcher.session.NoSteamLaunch.EPIC,
com.droiddeck.launcher.session.NoSteamLaunch.BATTLENET,
)
private val drawerGameInventory = GameProfileInventoryCache<Library.SteamGame>()
private var drawerGameInventoryRevision = 0L
private var drawerGameFexPresetSaving by mutableStateOf(false)
@@ -430,6 +439,11 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private val cardboardPrefListener = android.content.SharedPreferences.OnSharedPreferenceChangeListener { _, key ->
if (key == SessionPrefs.CARDBOARD_KEY) uiHandler.post { applyCardboard(SessionPrefs.cardboard(this)) }
}
private val shortcutPrefListener = android.content.SharedPreferences.OnSharedPreferenceChangeListener { _, key ->
if (key == null || key == PhysicalShortcuts.KEY) {
physicalShortcuts.bindings = PhysicalShortcuts.read(this)
}
}
private var textureAnisotropy by mutableStateOf(0)
private var textureLodBias by mutableStateOf(TextureFiltering.LOD_BIAS_OFF)
private var drawerTextureAnisotropy by mutableStateOf<Int?>(null)
@@ -439,6 +453,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
if (r.resultCode == RESULT_OK) InAppFilePicker.pickedFile(r.data)?.let { importLossless(it) }
}
private var frameGen by mutableStateOf(FrameGen.Mode.OFF)
private var frameGenPip = false
private val frameGenRequests = java.util.concurrent.atomic.AtomicInteger()
private var fexPreset by mutableStateOf("")
private var suspendPolicy by mutableStateOf(SessionPrefs.SUSPEND_MANUAL)
private var steamDownloadsInBackground by mutableStateOf(false)
@@ -448,6 +464,9 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private var secondScreenDisplays by mutableStateOf<List<SecondScreenDisplay>>(emptyList())
private var selectedSecondScreenDisplay by mutableStateOf(SessionState.secondScreenDisplay)
private var started = false
private var dualControlsProvisional: Boolean
get() = SessionState.secondScreenProvisional
set(value) { SessionState.secondScreenProvisional = value }
private var sessionActivityDisplayId = Display.DEFAULT_DISPLAY
private lateinit var displayManager: DisplayManager
private var secondScreenPresentation: SecondScreenPresentation? = null
@@ -514,8 +533,10 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
refreshControls()
updatePointerCapture()
updateHandCamera()
refreshSecondScreenDisplays()
}
override fun onInputDeviceRemoved(deviceId: Int) {
physicalShortcuts.onDeviceRemoved(deviceId)
Log.i(TAG, "input device $deviceId disconnected")
backQamInput.onDeviceRemoved(deviceId)
joyConVr?.refresh()
@@ -524,10 +545,12 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
refreshControls()
updatePointerCapture()
updateHandCamera()
refreshSecondScreenDisplays()
}
override fun onInputDeviceChanged(deviceId: Int) {
joyConVr?.refresh()
refreshControls()
refreshSecondScreenDisplays()
}
}
@@ -560,6 +583,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
SessionState.steamUi = intent.getStringExtra(SessionService.EXTRA_STEAM_UI)
SessionState.steamUrl = intent.getStringExtra(SessionService.EXTRA_STEAM_URL)
SessionState.steamVr = intent.getBooleanExtra(EXTRA_STEAMVR, false)
SessionState.secondScreenAutoOpened = false
SessionState.secondScreenProvisional = false
} else if (intent.getBooleanExtra(EXTRA_STEAMVR, false) && SessionState.mode == SessionService.MODE_STEAM) {
SessionState.steamVr = true
}
@@ -569,6 +594,10 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
}
com.droiddeck.launcher.gpu.SteamVrHealth.begin(this, SessionState.sessionId)
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
if (!SessionState.running) {
SessionState.fpsLimit = 0
fpsLimit = 0
}
applyOutputPacing()
if (!SessionState.running) SessionState.followScreen = followChoice()
applyFollowOrientation(resources.configuration)
@@ -717,8 +746,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
val needProton = protonUser && com.droiddeck.launcher.runtime.DesktopCatalog.protonSeedNeeded(this)
if (needRuntime || needResume || needDesktop || needProton) installThenStart(needRuntime, needDesktop, needProton, needResume)
}
hud = FusionHudHost(this)
hud.onConfigChanged = { hudConfig = FusionHudConfig.load(this) }
hud = DroidDeckHudHost(this)
hud.onConfigChanged = { hudConfig = DroidDeckHudConfig.load(this) }
hud.passesTouchAt = ::controlTakesTouchAt
hud.attach(root, root.childCount)
memoryHud = com.droiddeck.launcher.session.MemoryHud(this)
@@ -808,7 +837,14 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
onDispose { com.droiddeck.launcher.glasses.GlassesMenuMirror.setSessionMenuVisible(this@SessionActivity, false) }
}
androidx.compose.runtime.LaunchedEffect(drawerOpen, pcKeyboardOpen, achievementsOpen, pipUi) { updatePointerCapture() }
androidx.compose.runtime.LaunchedEffect(pipUi) { hud.setHidden(pipUi) }
androidx.compose.runtime.LaunchedEffect(pipUi) {
hud.setHidden(pipUi)
applyOutputPacing()
if (pipUi != frameGenPip) {
frameGenPip = pipUi
if (FrameGen.engine(this@SessionActivity) != FrameGen.ENGINE_OFF && ::surfaceView.isInitialized) applyFrameGen()
}
}
androidx.compose.runtime.LaunchedEffect(AgentGuest.steamKeyboard) { updateOnScreenControls() }
androidx.compose.runtime.LaunchedEffect(AgentGuest.desktopTextField) { onDesktopTextField(AgentGuest.desktopTextField) }
androidx.compose.runtime.LaunchedEffect(pipUi, pcKeyboardOpen) { updateDesktopKeyboardButton() }
@@ -902,6 +938,29 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
}
}
com.droiddeck.launcher.ui.GestureFeedback(recognizedGesture)
LaunchedEffect(Unit) {
val root = LinuxRuntime.rootDir(this@SessionActivity)
while (true) {
val ask = if (SessionState.running && SessionState.mode == SessionService.MODE_STEAM) {
kotlinx.coroutines.withContext(kotlinx.coroutines.Dispatchers.IO) { com.droiddeck.launcher.session.SteamImportPrompt.read(root) }
} else null
steamImportAsk = ask?.takeIf { it.token != steamImportAnswered }
kotlinx.coroutines.delay(1500)
}
}
steamImportAsk?.takeIf { !loading.visible }?.let { ask ->
androidx.compose.runtime.key(ask.token) {
com.droiddeck.launcher.ui.SteamImportDialog(ask.games) { now ->
val root = LinuxRuntime.rootDir(this@SessionActivity)
Thread({
if (com.droiddeck.launcher.session.SteamImportPrompt.answer(root, ask.token, now)) runOnUiThread {
steamImportAnswered = ask.token
if (steamImportAsk?.token == ask.token) steamImportAsk = null
}
}, "steam-import-answer").start()
}
}
}
if (gestureSettingsOpen) com.droiddeck.launcher.ui.TouchGestureDialog(
game = gestureGame,
onDismiss = { gestureSettingsOpen = false },
@@ -1121,8 +1180,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
secondScreenDisplays = secondScreenDisplays,
selectedSecondScreenDisplay = selectedSecondScreenDisplay,
onHud = { on -> SessionPrefs.setHudEnabled(this@SessionActivity, on); hudOn = on; hud.refresh() },
onHudSetting = { key, value -> hudConfig = FusionHudConfig.set(this@SessionActivity, key, value); hud.applyConfig() },
onHudReset = { hudConfig = FusionHudConfig.reset(this@SessionActivity); hud.applyConfig() },
onHudSetting = { key, value -> hudConfig = DroidDeckHudConfig.set(this@SessionActivity, key, value); hud.applyConfig() },
onHudReset = { hudConfig = DroidDeckHudConfig.reset(this@SessionActivity); hud.applyConfig() },
onHudExport = { exportHudDiagnostics() },
onUpscaler = { m ->
SessionPrefs.setUpscaler(this@SessionActivity, m); upscaler = m
@@ -1155,6 +1214,12 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
textureLodBias = it
}
},
fpsLimit = fpsLimit,
onFpsLimit = { fps ->
SessionState.fpsLimit = fps
fpsLimit = fps
applyOutputPacing()
},
onFrameGenPick = { mode ->
FrameGen.set(this@SessionActivity, mode)
readPrefs()
@@ -1255,7 +1320,12 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
screenLayoutsOpen = true
},
onFexPreset = { v -> SessionPrefs.setFexPreset(this@SessionActivity, v); readPrefs() },
onSecondScreenMode = { mode -> if (docked) drawerOpen = false; typingReturnMode = null; selectSecondScreenMode(mode) },
onSecondScreenMode = { mode ->
if (docked) drawerOpen = false
typingReturnMode = null
if (mode != SecondScreenMode.NONE) SessionPrefs.setSecondScreenPanel(this@SessionActivity, mode.id)
selectSecondScreenMode(mode)
},
onSecondScreenDisplay = ::selectSecondScreenDisplay,
onLaunchAndroidApp = { app, displayId ->
drawerOpen = false
@@ -1751,7 +1821,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
unfoldedControlsWithController = SessionPrefs.unfoldedControlsWithController(this)
picturePosition = SessionPrefs.picturePosition(this)
hudOn = SessionPrefs.hudEnabled(this)
hudConfig = FusionHudConfig.load(this)
hudConfig = DroidDeckHudConfig.load(this)
hudColor = SessionPrefs.hudColor(this)
hudOpacity = SessionPrefs.hudOpacity(this)
upscaler = SessionPrefs.upscaler(this)
@@ -1788,6 +1858,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
steamDownloadsInBackground = SessionPrefs.steamDownloadsInBackground(this)
oscMode = SessionPrefs.oscMode(this)
backActionsInverted = SessionPrefs.backActionsInverted(this)
physicalShortcuts.bindings = PhysicalShortcuts.read(this)
backDoubleTapMs = SessionPrefs.backDoubleTapMs(this)
lowLatency = SessionPrefs.lowLatency(this)
evdevMouseOn = SessionPrefs.evdevMouse(this)
@@ -2168,10 +2239,13 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private fun mirrorRefreshLimit(): Int =
GlassesRendering.mirrorRefreshLimit(glassesSettings, glasses, glassesScreen != null)
private fun outputFpsLimit(): Int = SessionPrefs.compositorFpsLimit(mirrorRefreshLimit())
private fun outputFpsLimit(): Int = outputFpsLimit(pipUi)
private fun outputFpsLimit(pip: Boolean): Int =
SessionPrefs.compositorFpsLimit(mirrorRefreshLimit(), if (noSteamSession()) SessionState.fpsLimit else 0, pip)
private fun applyOutputPacing() {
Log.i(TAG, "perf: " + PerfMode.apply(this, outputFpsLimit(), mirrorRefreshLimit()))
Log.i(TAG, "perf: " + PerfMode.apply(this, outputFpsLimit(false), mirrorRefreshLimit()))
if (CompositorHost.isStarted) {
val hz = refreshHz()
val changed = kotlin.math.abs(SessionState.refreshHz - hz) > 0.1f
@@ -2183,8 +2257,13 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private fun applyFrameGen() {
val hz = refreshHz()
val pip = pipUi && mirrorRefreshLimit() <= 0
val request = frameGenRequests.incrementAndGet()
Thread({
val problem = FrameGen.apply(this, hz)
val problem = synchronized(frameGenRequests) {
if (request != frameGenRequests.get()) return@Thread
if (pip) FrameGen.apply(this, FrameGen.Mode.OFF, hz) else FrameGen.apply(this, hz)
}
val state = Lossless.state(this)
runOnUiThread {
lossless = state
@@ -2405,6 +2484,26 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
}
if (pipUi) return true
if (screenKeyTextFocus) return super.dispatchKeyEvent(event)
if (physicalShortcuts.onKey(
event,
enabled = SessionState.running && !SessionState.suspended &&
!(drawerOpen && event.keyCode == KeyEvent.KEYCODE_BUTTON_A) &&
!(drawerOpen && PhysicalShortcuts.isDrawerNavigationKey(event)) &&
(event.deviceId to event.keyCode) !in resumeKeysDown &&
!(::loading.isInitialized && (loading.visible || loading.ended)) &&
!pcKeyboardOpen && !achievementsOpen && !gestureSettingsOpen,
steam = SessionState.mode == SessionService.MODE_STEAM,
) { action ->
pendingBackAction?.let(uiHandler::removeCallbacks)
pendingBackAction = null
drawerControllerActive = true
Log.i(TAG, "physical shortcut ${action.name} device=${event.deviceId} key=${event.keyCode} scan=${event.scanCode}")
when (action) {
PhysicalShortcuts.Action.STEAM -> sendSteamGuide()
PhysicalShortcuts.Action.QAM -> triggerSteamQam()
PhysicalShortcuts.Action.DROIDDECK -> drawerOpen = !drawerOpen
}
}) return true
val pad = com.droiddeck.launcher.input.JoyCon.normalize(event)
if (pad !== event) return dispatchKeyEvent(pad)
val fromController = PadBridge.isControllerKeyEvent(event)
@@ -2737,6 +2836,10 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
override fun onWheel(steps: Int) { sendSceneWheel(steps) }
override fun onScroll(dx: Float, dy: Float) = fingerScroll(dx, dy)
override fun onScrollEnd() = fingerScrollEnd()
override fun onThreeFingerTap(): Boolean {
uiHandler.post { togglePcKeyboard() }
return true
}
override fun onZoom(steps: Int) {
WaylandCompositor.nativeSendKey(KEY_LEFTCTRL, 1)
sendSceneWheel(steps)
@@ -2909,19 +3012,22 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
private fun refreshSecondScreenDisplays() {
if (!::displayManager.isInitialized) return
val primaryId = shownOnDisplayId
val dualOff = SessionPrefs.dualScreenMode(this) == com.droiddeck.launcher.input.DualScreen.MODE_OFF
val candidates = SecondScreenDisplays.available(displayManager, primaryId)
.filter { !dualOff && (glassesScreen == null || it.id != glasses.displayId) }
.filter { glassesScreen == null || it.id != glasses.displayId }
val oldIds = secondScreenDisplays.map { it.id }.toSet()
secondScreenDisplays = candidates
val newIds = candidates.map { it.id }.toSet()
if (secondScreenMode != SecondScreenMode.NONE && oldIds.isNotEmpty() && selectedSecondScreenDisplay !in newIds) {
closeSecondScreen(reset = true)
SessionState.secondScreenAutoOpened = false
return
}
if (selectedSecondScreenDisplay !in newIds) selectedSecondScreenDisplay = candidates.firstOrNull()?.id ?: -1
if (secondScreenMode != SecondScreenMode.NONE && candidates.isEmpty()) closeSecondScreen(reset = true)
else if (started && secondScreenMode != SecondScreenMode.NONE && secondScreenPresentation == null) showSecondScreen(secondScreenMode)
if (secondScreenMode != SecondScreenMode.NONE && candidates.isEmpty()) {
closeSecondScreen(reset = true)
SessionState.secondScreenAutoOpened = false
} else if (started && secondScreenMode != SecondScreenMode.NONE && secondScreenPresentation == null) showSecondScreen(secondScreenMode)
else if (started && !ended && ::loading.isInitialized && !loading.visible) openDualScreenControls()
updateKeyboardRoute()
}
@@ -2932,7 +3038,16 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
if (secondScreenDisplays.none { it.id == target.displayId }) return
SessionState.secondScreenAutoOpened = true
selectedSecondScreenDisplay = target.displayId
selectSecondScreenMode(if (SessionState.deckPad) SecondScreenMode.DECK_CONTROLS else SecondScreenMode.KEYBOARD_TRACKPAD)
selectSecondScreenMode(SecondScreenMode.opening(SessionPrefs.secondScreenPanel(this), SessionState.deckPad))
dualControlsProvisional = ::loading.isInitialized && loading.visible
}
private fun settleDualScreenControls() {
if (!dualControlsProvisional || pipUi || !started || (::loading.isInitialized && loading.visible)) return
dualControlsProvisional = false
if (secondScreenMode == SecondScreenMode.NONE) return
val wanted = SecondScreenMode.opening(SessionPrefs.secondScreenPanel(this), SessionState.deckPad)
if (wanted != secondScreenMode) selectSecondScreenMode(wanted) else secondScreenPresentation?.retryTerminal()
}
private fun selectSecondScreenDisplay(displayId: Int) {
@@ -2943,6 +3058,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
}
private fun selectSecondScreenMode(mode: SecondScreenMode) {
dualControlsProvisional = false
if (mode == SecondScreenMode.NONE) {
closeSecondScreen(reset = true)
return
@@ -3721,7 +3837,10 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
updateOnScreenControls()
if (resumed) { sessionClipboard.start(); updatePadMotion() }
if (started) refreshSecondScreenDisplays()
if (started) {
settleDualScreenControls()
refreshSecondScreenDisplays()
}
if (CompositorHost.isStarted) applyFrameGen()
}
}
@@ -3757,9 +3876,10 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
for (name in arrayOf("peak_refresh_rate", "min_refresh_rate")) {
contentResolver.registerContentObserver(android.provider.Settings.System.getUriFor(name), false, refreshSettingObserver)
}
settleDualScreenControls()
refreshSecondScreenDisplays()
if (secondScreenMode != SecondScreenMode.NONE && secondScreenPresentation == null) showSecondScreen(secondScreenMode)
else if (::loading.isInitialized && !loading.visible) openDualScreenControls()
else openDualScreenControls()
startedScreens++
SessionService.setActivityVisible(this, true, sessionActivityDisplayId)
Glasses.rescan()
@@ -3824,6 +3944,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
}
(getSystemService(INPUT_SERVICE) as? InputManager)
?.registerInputDeviceListener(deviceListener, Handler(Looper.getMainLooper()))
refreshSecondScreenDisplays()
if (SessionState.guestPid > 1) padBridge?.syncConnectedControllers()
joyConVr?.refresh()
onScreenControls?.reload()
@@ -3842,6 +3963,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
updatePointerCapture()
if (!pipUi) sessionClipboard.start()
updatePadMotion()
ControllerPrefs.prefs(this).registerOnSharedPreferenceChangeListener(shortcutPrefListener)
readPrefs()
refreshControls()
if (::pip.isInitialized) pip.resumed()
@@ -3852,6 +3974,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
override fun onPause() {
com.droiddeck.launcher.input.HomeButtonShortcuts.detach(this)
if (runtimeRemovalBlocked) { super.onPause(); return }
physicalShortcuts.clear()
backQamInput.cancel()
capturePausedFrame()
sessionClipboard.stop()
@@ -3875,6 +3998,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
updatePadMotion()
keyboard?.takeIf { it.shown }?.hide()
SessionPrefs.sessionPrefs(this).unregisterOnSharedPreferenceChangeListener(cardboardPrefListener)
ControllerPrefs.prefs(this).unregisterOnSharedPreferenceChangeListener(shortcutPrefListener)
updateHeadTracker()
super.onPause()
}
@@ -4283,7 +4407,10 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
loading.visible = false
hud.start()
memoryHud.start()
if (started) openDualScreenControls()
if (started) {
settleDualScreenControls()
openDualScreenControls()
}
}
}
@@ -23,6 +23,9 @@ class AgentStartActivity : Activity() {
Thread({
try {
AgentBridgeProvider.awaitRecovery()
val until = android.os.SystemClock.elapsedRealtime() + RUNTIME_WAIT_MS
while (com.droiddeck.launcher.runtime.LinuxRuntimeInstaller.isBusy() && !isFinishing &&
android.os.SystemClock.elapsedRealtime() < until) Thread.sleep(RUNTIME_POLL_MS)
runOnUiThread {
if (!isFinishing) startSession(request)
}
@@ -51,6 +54,11 @@ class AgentStartActivity : Activity() {
}
private fun startSession(request: JSONObject) {
if (com.droiddeck.launcher.runtime.LinuxRuntimeInstaller.isBusy()) {
Log.w(TAG, "the Linux runtime is being installed or changed")
finish()
return
}
try {
AgentAccess.requireStart(this, request)
} catch (e: AgentException) {
@@ -107,5 +115,7 @@ class AgentStartActivity : Activity() {
companion object {
const val EXTRA_REQUEST = "request"
private const val TAG = "AgentStartActivity"
private const val RUNTIME_WAIT_MS = 15 * 60_000L
private const val RUNTIME_POLL_MS = 500L
}
}
@@ -0,0 +1,42 @@
package com.droiddeck.launcher.audio
import android.media.AudioAttributes
import android.media.AudioFormat
import android.media.AudioTrack
import android.util.Log
object DirectAudioTiming {
private const val TAG = "DirectAudioTiming"
const val PERIOD_ENV = "AUDIO_DIRECT_PERIOD_MS"
const val BUFFER_ENV = "AUDIO_DIRECT_MS"
const val SLOW_OUTPUT_PERIOD_MS = 20
const val SLOW_OUTPUT_BUFFER_MS = 60
fun environment(lowLatencyOutput: Boolean): List<String> =
if (lowLatencyOutput) emptyList()
else listOf("$PERIOD_ENV=$SLOW_OUTPUT_PERIOD_MS", "$BUFFER_ENV=$SLOW_OUTPUT_BUFFER_MS")
fun lowLatencyOutput(): Boolean = try {
val track = AudioTrack.Builder()
.setAudioAttributes(AudioAttributes.Builder()
.setUsage(AudioAttributes.USAGE_GAME)
.setContentType(AudioAttributes.CONTENT_TYPE_MUSIC)
.build())
.setAudioFormat(AudioFormat.Builder()
.setEncoding(AudioFormat.ENCODING_PCM_FLOAT)
.setSampleRate(48000)
.setChannelMask(AudioFormat.CHANNEL_OUT_STEREO)
.build())
.setPerformanceMode(AudioTrack.PERFORMANCE_MODE_LOW_LATENCY)
.setTransferMode(AudioTrack.MODE_STREAM)
.build()
try {
track.performanceMode == AudioTrack.PERFORMANCE_MODE_LOW_LATENCY
} finally {
track.release()
}
} catch (e: Exception) {
Log.w(TAG, "audio: could not check for low-latency output; DirectAudio keeps its defaults", e)
true
}
}
@@ -146,5 +146,7 @@ internal class AddonPack(
listOf("version", "xodus-cli", "xodus-service"))
val COMET = AddonPack("comet", BuildConfig.PACK_COMET_SHA256, BuildConfig.PACK_COMET_SIZE,
listOf("version", "comet"))
val BUTLER = AddonPack("butler", BuildConfig.PACK_BUTLER_SHA256, BuildConfig.PACK_BUTLER_SIZE,
listOf("version", "butler", "7z.so", "libc7zip.so"))
}
}
@@ -34,6 +34,8 @@ object GameEnvironmentOptions {
Option("MESA_EXTENSION_MAX_YEAR", "", 0, Type.TEXT),
Option("MESA_GL_VERSION_OVERRIDE", "", 0, Type.TEXT),
Option("PULSE_LATENCY_MSEC", "", 0, Type.NUMBER),
Option("AUDIO_DIRECT_MS", "", 0, Type.NUMBER),
Option("AUDIO_DIRECT_PERIOD_MS", "", 0, Type.NUMBER),
Option("DROIDDECK_GAME_CORES", "", R.string.game_env_cores, Type.TEXT),
Option("DROIDDECK_ANTICHEAT_OFFLINE", "1", R.string.game_env_anticheat_offline, Type.TOGGLE, listOf("0", "1")),
Option("WINE_LARGE_ADDRESS_AWARE", "0", 0, Type.TOGGLE, listOf("0", "1")),
@@ -0,0 +1,11 @@
package com.droiddeck.launcher.core
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
class ShortcutsListingReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
if (intent.action == Intent.ACTION_MY_PACKAGE_REPLACED) SteamIntegration.syncShortcutsListing(context)
}
}
@@ -4,6 +4,7 @@ import android.accessibilityservice.AccessibilityServiceInfo
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.provider.Settings
import android.view.accessibility.AccessibilityManager
@@ -55,6 +56,33 @@ object SteamIntegration {
return mode == android.app.AppOpsManager.MODE_ERRORED || mode == android.app.AppOpsManager.MODE_IGNORED
}
private fun shortcutsComponent(context: Context) = ComponentName(context, HomeButtonService::class.java)
fun shortcutsChosen(context: Context): Boolean = shortcutsSelection(context) == true
private fun shortcutsSelection(context: Context): Boolean? {
val target = shortcutsComponent(context)
val enabled = runCatching {
Settings.Secure.getString(context.contentResolver, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES)
}.getOrElse { return null }.orEmpty()
return enabled.split(':').any { ComponentName.unflattenFromString(it.trim()) == target }
}
fun setShortcutsListed(context: Context, listed: Boolean) {
val packages = context.packageManager
val component = shortcutsComponent(context)
val state = if (listed) PackageManager.COMPONENT_ENABLED_STATE_ENABLED else PackageManager.COMPONENT_ENABLED_STATE_DISABLED
runCatching {
if (packages.getComponentEnabledSetting(component) != state) {
packages.setComponentEnabledSetting(component, state, PackageManager.DONT_KILL_APP)
}
}
}
fun syncShortcutsListing(context: Context) {
shortcutsSelection(context)?.let { setShortcutsListed(context, it) }
}
fun dismissSuggestion(context: Context) {
SessionPrefs.sessionPrefs(context).edit().putBoolean("steam_integration_seen", true).apply()
}
@@ -0,0 +1,21 @@
package com.droiddeck.launcher.files
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Environment
import android.provider.Settings
object AllFilesAccess {
fun missing(sdk: Int = Build.VERSION.SDK_INT, granted: () -> Boolean = { Environment.isExternalStorageManager() }): Boolean =
sdk >= Build.VERSION_CODES.R && !granted()
fun open(context: Context) {
val app = Intent(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION, Uri.parse("package:" + context.packageName))
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
runCatching { context.startActivity(app) }.recoverCatching {
context.startActivity(Intent(Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK))
}
}
}
@@ -498,6 +498,25 @@ fun FileManagerScreen(
onDispose { lifecycleOwner.lifecycle.removeObserver(observer) }
}
val drives = remember(storageTick) { StorageRoots.list(context) }
var accessDrive by remember { mutableStateOf<String?>(null) }
fun unreadable(drive: StorageRoot) {
if (AllFilesAccess.missing()) accessDrive = drive.label
else Toast.makeText(context, context.getString(R.string.fm_drive_not_readable, drive.label), Toast.LENGTH_SHORT).show()
}
accessDrive?.let { label ->
OutlinedAlertDialog(
onDismissRequest = { accessDrive = null },
title = { Text(stringResource(R.string.fm_drive_access_title, label)) },
text = { Text(stringResource(R.string.fm_drive_access_text)) },
confirmButton = {
TextButton(onClick = {
accessDrive = null
AllFilesAccess.open(context)
}, modifier = Modifier.focusGlide(CircleShape)) { Text(stringResource(R.string.upd_open_settings)) }
},
dismissButton = { TextButton(onClick = { accessDrive = null }, modifier = Modifier.focusGlide(CircleShape)) { Text(stringResource(R.string.common_cancel)) } },
)
}
val linuxRoot = remember(storageTick) {
com.droiddeck.launcher.runtime.LinuxRuntime.rootDir(context).takeIf { File(it, "usr").isDirectory }
}
@@ -747,11 +766,7 @@ fun FileManagerScreen(
if (drive.readable) {
openDrive(drive.dir)
} else {
Toast.makeText(
context,
context.getString(R.string.fm_drive_not_readable, drive.label),
Toast.LENGTH_SHORT,
).show()
unreadable(drive)
}
},
modifier = Modifier.focusGlide(),
@@ -1072,7 +1087,7 @@ fun FileManagerScreen(
add(locItem(stringResource(R.string.fm_drive_internal), Icons.Filled.Smartphone, File("/storage/emulated/0")))
drives.filter { it.removable }.forEach { d ->
add(RailItem(d.label, Icons.Filled.SdStorage, !showFavorites && currentRoot.absolutePath == d.dir.absolutePath) {
showFavorites = false; if (d.readable) openDrive(d.dir)
showFavorites = false; if (d.readable) openDrive(d.dir) else unreadable(d)
})
}
linuxRoot?.let { add(locItem(stringResource(R.string.fm_drive_linux), Icons.Filled.Terminal, it)) }
@@ -287,14 +287,17 @@ object AddedGameArt {
var sgdbDown = false
var changed = false
for (game in games) {
if (forgetOtherAppsArt(context, game)) changed = true
val cache = cacheDir(context, game)
val start = missing(context, game)
val again = refetch(cache) intersect start
if (again.isEmpty()) File(cache, REFETCH).delete()
val full = Slot.COVER in start
val allowed = if (full) Slot.values().toSet() else EXTRAS
val allowed = if (full) Slot.values().toSet() else EXTRAS + again
var need = start intersect allowed
if (need.isEmpty() || (need == setOf(Slot.ICON) && sgdbKey.isEmpty())) continue
val cache = cacheDir(context, game)
val tried = File(cache, EXTRAS_TRIED)
if (!full && tried.isFile && tried.lastModified() >= keyChangedAt && System.currentTimeMillis() - tried.lastModified() < RETRY_AFTER_MS) continue
if (!full && again.isEmpty() && tried.isFile && tried.lastModified() >= keyChangedAt && System.currentTimeMillis() - tried.lastModified() < RETRY_AFTER_MS) continue
cache.mkdirs()
if (Slot.LOGO in need && game.source != Library.ADDED && runCatching { sources.storeLogo(game) }.getOrDefault(false)) {
changed = true
@@ -324,11 +327,42 @@ object AddedGameArt {
asked = false
}
}
if ((missing(context, game) intersect EXTRAS).isEmpty()) tried.delete() else if (asked) tried.writeText("")
val left = missing(context, game)
if (again.isNotEmpty()) keepRefetch(cache, again intersect left)
if ((left intersect EXTRAS).isEmpty()) tried.delete() else if (asked) tried.writeText("")
}
return changed
}
internal const val REFETCH = "refetch"
private fun refetch(cache: File): Set<Slot> =
runCatching { File(cache, REFETCH).readText() }.getOrDefault("").split(',').mapNotNull { key -> Slot.values().firstOrNull { it.key == key } }.toSet()
private fun keepRefetch(cache: File, slots: Set<Slot>) {
if (slots.isEmpty()) File(cache, REFETCH).delete() else File(cache, REFETCH).writeText(slots.joinToString(",") { it.key })
}
internal fun forgetOtherAppsArt(context: Context, game: AddedGames.Game): Boolean {
val cache = cacheDir(context, game)
val recorded = SteamMatch.get(context, game.folder.path)?.takeIf { it.appId != null }
val legacy = runCatching { File(cache, "steam-appid").readText().trim().toInt() }.getOrNull()?.takeIf { it > 0 }
val before = recorded?.appId ?: legacy ?: return false
val identity = runCatching { GameIdentifier.identify(game.exe) }.getOrNull()
val now = identity?.appId
val fromFiles = recorded?.certainty == SteamMatch.Certainty.FILES || before == GameIdentifier.SPACEWAR
if (now == before || (now == null && !fromFiles)) return false
SteamMatch.put(context, game.folder.path,
if (identity != null && now != null) SteamMatch.Match(now, SteamMatch.Certainty.FILES, identity.source.name.lowercase(), System.currentTimeMillis())
else SteamMatch.Match(null, SteamMatch.Certainty.NONE, "", 0))
val dropped = Slot.values().filter { File(cache, SteamGridDb.cacheName(it)).delete() }.toSet()
Slot.values().forEach { File(cache, SteamGridDb.cacheName(it) + ".src").delete() }
listOf("sgdb-id", "steam-appid", EXTRAS_TRIED).forEach { File(cache, it).delete() }
keepRefetch(cache, refetch(cache) + dropped)
Log.i(TAG, "${game.name}: its files no longer name Steam app $before; its art is fetched again")
return dropped.isNotEmpty()
}
internal fun steamMatch(context: Context, game: AddedGames.Game, search: (String) -> Int?): SteamMatch.Match {
if (game.source == Store.BATTLENET.id) {
val id = game.storeId?.let(BattleNet::title)?.steam
@@ -161,6 +161,25 @@ object AddedGames {
"appxmanifest.xml" to Regex("<Application\\b[^>]*?\\bExecutable\\s*=\\s*\"([^\"]+)\"", RegexOption.IGNORE_CASE),
)
private val GAME_PARTS = setOf(
"bin", "bin32", "bin64", "binaries", "x64", "x86", "win64", "win32", "windows",
"launcher", "game", "engine", "system", "data", "app",
)
internal fun groupGames(folder: File): List<File>? {
val files = folder.listFiles() ?: return null
if (files.any { it.isFile && it.name.endsWith(".exe", ignoreCase = true) && !skipExe(it.name) }) return null
if (declaredExes(folder).isNotEmpty()) return null
val dirs = files.filter { it.isDirectory && !it.name.startsWith(".") && !isSteamLibraryFolder(it.name) }.sortedBy { it.name.lowercase() }
if (dirs.any { it.name.lowercase() in GAME_PARTS || GameExePicker.auxiliaryDir(it) }) return null
return dirs.filter { rank(it).exes.isNotEmpty() }.takeIf { it.size >= 2 }
}
private fun expand(folder: File, entries: Set<String>): List<File> =
if (folder.path in entries) listOf(folder) else groupGames(folder) ?: listOf(folder)
private fun entryFolders(context: Context): Set<String> = AddedExes.list(context).map { it.folder }.toSet()
/** The card's Steam libraries: the arm64 client's steamapps and the x86-64 client's own folder beside it. */
internal fun isSteamLibraryFolder(name: String): Boolean =
name.equals("steamapps", ignoreCase = true) || name == com.droiddeck.launcher.session.GameStorage.X64_CARD_DIR
@@ -173,6 +192,7 @@ object AddedGames {
GameStorage.effective(context)?.let { File(it.path, "steamapps/common") },
)
val removed = SessionPrefs.removedAddedGames(context).toSet()
val entries = entryFolders(context)
for (dir in folders.distinctBy { it.absolutePath }) {
if (!dir.isDirectory) { Log.w(TAG, "$dir is not a folder; skipped"); continue }
val steamInstalls = steamInstallDirs(dir)
@@ -180,7 +200,7 @@ object AddedGames {
if (folder.name.lowercase() in steamInstalls || isSteamLibraryFolder(folder.name)) continue
if (folder.path in removed) continue
if (folder.name == "Games" && StoreInstallRoot.roots(context).any { it.absolutePath == folder.absolutePath }) continue
scanGame(context, folder, out)
for (game in expand(folder, entries)) if (game.path !in removed) scanGame(context, game, out)
}
}
for (entry in AddedExes.list(context)) {
@@ -232,8 +252,9 @@ object AddedGames {
val entries = AddedExes.list(context)
fun owns(f: File) = holds(f) && sameGame(f, currentExe(context, entries, f), exe)
entries.map { File(it.folder) }.filter(::owns).maxByOrNull { canonical(it).length }?.let { return it }
SessionPrefs.removedAddedGames(context).map { File(it) }.filter(::owns).maxByOrNull { canonical(it).length }?.let { return it }
SessionPrefs.removedAddedGames(context).map { File(it) }.filter { owns(it) && groupGames(it) == null }.maxByOrNull { canonical(it).length }?.let { return it }
StoreInstallRoot.gameFolders(context).firstOrNull(::holds)?.let { return it }
val removed = SessionPrefs.removedAddedGames(context)
val dirs = listOfNotNull(
GameStorage.effective(context)?.let { File(it.path, "steamapps/common") },
GameStorage.effective(context)?.let { File(it.path) },
@@ -242,7 +263,10 @@ object AddedGames {
val base = canonical(dir)
if (!inside(path, base)) continue
val first = path.removePrefix("$base/").substringBefore('/')
File(dir, first).takeIf { it.isDirectory && !isSteamLibraryFolder(first) }?.let { return it }
val top = File(dir, first).takeIf { it.isDirectory && !isSteamLibraryFolder(first) && it.path !in removed } ?: continue
val group = groupGames(top) ?: return top
if (top.path in entries.map { it.folder }) return null
return group.firstOrNull(::holds)
}
return null
}
@@ -295,10 +319,11 @@ object AddedGames {
if (guestPath(app, dir) == null) bindFolder(app, dir)
val removed = SessionPrefs.removedAddedGames(app).toSet()
val listed = listedFolders(app, removed)
val entries = entryFolders(app)
var already = 0
val fresh = ArrayList<String>()
val added = ArrayList<Game>()
for (sub in dir.listFiles { f -> f.isDirectory && (showHidden || !f.name.startsWith(".")) }?.sortedBy { it.name.lowercase() }.orEmpty()) {
for (sub in dir.listFiles { f -> f.isDirectory && (showHidden || !f.name.startsWith(".")) }?.sortedBy { it.name.lowercase() }.orEmpty().flatMap { expand(it, entries) }) {
val path = canonical(sub)
if (listed.any { it == path || inside(path, it) || inside(it, path) }) { already++; continue }
onChecking(sub.name)
@@ -332,6 +357,7 @@ object AddedGames {
private fun listedFolders(context: Context, removed: Set<String>): List<String> {
val out = ArrayList<String>()
val entries = entryFolders(context)
GamesFolderMigration.run(context)
val dirs = listOfNotNull(
GameStorage.effective(context)?.let { File(it.path) },
@@ -341,7 +367,7 @@ object AddedGames {
for (folder in dir.listFiles { f -> f.isDirectory }.orEmpty()) {
if (folder.path in removed || isSteamLibraryFolder(folder.name)) continue
if (folder.name == "Games" && StoreInstallRoot.roots(context).any { it.absolutePath == folder.absolutePath }) continue
out.add(canonical(folder))
expand(folder, entries).filter { it.path !in removed }.forEach { out.add(canonical(it)) }
}
}
AddedExes.list(context).filter { it.folder !in removed }.forEach { out.add(canonical(File(it.folder))) }
@@ -89,7 +89,13 @@ object AutoComponents {
private fun enqueue(context: Context, job: Job) {
if (!queuedKeys.add(job.key)) {
if (job.asked && jobs.removeIf { it.key == job.key && !it.asked }) jobs.add(job)
synchronized(jobs) {
val old = jobs.firstOrNull { it.key == job.key }
if (old != null && ((job.asked && !old.asked) || (job.inSession && !old.inSession)) && jobs.remove(old)) {
jobs.add(Job(old.game ?: job.game, old.component, old.asked || job.asked,
if (job.asked && !old.asked) job.seq else old.seq, old.pics ?: job.pics, old.inSession || job.inSession))
}
}
if (runNow && !draining) drain(context)
return
}
@@ -105,10 +111,7 @@ object AutoComponents {
@VisibleForTesting internal var gameRunning: () -> Boolean = { gameProcessRunning() }
private fun gameProcessRunning(): Boolean = File("/proc").listFiles()?.any { p ->
p.name.all(Char::isDigit) && runCatching { String(File(p, "cmdline").readBytes()).replace('\u0000', ' ') }.getOrNull()
?.let { it.contains("SteamLaunch AppId=") || it.contains("proton waitforexitandrun") } == true
} == true
private fun gameProcessRunning(): Boolean = com.droiddeck.launcher.session.SteamGameProcess.running()
fun queueInSession(context: Context, game: Library.SteamGame) {
if (appKey(game) == null) return
@@ -185,18 +188,19 @@ object AutoComponents {
val catalog = (catalogOf(context, false) ?: catalogOf(context, true))?.associateBy { it.name } ?: return
val wanted = autoPicks(findings, catalog)
val user = WinComponents.selection(context, key).user
val before = WinComponents.selection(context, key).auto
val installed = installedOf(context)
val kept = LinkedHashMap<String, WinComponents.AutoReason>()
val missing = ArrayList<String>()
for ((id, reason) in wanted) {
if (user[id] == false) { kept[id] = reason; continue }
if (id in installed) { kept[id] = reason; continue }
if (id in before) kept[id] = reason
synchronized(waiting) { waiting.getOrPut(id) { ArrayList() }.let { if (it.none { g -> appKey(g) == key }) it.add(game) } }
queueDownload(context, id, asked, inSession)
missing.add(id)
}
if (inSession) Pending.set(context, key, missing)
val before = WinComponents.selection(context, key).auto
if (inSession) Pending.set(context, key, (Pending.ids(context, key).filter { it !in installed && it !in wanted } + missing).distinct())
if (before.keys != kept.keys) {
WinComponents.setAuto(context, key, kept)
Log.i(TAG, "${game.name}: on by itself ${kept.keys.joinToString().ifEmpty { "(none)" }}")
@@ -235,6 +239,16 @@ object AutoComponents {
write(context, games)
}
@Synchronized fun ids(context: Context, key: String): List<String> =
read(context).optJSONArray(key)?.let { a -> (0 until a.length()).map { a.optString(it) } }.orEmpty()
@Synchronized fun add(context: Context, key: String, ids: List<String>) {
val games = read(context)
val have = games.optJSONArray(key)?.let { a -> (0 until a.length()).map { a.optString(it) } }.orEmpty()
games.put(key, JSONArray((have + ids).distinct()))
write(context, games)
}
@Synchronized fun drop(context: Context, id: String) {
val games = read(context)
for (k in games.keys().asSequence().toList()) {
@@ -317,6 +331,32 @@ object AutoComponents {
fun beforeLaunch(context: Context, game: Library.SteamGame) = queueGame(context, game, asked = false)
fun restoreMissing(context: Context): List<String> {
val selections = WinComponents.selections(context)
if (selections.isEmpty()) return emptyList()
val catalog = (catalogOf(context, false) ?: catalogOf(context, true))?.associateBy { it.name } ?: return emptyList()
val installed = installedOf(context)
val lostFor = selections.mapValues { (_, selection) ->
withParts(selection.effective.filter { WinComponents.validId(it) }, catalog).filter { it !in installed && it in catalog }
}.filterValues { it.isNotEmpty() }
if (lostFor.isEmpty()) return emptyList()
val lost = lostFor.values.flatten().distinct()
Log.i(TAG, "wincomp: reinstalling ${lost.joinToString()}, picked for games but missing from the runtime")
lostFor.forEach { (key, ids) -> Pending.add(context, key, ids) }
lost.forEach { queueDownload(context, it, asked = true, inSession = true) }
return lost
}
private fun withParts(ids: List<String>, catalog: Map<String, WinComponents.Component>): List<String> {
val out = LinkedHashSet<String>()
fun visit(id: String, depth: Int) {
if (depth > 8 || !out.add(id)) return
catalog[id]?.dependencies?.forEach { visit(it, depth + 1) }
}
ids.forEach { visit(it, 0) }
return out.toList()
}
fun refreshLater(context: Context, game: Library.SteamGame) = queueGame(context, game, asked = true)
fun sweep(context: Context, games: List<Library.SteamGame>) {
@@ -89,6 +89,8 @@ object GameExePicker {
return score
}
internal fun auxiliaryDir(dir: File): Boolean = skipDir(dir, dir.name)
private fun skipDir(dir: File, relative: String): Boolean {
val name = dir.name.lowercase().trim()
if (name in SKIP_DIRS || SKIP_DIR_PREFIX.any { name.startsWith(it) }) return true
@@ -5,6 +5,7 @@ import java.io.File
object GameIdentifier {
private const val MAX_PARENT_DEPTH = 6
internal const val SPACEWAR = 480
enum class Source { STEAM_APPID_TXT, STEAM_MANIFEST_ACF, STEAM_EMU_INI, GOG_INFO, PE_VERSION, FILENAME, NONE }
enum class Confidence { HIGH, MEDIUM, LOW }
@@ -92,7 +93,7 @@ object GameIdentifier {
for (candidate in arrayOf(File(dir, "steam_appid.txt"), File(dir, "steam_settings/steam_appid.txt"))) {
val id = readSmallTextFile(candidate)?.removePrefix("\uFEFF")?.trim()
?.takeWhile { it.isDigit() }?.toIntOrNull()
if (id != null && id > 0) return id
if (id != null && id > 0 && id != SPACEWAR) return id
}
return null
}
@@ -111,7 +112,7 @@ object GameIdentifier {
for (f in candidates) {
val text = readSmallTextFile(f) ?: continue
val id = re.find(text)?.groupValues?.getOrNull(1)?.toIntOrNull()
if (id != null && id > 0) return id
if (id != null && id > 0 && id != SPACEWAR) return id
}
return null
}
@@ -133,7 +134,8 @@ object GameIdentifier {
val match = manifests.firstOrNull { m ->
val text = readSmallTextFile(m) ?: return@firstOrNull false
val installdir = vdfValue(text, "installdir")
gameFolder != null && installdir != null && installdir.equals(gameFolder, ignoreCase = true)
gameFolder != null && installdir != null && installdir.equals(gameFolder, ignoreCase = true) &&
vdfValue(text, "appid")?.toIntOrNull() != SPACEWAR
} ?: return null
val text = readSmallTextFile(match) ?: return null
@@ -24,15 +24,33 @@ object GamesFolderMigration {
for (root in roots) {
var n = 0
val steamInstalls = AddedGames.steamInstallDirs(root.host)
for (folder in root.host.listFiles { f -> f.isDirectory }?.sortedBy { it.name.lowercase() }.orEmpty()) {
if (AddedGames.isSteamLibraryFolder(folder.name) || folder.name.lowercase() in steamInstalls) continue
if (folder.absolutePath in storeRoots || StoreGameSidecar.read(folder) != null) continue
if (folder.path in entries) continue
val picked = SessionPrefs.addedGameExe(context, folder.path).takeIf { it.isNotEmpty() }?.let { File(it) }?.takeIf { it.isFile }
val exe = picked ?: AddedGames.rank(folder).exes.firstOrNull() ?: continue
AddedExes.put(context, AddedExes.Entry(folder.path, exe.path, picked = picked != null))
entries.add(folder.path)
if (folder.path !in removed) n++
for (top in root.host.listFiles { f -> f.isDirectory }?.sortedBy { it.name.lowercase() }.orEmpty()) {
if (AddedGames.isSteamLibraryFolder(top.name) || top.name.lowercase() in steamInstalls) continue
if (top.absolutePath in storeRoots || StoreGameSidecar.read(top) != null) continue
if (top.path in entries) continue
val topPick = SessionPrefs.addedGameExe(context, top.path).takeIf { it.isNotEmpty() }?.let { File(it) }?.takeIf { it.isFile }
val groups = AddedGames.groupGames(top)
val played = topPick ?: groups?.let { AddedGames.rank(top).exes.firstOrNull() }
val owner = played?.let { exe -> top.listFiles { f -> f.isDirectory }?.firstOrNull { exe.path.startsWith(it.path + File.separator) } }
val folders = when {
groups == null -> listOf(top)
topPick == null || owner in groups -> groups
owner == null || owner.name.startsWith(".") || AddedGames.isSteamLibraryFolder(owner.name) -> listOf(top)
else -> (groups + owner).sortedBy { it.name.lowercase() }
}
for (folder in folders) {
if (folder.absolutePath in storeRoots || StoreGameSidecar.read(folder) != null) continue
if (folder.path in entries) continue
val picked = SessionPrefs.addedGameExe(context, folder.path).takeIf { it.isNotEmpty() }?.let { File(it) }?.takeIf { it.isFile }
?: topPick?.takeIf { it.path.startsWith(folder.path + File.separator) }
val ranked = AddedGames.rank(folder).exes.firstOrNull()
val exe = picked ?: played?.takeIf { folder == owner } ?: ranked ?: continue
AddedExes.put(context, AddedExes.Entry(folder.path, exe.path, picked = picked != null || exe != ranked))
entries.add(folder.path)
if (folder != top && folder == owner) SessionPrefs.inheritAddedGame(context, top.path, folder.path)
if (folder != top && top.path in removed) SessionPrefs.setAddedGameRemoved(context, folder.path, true)
else if (folder.path !in removed) n++
}
}
Log.i(TAG, "games: migrated ${root.host} → $n games")
}
@@ -0,0 +1,162 @@
package com.droiddeck.launcher.frontend
import android.content.Context
import android.util.Log
import com.droiddeck.launcher.session.SessionPrefs
import com.droiddeck.launcher.session.SessionService
import com.droiddeck.launcher.session.SessionState
import com.droiddeck.launcher.stores.SteamLiveShortcuts
import java.io.File
import java.nio.file.Files
import java.nio.file.StandardCopyOption
object SteamLaunchOptions {
private const val TAG = "SteamLaunchOptions"
private val STEAM = listOf("UserLocalConfigStore", "Software", "Valve", "Steam")
fun current(context: Context, appId: Int): String =
SteamLiveShortcuts.launchOptions(context, appId.toLong()) ?: steam(SessionPrefs.activeSteamRoot(context), appId).orEmpty()
enum class Saved { YES, NO, DESKTOP }
fun set(context: Context, appId: Int, options: String, shown: String): Saved {
val value = options.trim()
if (SessionState.running && SessionState.mode == SessionService.MODE_DESKTOP) return Saved.DESKTOP
if (SessionState.running && SessionState.mode == SessionService.MODE_STEAM) {
val live = SteamLiveShortcuts.launchOptions(context, appId.toLong()) ?: return Saved.NO
if (live.trim() != shown.trim()) return Saved.NO
return if (SteamLiveShortcuts.setLaunchOptions(context, appId.toLong(), value)) Saved.YES else Saved.NO
}
val home = SessionPrefs.activeSteamRoot(context)
if (steam(home, appId).orEmpty().trim() != shown.trim()) return Saved.NO
return if (write(home, appId, value)) Saved.YES else Saved.NO
}
internal fun steam(steamHome: File, appId: Int): String? {
val config = AddedGames.accountConfig(steamHome) ?: return null
val text = runCatching { File(config, "localconfig.vdf").readText() }.getOrNull() ?: return null
return launchOptions(text, appId)
}
internal fun write(steamHome: File, appId: Int, options: String): Boolean {
val config = AddedGames.accountConfig(steamHome)?.let { File(it, "localconfig.vdf") } ?: return false
val text = runCatching { config.readText() }.getOrNull() ?: return false
val updated = withLaunchOptions(text, appId, options) ?: return false
if (updated == text) return true
val staged = File(config.parentFile, config.name + ".staged")
return try {
staged.writeText(updated)
if (config.readText() != text) {
staged.delete()
return false
}
Files.move(staged.toPath(), config.toPath(), StandardCopyOption.REPLACE_EXISTING, StandardCopyOption.ATOMIC_MOVE)
true
} catch (e: Exception) {
staged.delete()
Log.w(TAG, "could not write launch options to ${config.path}", e)
false
}
}
internal fun launchOptions(text: String, appId: Int): String? {
val app = section(text, STEAM + "apps" + appId.toString()) ?: return null
return entries(text, app.valueStart, app.end).firstOrNull { !it.section && it.key.equals("LaunchOptions", true) }
?.let { unescape(text.substring(it.valueStart + 1, it.end)) }
}
internal fun withLaunchOptions(text: String, appId: Int, options: String): String? {
val newline = if (text.contains("\r\n")) "\r\n" else "\n"
var updated = text
var path = STEAM
for (key in listOf("apps", appId.toString())) {
updated = withSection(updated, section(updated, path) ?: return null, key, newline) ?: return null
path = path + key
}
val app = section(updated, path) ?: return null
val value = "\"" + escape(options) + "\""
entries(updated, app.valueStart, app.end).firstOrNull { !it.section && it.key.equals("LaunchOptions", true) }?.let {
return updated.replaceRange(it.valueStart, it.end + 1, value)
}
val lineStart = closingLine(updated, app) ?: return null
val indent = updated.substring(lineStart, app.end) + "\t"
return updated.substring(0, lineStart) + indent + "\"LaunchOptions\"\t\t" + value + newline + updated.substring(lineStart)
}
private class Entry(val key: String, val valueStart: Int, val end: Int, val section: Boolean)
private fun section(text: String, path: List<String>): Entry? {
var found: Entry? = null
for (key in path) {
found = entries(text, found?.valueStart ?: -1, found?.end ?: text.length)
.firstOrNull { it.section && it.key.equals(key, true) } ?: return null
}
return found
}
private fun entries(text: String, open: Int, close: Int): List<Entry> {
val found = ArrayList<Entry>()
var key: String? = null
var i = open + 1
while (i < close) {
when {
text[i] == '"' -> {
val end = stringEnd(text, i) ?: return found
if (key == null) key = unescape(text.substring(i + 1, end)) else { found += Entry(key, i, end, false); key = null }
i = end + 1
}
text[i] == '{' -> {
val end = sectionEnd(text, i) ?: return found
key?.let { found += Entry(it, i, end, true) }
key = null
i = end + 1
}
text.startsWith("//", i) -> i = text.indexOf('\n', i).let { if (it < 0) close else it }
else -> i++
}
}
return found
}
private fun stringEnd(text: String, open: Int): Int? {
var i = open + 1
while (i < text.length) {
when (text[i]) {
'\\' -> i += 2
'"' -> return i
else -> i++
}
}
return null
}
private fun sectionEnd(text: String, open: Int): Int? {
var depth = 0
var i = open
while (i < text.length) {
when (text[i]) {
'"' -> i = stringEnd(text, i) ?: return null
'{' -> depth++
'}' -> if (--depth == 0) return i
}
i++
}
return null
}
private fun withSection(text: String, parent: Entry, key: String, newline: String): String? {
if (entries(text, parent.valueStart, parent.end).any { it.section && it.key.equals(key, true) }) return text
val lineStart = closingLine(text, parent) ?: return null
val indent = text.substring(lineStart, parent.end) + "\t"
return text.substring(0, lineStart) + "$indent\"$key\"$newline$indent{$newline$indent}$newline" + text.substring(lineStart)
}
private fun closingLine(text: String, section: Entry): Int? {
val lineStart = text.lastIndexOf('\n', section.end - 1) + 1
return lineStart.takeIf { lineStart > section.valueStart && text.substring(lineStart, section.end).all { it == '\t' || it == ' ' } }
}
private fun escape(value: String) = value.replace("\\", "\\\\").replace("\"", "\\\"")
private fun unescape(value: String) = value.replace(Regex("\\\\(.)"), "$1")
}
@@ -45,15 +45,15 @@ object SteamMatch {
identity?.appId?.let { id ->
return Match(id, Certainty.FILES, identity.source.name.lowercase(), now).also { put(context, key, it) }
}
val known = get(context, key)
val known = get(context, key)?.takeUnless { it.appId == GameIdentifier.SPACEWAR }
if (known != null && known.certainty == Certainty.NAME) return known
if (known != null && known.certainty == Certainty.NONE && now - known.checkedAt < RETRY_AFTER_MS) return known
legacy?.takeIf { it.isFile }?.let { runCatching { it.readText().trim().toInt() }.getOrNull() }?.takeIf { it > 0 }?.let { id ->
legacy?.takeIf { it.isFile }?.let { runCatching { it.readText().trim().toInt() }.getOrNull() }?.takeIf { it > 0 && it != GameIdentifier.SPACEWAR }?.let { id ->
return Match(id, Certainty.NAME, "store search", now).also { put(context, key, it) }
}
if (search == null) return known?.takeIf { it.certainty != Certainty.FILES } ?: Match(null, Certainty.NONE, "", 0)
val id = runCatching { search(name) }.getOrNull()
val match = if (id != null && id > 0) Match(id, Certainty.NAME, "store search", now) else Match(null, Certainty.NONE, "", now)
val match = if (id != null && id > 0 && id != GameIdentifier.SPACEWAR) Match(id, Certainty.NAME, "store search", now) else Match(null, Certainty.NONE, "", now)
put(context, key, match)
return match
}
@@ -3,14 +3,14 @@ package com.droiddeck.launcher.hud
import android.content.Context
import com.droiddeck.launcher.session.SessionPrefs
/** FusionHUD's settings as one "key=value,…" string (FusionHudView.applyConfig), stored in SessionPrefs. */
internal object FusionHudConfig {
/** DroidDeck HUD's settings as one "key=value,…" string (DroidDeckHudView.applyConfig), stored in SessionPrefs. */
internal object DroidDeckHudConfig {
/**
* Bannerlator's Fusion defaults (DeckOverlaySettings), with the FPS graph from the old DroidDeck HUD. The HUD starts
* Bannerlator's defaults (DeckOverlaySettings), with the FPS graph from the old DroidDeck HUD. The HUD starts
* locked, so like the old HUD it lets touches through until it is unlocked to move it.
*/
val DEFAULTS: Map<String, String> = linkedMapOf(
"hudSize" to "minimal", "hudLocked" to "1", "hudScale" to "100", "hudOpacity" to "80", "hudColor" to "mid",
"hudSize" to "minimal", "hudLocked" to "1", "hudScale" to "100", "hudDock" to "none", "hudOpacity" to "80", "hudColor" to "mid",
"hudOutline" to "40", "hudOutlineAccent" to "1",
"showFPS" to "1", "showFPSGraph" to "1", "showCPUUsage" to "1", "showCPULoad" to "1", "showGPULoad" to "1",
"showVram" to "1", "showRAM" to "1", "showPower" to "1", "showTemp" to "1", "showBatteryTemp" to "1",
@@ -25,7 +25,7 @@ internal object FusionHudConfig {
fun load(context: Context): MutableMap<String, String> {
val values = LinkedHashMap(DEFAULTS)
val stored = SessionPrefs.fusionHudConfig(context)
val stored = SessionPrefs.droidDeckHudConfig(context)
if (stored == null) {
values["showFPS"] = flag(SessionPrefs.hudShowFps(context))
values["showFPSGraph"] = flag(SessionPrefs.hudShowGraph(context))
@@ -43,12 +43,12 @@ internal object FusionHudConfig {
if (key !in DEFAULTS) return values
values[key] = value
TWINS[key]?.let { values[it] = value }
SessionPrefs.setFusionHudConfig(context, encode(values))
SessionPrefs.setDroidDeckHudConfig(context, encode(values))
return values
}
fun reset(context: Context): Map<String, String> {
SessionPrefs.setFusionHudConfig(context, encode(DEFAULTS))
SessionPrefs.setDroidDeckHudConfig(context, encode(DEFAULTS))
return DEFAULTS
}
@@ -6,26 +6,28 @@ import android.os.Handler
import android.os.Looper
import android.view.Choreographer
import android.view.View
import android.view.animation.PathInterpolator
import android.view.ViewGroup
import android.widget.FrameLayout
import com.droiddeck.launcher.gpu.FrameGen
import com.droiddeck.launcher.gpu.GpuInfo
import com.droiddeck.launcher.runtime.LinuxRuntime
import com.droiddeck.launcher.session.SessionPrefs
import com.droiddeck.launcher.ui.Motion
import com.droiddeck.launcher.wayland.WaylandCompositor
import java.io.File
import kotlin.math.roundToInt
/**
* FusionHUD on the session screen, in place of the old text HUD: the view, the frame feed from gamescope
* DroidDeck HUD on the session screen, in place of the old text HUD: the view, the frame feed from gamescope
* (MangoHud's frame times) and MangoHud's readings, started with the session's first frame.
*/
class FusionHudHost(context: Context) {
class DroidDeckHudHost(context: Context) {
private val context = context.applicationContext
private val handler = Handler(Looper.getMainLooper())
private val feed = GameFrameFeed(File(LinuxRuntime.rootDir(this.context), HudFrames.PATH))
private val readings = MangoReadings(File(this.context.filesDir, "session"), LinuxRuntime.rootDir(this.context))
private var view: FusionHudView? = null
private var view: DroidDeckHudView? = null
private var parent: ViewGroup? = null
private var running = false
private var hidden = false
@@ -49,7 +51,7 @@ class FusionHudHost(context: Context) {
private val listener = object : WaylandCompositor.GameListener {
override fun onGameSurface(window: String?, gpuName: String?) {
if (!gpuName.isNullOrBlank()) handler.post { this@FusionHudHost.gpuName = cleanGpuName(gpuName) }
if (!gpuName.isNullOrBlank()) handler.post { this@DroidDeckHudHost.gpuName = cleanGpuName(gpuName) }
if (window != null && window != lastWindow) {
lastWindow = window
handler.post { onPresentingWindowChanged?.invoke() }
@@ -76,20 +78,26 @@ class FusionHudHost(context: Context) {
/** Adds the HUD to [root] at [index] (above the game surface, under the session overlay). */
fun attach(root: FrameLayout, index: Int) {
if (view != null) return
val hud = FusionHudView(root.context)
val hud = DroidDeckHudView(root.context)
hud.setFrameStats(feed.stats)
hud.setMangoReadings(readings)
hud.setGpuModel(cleanGpuName(GpuInfo.detect().displayName(context)))
hud.onRefresh = Runnable { refreshLabels(hud) }
hud.setOnMovedListener { x, y ->
wantX = x; wantY = y
dockEdgeFor(hud)?.let { edge -> setDock(hud, edge); return@setOnMovedListener }
keepOnScreen(hud)
wantX = hud.x; wantY = hud.y
SessionPrefs.setFusionHudPosition(context, hud.x, hud.y)
SessionPrefs.setDroidDeckHudPosition(context, hud.x, hud.y)
}
hud.setOnSizeCycledListener { size -> DroidDeckHudConfig.set(context, "hudSize", size); onConfigChanged?.invoke() }
hud.setOnDockChangedListener { token -> setDock(hud, DroidDeckHudDock.from(token)) }
hud.setOnScaledListener { percent ->
DroidDeckHudConfig.set(context, "hudScale", percent.toString())
onConfigChanged?.invoke()
}
hud.setOnSizeCycledListener { size -> FusionHudConfig.set(context, "hudSize", size); onConfigChanged?.invoke() }
hud.setOnLockChangedListener { locked ->
FusionHudConfig.set(context, "hudLocked", if (locked) "1" else "0")
DroidDeckHudConfig.set(context, "hudLocked", if (locked) "1" else "0")
onConfigChanged?.invoke()
}
hud.addOnLayoutChangeListener { _, _, _, _, _, _, _, _, _ -> if (!hud.isDragging) keepOnScreen(hud) }
@@ -100,14 +108,14 @@ class FusionHudHost(context: Context) {
leftMargin = margin
topMargin = margin
})
SessionPrefs.fusionHudPosition(context)?.let { (x, y) -> wantX = x; wantY = y; hud.post { keepOnScreen(hud) } }
SessionPrefs.droidDeckHudPosition(context)?.let { (x, y) -> wantX = x; wantY = y; hud.post { keepOnScreen(hud) } }
view = hud
parent = root
applyConfig()
}
fun applyConfig() {
view?.applyConfig(FusionHudConfig.encode(FusionHudConfig.load(context)))
view?.applyConfig(DroidDeckHudConfig.encode(DroidDeckHudConfig.load(context)))
}
fun refresh() {
@@ -157,7 +165,7 @@ class FusionHudHost(context: Context) {
}
}
/** A sensor report (FusionHUD's diagnostics) in Downloads/DroidDeck; null when it can't be written. */
/** A sensor report (DroidDeck HUD's diagnostics) in Downloads/DroidDeck; null when it can't be written. */
fun exportDiagnostics(): File? = runCatching {
val dir = File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "DroidDeck")
dir.mkdirs()
@@ -180,7 +188,7 @@ class FusionHudHost(context: Context) {
file
}.getOrNull()
private fun refreshLabels(hud: FusionHudView) {
private fun refreshLabels(hud: DroidDeckHudView) {
if (feed.engine.isNotBlank() && !feed.steamFocused) engine = feed.engine
hud.setEngineLabel(engine)
if (gpuName.isNotBlank()) hud.setGpuModel(gpuName)
@@ -203,6 +211,105 @@ class FusionHudHost(context: Context) {
return if (stats.size > 3 && stats[3] > 1f) stats[3] else 0f
}
/** The edge the HUD was dropped over, once a good part of it hangs past that edge; null when it stays. */
private fun dockEdgeFor(v: View): DroidDeckHudDock? {
val p = v.parent as? View ?: return null
if (p.width <= 0 || p.height <= 0 || v.width <= 0 || v.height <= 0) return null
val over = mapOf(
DroidDeckHudDock.LEFT to -v.x / v.width,
DroidDeckHudDock.RIGHT to (v.x + v.width - p.width) / v.width,
DroidDeckHudDock.TOP to -v.y / v.height,
DroidDeckHudDock.BOTTOM to (v.y + v.height - p.height) / v.height,
).maxByOrNull { it.value } ?: return null
return over.key.takeIf { over.value >= DOCK_OVERHANG }
}
/** Tucks the HUD against [edge] as its FPS tab, or with [DroidDeckHudDock.NONE] brings it back out from where it was docked. */
private fun setDock(hud: DroidDeckHudView, edge: DroidDeckHudDock) {
if (edge == hud.dock) return
animateDock(hud, edge) { commitDock(hud, edge) }
}
private fun commitDock(hud: DroidDeckHudView, edge: DroidDeckHudDock) {
if (edge == DroidDeckHudDock.NONE) {
when (hud.dock) {
DroidDeckHudDock.LEFT -> wantX = 0f
DroidDeckHudDock.RIGHT -> wantX = Float.MAX_VALUE
DroidDeckHudDock.TOP -> wantY = 0f
DroidDeckHudDock.BOTTOM -> wantY = Float.MAX_VALUE
DroidDeckHudDock.NONE -> {}
}
} else {
val p = hud.parent as? View
if (p != null) {
wantX = wantX.coerceIn(0f, p.width.toFloat())
wantY = wantY.coerceIn(0f, p.height.toFloat())
}
SessionPrefs.setDroidDeckHudPosition(context, wantX, wantY)
}
DroidDeckHudConfig.set(context, "hudDock", edge.token)
applyConfig()
hud.post { keepOnScreen(hud) }
onConfigChanged?.invoke()
}
/**
* One shape contracts into the tab, and the tab expands back out to the HUD: the view is scaled onto the
* tab's exact rectangle, and the layouts swap at that same size and place. Timing and curve are the
* launcher's own ([Motion]), and off when animations are off.
*/
private fun animateDock(hud: DroidDeckHudView, edge: DroidDeckHudDock, commit: () -> Unit) {
hud.animate().cancel()
hud.scaleX = 1f; hud.scaleY = 1f; hud.alpha = 1f
val p = hud.parent as? View
if (Motion.scale == 0f || p == null || !hud.isLaidOut || hud.width <= 0) { commit(); return }
if (edge != DroidDeckHudDock.NONE) {
val (tabW, tabH) = hud.dockTabSize()
val (tabX, tabY) = settled(p, edge, tabW, tabH)
val sx = tabW / hud.width; val sy = tabH / hud.height
hud.pivotX = pivotFor(hud.x, tabX, sx) - hud.x
hud.pivotY = pivotFor(hud.y, tabY, sy) - hud.y
hud.animate().scaleX(sx).scaleY(sy).setDuration(Motion.ms(300).toLong()).setInterpolator(EASE)
.withEndAction {
commit()
hud.scaleX = 1f; hud.scaleY = 1f
hud.x = tabX; hud.y = tabY
hud.alpha = 0.5f
hud.animate().alpha(1f).setDuration(Motion.ms(120).toLong()).start()
}.start()
} else {
val tabX = hud.x; val tabY = hud.y
val tabW = hud.width.toFloat(); val tabH = hud.height.toFloat()
commit()
val w = hud.contentWidth; val h = hud.contentHeight
val (x, y) = settled(p, DroidDeckHudDock.NONE, w, h)
hud.x = x; hud.y = y
val sx = tabW / w; val sy = tabH / h
hud.pivotX = pivotFor(x, tabX, sx) - x
hud.pivotY = pivotFor(y, tabY, sy) - y
hud.scaleX = sx; hud.scaleY = sy
hud.animate().scaleX(1f).scaleY(1f).setDuration(Motion.ms(360).toLong()).setInterpolator(EASE).start()
}
}
/** The pivot, in parent coordinates, that scaling by [scale] takes a span starting at [from] onto one starting at [to]. */
private fun pivotFor(from: Float, to: Float, scale: Float): Float =
if (scale > 0.999f) from else (to - from * scale) / (1f - scale)
/** Where a [w] x [h] HUD or tab sits once [keepOnScreen] has settled it against [dock]. */
private fun settled(p: View, dock: DroidDeckHudDock, w: Float, h: Float): Pair<Float, Float> {
val maxX = (p.width - w).coerceAtLeast(0f); val maxY = (p.height - h).coerceAtLeast(0f)
var x = wantX.coerceIn(0f, maxX); var y = wantY.coerceIn(0f, maxY)
when (dock) {
DroidDeckHudDock.LEFT -> x = 0f
DroidDeckHudDock.RIGHT -> x = maxX
DroidDeckHudDock.TOP -> y = 0f
DroidDeckHudDock.BOTTOM -> y = maxY
DroidDeckHudDock.NONE -> {}
}
return Pair(x, y)
}
// The HUD is clamped from where the user left it (wantX/wantY, set on a drop or restore), not from where
// it is drawn: a window that shrinks and grows back (picture-in-picture, a fold) must not leave it in the
// corner the small window pushed it to.
@@ -212,13 +319,24 @@ class FusionHudHost(context: Context) {
if (wantX.isNaN()) { wantX = v.x; wantY = v.y }
val maxX = (p.width - v.width).toFloat().coerceAtLeast(0f)
val maxY = (p.height - v.height).toFloat().coerceAtLeast(0f)
val x = wantX.coerceIn(0f, maxX)
val y = wantY.coerceIn(0f, maxY)
var x = wantX.coerceIn(0f, maxX)
var y = wantY.coerceIn(0f, maxY)
when (v.let { it as? DroidDeckHudView }?.dock) {
DroidDeckHudDock.LEFT -> x = 0f
DroidDeckHudDock.RIGHT -> x = maxX
DroidDeckHudDock.TOP -> y = 0f
DroidDeckHudDock.BOTTOM -> y = maxY
else -> {}
}
if (v.x != x) v.x = x
if (v.y != y) v.y = y
}
companion object {
/** How much of the HUD, as a share of its own size, must hang past a screen edge for it to dock there. */
private const val DOCK_OVERHANG = 0.4f
private val EASE = PathInterpolator(0.2f, 0.8f, 0.2f, 1f)
/** True while the HUD is on screen; DroidDeck keeps sampling VRAM for it (GpuMemComponent). */
@Volatile @JvmStatic var showing = false
private set
@@ -14,11 +14,11 @@
package com.droiddeck.launcher.hud
/**
* Size modes for the Fusion HUD (the 4th selectable in-game overlay style). One shared color-coded
* Size modes for the DroidDeck HUD (the 4th selectable in-game overlay style). One shared color-coded
* visual language, four amounts of detail — see the approved mockup. The config value is the lower-case
* token stored under the `hudSize` key; the label is the user-facing string.
*/
enum class FusionSize(val token: String, val label: String) {
enum class DroidDeckHudSize(val token: String, val label: String) {
FULL("full", "Full"),
TILES("tiles", "Tiles"),
PILL("pill", "Pill"),
@@ -26,7 +26,7 @@ enum class FusionSize(val token: String, val label: String) {
MEGA("mega", "Mega");
/** Next size in the tap-cycle: Full → Tiles → Pill → Minimal → Mega → Full. */
fun next(): FusionSize {
fun next(): DroidDeckHudSize {
val all = values()
return all[(ordinal + 1) % all.size]
}
@@ -45,7 +45,7 @@ enum class FusionSize(val token: String, val label: String) {
}
companion object {
fun from(token: String?): FusionSize =
fun from(token: String?): DroidDeckHudSize =
values().firstOrNull { it.token.equals(token, ignoreCase = true) } ?: FULL
// Chip-label ids (must match the labels the config UIs build). "Clock" is a small subtle
@@ -66,12 +66,21 @@ enum class FusionSize(val token: String, val label: String) {
}
}
/** The screen edge the HUD is tucked against, where only its FPS tab shows ([NONE] = floating free). */
enum class DroidDeckHudDock(val token: String) {
NONE("none"), LEFT("left"), RIGHT("right"), TOP("top"), BOTTOM("bottom");
companion object {
fun from(token: String?): DroidDeckHudDock = values().firstOrNull { it.token == token } ?: NONE
}
}
/**
* The Wayland HDR state the Fusion HUD shows on its own line, directly under the latency · display-server
* line (the host sets it with [FusionHudView.setHdrState]). [NONE] = no line at all: every session whose
* The Wayland HDR state the DroidDeck HUD shows on its own line, directly under the latency · display-server
* line (the host sets it with [DroidDeckHudView.setHdrState]). [NONE] = no line at all: every session whose
* HDR gate is closed (X11, SDR screens, HDR off) keeps the HUD exactly as it was.
*/
object FusionHdr {
object DroidDeckHudHdr {
const val NONE = 0
const val ON = 1 // HDR frames on screen with HDR headroom
const val NO_HEADROOM = 2 // HDR frames on screen, but the display gives them no headroom (5 s+)
@@ -23,6 +23,7 @@ import android.graphics.Path
import android.graphics.RectF
import android.graphics.Typeface
import android.text.format.DateFormat
import android.view.GestureDetector
import android.view.MotionEvent
import android.view.View
import androidx.annotation.VisibleForTesting
@@ -32,6 +33,7 @@ import java.util.Date
import java.util.Locale
import java.util.function.BiConsumer
import java.util.function.Consumer
import java.util.function.IntConsumer
import kotlin.math.max
import kotlin.math.min
import kotlin.math.roundToInt
@@ -47,7 +49,7 @@ import kotlinx.coroutines.withContext
import kotlinx.coroutines.withTimeoutOrNull
/**
* Fusion HUD — the 4th selectable in-game overlay. One color-coded visual language rendered at four
* DroidDeck HUD — the 4th selectable in-game overlay. One color-coded visual language rendered at four
* SIZE modes (Full / Tiles / Pill / Minimal / Mega), all driven by [FrameStats] (gamescope's frame times
* read by MangoHud's rules) + a single cached [HudMetrics.Snapshot]. Pure Canvas drawing.
*
@@ -60,7 +62,7 @@ import kotlinx.coroutines.withTimeoutOrNull
* drag are frozen while locked. A locked HUD lets a touch through where an on-screen control under it
* takes it ([passesTouchAt]); everywhere else it keeps the touch, so a long press there unlocks it.
*/
class FusionHudView(context: Context) : View(context) {
class DroidDeckHudView(context: Context) : View(context) {
private var frames: FrameStats? = null
internal fun setFrameStats(stats: FrameStats?) { frames = stats }
@@ -78,7 +80,7 @@ class FusionHudView(context: Context) : View(context) {
private val density = resources.displayMetrics.density
// ---- Config -----------------------------------------------------------
private var size = FusionSize.FULL
private var size = DroidDeckHudSize.FULL
private var scale = 1f
private var bgOpacity = 0.8f
private var outlineIntensity = 0.4f
@@ -114,7 +116,7 @@ class FusionHudView(context: Context) : View(context) {
private var engineLabel = ""
private var displayServer = "" // "X11" / "Wayland": which display server the game runs on
private var hdrState = FusionHdr.NONE // Wayland HDR, on its own line under latency · display server
private var hdrState = DroidDeckHudHdr.NONE // Wayland HDR, on its own line under latency · display server
private var gpuModel = ""
// The GPU name a Wayland session reports to games instead of the real adapter ("" = none). It has
// to travel separately from gpuModel: Wayland hands the spoof to DXVK and leaves the Vulkan device
@@ -146,7 +148,13 @@ class FusionHudView(context: Context) : View(context) {
private var headerMark: RectF? = null
private var chipRect: RectF? = null
// Every size sits in the DroidDeck mark's D: a straight left side split by the orb, round on the
// Pushed past a screen edge, the HUD shrinks to a tab with the FPS that stays at that edge.
var dock = DroidDeckHudDock.NONE
private set
private var tabRect: RectF? = null
private val tabPath = Path()
// Every size sits in the DroidDeck mark's D: a straight left side, round on the
// right. Its fixed layers (fill, header band, watermark, glowing outline) go into a bitmap, because
// Android before 9 skips glow on shapes drawn with hardware acceleration.
private var dPanel: RectF? = null
@@ -213,11 +221,41 @@ class FusionHudView(context: Context) : View(context) {
fun setOnMovedListener(l: BiConsumer<Float, Float>?) { onMovedListener = l }
fun setOnSizeCycledListener(l: Consumer<String>?) { onSizeCycledListener = l }
fun setOnLockChangedListener(l: Consumer<Boolean>?) { onLockChangedListener = l }
private var onDockChangedListener: Consumer<String>? = null
private var onScaledListener: IntConsumer? = null
fun setOnDockChangedListener(l: Consumer<String>?) { onDockChangedListener = l }
/** A pinch settled on this size, in percent. */
fun setOnScaledListener(l: IntConsumer?) { onScaledListener = l }
private val lockController = HudLockController(context, this, object : HudLockController.Callbacks {
override fun onTap() { cycleSize() }
override fun onMoved(x: Float, y: Float) { onMovedListener?.accept(x, y) }
override fun onLockChanged(locked: Boolean) { onLockChangedListener?.accept(locked) }
override fun onPinch(factor: Float) {
val next = (scale * factor).coerceIn(MIN_SCALE, MAX_SCALE)
if (next == scale) return
scale = next
rebuildAndInvalidate()
}
override fun onPinchEnd() { onScaledListener?.accept((scale * 100f).roundToInt()) }
})
// A docked tab always takes touches, locked or not: a tap or a pull away from the edge brings the HUD back.
private val dockDetector = GestureDetector(context, object : GestureDetector.SimpleOnGestureListener() {
override fun onDown(e: MotionEvent): Boolean = true
override fun onSingleTapUp(e: MotionEvent): Boolean { onDockChangedListener?.accept(DroidDeckHudDock.NONE.token); return true }
override fun onScroll(e1: MotionEvent?, e2: MotionEvent, distanceX: Float, distanceY: Float): Boolean {
if (e1 == null) return false
val inward = when (dock) {
DroidDeckHudDock.LEFT -> e2.rawX - e1.rawX
DroidDeckHudDock.RIGHT -> e1.rawX - e2.rawX
DroidDeckHudDock.TOP -> e2.rawY - e1.rawY
DroidDeckHudDock.BOTTOM -> e1.rawY - e2.rawY
DroidDeckHudDock.NONE -> 0f
}
if (inward > 12f * density) onDockChangedListener?.accept(DroidDeckHudDock.NONE.token)
return true
}
})
// ---- Public surface (symmetric with the other overlays) ---------------
@@ -227,9 +265,9 @@ class FusionHudView(context: Context) : View(context) {
* in place of the real model, marked so it can't be read as the chip that is really rendering. */
fun setGpuSpoofName(s: String?) { gpuSpoofName = s ?: ""; post { rebuildAndInvalidate() } }
fun setDisplayServer(s: String?) { displayServer = s ?: ""; post { rebuildAndInvalidate() } }
/** [FusionHdr] code; [FusionHdr.NONE] (the default) draws no HDR line anywhere. Any thread. */
/** [DroidDeckHudHdr] code; [DroidDeckHudHdr.NONE] (the default) draws no HDR line anywhere. Any thread. */
fun setHdrState(state: Int) {
val v = if (state in FusionHdr.ON..FusionHdr.NOT_ON_THIS_SCREEN) state else FusionHdr.NONE
val v = if (state in DroidDeckHudHdr.ON..DroidDeckHudHdr.NOT_ON_THIS_SCREEN) state else DroidDeckHudHdr.NONE
post { if (v != hdrState) { hdrState = v; rebuildAndInvalidate() } }
}
fun setWineVersion(s: String?) { if ((s ?: "") != wineVersion) { wineVersion = s ?: ""; post { rebuildAndInvalidate() } } }
@@ -255,7 +293,7 @@ class FusionHudView(context: Context) : View(context) {
if (graphRect != null) invalidate()
}
/** Fusion has no orientation (tap cycles size instead); kept for a symmetric host surface. */
/** The HUD has no orientation (tap cycles size instead); kept for a symmetric host surface. */
fun setVertical(vertical: Boolean) { /* no-op */ }
fun isVertical(): Boolean = false
@@ -269,7 +307,7 @@ class FusionHudView(context: Context) : View(context) {
if (configString.isNullOrEmpty()) return
val cfg = KeyValueSet(configString)
size = FusionSize.from(cfg.get("hudSize", "minimal"))
size = DroidDeckHudSize.from(cfg.get("hudSize", "minimal"))
showFPS = cfg.get("showFPS", "1") == "1"
showEngine = cfg.get("showEngine", "1") == "1"
showGpuModel = cfg.get("showGpuModel", "1") == "1"
@@ -285,7 +323,7 @@ class FusionHudView(context: Context) : View(context) {
showGraph = cfg.get("showFPSGraph", "0") == "1"
showLow001 = cfg.get("showLow001", "1") == "1"
fpsDecimal = cfg.get("fpsDecimal", "1") == "1"
showClockTime = cfg.get("showClock", "1") == "1" // Fusion clock defaults ON
showClockTime = cfg.get("showClock", "1") == "1" // the clock defaults ON
showPerCore = cfg.get("showPerCore", "1") == "1"
showSwap = cfg.get("showSwap", "1") == "1"
showNet = cfg.get("showNet", "1") == "1"
@@ -296,6 +334,7 @@ class FusionHudView(context: Context) : View(context) {
showSession = cfg.get("showSession", "1") == "1"
tempDisplay = HudMetrics.TempDisplay.from(cfg)
lockController.setLocked(cfg.get("hudLocked", "1") == "1")
dock = DroidDeckHudDock.from(cfg.get("hudDock", "none"))
colorIntensity = when (cfg.get("hudColor", "vivid")) {
"soft" -> 0.72f; "mid" -> 0.88f; else -> 1.0f
@@ -453,27 +492,27 @@ class FusionHudView(context: Context) : View(context) {
private fun glowing(spans: List<Span>): List<Span> =
spans.mapIndexed { i, s -> if (i == 0) Span(s.text, s.color, s.sizePx, glow = true) else s }
// ---- Wayland HDR state (one line of its own; nothing at all for FusionHdr.NONE) ----
// ---- Wayland HDR state (one line of its own; nothing at all for DroidDeckHudHdr.NONE) ----
/** The state as a full line: "HDR", "HDR (no headroom)", "HDR off", "HDR ready", "HDR tone-mapped",
* "HDR not on this screen". */
private fun hdrLine(px: Float): List<Span> = when (hdrState) {
FusionHdr.ON -> listOf(Span("HDR", colHdr, px))
FusionHdr.NO_HEADROOM -> listOf(Span("HDR", colHdr, px), Span(" (no headroom)", colBat, px))
FusionHdr.OFF -> listOf(Span("HDR off", colDim, px))
FusionHdr.READY -> listOf(Span("HDR ready", colDim, px))
FusionHdr.TONEMAPPED -> listOf(Span("HDR", colDim, px), Span(" tone-mapped", colBat, px))
FusionHdr.NOT_ON_THIS_SCREEN -> listOf(Span("HDR", colDim, px), Span(" not on this screen", colBat, px))
DroidDeckHudHdr.ON -> listOf(Span("HDR", colHdr, px))
DroidDeckHudHdr.NO_HEADROOM -> listOf(Span("HDR", colHdr, px), Span(" (no headroom)", colBat, px))
DroidDeckHudHdr.OFF -> listOf(Span("HDR off", colDim, px))
DroidDeckHudHdr.READY -> listOf(Span("HDR ready", colDim, px))
DroidDeckHudHdr.TONEMAPPED -> listOf(Span("HDR", colDim, px), Span(" tone-mapped", colBat, px))
DroidDeckHudHdr.NOT_ON_THIS_SCREEN -> listOf(Span("HDR", colDim, px), Span(" not on this screen", colBat, px))
else -> emptyList()
}
/** The value after an "HDR" label (Full / Mega): "on", "no headroom", "off", "ready", "tone-mapped",
* "not on this screen". */
private fun hdrValue(px: Float): List<Span> = when (hdrState) {
FusionHdr.ON -> listOf(Span("on", colHdr, px))
FusionHdr.NO_HEADROOM -> listOf(Span("no headroom", colBat, px))
FusionHdr.OFF -> listOf(Span("off", colDim, px))
FusionHdr.READY -> listOf(Span("ready", colDim, px))
FusionHdr.TONEMAPPED -> listOf(Span("tone-mapped", colBat, px))
FusionHdr.NOT_ON_THIS_SCREEN -> listOf(Span("not on this screen", colBat, px))
DroidDeckHudHdr.ON -> listOf(Span("on", colHdr, px))
DroidDeckHudHdr.NO_HEADROOM -> listOf(Span("no headroom", colBat, px))
DroidDeckHudHdr.OFF -> listOf(Span("off", colDim, px))
DroidDeckHudHdr.READY -> listOf(Span("ready", colDim, px))
DroidDeckHudHdr.TONEMAPPED -> listOf(Span("tone-mapped", colBat, px))
DroidDeckHudHdr.NOT_ON_THIS_SCREEN -> listOf(Span("not on this screen", colBat, px))
else -> emptyList()
}
private fun hdrText(): String = hdrLine(1f).joinToString("") { it.text }
@@ -495,26 +534,65 @@ class FusionHudView(context: Context) : View(context) {
// ---- Layout builders --------------------------------------------------
private fun rebuild() {
glyphs.clear(); tileRects.clear(); graphRect = null
headerMark = null; chipRect = null; dPanel = null; dDividerTop = -1f
headerMark = null; chipRect = null; dPanel = null; dDividerTop = -1f; tabRect = null
val s = snap
if (s == null) { contentW = 0f; contentH = 0f; return }
if (dock != DroidDeckHudDock.NONE) { buildDockTab(); return }
when (size) {
FusionSize.FULL -> { buildFull(s); intoPanel(sp(10f), header = true) }
FusionSize.TILES -> { buildTiles(s); intoPanel(sp(9f), header = true) }
FusionSize.PILL -> { buildPill(s); intoPanel(sp(10f), header = false) }
FusionSize.MINIMAL -> buildMinimal(s)
FusionSize.MEGA -> { buildMega(s); intoPanel(sp(10f), header = true) }
DroidDeckHudSize.FULL -> { buildFull(s); intoPanel(sp(10f), header = true) }
DroidDeckHudSize.TILES -> { buildTiles(s); intoPanel(sp(9f), header = true) }
DroidDeckHudSize.PILL -> { buildPill(s); intoPanel(sp(10f), header = false) }
DroidDeckHudSize.MINIMAL -> buildMinimal(s)
DroidDeckHudSize.MEGA -> { buildMega(s); intoPanel(sp(10f), header = true) }
}
}
/** The docked tab: the FPS alone, in a box square on the edge it sits against. */
private fun buildDockTab() {
val numPx = sp(20f)
val spans = tabSpans()
val padX = sp(9f); val padY = sp(7f)
placeRun(padX, padY + capHeight(numPx), spans)
val (w, h) = dockTabSize()
contentW = w; contentH = h
tabRect = RectF(0f, 0f, contentW, contentH)
}
private fun tabSpans() = listOf(Span(one(fpsNow), colValue, sp(20f)), Span("fps", colDim, sp(8.5f)))
/** The size the docked tab has, so the HUD can contract to exactly that shape before the tab replaces it. */
internal fun dockTabSize(): Pair<Float, Float> =
Pair(runWidth(tabSpans()) + 2f * sp(9f), capHeight(sp(20f)) + 2f * sp(7f))
private fun drawTab(canvas: Canvas, rect: RectF) {
val r = sp(8f); val stroke = max(outlineWidth(), sp(1.5f)); val h = stroke / 2f
val round = floatArrayOf(r, r, r, r, r, r, r, r)
val edge = when (dock) {
DroidDeckHudDock.LEFT -> intArrayOf(0, 3)
DroidDeckHudDock.RIGHT -> intArrayOf(1, 2)
DroidDeckHudDock.TOP -> intArrayOf(0, 1)
DroidDeckHudDock.BOTTOM -> intArrayOf(2, 3)
DroidDeckHudDock.NONE -> intArrayOf()
}
for (corner in edge) { round[corner * 2] = 0f; round[corner * 2 + 1] = 0f }
tabPath.rewind()
tabPath.addRoundRect(rect.left + h, rect.top + h, rect.right - h, rect.bottom - h, round, Path.Direction.CW)
headerPaint.shader = null
headerPaint.color = withAlpha(panelColor(), max(Color.alpha(panelColor()), 200))
canvas.drawPath(tabPath, headerPaint)
strokePaint.strokeWidth = stroke
strokePaint.color = outlineColor()
canvas.drawPath(tabPath, strokePaint)
}
// ---- DroidDeck panel, header and chip -----------------------------------
/** The clock sits in the header on every size but the Pill, which keeps it under the FPS. */
private fun footerClock(): Boolean = showClockTime && size == FusionSize.PILL
private fun footerClock(): Boolean = showClockTime && size == DroidDeckHudSize.PILL
private fun measureSans(text: String, sizePx: Float): Float { wordmarkPaint.textSize = sizePx; return wordmarkPaint.measureText(text) }
private fun panelInset() = sp(8f) // room for the glow around the panel
private fun panelLeft() = sp(13f) // the orb and its glow stick out of the left side
private fun panelLeft() = sp(13f) // the outline's glow sticks out of the left side
private fun contentLeft() = panelLeft() + sp(16f)
/** The DroidDeck mark, "DroidDeck" and the clock across the top, starting on [left], with the same
@@ -672,7 +750,7 @@ class FusionHudView(context: Context) : View(context) {
rows.add(HudRow(Span("GPU", colGpu, rowPx), gpuModelSpans(rowPx, colValue)))
if (displayServer.isNotBlank())
rows.add(HudRow(Span("DISP", colDisp, rowPx), listOf(Span(displayServer, colValue, rowPx))))
if (hdrState != FusionHdr.NONE)
if (hdrState != DroidDeckHudHdr.NONE)
rows.add(HudRow(Span("HDR", colHdr, rowPx), hdrValue(rowPx)))
if (showGPU) {
val v = ArrayList<Span>()
@@ -784,7 +862,7 @@ class FusionHudView(context: Context) : View(context) {
dxVersion().ifBlank { null }, false))
if (displayServer.isNotBlank())
tiles.add(Tile("DISPLAY", colDisp, listOf(Span(displayServer, colValue, valPx)),
if (hdrState != FusionHdr.NONE) hdrText() else null, false))
if (hdrState != DroidDeckHudHdr.NONE) hdrText() else null, false))
if (showGpuModel && gpuNameText().isNotBlank())
tiles.add(Tile("GPU", colGpu, gpuModelSpans(valPx, colValue), null, true))
if (showBattery || showPower || showBatteryTemp) {
@@ -893,7 +971,7 @@ class FusionHudView(context: Context) : View(context) {
}
// Wayland HDR state on its OWN line directly under the latency · display-server line (it ran off
// the capsule's right edge as "40.3ms · Wayland · HDR (no headroom)"). Only in HDR sessions.
if (hdrState != FusionHdr.NONE) stack.add(hdrLine(stkPx))
if (hdrState != DroidDeckHudHdr.NONE) stack.add(hdrLine(stkPx))
var statsW = 0f
for (l in stack) statsW = max(statsW, runWidth(l))
@@ -963,7 +1041,7 @@ class FusionHudView(context: Context) : View(context) {
}
val footerLabel = listOf(if (showEngine) engineLabel else "", displayServer)
.filter { it.isNotBlank() }.joinToString(" · ")
val hdr = if (hdrState != FusionHdr.NONE) hdrLine(footPx) else emptyList()
val hdr = if (hdrState != DroidDeckHudHdr.NONE) hdrLine(footPx) else emptyList()
val (headerBottom, headerRight) = addPanelHeader(left, inner)
val x = headerRight
@@ -1143,7 +1221,7 @@ class FusionHudView(context: Context) : View(context) {
val band = ArrayList<List<Span>>()
if (showResolution) band.add(listOf(Span("RES ", colDim, bandPx), Span(resolutionString(), colValue, bandPx)))
if (displayServer.isNotBlank()) band.add(listOf(Span("DISP ", colDim, bandPx), Span(displayServer, colDisp, bandPx)))
if (hdrState != FusionHdr.NONE) band.add(listOf(Span("HDR ", colDim, bandPx)) + hdrValue(bandPx))
if (hdrState != DroidDeckHudHdr.NONE) band.add(listOf(Span("HDR ", colDim, bandPx)) + hdrValue(bandPx))
if (showProton && wineVersion.isNotBlank()) band.add(listOf(Span(wineVersion, colVram, bandPx)))
if (showSession) band.add(listOf(Span("elapsed ", colDim, bandPx), Span(elapsedString(), colValue, bandPx)))
if (band.isNotEmpty()) {
@@ -1204,6 +1282,7 @@ class FusionHudView(context: Context) : View(context) {
}
chipRect?.let { drawChip(canvas, it) }
tabRect?.let { drawTab(canvas, it) }
// Text
for (g in glyphs) {
@@ -1253,19 +1332,17 @@ class FusionHudView(context: Context) : View(context) {
Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color))
/** The D: straight left side with small corners, round on the right with radius [rad] (a half circle
* when it is half the height). [split] > 0 leaves that much open above and below the middle of the
* left side, where the orb sits. */
private fun dShape(l: Float, t: Float, r: Float, b: Float, rad: Float, corner: Float, split: Float): Path {
val cy = (t + b) / 2f
* when it is half the height). */
private fun dShape(l: Float, t: Float, r: Float, b: Float, rad: Float, corner: Float): Path {
return Path().apply {
if (split > 0f) moveTo(l, cy + split) else moveTo(l, t + corner)
moveTo(l, t + corner)
lineTo(l, b - corner); quadTo(l, b, l + corner, b)
lineTo(r - rad, b)
arcTo(r - 2f * rad, b - 2f * rad, r, b, 90f, -90f, false)
lineTo(r, t + rad)
arcTo(r - 2f * rad, t, r, t + 2f * rad, 0f, -90f, false)
lineTo(l + corner, t); quadTo(l, t, l, t + corner)
if (split > 0f) lineTo(l, cy - split) else close()
close()
}
}
@@ -1285,7 +1362,7 @@ class FusionHudView(context: Context) : View(context) {
val bmp = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888)
val c = Canvas(bmp)
val corner = sp(6f)
val body = dShape(panel.left, panel.top, panel.right, panel.bottom, dRadius, corner, 0f)
val body = dShape(panel.left, panel.top, panel.right, panel.bottom, dRadius, corner)
bgPaint.color = panelColor()
c.drawPath(body, bgPaint)
c.save()
@@ -1307,7 +1384,7 @@ class FusionHudView(context: Context) : View(context) {
c.restore()
if (stroke > 0f) {
val h = stroke / 2f
val outline = dShape(panel.left + h, panel.top + h, panel.right - h, panel.bottom - h, dRadius - h, corner, sp(9f))
val outline = dShape(panel.left + h, panel.top + h, panel.right - h, panel.bottom - h, dRadius - h, corner)
val blur = BlurMaskFilter((sp(3.2f) - 0.5f).coerceAtLeast(0.5f) / 0.57735f, BlurMaskFilter.Blur.NORMAL)
glowPaint.strokeWidth = stroke
// Two blurred passes under the sharp one, as the 4-in-1 preview's neon.
@@ -1315,8 +1392,6 @@ class FusionHudView(context: Context) : View(context) {
glowPaint.maskFilter = if (pass < 2) blur else null
glowPaint.style = Paint.Style.STROKE; glowPaint.color = outlineColor()
c.drawPath(outline, glowPaint)
glowPaint.style = Paint.Style.FILL; glowPaint.color = accent
c.drawCircle(panel.left + h, panel.centerY(), sp(5.5f), glowPaint)
}
glowPaint.maskFilter = null
}
@@ -1358,15 +1433,21 @@ class FusionHudView(context: Context) : View(context) {
// Declining the down event hands the whole gesture to the views under the HUD.
override fun onTouchEvent(event: MotionEvent): Boolean {
if (dock != DroidDeckHudDock.NONE) return dockDetector.onTouchEvent(event)
if (event.actionMasked == MotionEvent.ACTION_DOWN && lockController.isLocked() &&
passesTouchAt?.invoke(event.rawX, event.rawY) == true) return false
return lockController.onTouchEvent(event)
}
internal val contentWidth: Float get() = contentW
internal val contentHeight: Float get() = contentH
internal val isDragging: Boolean get() = lockController.isDragging()
private companion object {
const val REFRESH_MS = 500L
const val MIN_SCALE = 0.5f
const val MAX_SCALE = 2f
const val GRAPH_CLIP_MS = 49.9f
fun parseIntOr(s: String?, d: Int): Int = try { s?.trim()?.toInt() ?: d } catch (e: Exception) { d }
@@ -8,7 +8,7 @@ import kotlin.math.roundToInt
* overlay.cpp update_hud_info_with_frametime and hud_elements.cpp fps() / frame_timing(). The FPS is the
* frames counted over a sampling period of at least 500 ms, the frame time next to it is 1000 / FPS, and
* the graph holds the last 200 frame times (zeros until filled) on a fixed 0-50 ms scale, min and max
* taken over those 200. Average and lows are FusionHUD's own readouts.
* taken over those 200. Average and lows are DroidDeck HUD's own readouts.
*/
internal class FrameStats {
private val graph = FloatArray(GRAPH_FRAMES)
@@ -22,6 +22,7 @@ import android.graphics.RectF;
import android.os.SystemClock;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import android.view.View;
import java.util.function.BiConsumer;
@@ -29,17 +30,17 @@ import java.util.function.Consumer;
/**
* Shared touch + lock behaviour for every in-game performance HUD (classic FrameRating(+Horizontal),
* GameHub PerfHudView, GameNative PerformanceHudView, and the Fusion HUD). One place so the four
* GameHub PerfHudView, GameNative PerformanceHudView, and the DroidDeck HUD). One place so the four
* overlays can't drift:
*
* <ul>
* <li><b>tap</b> → {@link Callbacks#onTap()} (orientation-toggle for the first three; size-cycle for
* Fusion) — a no-op that only re-flashes the lock badge while locked.</li>
* the DroidDeck HUD) — a no-op that only re-flashes the lock badge while locked.</li>
* <li><b>drag</b> → moves the host view and, on release, {@link Callbacks#onMoved} to persist the
* position — disabled (frozen) while locked.</li>
* <li><b>long-press</b> → toggles {@code hudLocked}, persisted via {@link Callbacks#onLockChanged}
* and kept in sync with the "Lock in place" menu chip. Works locked or unlocked (so a long-press
* always unlocks); a locked {@code FusionHudView} passes touches on only over on-screen controls.</li>
* always unlocks); a locked {@code DroidDeckHudView} passes touches on only over on-screen controls.</li>
* </ul>
*
* <p>On every lock/unlock (and on a blocked gesture while locked) a small padlock badge fades in →
@@ -52,12 +53,16 @@ import java.util.function.Consumer;
public class HudLockController {
public interface Callbacks {
/** Unlocked single tap: orientation-toggle (classic/gamehub/gamenative) or size-cycle (fusion). */
/** Unlocked single tap: orientation-toggle (classic/gamehub/gamenative) or size-cycle (DroidDeck HUD). */
void onTap();
/** Drag released (unlocked): persist the new (x, y). */
void onMoved(float x, float y);
/** Lock toggled by long-press: persist {@code hudLocked} + sync the menu chip. */
void onLockChanged(boolean locked);
/** Two-finger pinch (unlocked): the change since the previous event, above 1 when the fingers spread. */
default void onPinch(float factor) {}
/** The fingers came off a pinch: persist the new size. */
default void onPinchEnd() {}
}
// Fade timing (ms): in → hold → out. Lock/unlock hold ~1.5 s; a blocked-gesture re-flash is shorter.
@@ -70,12 +75,15 @@ public class HudLockController {
private final View view;
private final Callbacks cb;
private final GestureDetector detector;
private final ScaleGestureDetector scaleDetector;
private boolean locked = false;
// Drag state
private float downRawX, downRawY, startX, startY;
private boolean dragging = false;
// A pinch ends the gesture's drag and tap: the finger left down after it must not move the HUD.
private boolean pinched = false;
// Fade state
private long fadeStart = 0;
@@ -90,6 +98,8 @@ public class HudLockController {
this.cb = cb;
this.detector = new GestureDetector(context, new Listener());
this.detector.setIsLongpressEnabled(true);
this.scaleDetector = new ScaleGestureDetector(context, new PinchListener());
this.scaleDetector.setQuickScaleEnabled(false);
iconFill.setStyle(Paint.Style.FILL);
iconStroke.setStyle(Paint.Style.STROKE);
iconStroke.setStrokeCap(Paint.Cap.ROUND);
@@ -105,6 +115,7 @@ public class HudLockController {
/** Feed from the host view's onTouchEvent. Always consumes (mirrors the legacy manual handlers). */
public boolean onTouchEvent(MotionEvent event) {
scaleDetector.onTouchEvent(event);
detector.onTouchEvent(event);
int action = event.getActionMasked();
if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
@@ -122,6 +133,7 @@ public class HudLockController {
startX = view.getX();
startY = view.getY();
dragging = false;
pinched = false;
return true;
}
@@ -135,6 +147,7 @@ public class HudLockController {
@Override
public boolean onSingleTapUp(MotionEvent e) {
if (pinched) return true;
if (locked) {
flash(true, HOLD_REFLASH_MS); // intentionally locked — remind the user
} else {
@@ -145,6 +158,7 @@ public class HudLockController {
@Override
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
if (pinched) return true;
if (locked) {
if (!dragging) flash(true, HOLD_REFLASH_MS);
dragging = true; // mark so the blocked drag doesn't fall through to a tap
@@ -157,6 +171,27 @@ public class HudLockController {
}
}
private final class PinchListener extends ScaleGestureDetector.SimpleOnScaleGestureListener {
@Override
public boolean onScaleBegin(ScaleGestureDetector d) {
if (locked) return false;
pinched = true;
dragging = false;
return true;
}
@Override
public boolean onScale(ScaleGestureDetector d) {
cb.onPinch(d.getScaleFactor());
return true;
}
@Override
public void onScaleEnd(ScaleGestureDetector d) {
cb.onPinchEnd();
}
}
// ---- Fade badge -------------------------------------------------------
private void flash(boolean showLocked, long hold) {
fadeShowLocked = showLocked;
@@ -1006,7 +1006,7 @@ public class HudMetrics {
// =======================================================================
/**
* Immutable point-in-time reading of every metric the Fusion HUD draws. Collected in one pass by
* Immutable point-in-time reading of every metric the DroidDeck HUD draws. Collected in one pass by
* {@link #snapshot()} so the view never touches sysfs / BatteryManager during draw (the user's
* explicit ask: one collection pass, cached, so gameplay isn't strained). All numeric fields are
* raw (nullable when unreadable); the view formats + colours them.
@@ -1268,7 +1268,7 @@ public class HudMetrics {
Snapshot s = snapshot();
StringBuilder sb = new StringBuilder();
sb.append("DroidDeck FusionHUD diagnostics\n");
sb.append("DroidDeck HUD diagnostics\n");
sb.append("Generated: ")
.append(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.US).format(new Date())).append('\n');
sb.append("Device: ").append(Build.MANUFACTURER).append(' ').append(Build.MODEL).append('\n');
@@ -4,7 +4,11 @@ import android.content.Context
import android.hardware.display.DisplayManager
import android.os.Build
import android.view.Display
import android.view.InputDevice
import android.view.MotionEvent
import com.droiddeck.launcher.session.SessionPrefs
import kotlin.math.abs
import kotlin.math.roundToInt
object DualScreen {
const val MODE_AUTO = "auto"
@@ -13,17 +17,54 @@ object DualScreen {
val modes = listOf(MODE_AUTO, MODE_ON, MODE_OFF)
private const val TYPE_INTERNAL = 1
private val knownModels = setOf("retroid pocket duo", "ayn thor")
private val touchedDisplays = mutableSetOf<Int>()
fun builtInDisplay(displayManager: DisplayManager, primaryDisplayId: Int): Display? =
fun builtInDisplay(displayManager: DisplayManager, primaryDisplayId: Int): Display? {
val primary = displayManager.getDisplay(primaryDisplayId)
val awake = primary?.state != Display.STATE_OFF
val panels = if (awake) touchPanels() else emptyList()
return internalDisplay(displayManager, primaryDisplayId) {
if (awake && it.state == Display.STATE_OFF) return@internalDisplay false
synchronized(touchedDisplays) {
if (awake && hasOwnTouchPanel(size(it), primary?.let(::size), panels)) touchedDisplays += it.displayId
it.displayId in touchedDisplays
}
}
}
private fun internalDisplay(displayManager: DisplayManager, primaryDisplayId: Int, accept: (Display) -> Boolean = { true }): Display? =
displayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION).firstOrNull {
it.isValid && it.displayId != primaryDisplayId && (it.flags and Display.FLAG_PRESENTATION) != 0 &&
isBuiltIn(displayType(it), Build.MODEL)
isBuiltIn(displayType(it), Build.MODEL) && accept(it)
}
internal fun hasOwnTouchPanel(display: Pair<Int, Int>, primary: Pair<Int, Int>?, panels: List<Pair<Int, Int>>): Boolean {
val matching = panels.count { covers(it, display) }
return if (primary != null && covers(primary, display)) matching >= 2 else matching >= 1
}
private fun covers(panel: Pair<Int, Int>, display: Pair<Int, Int>): Boolean =
(near(panel.first, display.first) && near(panel.second, display.second)) ||
(near(panel.first, display.second) && near(panel.second, display.first))
private fun near(a: Int, b: Int) = abs(a - b) <= 2
private fun size(display: Display): Pair<Int, Int> =
display.mode.let { it.physicalWidth to it.physicalHeight }
private fun touchPanels(): List<Pair<Int, Int>> =
InputDevice.getDeviceIds().toList().mapNotNull { id ->
val device = InputDevice.getDevice(id) ?: return@mapNotNull null
if (device.isVirtual || !device.supportsSource(InputDevice.SOURCE_TOUCHSCREEN)) return@mapNotNull null
val x = device.getMotionRange(MotionEvent.AXIS_X, InputDevice.SOURCE_TOUCHSCREEN) ?: return@mapNotNull null
val y = device.getMotionRange(MotionEvent.AXIS_Y, InputDevice.SOURCE_TOUCHSCREEN) ?: return@mapNotNull null
(x.max - x.min + 1f).roundToInt() to (y.max - y.min + 1f).roundToInt()
}
fun display(context: Context, displayManager: DisplayManager, primaryDisplayId: Int): Display? =
when (SessionPrefs.dualScreenMode(context)) {
MODE_OFF -> null
MODE_ON -> builtInDisplay(displayManager, primaryDisplayId) ?: anyDisplay(displayManager, primaryDisplayId)
MODE_ON -> internalDisplay(displayManager, primaryDisplayId) ?: anyDisplay(displayManager, primaryDisplayId)
else -> builtInDisplay(displayManager, primaryDisplayId)
}
@@ -60,6 +60,7 @@ class HomeButtonService : AccessibilityService(), InputManager.InputDeviceListen
override fun onUnbind(intent: Intent?): Boolean {
HomeButtonShortcuts.release()
com.droiddeck.launcher.core.SteamIntegration.syncShortcutsListing(this)
return super.onUnbind(intent)
}
@@ -0,0 +1,145 @@
package com.droiddeck.launcher.input
import android.content.Context
import android.util.Log
import android.view.InputDevice
import android.view.KeyEvent
import androidx.annotation.StringRes
import com.droiddeck.launcher.R
import org.json.JSONArray
import org.json.JSONException
import org.json.JSONObject
object PhysicalShortcuts {
internal const val KEY = "physicalShortcuts"
private const val TAG = "PhysicalShortcuts"
enum class Action(@StringRes val label: Int) {
STEAM(R.string.drawer_steam_menu),
QAM(R.string.drawer_open_qam),
DROIDDECK(R.string.shortcuts_dd_menu),
}
data class Button(
val device: String,
val name: String,
val keyCode: Int,
val scanCode: Int,
) {
fun matches(event: KeyEvent): Boolean =
event.device?.let { device == identity(it) } == true &&
keyCode == event.keyCode && scanCode == event.scanCode
fun sameInput(other: Button): Boolean =
device == other.device && keyCode == other.keyCode && scanCode == other.scanCode
val label: String
get() = KeyEvent.keyCodeToString(keyCode).removePrefix("KEYCODE_").removePrefix("BUTTON_")
}
data class Binding(val button: Button, val action: Action)
private fun identity(device: InputDevice): String =
"${device.vendorId}:${device.productId}:${device.descriptor.ifBlank { device.name }}"
fun isVolumeKey(event: KeyEvent): Boolean = when (event.keyCode) {
KeyEvent.KEYCODE_VOLUME_UP, KeyEvent.KEYCODE_VOLUME_DOWN, KeyEvent.KEYCODE_VOLUME_MUTE -> true
else -> false
}
fun isDrawerNavigationKey(event: KeyEvent): Boolean = when (event.keyCode) {
KeyEvent.KEYCODE_DPAD_UP, KeyEvent.KEYCODE_DPAD_DOWN,
KeyEvent.KEYCODE_DPAD_LEFT, KeyEvent.KEYCODE_DPAD_RIGHT -> true
else -> false
}
fun button(event: KeyEvent): Button? {
val device = event.device ?: return null
if (device.isVirtual || isVolumeKey(event)) return null
when (event.keyCode) {
KeyEvent.KEYCODE_HOME, KeyEvent.KEYCODE_POWER, KeyEvent.KEYCODE_SLEEP,
KeyEvent.KEYCODE_WAKEUP, KeyEvent.KEYCODE_APP_SWITCH -> return null
}
if (event.keyCode == KeyEvent.KEYCODE_UNKNOWN && event.scanCode <= 0) return null
return Button(identity(device), device.name, event.keyCode, event.scanCode)
}
fun read(context: Context): List<Binding> {
val raw = ControllerPrefs.prefs(context).getString(KEY, null) ?: return emptyList()
return try {
val array = JSONArray(raw)
buildList {
for (i in 0 until array.length()) {
try {
val entry = array.getJSONObject(i)
val action = Action.entries.firstOrNull { it.name == entry.getString("action") }
val code = entry.getInt("keyCode")
val scan = entry.getInt("scanCode")
val device = entry.getString("device")
if (action == null || device.isBlank() || code < 0 || scan < 0) {
Log.w(TAG, "Ignoring invalid shortcut at index $i")
continue
}
val binding = Binding(Button(device, entry.getString("name"), code, scan), action)
if (none { it.button.sameInput(binding.button) }) add(binding)
} catch (e: JSONException) {
Log.w(TAG, "Ignoring malformed shortcut at index $i", e)
}
}
}
} catch (e: JSONException) {
Log.w(TAG, "Could not read physical shortcuts; reset shortcuts to restore defaults", e)
emptyList()
}
}
fun assign(context: Context, button: Button, action: Action) {
val bindings = read(context).filterNot {
it.button.sameInput(button) || (it.button.device == button.device && it.action == action)
} + Binding(button, action)
write(context, bindings)
}
fun remove(context: Context, binding: Binding) {
write(context, read(context).filterNot { it == binding })
}
private fun write(context: Context, bindings: List<Binding>) {
val array = JSONArray()
bindings.forEach {
array.put(JSONObject().put("device", it.button.device).put("name", it.button.name)
.put("keyCode", it.button.keyCode).put("scanCode", it.button.scanCode).put("action", it.action.name))
}
ControllerPrefs.prefs(context).edit().putString(KEY, array.toString()).apply()
}
}
class PhysicalShortcutRouter {
var bindings: List<PhysicalShortcuts.Binding> = emptyList()
private data class Press(val device: Int, val keyCode: Int, val scanCode: Int)
private val held = mutableSetOf<Press>()
fun onKey(event: KeyEvent, enabled: Boolean, steam: Boolean, perform: (PhysicalShortcuts.Action) -> Unit): Boolean {
val press = Press(event.deviceId, event.keyCode, event.scanCode)
if (event.action == KeyEvent.ACTION_UP) return held.remove(press)
if (event.action != KeyEvent.ACTION_DOWN) return false
if (press in held) return true
if (!enabled || bindings.isEmpty()) return false
val button = PhysicalShortcuts.button(event) ?: return false
val binding = bindings.firstOrNull { it.button.sameInput(button) } ?: return false
if (!steam && binding.action != PhysicalShortcuts.Action.DROIDDECK) return false
held.add(press)
if (event.repeatCount == 0) perform(binding.action)
return true
}
fun onDeviceRemoved(deviceId: Int) {
held.removeAll { it.device == deviceId }
}
fun clear() {
held.clear()
}
}
@@ -11,6 +11,7 @@ class PointerGestures {
fun onScroll(dx: Float, dy: Float) {}
fun onScrollEnd() {}
fun onZoom(steps: Int) {}
fun onThreeFingerTap(): Boolean = false
}
companion object {
@@ -9,7 +9,12 @@ enum class SecondScreenMode(val id: String, @StringRes val label: Int) {
NONE("none", R.string.second_mode_none),
KEYBOARD_TRACKPAD("keyboard-trackpad", R.string.second_mode_keyboard_trackpad),
TERMINAL("terminal", R.string.second_mode_terminal),
DECK_CONTROLS("deck-controls", R.string.second_mode_deck_controls),
DECK_CONTROLS("deck-controls", R.string.second_mode_deck_controls);
companion object {
fun opening(remembered: String?, deckPad: Boolean): SecondScreenMode =
entries.firstOrNull { it != NONE && it.id == remembered && (it != DECK_CONTROLS || deckPad) } ?: if (deckPad) DECK_CONTROLS else KEYBOARD_TRACKPAD
}
}
data class SecondScreenDisplay(val id: Int, val label: String)
@@ -240,7 +240,8 @@ class TouchpadGestures(
}
if (desktop && scrolled && event.pointerCount == 2) listener.onScrollEnd()
if (fingers >= 3) {
if (event.pointerCount == 2 && secondWasTap && !scrolled && event.eventTime - downAt < TouchTiming.TAP_MS * 2)
if (event.pointerCount == 2 && secondWasTap && !scrolled && event.eventTime - downAt < TouchTiming.TAP_MS * 2 &&
!listener.onThreeFingerTap())
click(PointerGestures.BTN_MIDDLE)
if (event.pointerCount == 2) secondWasTap = false
} else if (twoFingers && secondWasTap && event.eventTime - secondDownAt < TouchTiming.TAP_MS && !scrolled) {
@@ -75,7 +75,10 @@ object BwrapSpawner {
}
}
class Plan(val root: File, val binds: List<Bind>, val cwd: String, val argv: List<String>, val env: Map<String, String>)
class Plan(
val root: File, val binds: List<Bind>, val cwd: String, val argv: List<String>, val env: Map<String, String>,
val envTool: String = "/usr/bin/env",
)
data class Bind(val host: String, val guest: String) {
val spec: String get() = if (host == guest) host else "$host:$guest"
@@ -179,12 +182,13 @@ object BwrapSpawner {
val argv = request.getJSONArray("argv").let { a -> (0 until a.length()).map { a.getString(it) } }
val env = LinkedHashMap<String, String>()
request.optJSONObject("env")?.let { e -> e.keys().forEach { k -> env[k] = e.getString(k) } }
if (binds.any { it.guest == "/dev" }) gpu(rootfs, root, env)?.forEach { addBind(it) }
val envTool = request.optString("envTool").takeIf { it.startsWith("/") }
if (envTool == null && binds.any { it.guest == "/dev" }) gpu(rootfs, root, env)?.forEach { addBind(it) }
val libc = listOf("/usr/lib/aarch64-linux-gnu/libc.so.6", "/lib/aarch64-linux-gnu/libc.so.6").map { hostPath(binds, root.path, it) }
if (preloadFits(rootfs, libc.firstOrNull { File(it).isFile } ?: libc.first())) preload(session, rootfs, env).forEach { addBind(it) }
if (envTool == null && preloadFits(rootfs, libc.firstOrNull { File(it).isFile } ?: libc.first())) preload(session, rootfs, env).forEach { addBind(it) }
zypakShims(binds, root, dir).forEach { addBind(it) }
browserSandboxes(env)
return Plan(root, binds, request.optString("cwd", "/").ifEmpty { "/" }, argv, env)
return Plan(root, binds, request.optString("cwd", "/").ifEmpty { "/" }, argv, env, envTool ?: "/usr/bin/env")
}
private const val GPU_DIR = "/run/droiddeck-gpu"
@@ -325,7 +329,7 @@ object BwrapSpawner {
val verbose = plan.env["DROIDDECK_PROOT_VERBOSE"]?.toIntOrNull()
if (verbose != null) { cmd.add(1, "-v"); cmd.add(2, verbose.toString()) }
plan.binds.forEach { cmd.add("-b"); cmd.add(it.spec) }
cmd.add("/usr/bin/env")
cmd.add(plan.envTool)
cmd.add("-i")
plan.env.forEach { (k, v) -> cmd.add("$k=$v") }
cmd.addAll(plan.argv)
@@ -19,7 +19,7 @@ object FlatpakManager {
@Volatile var busy: String? = null
private set
class App(val id: String, val name: String, val icon: File?, val branch: String, val summary: String?)
class App(val id: String, val name: String, val icon: File?, val branch: String, val summary: String?, val arch: String = "aarch64")
fun ready(context: Context): Boolean {
val root = LinuxRuntime.rootDir(context)
@@ -33,24 +33,33 @@ object FlatpakManager {
else -> "aarch64"
}
internal fun arches(native: String = arch()): List<String> = if (native == "aarch64") listOf("aarch64", "x86_64") else listOf(native)
internal fun installedBranch(appDir: File, native: String = arch()): Pair<String, File>? =
arches(native).firstNotNullOfOrNull { arch ->
File(appDir, arch).listFiles()?.firstOrNull { File(it, "active").exists() }?.let { arch to it }
}
fun foreign(app: App, native: String = arch()): Boolean = app.arch != native
fun launchArgs(app: App, native: String = arch()): List<String> = if (foreign(app, native)) listOf("--arch=${app.arch}", app.id) else listOf(app.id)
fun installedApps(context: Context): List<App> {
val apps = File(LinuxRuntime.rootDir(context), "$USER_DIR/app")
val arch = arch()
return apps.listFiles()?.mapNotNull { dir ->
val id = dir.name
val archDir = File(dir, arch)
val branch = archDir.listFiles()?.firstOrNull { File(it, "active").exists() } ?: return@mapNotNull null
val (arch, branch) = installedBranch(dir) ?: return@mapNotNull null
val active = File(branch, "active")
val export = File(active, "export/share")
val desktop = FileUtils.readString(File(export, "applications/$id.desktop"))
val name = desktop?.let { entry(it, "Name") } ?: id.substringAfterLast('.')
val summary = desktop?.let { entry(it, "Comment") }
App(id, name, icon(export, id), branch.name, summary)
App(id, name, icon(export, id), branch.name, summary, arch)
}?.sortedBy { it.name.lowercase() } ?: emptyList()
}
fun isInstalled(context: Context, id: String): Boolean =
File(LinuxRuntime.rootDir(context), "$USER_DIR/app/$id/${arch()}").listFiles()?.any { File(it, "active").exists() } == true
installedBranch(File(LinuxRuntime.rootDir(context), "$USER_DIR/app/$id")) != null
private fun entry(desktop: String, key: String): String? {
var inMain = false
@@ -117,7 +126,11 @@ object FlatpakManager {
when (o.optString("e")) {
"op" -> { step = stage(context, o); onProgress(step, overall(o, 0)) }
"progress" -> onProgress(step, overall(o, o.optInt("percent")))
"error" -> { error = o.optString("message"); Log.w(TAG, "$verb $id: $error") }
"error" -> {
error = if (o.optString("code") == "arch") context.getString(R.string.flatpakmgr_wrong_arch, o.optString("id"), o.optString("arch"))
else o.optString("message")
Log.w(TAG, "$verb $id: ${o.optString("message")}")
}
"warning" -> Log.w(TAG, "$verb $id: ${o.optString("message")}")
"done" -> onDone(o)
}
@@ -113,12 +113,16 @@ public final class LinuxRuntime {
}
public static boolean isInstalled(Context context) {
return hasRootfs(context) && (patchedProot(context) || rootfsProotReady(context));
}
/** The rootfs alone: enough to read the game library, while the proot pack can still be downloading. */
public static boolean hasRootfs(Context context) {
if (LinuxRuntimeInstaller.isRemoving() || LinuxRuntimeInstaller.hasRemovalPending(context)) return false;
File root = rootDir(context);
return (new File(root, "usr/bin/gamescope").isFile() || new File(root, "usr/games/gamescope").isFile())
&& (new File(root, SESSION_SCRIPT.substring(1)).isFile()
|| new File(root, LegacyNames.SESSION_SCRIPT.substring(1)).isFile())
&& (patchedProot(context) || rootfsProotReady(context));
|| new File(root, LegacyNames.SESSION_SCRIPT.substring(1)).isFile());
}
public static File vulkanIcd(Context context) {
@@ -0,0 +1,30 @@
package com.droiddeck.launcher.runtime
import android.content.Context
import com.droiddeck.launcher.BuildConfig
object RuntimeAutoUpdate {
private const val PREFS = "runtime-auto-update"
const val MAX_ATTEMPTS = 3
const val RETRY_MS = 10 * 60_000L
fun due(installed: String?, release: String?, attempts: Int, lastAt: Long = 0L, now: Long = lastAt + RETRY_MS): Boolean =
installed != null && !release.isNullOrEmpty() && release != installed && attempts < MAX_ATTEMPTS &&
(attempts == 0 || now - lastAt !in 0 until RETRY_MS)
fun key(appVersion: Int, release: String) = "$appVersion:$release"
fun claim(context: Context, installed: String?, release: String?, now: Long = System.currentTimeMillis()): Boolean {
if (release.isNullOrEmpty()) return false
val prefs = context.getSharedPreferences(PREFS, Context.MODE_PRIVATE)
val key = key(BuildConfig.VERSION_CODE, release)
synchronized(this) {
val attempts = prefs.getInt(key, 0)
if (!due(installed, release, attempts, prefs.getLong("$key@at", 0L), now)) return false
val edit = prefs.edit()
prefs.all.keys.filterNot { it.startsWith("${BuildConfig.VERSION_CODE}:") }.forEach { edit.remove(it) }
edit.putInt(key, attempts + 1).putLong("$key@at", now).apply()
return true
}
}
}
@@ -80,7 +80,7 @@ public final class RuntimeFileTree {
* be carried.
*/
static java.util.List<String> userPaths(File tree) throws IOException {
java.util.List<String> paths = new java.util.ArrayList<>(java.util.Arrays.asList("root", "opt/appimages/user", "opt/droiddeck-apps"));
java.util.List<String> paths = new java.util.ArrayList<>(java.util.Arrays.asList("root", "opt/appimages/user", "opt/droiddeck-apps", "opt/droiddeck/wincomponents"));
for (String n : children(new File(tree, "usr/local/share/applications"))) {
if (n.endsWith(".desktop") && (n.startsWith("droiddeck-app-") || n.startsWith("droiddeck-appimage-")))
paths.add("usr/local/share/applications/" + n);
@@ -97,7 +97,8 @@ object UserApps {
App(
"flatpak:${app.id}", Kind.FLATPAK, readName(custom) ?: app.name,
File(custom, "icon.png").takeIf { it.isFile } ?: app.icon ?: FlathubApi.iconUrl(app.id),
app.summary, FlatpakManager.LAUNCHER, listOf(app.id),
app.summary, FlatpakManager.LAUNCHER, FlatpakManager.launchArgs(app),
arch = app.arch.takeIf { FlatpakManager.foreign(app) },
)
}
return (scripts + images + flatpaks).sortedBy { it.name.lowercase() }
@@ -0,0 +1,485 @@
package com.droiddeck.launcher.session
import android.content.Context
import android.os.BatteryManager
import android.os.Build
import android.os.PowerManager
import android.util.Log
import com.droiddeck.launcher.core.CpuCores
import com.droiddeck.launcher.wayland.WaylandCompositor
import java.io.File
import java.text.SimpleDateFormat
import java.util.Date
import java.util.Locale
import kotlin.math.abs
import kotlin.math.roundToInt
/**
* What the Performance boost did in a session, in boost.log in the session folder and in the app log:
* whether each part (GameThreadHints, SamsungPerf) came on and can be seen working, a status line
* every [STATUS_S] seconds of play with why a part is off, and a summary with a verdict when the
* session ends. Play is time the game presents frames.
*
* With "Check the boost" on, the boost is on and paused in [WINDOW_S]-second windows of play in the
* order on, paused, paused, on, so the frame rate with and without it is compared over the same
* stretch of game, and a steady change such as the phone warming up favours neither side. The first
* [WARMUP_S] seconds of play (loading, shader compiles) and the first [SETTLE_S] seconds after each
* switch are not counted. Seconds the boost should be on but is held back for heat or battery saver
* are counted as [Side.heldBack]; too many and there is no verdict. Seconds it is off because the
* game keeps up without it are counted as [Side.idle]; if that is most of its turns, the boost is
* not needed for the game.
*/
object BoostReport {
private const val TAG = "BoostReport"
private const val STATUS_S = 30
internal const val WARMUP_S = 60
internal const val WINDOW_S = 60
internal const val SETTLE_S = 5
internal const val CHECK_MIN_S = 120 // counted seconds on each side before there is a verdict
internal const val TOO_HOT = "too hot"
internal const val BATTERY_SAVER = "battery saver"
internal const val KEEPS_UP = "game keeps up"
private const val CONFIRM_S = 2 // held this long before the clocks are compared
private const val SAMPLES = 5
private const val SAMPLE_MS = 200L
private const val RAISED = 1.1
private val THERMAL = listOf("none", "light", "moderate", "severe", "critical", "emergency", "shutdown")
private val GPU_MIN_FILES = listOf(
"/sys/class/kgsl/kgsl-3d0/devfreq/min_freq",
"/sys/class/kgsl/kgsl-3d0/min_clock_mhz",
"/sys/kernel/gpu/gpu_min_clock",
)
/** True while Check the boost has the boost paused; GameThreadHints and SamsungPerf let go meanwhile. */
@Volatile var paused = false
private set
/** Seconds of play on one side of a comparison. */
internal class Side {
val fps = ArrayList<Int>()
val milliamps = ArrayList<Int>()
var hottest = 0
/** Seconds the boost should have been on but was held back for heat or battery saver. */
var heldBack = 0
/** Seconds the boost could have been on but was off because the game kept up without it. */
var idle = 0
val seconds get() = fps.size
val average get() = if (fps.isEmpty()) 0.0 else fps.average()
/** The frame rate of the slowest 5 % of seconds. */
val low get() = if (fps.isEmpty()) 0 else fps.sorted()[fps.size / 20]
val draw get() = if (milliamps.isEmpty()) null else milliamps.average()
fun add(f: Int, ma: Int?, thermal: Int, held: Boolean = false, idle: Boolean = false) {
fps.add(f)
ma?.let { milliamps.add(it) }
hottest = maxOf(hottest, thermal)
if (held) heldBack++
if (idle) this.idle++
}
}
/** The CPU a thread last ran on: field 39 of /proc/<tid>/stat. */
internal fun processorOf(stat: String): Int? =
stat.substringAfterLast(')').trim().split(' ').getOrNull(36)?.toIntOrNull()
/** Each core's class by top speed: 2 the fastest, 0 the slowest, 1 between. */
internal fun tiers(maxGhz: Map<Int, Double>): Map<Int, Int> {
val top = maxGhz.values.maxOrNull() ?: return emptyMap()
val bottom = maxGhz.values.minOrNull() ?: top
return maxGhz.mapValues { (_, ghz) -> if (ghz >= top) 2 else if (ghz <= bottom) 0 else 1 }
}
internal fun minutesForVerdict(): Int {
val counted = IntArray(2)
var played = 0
while (counted.any { it < CHECK_MIN_S }) {
val (pause, at) = checkWindow(++played) ?: continue
if (at >= SETTLE_S) counted[if (pause) 1 else 0]++
}
return (played + 59) / 60
}
/**
* Where second [played] of play falls in the check: null in the warm-up, else whether the boost is
* paused and the seconds since it last switched. One window on, then two paused, two on, and so on.
*/
internal fun checkWindow(played: Int): Pair<Boolean, Int>? {
if (played <= WARMUP_S) return null
val n = played - WARMUP_S - 1
if (n < WINDOW_S) return false to n
val m = n - WINDOW_S
return (m / (2 * WINDOW_S) % 2 == 0) to m % (2 * WINDOW_S)
}
/** Why neither part boosts now, from what each says (Samsung's only where the phone has its service). */
internal fun offReasons(cores: String?, samsung: String?): String =
listOfNotNull(cores, samsung).distinct().joinToString().ifEmpty { "no reason given" }
/** Seconds a part was off, by reason, most first. */
internal fun offTimes(off: Map<String, Int>): String =
off.entries.sortedByDescending { it.value }.joinToString { "${clock(it.value)} ${it.key}" }
/** From Check the boost: whether the boost made the game faster where it matters. */
internal fun verdict(on: Side, off: Side): String {
if (on.seconds > 0 && on.heldBack * 4 > on.seconds) {
return "can't tell: the phone was too hot or saving battery for ${share(on.heldBack, on.seconds)} of the time " +
"the boost should have been on, so it was off then; try again with the phone cool and not charging"
}
if (on.seconds < CHECK_MIN_S || off.seconds < CHECK_MIN_S) {
return "too short to tell: play at least ${minutesForVerdict()} minutes with Check the boost on"
}
if (off.average < 1) return "unclear: the game showed no frames while the boost was paused"
if (on.idle * 2 > on.seconds) {
return "not needed for this game: it kept up without the boost for ${share(on.idle, on.seconds)} of the boost's turns, " +
"so the boost was seldom on (${"%.1f".format(Locale.US, on.average)} fps in its turns, ${"%.1f".format(Locale.US, off.average)} fps paused)"
}
val gain = on.average / off.average - 1
val lowGain = if (off.low > 0) on.low.toDouble() / off.low - 1 else 0.0
val onDraw = on.draw
val offDraw = off.draw
val cost = if (onDraw != null && offDraw != null && offDraw > 0) ", for ${percent(onDraw / offDraw - 1)} battery draw" else ""
val numbers = "${percent(gain)} fps on average, ${percent(lowGain)} in the slowest moments$cost"
return when {
gain >= 0.05 || lowGain >= 0.10 -> "worth keeping: $numbers"
gain <= 0.02 && lowGain <= 0.05 -> "not worth keeping for this game: $numbers"
else -> "unclear, a small gain: $numbers"
}
}
private fun percent(x: Double) = (if (x >= 0) "+" else "") + (x * 100).roundToInt() + " %"
private class Run(val file: File, val check: Boolean) {
var started = false
var played = 0
var lastFrames = -1L
val boosted = Side()
val unboosted = Side()
val checkOn = Side()
val checkOff = Side()
val recent = ArrayList<Int>()
var coresBoosted = 0
val onTier = IntArray(3)
val recentTier = IntArray(3)
var samsungHeld = 0
val coresOff = LinkedHashMap<String, Int>()
val samsungOff = LinkedHashMap<String, Int>()
var heldFor = 0
var cpuBefore = emptyMap<String, Long>()
var gpuBefore: Long? = null
var cpuRaised: Map<String, Pair<Long, Long>>? = null
var gpuRaised = false
var clocks: String? = null
var fallen = false
var drops = 0
var batteryStart: Int? = null
var batteryEnd: Int? = null
var firstFrameMs = 0L
var lastFrameMs = 0L
var charging = false
var hottest = 0
val samsungTries = SamsungPerf.tries
var samsungFailures = 0
}
private val letGoCounts = LinkedHashMap<String, Int>()
private var run: Run? = null
private var worker: Thread? = null
/** SamsungPerf let go of its floors, and why. */
fun letGo(why: String) {
synchronized(letGoCounts) { letGoCounts[why] = (letGoCounts[why] ?: 0) + 1 }
}
/** At a session's start, after the boost's parts. The line is for the log. */
@Synchronized
fun start(context: Context, dir: File): String {
stop()
synchronized(letGoCounts) { letGoCounts.clear() }
if (!SessionPrefs.performanceBoost(context)) return "boost report: off"
val r = Run(File(dir, "boost.log"), SessionPrefs.boostCheck(context))
run = r
val soc = if (Build.VERSION.SDK_INT >= 31) ", ${Build.SOC_MANUFACTURER} ${Build.SOC_MODEL}" else ""
line(r, "Performance boost report: ${Build.MANUFACTURER} ${Build.MODEL}, Android ${Build.VERSION.RELEASE}$soc; " +
"Check the boost ${if (r.check) "on" else "off"}. Play is time the game shows frames.")
val app = context.applicationContext
worker = Thread({ watch(app, r) }, "boost-report").apply { isDaemon = true; start() }
return "boost report: ${r.file}"
}
/** At a session's end: the summary. */
@Synchronized
fun stop() {
val r = run ?: return
run = null
worker?.let { it.interrupt(); it.join(2000) }
worker = null
paused = false
runCatching { summary(r) }.onFailure { Log.w(TAG, "summary", it) }
}
private fun line(r: Run, text: String) {
Log.i(TAG, text)
val clock = SimpleDateFormat("HH:mm:ss", Locale.US).format(Date())
runCatching { r.file.appendText("$clock $text\n") }
}
private fun watch(context: Context, r: Run) {
val pm = context.getSystemService(PowerManager::class.java)
val bm = context.getSystemService(BatteryManager::class.java)
val tiers = tiers(CpuCores.all.associateWith { CpuCores.maxGhz(it) ?: 0.0 })
val gpuFile = GPU_MIN_FILES.map(::File).firstOrNull { readLong(it) != null }
try {
while (!Thread.currentThread().isInterrupted) {
Thread.sleep(1000)
second(r, pm, bm, tiers, gpuFile)
}
} catch (_: InterruptedException) {
} catch (t: Throwable) {
Log.w(TAG, "stopped", t)
} finally {
paused = false
}
}
private fun second(r: Run, pm: PowerManager, bm: BatteryManager?, tiers: Map<Int, Int>, gpuFile: File?) {
val frames = WaylandCompositor.gameFrameCount()
val fps = if (r.lastFrames < 0) 0 else (frames - r.lastFrames).toInt()
r.lastFrames = frames
watchClocks(r, gpuFile)
val failed = r.samsungTries.failed
while (r.samsungFailures < failed.size) {
val n = ++r.samsungFailures
line(r, "Samsung clocks: try $n of ${SamsungPerf.TRIES} to connect failed: ${failed[n - 1]}; ${SamsungPerf.retryNote(n)}")
}
if (fps < 1) return
if (!r.started) {
r.started = true
r.batteryStart = battery(bm)
r.firstFrameMs = System.currentTimeMillis()
line(r, "the game shows frames; fastest cores: ${GameThreadHints.startLine.removePrefix("game thread hints: ")}; " +
"Samsung clocks: ${SamsungPerf.state}")
if (r.check) line(r, "check: starts after the first $WARMUP_S s of play, so loading is not counted")
}
r.played++
val thermal = if (Build.VERSION.SDK_INT >= 29) pm.currentThermalStatus else 0
r.hottest = maxOf(r.hottest, thermal)
val ma = milliamps(bm)
if (bm?.isCharging == true) r.charging = true
r.batteryEnd = battery(bm)
r.lastFrameMs = System.currentTimeMillis()
val threads = GameThreadHints.boostedThreads
val samsung = SamsungPerf.holding
(if (samsung || threads.isNotEmpty()) r.boosted else r.unboosted).add(fps, ma, thermal)
if (samsung) r.samsungHeld++
// A part switching on or off can be read between its two fields, with no reason yet: not counted.
val coresWhy = GameThreadHints.offWhy
val samsungWhy = SamsungPerf.offWhy.takeIf { SamsungPerf.connected }
if (threads.isEmpty() && coresWhy != null) r.coresOff[coresWhy] = (r.coresOff[coresWhy] ?: 0) + 1
if (!samsung && samsungWhy != null) r.samsungOff[samsungWhy] = (r.samsungOff[samsungWhy] ?: 0) + 1
val off = if (samsung || threads.isNotEmpty()) null else offReasons(coresWhy, samsungWhy)
val reasons = listOfNotNull(coresWhy, samsungWhy)
val held = off != null && reasons.any { it == TOO_HOT || it == BATTERY_SAVER }
val idle = off != null && !held && reasons.any { it == KEEPS_UP }
val window = if (r.check) checkWindow(r.played) else null
if (window != null) {
val (pause, at) = window
if (at == 0) {
paused = pause
val span = if (r.played <= WARMUP_S + WINDOW_S) WINDOW_S else 2 * WINDOW_S
line(r, "check: boost ${if (pause) "paused" else "on"} for $span s")
}
if (at >= SETTLE_S) (if (pause) r.checkOff else r.checkOn).add(fps, ma, thermal, held && !pause, idle && !pause)
}
if (threads.isNotEmpty()) {
r.coresBoosted++
for (tid in threads) {
val tier = readText(File("/proc/$tid/stat"))?.let(::processorOf)?.let { tiers[it] } ?: continue
r.onTier[tier]++
r.recentTier[tier]++
}
}
r.recent.add(fps)
if (r.played % STATUS_S == 0) {
status(r, threads.size, samsung, off, thermal, bm, ma)
r.recent.clear()
r.recentTier.fill(0)
}
}
/** Whether Samsung's floors show in the kernel's minimum speeds, and whether they stay there. */
private fun watchClocks(r: Run, gpuFile: File?) {
if (!SamsungPerf.holding) {
r.heldFor = 0
r.fallen = false
r.cpuBefore = cpuMins()
r.gpuBefore = gpuFile?.let(::readLong)
return
}
r.heldFor++
if (r.heldFor == CONFIRM_S && r.clocks == null) {
val (now, gpuNow) = peakMins(gpuFile)
val raised = now.filter { (policy, khz) -> r.cpuBefore[policy]?.let { khz > it * RAISED } == true }
r.cpuRaised = raised.mapValues { (policy, khz) -> r.cpuBefore.getValue(policy) to khz }
val cpu = when {
now.isEmpty() -> "the CPU's minimum speed can't be read on this phone"
raised.isEmpty() -> "the CPU's minimum speed did not change (${mhz(now)})"
else -> "CPU minimum speed raised: " + r.cpuRaised!!.entries.joinToString { (policy, ba) ->
"$policy ${ba.first / 1000} -> ${ba.second / 1000} MHz"
}
}
val gpuThen = r.gpuBefore
r.gpuRaised = gpuNow != null && gpuThen != null && gpuNow > gpuThen * RAISED
val gpu = when {
gpuNow == null || gpuThen == null -> "the GPU's minimum speed can't be read on this phone"
r.gpuRaised -> "GPU minimum raised $gpuThen -> $gpuNow (${gpuFile?.path})"
else -> "the GPU's minimum speed did not change ($gpuNow, ${gpuFile?.path})"
}
r.clocks = "$cpu; $gpu; the memory bus can't be seen from an app"
line(r, "Samsung clocks held: library answered ${SamsungPerf.lastResults}; ${r.clocks}")
}
val raised = r.cpuRaised
if (r.heldFor > CONFIRM_S && !raised.isNullOrEmpty()) {
val now = cpuMins()
val fell = raised.any { (policy, ba) -> now[policy]?.let { it < (ba.first + ba.second) / 2 } == true }
if (fell && !r.fallen) {
r.drops++
line(r, "Samsung clocks let go early: the CPU minimum speed fell back (${mhz(now)}) while DroidDeck still asks for it")
} else if (!fell && r.fallen) {
line(r, "Samsung clocks: the CPU minimum speed is back up (${mhz(now)})")
}
r.fallen = fell
}
}
private fun status(r: Run, threads: Int, samsung: Boolean, off: String?, thermal: Int, bm: BatteryManager?, ma: Int?) {
val state = when {
paused -> "paused for the check"
off == null -> "on"
else -> "off now: $off"
}
val checks = r.recentTier.sum()
val cores = if (threads == 0) "no threads" + because(GameThreadHints.offWhy) else "$threads threads" +
if (checks > 0) ", on the fastest cores ${r.recentTier[2] * 100 / checks} % of checks" else ""
val battery = battery(bm)?.let { "$it %" + (ma?.let { m -> ", $m mA" } ?: "") + if (bm?.isCharging == true) ", charging" else "" } ?: "unknown"
line(r, "status: boost $state; fastest cores: $cores; Samsung clocks: ${if (samsung) "held" else "not held" + because(SamsungPerf.offWhy)}; " +
"CPU minimum ${mhz(cpuMins())}; game ${r.recent.average().roundToInt()} fps, slowest second ${r.recent.minOrNull() ?: 0}; " +
"heat ${THERMAL.getOrElse(thermal) { "$thermal" }}; battery $battery")
}
private fun summary(r: Run) {
if (!r.started) {
line(r, "summary: the game never showed frames, nothing to report")
return
}
val all = Side().apply { (r.boosted.fps + r.unboosted.fps).forEach { add(it, null, 0) } }
line(r, "summary: ${clock(r.played)} of play")
val checks = r.onTier.sum()
line(r, "fastest cores: ${GameThreadHints.startLine.removePrefix("game thread hints: ")}; boosted ${share(r.coresBoosted, r.played)} of play" +
(if (checks > 0) "; boosted threads were on the fastest cores in ${share(r.onTier[2], checks)} of checks, " +
"middle ${share(r.onTier[1], checks)}, slowest ${share(r.onTier[0], checks)}" else "") +
(if (GameThreadHints.refused > 0) "; Android refused a hint session ${GameThreadHints.refused} times" else "") +
(if (r.coresOff.isNotEmpty()) "; off ${offTimes(r.coresOff)}" else ""))
val counts = synchronized(letGoCounts) { letGoCounts.entries.joinToString { "${it.value}x ${it.key}" } }
line(r, "Samsung clocks: ${SamsungPerf.state}; held ${share(r.samsungHeld, r.played)} of play; " +
"${r.clocks ?: "never held long enough to look at the clocks"}; let go early ${r.drops} times" +
(if (counts.isNotEmpty()) "; DroidDeck let go: $counts" else "") +
(if (r.samsungOff.isNotEmpty()) "; off ${offTimes(r.samsungOff)}" else ""))
val failed = r.samsungTries.failed
if (failed.isNotEmpty()) {
line(r, "Samsung clocks: ${failed.size} of ${SamsungPerf.TRIES} tries to connect failed: " +
failed.mapIndexed { i, why -> "${i + 1}) $why" }.joinToString("; ") +
if (SamsungPerf.connected) "; connected after that" else "")
}
line(r, "game: ${all.average.roundToInt()} fps average, slowest 5 % of seconds ${all.low}; " +
"boosted ${r.boosted.average.roundToInt()} fps for ${clock(r.boosted.seconds)}, not boosted ${r.unboosted.average.roundToInt()} fps for ${clock(r.unboosted.seconds)} " +
"(not a fair comparison: the boost runs when the game falls behind)")
val start = r.batteryStart
val end = r.batteryEnd
val spanS = ((r.lastFrameMs - r.firstFrameMs) / 1000).toInt()
val battery = when {
r.charging -> "charging, not measured"
start == null || end == null -> "unknown"
else -> "$start % -> $end % over ${clock(spanS)}" + if (spanS >= 300) ", ${(start - end) * 3600 / spanS} % an hour" else ""
}
line(r, "heat: hottest ${THERMAL.getOrElse(r.hottest) { "${r.hottest}" }}; battery: $battery")
if (r.check) {
line(r, "check: counted ${clock(r.checkOn.seconds)} with the boost on and ${clock(r.checkOff.seconds)} paused (first $WARMUP_S s of play and first $SETTLE_S s after each switch skipped)")
line(r, "check, boost on: ${side(r.checkOn)}")
line(r, "check, paused: ${side(r.checkOff)}")
line(r, "verdict: ${verdict(r.checkOn, r.checkOff)}")
} else {
line(r, "verdict: ${working(r)}. Turn on Check the boost for one game to see whether it is worth keeping.")
}
}
private fun working(r: Run): String {
val start = GameThreadHints.startLine
val cores = when {
start != "game thread hints: watching" -> "fastest cores not on (${start.removePrefix("game thread hints: ")})"
r.coresBoosted == 0 && GameThreadHints.refused > 0 -> "fastest cores refused by Android"
r.coresBoosted == 0 -> "fastest cores never on (${mostly(r.coresOff, r.played)})"
else -> "fastest cores working"
}
val samsung = when {
SamsungPerf.state.startsWith("not available") -> "Samsung clocks not available on this phone"
!SamsungPerf.connected && r.samsungTries.failed.isNotEmpty() ->
"Samsung clocks could not connect (${r.samsungTries.failed.last()})"
r.samsungHeld == 0 -> "Samsung clocks never on (${mostly(r.samsungOff, r.played)})"
r.drops > 0 -> "Samsung clocks working, but Samsung let go early ${r.drops} times"
r.cpuRaised.isNullOrEmpty() && !r.gpuRaised -> "Samsung clocks asked for, but the phone shows no raised speed"
else -> "Samsung clocks working and stayed on"
}
return "$cores; $samsung"
}
private fun because(why: String?) = why?.let { " ($it)" } ?: ""
/** The reason a part was off longest, and for how long. */
private fun mostly(off: Map<String, Int>, played: Int) =
off.maxByOrNull { it.value }?.let { "${it.key} ${clock(it.value)} of ${clock(played)}" } ?: "no reason given"
private fun side(s: Side) = "${"%.1f".format(Locale.US, s.average)} fps, slowest 5 % ${s.low}" +
(s.draw?.let { ", battery ${it.roundToInt()} mA" } ?: "") + ", hottest ${THERMAL.getOrElse(s.hottest) { "${s.hottest}" }}" +
(if (s.heldBack > 0) ", held back for heat or battery saver ${share(s.heldBack, s.seconds)}" else "") +
(if (s.idle > 0) ", off because the game kept up ${share(s.idle, s.seconds)}" else "")
private fun share(part: Int, whole: Int) = if (whole == 0) "0 %" else "${part * 100 / whole} %"
private fun clock(seconds: Int) = "%d:%02d".format(seconds / 60, seconds % 60)
private fun mhz(mins: Map<String, Long>) = if (mins.isEmpty()) "unknown" else mins.values.joinToString("/") { "${it / 1000}" } + " MHz"
/** The highest CPU and GPU minimums over [SAMPLES] readings [SAMPLE_MS] apart, so a floor between two renewals is still seen. */
private fun peakMins(gpuFile: File?): Pair<Map<String, Long>, Long?> {
val cpu = LinkedHashMap<String, Long>()
var gpu: Long? = null
repeat(SAMPLES) { i ->
if (i > 0) Thread.sleep(SAMPLE_MS)
cpuMins().forEach { (policy, khz) -> cpu[policy] = maxOf(cpu[policy] ?: 0L, khz) }
gpuFile?.let(::readLong)?.let { g -> gpu = maxOf(gpu ?: 0L, g) }
}
return cpu to gpu
}
/** Each CPU policy's minimum speed in kHz, as the kernel holds it now. */
private fun cpuMins(): Map<String, Long> =
File("/sys/devices/system/cpu/cpufreq").listFiles { f -> f.name.startsWith("policy") }.orEmpty()
.sortedBy { it.name.removePrefix("policy").toIntOrNull() ?: 0 }
.mapNotNull { p -> readLong(File(p, "scaling_min_freq"))?.let { p.name to it } }
.toMap()
private fun battery(bm: BatteryManager?): Int? =
bm?.getIntProperty(BatteryManager.BATTERY_PROPERTY_CAPACITY)?.takeIf { it in 0..100 }
private fun milliamps(bm: BatteryManager?): Int? {
val raw = bm?.getLongProperty(BatteryManager.BATTERY_PROPERTY_CURRENT_NOW) ?: return null
if (raw == 0L || raw == Long.MIN_VALUE) return null
return (abs(BatteryComponent.toMicroamps(raw)) / 1000).toInt()
}
private fun readText(f: File): String? = try { f.readText() } catch (_: Exception) { null }
private fun readLong(f: File): Long? = readText(f)?.trim()?.toLongOrNull()
}
@@ -36,6 +36,9 @@ import kotlin.math.abs
* under 90 fps against 2-7% unboosted. A game with no frames (Factorio's benchmark, a loading screen)
* or one falling behind the panel is boosted; one holding pace keeps what it has for [PACE_LEAVE_S]
* seconds and is then let go.
*
* Part of the Performance boost switch, on by default only where it was measured ([measuredHere]).
* Another phone's HAL may boost differently, or not at all.
*/
object GameThreadHints {
private const val TAG = "GameThreadHints"
@@ -46,21 +49,38 @@ object GameThreadHints {
private const val LEAVE = 0.15 // a capped game's main thread idles to ~30% on a prime core; under 0.3 it hopped back and forth
private const val MAX_THREADS = 2 // one per prime core; a third would be sped up in place instead
private const val TOP_PROCESSES = 3
private const val PACE_WINDOW_S = 3
private const val PACE_LEAVE_S = 10
internal const val PACE_WINDOW_S = 3
internal const val PACE_LEAVE_S = 10
private const val PACE_TOLERANCE = 0.08
/** Busy, but not the game: the app itself and the Steam client, whose UI would otherwise hold the prime cores. */
private val NOT_GAMES = setOf("steam", "steamwebhelper")
/** The Odin 3 (CQ8725S), where the boost was measured. */
val measuredHere: Boolean get() = Build.VERSION.SDK_INT >= 31 && Build.SOC_MODEL == "CQ8725S"
private var worker: Thread? = null
/** For BoostReport: the last start line, the threads boosted now, why none is, and hint sessions refused. */
@Volatile internal var startLine = "game thread hints: off"
@Volatile internal var boostedThreads = emptySet<Int>()
@Volatile internal var offWhy: String? = null
@Volatile internal var refused = 0
/** At a session's start. The line is for the log. */
@Synchronized
fun start(context: Context): String {
if (!SessionPrefs.gameThreadHints(context)) return "game thread hints: off"
// Measured on the Odin 3 (CQ8725S) only; another HAL may boost differently, or not at all.
if (Build.VERSION.SDK_INT < 31 || Build.SOC_MODEL != "CQ8725S") return "game thread hints: Odin 3 only"
offWhy = "starting"
return begin(context).also {
startLine = it
if (it != "game thread hints: watching") offWhy = it.removePrefix("game thread hints: ")
}
}
private fun begin(context: Context): String {
refused = 0
if (!SessionPrefs.performanceBoost(context)) return "game thread hints: off"
if (Build.VERSION.SDK_INT < 31) return "game thread hints: needs Android 12"
val hm = context.getSystemService(PerformanceHintManager::class.java)
?: return "game thread hints: no PerformanceHintManager"
val pm = context.getSystemService(PowerManager::class.java)
@@ -92,10 +112,16 @@ object GameThreadHints {
val fps = (frames.last() - frames.first()).toDouble() / (frames.size - 1).coerceAtLeast(1)
val paced = frames.size > PACE_WINDOW_S && holdsPace(fps, SessionState.refreshHz.toDouble())
pacedFor = if (paced) pacedFor + 1 else 0
// Not SEVERE: the Odin 3 reports it once its skin reaches 50 C, a couple of minutes into any game.
val spare = pm.isPowerSaveMode || pm.currentThermalStatus >= PowerManager.THERMAL_STATUS_CRITICAL
val spare = when {
BoostReport.paused -> "check pause"
pm.isPowerSaveMode -> BoostReport.BATTERY_SAVER
// Not SEVERE: the Odin 3 reports it once its skin reaches 50 C, a couple of minutes into any game.
pm.currentThermalStatus >= PowerManager.THERMAL_STATUS_CRITICAL -> BoostReport.TOO_HOT
pacedFor >= PACE_LEAVE_S -> BoostReport.KEEPS_UP
else -> null
}
val next = when {
spare || pacedFor >= PACE_LEAVE_S -> emptySet()
spare != null -> emptySet()
paced -> pick(boosted, busy.filterKeys { it in boosted })
else -> pick(boosted, busy)
}
@@ -103,10 +129,12 @@ object GameThreadHints {
session = update(hm, session, next)
// No session means a thread exited in between: tried again next second.
boosted = if (session == null) emptySet() else next
boostedThreads = boosted
Log.i(TAG, (if (session == null && next.isNotEmpty()) "no session for " else "boosting ") +
next.joinToString { "${readName("/proc/$it/comm")}/$it ${((busy[it] ?: 0.0) * 100).toInt()}%" }.ifEmpty { "nothing" } +
" (game ${fps.toInt()} fps${if (paced) ", holding pace" else ""})")
}
offWhy = offReason(spare, boosted, paced, next)
}
session?.reportActualWorkDuration(TARGET_NS * 3 / 2)
Thread.sleep(REPORT_MS)
@@ -116,17 +144,28 @@ object GameThreadHints {
Log.w(TAG, "stopped", t)
} finally {
session?.close()
boostedThreads = emptySet()
}
}
/** Why no thread is boosted, for the log; null while one is. [spare] is why the boost is held back, if it is. */
internal fun offReason(spare: String?, boosted: Set<Int>, paced: Boolean, next: Set<Int>): String? = when {
spare != null -> spare
boosted.isNotEmpty() -> null
paced -> BoostReport.KEEPS_UP
next.isEmpty() -> "no thread busy enough"
else -> "Android refused the hint"
}
/** A new session over [tids] in place of [session]; null for none. The set changes seldom, so no setThreads. */
private fun update(hm: PerformanceHintManager, session: PerformanceHintManager.Session?, tids: Set<Int>): PerformanceHintManager.Session? {
session?.close()
if (tids.isEmpty()) return null
return try {
hm.createHintSession(tids.toIntArray(), TARGET_NS)
hm.createHintSession(tids.toIntArray(), TARGET_NS).also { if (it == null) refused++ }
} catch (t: RuntimeException) {
Log.w(TAG, "createHintSession", t)
refused++
null
}
}
@@ -21,7 +21,7 @@ class GpuMemComponent(private val file: File, private val root: File) : SessionP
thread = Thread({
while (running) {
try { Thread.sleep(PERIOD_MS) } catch (e: InterruptedException) { break }
if (running && (OverlayShown.check(root) || com.droiddeck.launcher.hud.FusionHudHost.showing)) sample()?.let { write(it) }
if (running && (OverlayShown.check(root) || com.droiddeck.launcher.hud.DroidDeckHudHost.showing)) sample()?.let { write(it) }
}
}, "gpu-mem").apply { isDaemon = true; start() }
}
@@ -0,0 +1,313 @@
package com.droiddeck.launcher.session
import android.content.Context
import android.net.LocalServerSocket
import android.net.LocalSocket
import android.os.Build
import android.os.IBinder
import android.os.Parcel
import android.os.PowerManager
import android.system.Os
import android.system.OsConstants
import android.system.StructPollfd
import android.util.Log
import com.droiddeck.launcher.wayland.WaylandCompositor
import com.samsung.sdk.sperf.Boost
import java.io.DataInputStream
import java.io.DataOutputStream
import java.io.InputStream
import java.lang.reflect.InvocationTargetException
import java.util.concurrent.CopyOnWriteArrayList
import kotlin.random.Random
/**
* Samsung's CPU, GPU and memory-bus clock floors, from the performance service in Samsung's firmware.
* DroidDeck talks to it directly, the way Samsung's Galaxy Performance SDK 1.0.0 does, so the SDK is
* not needed: the binder service [SERVICE] sends the phone's level table over a local socket, and the
* firmware library [LIBRARY] ([Boost]) holds a level. Other phones have neither, and nothing happens.
*
* The floors are those of the SDK's CPU, GPU and bus presets (the middle of five levels, at least four
* cores online), asked for with a timeout of at most [HOLD_MS], so Samsung lets go on its own if the
* app dies. Samsung may hold a request for less than asked (1 s on an SM8850 Galaxy Z Fold), so they
* are renewed every [renewMs].
*
* A phone without the firmware library is not asked again until the app restarts. Where the library
* is there, a failed connection is tried again [TRIES] times a session, each failure with its reason
* in [Tries.failed], and again at the next session.
*/
object SamsungPerf {
private const val TAG = "SamsungPerf"
private const val LIBRARY = "perfsdk.performance.samsung"
private const val SERVICE = "perfsdkservice"
private const val DESCRIPTOR = "com.samsung.android.perfsdkservice.IPerfSDKService"
private const val CALL_INIT = IBinder.FIRST_CALL_TRANSACTION // initPerfSDK(socket name): Int
private const val CALL_PACKAGE = IBinder.FIRST_CALL_TRANSACTION + 1 // getAllowedPkgName(): String
private const val ASK_LEVELS = 10
private const val SOCKET_TIMEOUT_MS = 3000
// Boost.requestBoost types
internal const val CPU_MIN = 0
internal const val GPU_MIN = 2
internal const val BUS_MIN = 4
internal const val CPU_CORES_MIN = 6
private const val LEVEL = 2
private const val CORES = 4
internal const val HOLD_MS = 5000
private const val SEEN_HOLD_MS = 1000
internal const val TRIES = 4
private val RETRY_S = intArrayOf(5, 15, 30)
/** Half the hold, and no later than half the shortest hold Samsung has been seen to use. */
internal fun renewMs(holdMs: Int): Long = (minOf(holdMs, SEEN_HOLD_MS) / 2).coerceAtLeast(100).toLong()
/** The floors the phone offers, five values each from low to high, and the longest timeout (≤ 0: none). */
internal class Levels(val cpu: IntArray, val gpu: IntArray, val bus: IntArray, val maxTimeoutMs: Int)
/** The service's answer to [ASK_LEVELS] in little-endian ints: the floors, then the ceilings, unused here. */
internal fun readLevels(stream: InputStream): Levels {
val input = DataInputStream(stream)
fun next() = Integer.reverseBytes(input.readInt())
fun five() = IntArray(5) { next() }
repeat(3) { next() }
val timeout = next()
val levels = Levels(five(), five(), five(), timeout)
repeat(3 + 1 + 15) { next() } // level counts, the ceilings' timeout, CPU, GPU and bus ceilings
return levels
}
/** One Boost.requestBoost call. */
internal data class Floor(val type: Int, val value: Int, val timeoutMs: Int)
internal fun floors(levels: Levels): List<Floor> {
val timeout = if (levels.maxTimeoutMs > 0) minOf(HOLD_MS, levels.maxTimeoutMs) else HOLD_MS
return listOf(
Floor(CPU_MIN, levels.cpu[LEVEL], timeout),
Floor(CPU_CORES_MIN, CORES, timeout),
Floor(GPU_MIN, levels.gpu[LEVEL], timeout),
Floor(BUS_MIN, levels.bus[LEVEL], timeout),
).filter { it.value > 0 }
}
/** One session's tries to connect: why each failed, and whether all [TRIES] did. */
internal class Tries {
val failed = CopyOnWriteArrayList<String>()
@Volatile var gaveUp = false
}
/** What the log says after try [n] failed. */
internal fun retryNote(n: Int): String =
if (n < TRIES) "trying again in ${RETRY_S[n - 1]} s" else "no more tries until the next game"
/** A failed try's reason: the step it was on and what went wrong there. */
internal fun failure(step: String, t: Throwable): String {
val cause = (t as? InvocationTargetException)?.targetException ?: t
return "failed while $step (${cause.javaClass.simpleName}${cause.message?.takeIf { it.isNotBlank() }?.let { ": $it" } ?: ""})"
}
private val connectLock = Any()
@Volatile private var floors: List<Floor>? = null
@Volatile private var unavailable: String? = null
private var socket: LocalSocket? = null // kept open for the process's life, as the SDK does
@Volatile internal var tries = Tries()
private class Failed(val why: String) : Exception(why)
/** Null where there is no Samsung service (the reason in [unavailable]) or this try failed (the reason in [t]). */
private fun connect(t: Tries): List<Floor>? = synchronized(connectLock) { connectLocked(t) }
private fun connectLocked(t: Tries): List<Floor>? {
floors?.let { return it }
if (unavailable != null) return null
try {
System.loadLibrary(LIBRARY)
} catch (_: UnsatisfiedLinkError) {
unavailable = "no Samsung performance library"
offWhy = unavailable
Log.i(TAG, "not available: $unavailable")
return null
}
var step = "looking up Samsung's performance service"
var client: LocalSocket? = null
try {
val service = Class.forName("android.os.ServiceManager").getMethod("getService", String::class.java)
.invoke(null, SERVICE) as IBinder? ?: throw Failed("Samsung's performance service ($SERVICE) is not running")
val name = "PERFSDK_SOC_" + Random.nextInt(36 * 36 * 36 * 36 * 36).toString(36).padStart(5, '0')
step = "opening a socket for the service"
val server = LocalServerSocket(name) // the service connects to it; Closeable only from Android 10
val accepted = try {
step = "asking the service to connect"
val init = call(service, CALL_INIT, { writeString(name) }, { readInt() })
step = "asking the service for the package name"
val pkg = call(service, CALL_PACKAGE, {}, { readString() })
if (!pkg.isNullOrEmpty()) Boost.setPkgName(pkg)
Log.i(TAG, "service: init $init, package $pkg")
step = "waiting for the service to connect"
val poll = StructPollfd().apply { fd = server.fileDescriptor; events = OsConstants.POLLIN.toShort() }
if (Os.poll(arrayOf(poll), SOCKET_TIMEOUT_MS) < 1) {
throw Failed("the service did not connect within ${SOCKET_TIMEOUT_MS / 1000} s (it answered $init, package ${pkg ?: "none"})")
}
server.accept()
} finally {
server.close()
}
client = accepted
step = "reading the service's level table"
accepted.soTimeout = SOCKET_TIMEOUT_MS
DataOutputStream(accepted.outputStream).apply { writeInt(Integer.reverseBytes(ASK_LEVELS)); flush() }
val levels = readLevels(accepted.inputStream)
Log.i(TAG, "levels: cpu ${levels.cpu.joinToString()} / gpu ${levels.gpu.joinToString()} / " +
"bus ${levels.bus.joinToString()}, max ${levels.maxTimeoutMs} ms")
val found = floors(levels)
if (found.isEmpty()) {
throw Failed("the level table has no usable floors (cpu ${levels.cpu.joinToString()} / gpu ${levels.gpu.joinToString()} / bus ${levels.bus.joinToString()})")
}
socket = accepted
client = null
floors = found
return found
} catch (e: Throwable) {
val why = (e as? Failed)?.why ?: failure(step, e)
t.failed.add(why)
offWhy = "could not connect"
Log.w(TAG, "try ${t.failed.size} of $TRIES failed: $why", e.takeIf { it !is Failed })
return null
} finally {
client?.let { runCatching { it.close() } }
}
}
private fun <T> call(service: IBinder, code: Int, write: Parcel.() -> Unit, read: Parcel.() -> T): T {
val data = Parcel.obtain()
val reply = Parcel.obtain()
try {
data.writeInterfaceToken(DESCRIPTOR)
data.write()
if (!service.transact(code, data, reply, 0)) throw Failed("the service does not take call $code")
reply.readException()
return reply.read()
} finally {
reply.recycle()
data.recycle()
}
}
private var worker: Thread? = null
/** For BoostReport: whether the floors are held now, why not, and what the library answered when they were asked for. */
@Volatile internal var holding = false
@Volatile internal var offWhy: String? = null
@Volatile internal var lastResults = emptyList<Int>()
internal val connected get() = floors != null
/** For BoostReport. */
internal val state: String
get() = unavailable?.let { "not available: $it" }
?: floors?.let { f ->
val hold = f.minOf { it.timeoutMs }
"connected, floors " + f.joinToString { "${TYPE_NAMES[it.type]} ${it.value}" } +
", asked for $hold ms at a time, renewed every ${renewMs(hold)} ms"
}
?: tries.let { t ->
when {
t.gaveUp -> "could not connect in $TRIES tries (last: ${t.failed.lastOrNull()})"
t.failed.isNotEmpty() -> "connecting, try ${t.failed.size + 1} of $TRIES"
else -> "connecting"
}
}
internal fun floorValue(type: Int): Int? = floors?.firstOrNull { it.type == type }?.value
private val TYPE_NAMES = mapOf(CPU_MIN to "CPU", GPU_MIN to "GPU", BUS_MIN to "bus", CPU_CORES_MIN to "cores")
/** At a session's start. The line is for the log. */
@Synchronized
fun start(context: Context): String {
if (!SessionPrefs.performanceBoost(context)) return "samsung boost: off"
unavailable?.let { return "samsung boost: $it" }
val app = context.applicationContext
worker?.interrupt()
offWhy = "starting"
val t = Tries()
tries = t
worker = Thread({ run(app, t) }, "samsung-boost").apply { isDaemon = true; start() }
return "samsung boost: watching"
}
/** At a session's end. */
@Synchronized
fun stop() {
worker?.interrupt()
worker = null
}
private fun run(context: Context, t: Tries) {
var boosting = false
try {
var found = connect(t)
while (found == null && unavailable == null && t.failed.size < TRIES) {
Thread.sleep(RETRY_S[t.failed.size - 1] * 1000L)
found = connect(t)
}
if (found == null) {
if (unavailable == null) {
t.gaveUp = true
offWhy = "could not connect in $TRIES tries"
}
return
}
val floors: List<Floor> = found
val renew = renewMs(floors.minOf { it.timeoutMs })
val pm = context.getSystemService(PowerManager::class.java)
val frames = ArrayDeque<Long>()
var pacedFor = 0
while (!Thread.currentThread().isInterrupted) {
frames.addLast(WaylandCompositor.gameFrameCount())
if (frames.size > GameThreadHints.PACE_WINDOW_S + 1) frames.removeFirst()
val fps = (frames.last() - frames.first()).toDouble() / (frames.size - 1).coerceAtLeast(1)
val paced = frames.size > GameThreadHints.PACE_WINDOW_S && GameThreadHints.holdsPace(fps, SessionState.refreshHz.toDouble())
pacedFor = if (paced) pacedFor + 1 else 0
val hot = Build.VERSION.SDK_INT >= 29 && pm.currentThermalStatus >= PowerManager.THERMAL_STATUS_SEVERE
val why = when {
BoostReport.paused -> "check pause"
fps < 1 -> "no frames"
pm.isPowerSaveMode -> BoostReport.BATTERY_SAVER
hot -> BoostReport.TOO_HOT
pacedFor >= GameThreadHints.PACE_LEAVE_S -> BoostReport.KEEPS_UP
else -> null
}
offWhy = why
val want = why == null
if (want) {
val results = request(floors)
holding = true
if (!boosting) {
lastResults = results
Log.i(TAG, "boosting (game ${fps.toInt()} fps, results $results)")
}
} else if (boosting) {
holding = false // first, so BoostReport does not read the release as Samsung letting go
Boost.releaseBoost()
BoostReport.letGo(why!!)
Log.i(TAG, "let go ($why, game ${fps.toInt()} fps)")
}
boosting = want
var slept = 0L
while (slept + renew < 1000) {
Thread.sleep(renew)
slept += renew
if (boosting) request(floors)
}
Thread.sleep(1000 - slept)
}
} catch (_: InterruptedException) {
} catch (e: Throwable) {
Log.w(TAG, "stopped", e)
} finally {
if (boosting) runCatching { Boost.releaseBoost() }
holding = false
}
}
private fun request(floors: List<Floor>) = floors.map { Boost.requestBoost(it.type, it.value, it.timeoutMs) }
}
@@ -290,6 +290,7 @@ object SessionFiles {
"stage session=$startsSession pending=$force choice=${SessionPrefs.bootMovie(context)} movie=${startupMovie?.path} " +
"staged=$bigPictureMovieInstalled done=$done steam=${home.path} config: $before -> ${startupMoviePath(config)}",
)
if (startsSession) disableIdleSleep(home)
if (!done) allDone = false
if (!bigPictureMovieInstalled) allInstalled = false
if (done && home.path.contains(".droiddeck-x64") == activeIsX64) seen = if (bigPictureMovieInstalled) BOOT_MOVIE_PATH else ""
@@ -528,6 +529,43 @@ object SessionFiles {
}
}
private val IDLE_SLEEP_TIMERS = listOf("IdleSuspendBatterySeconds", "IdleSuspendACSeconds")
/**
* Sets Steam's Power > "Sleep after" (battery and plugged in) to Disabled at every session start: Android
* owns the device's sleep, and a client that suspends inside the session only shows a black screen. Dimming stays the user's. Runs
* only before the client starts, which rewrites its config on exit.
*/
internal fun disableIdleSleep(steamHome: File): Boolean {
val config = File(steamHome, "config/config.vdf")
val text = runCatching { config.readText() }.getOrNull() ?: return false
val newline = if (text.contains("\r\n")) "\r\n" else "\n"
val steam = findSteamBlock(text) ?: return false
val system = findObject(text, "system", steam.open + 1, steam.close)
val updated = if (system != null) {
val block = text.substring(system.keyStart, system.close + 1)
text.replaceRange(system.keyStart, system.close + 1, IDLE_SLEEP_TIMERS.fold(block) { acc, key -> setScalar(acc, key, "0", newline) })
} else {
val lineStart = text.lastIndexOf('\n', steam.close).let { if (it < 0) 0 else it + 1 }
val indent = text.substring(lineStart, steam.close).takeWhile { it == '\t' || it == ' ' } + "\t"
val section = (listOf(indent + "\"system\"", indent + "{") +
IDLE_SLEEP_TIMERS.map { "$indent\t\"$it\"\t\t\"0\"" } + (indent + "}")).joinToString(newline) + newline
text.substring(0, lineStart) + section + text.substring(lineStart)
}
val staged = File(config.parentFile, config.name + ".staged")
return try {
if (updated != text) {
staged.writeText(updated)
if (!staged.renameTo(config)) { staged.delete(); return false }
}
true
} catch (e: Exception) {
staged.delete()
Log.w(TAG, "could not disable Steam's idle sleep", e)
false
}
}
/** Adds the `Customization` section Steam reads, next to the `Software` section, when the config has none. */
private fun withCustomization(text: String, path: String, newline: String): String {
val root = findObject(text, "InstallConfigStore", 0, text.length) ?: return text
@@ -94,6 +94,12 @@ object SessionPrefs {
prefs(context).edit().putString("dualScreenMode", mode).apply()
}
fun secondScreenPanel(context: Context): String? = prefs(context).getString("secondScreenPanel", null)
fun setSecondScreenPanel(context: Context, mode: String) {
prefs(context).edit().putString("secondScreenPanel", mode).apply()
}
fun dualScreenLauncher(context: Context): Boolean = prefs(context).getBoolean("dualScreenLauncher", true)
fun setDualScreenLauncher(context: Context, on: Boolean) {
@@ -141,10 +147,10 @@ object SessionPrefs {
}
fun storesView(context: Context): String =
prefs(context).getString("storesView", null)?.takeIf { it in STORES_VIEWS } ?: STORES_VIEWS.first()
prefs(context).getString("storesView", null)?.takeIf { it in STORES_VIEWS } ?: DEFAULT_STORES_VIEW
fun setStoresView(context: Context, view: String) {
prefs(context).edit().putString("storesView", if (view in STORES_VIEWS) view else STORES_VIEWS.first()).apply()
prefs(context).edit().putString("storesView", if (view in STORES_VIEWS) view else DEFAULT_STORES_VIEW).apply()
}
fun libraryCardLevel(context: Context): Int = prefs(context).getInt("libraryCardLevel", 2)
@@ -193,6 +199,7 @@ object SessionPrefs {
val STORES_SORTS = listOf("lastPlayed", "recentlyInstalled", "titleAsc", "titleDesc", "sizeDesc", "sizeAsc", "releaseDateDesc")
val STORES_VIEWS = listOf("cards", "capsules", "list")
const val DEFAULT_STORES_VIEW = "capsules"
fun storesInstallTarget(context: Context): String = prefs(context).getString("storesInstallTarget", "") ?: ""
@@ -241,7 +248,7 @@ object SessionPrefs {
prefs(context).edit().putInt("gameStoresParallel", count.coerceIn(1, 3)).apply()
}
fun hudEnabled(context: Context): Boolean = prefs(context).getBoolean(hudKey(context), !mangoappSession(context))
fun hudEnabled(context: Context): Boolean = prefs(context).getBoolean(hudKey(context), false)
fun setHudEnabled(context: Context, on: Boolean) {
prefs(context).edit().putBoolean(hudKey(context), on).apply()
@@ -279,18 +286,18 @@ object SessionPrefs {
prefs(context).edit().putInt("hudOpacity", percent.coerceIn(HUD_OPACITY_RANGE)).apply()
}
fun fusionHudConfig(context: Context): String? = prefs(context).getString("fusionHud", null)
fun droidDeckHudConfig(context: Context): String? = prefs(context).getString("__KEEP_droidDeckHud__", null)
fun setFusionHudConfig(context: Context, config: String) {
prefs(context).edit().putString("fusionHud", config).apply()
fun setDroidDeckHudConfig(context: Context, config: String) {
prefs(context).edit().putString("__KEEP_droidDeckHud__", config).apply()
}
fun fusionHudPosition(context: Context): Pair<Float, Float>? =
prefs(context).getString("fusionHudPos", null)?.split(',')?.mapNotNull { it.toFloatOrNull() }
fun droidDeckHudPosition(context: Context): Pair<Float, Float>? =
prefs(context).getString("__KEEP_droidDeckHudPos__", null)?.split(',')?.mapNotNull { it.toFloatOrNull() }
?.takeIf { it.size == 2 }?.let { it[0] to it[1] }
fun setFusionHudPosition(context: Context, x: Float, y: Float) {
prefs(context).edit().putString("fusionHudPos", "$x,$y").apply()
fun setDroidDeckHudPosition(context: Context, x: Float, y: Float) {
prefs(context).edit().putString("__KEEP_droidDeckHudPos__", "$x,$y").apply()
}
const val HUD_COLOR_MINT = "mint"
@@ -435,11 +442,15 @@ object SessionPrefs {
/**
* Shader pre-caching as the launcher last set it, until a session reports it written into the
* client's config.vdf; after that the client's own toggle is the user's again.
* client's config.vdf; after that the client's own toggle is the user's again. A client that
* has never written a config.vdf starts with pre-caching off.
*/
fun pendingShaderPrecache(context: Context): Boolean? {
val prefs = prefs(context)
if (!prefs.contains("shaderPrecache")) return null
if (!prefs.contains("shaderPrecache")) {
if (steamConfig(context).exists()) return null
prefs.edit().putBoolean("shaderPrecache", false).apply()
}
val on = prefs.getBoolean("shaderPrecache", true)
val applied = shaderPrecacheApplied(context)
val written = runCatching { applied.readText().trim() }.getOrNull() ?: return on
@@ -454,9 +465,12 @@ object SessionPrefs {
prefs(context).edit().putBoolean("shaderPrecache", on).apply()
}
private fun steamConfig(context: Context) =
java.io.File(steamRoot(context, steamClientArch(context)), "config/config.vdf")
fun shaderPrecache(context: Context): Boolean = pendingShaderPrecache(context)
?: runCatching { com.droiddeck.launcher.storage.SteamStorage.shaderPrecache(
java.io.File(steamRoot(context, steamClientArch(context)), "config/config.vdf").readText()) }.getOrDefault(true)
steamConfig(context).readText()) }.getOrDefault(true)
fun stretch16x9(context: Context): Boolean = prefs(context).getBoolean("stretch16x9", false)
@@ -601,8 +615,22 @@ object SessionPrefs {
prefs(context).edit().putBoolean("gpuClockPin", on).apply()
}
/** Whether the game's busiest threads are named to the power HAL for a boost (GameThreadHints). */
fun gameThreadHints(context: Context): Boolean = prefs(context).getBoolean("gameThreadHints", true)
/**
* The performance boost: the game's busiest threads named to the power HAL (GameThreadHints) and,
* on a Samsung phone, Samsung's clock floors (SamsungPerf).
*/
fun performanceBoost(context: Context): Boolean = prefs(context).getBoolean("performanceBoost", GameThreadHints.measuredHere)
fun setPerformanceBoost(context: Context, on: Boolean) {
prefs(context).edit().putBoolean("performanceBoost", on).apply()
}
/** Check the boost: BoostReport pauses the boost every other minute of play and compares. */
fun boostCheck(context: Context): Boolean = prefs(context).getBoolean("boostCheck", false)
fun setBoostCheck(context: Context, on: Boolean) {
prefs(context).edit().putBoolean("boostCheck", on).apply()
}
fun prootNoSeccomp(context: Context): Boolean = prefs(context).getBoolean("prootNoSeccomp", false)
@@ -1009,21 +1037,34 @@ object SessionPrefs {
if (previous != null && !p.contains("addedAppId:$folderPath")) {
val moved = movedAddedGame(p.all, previous, folderPath)
moved.keys.forEach { edit.remove(it) }
moved.values.forEach { (name, value) ->
when (value) {
is String -> edit.putString(name, value)
is Long -> edit.putLong(name, value)
is Int -> edit.putInt(name, value)
is Boolean -> edit.putBoolean(name, value)
is Float -> edit.putFloat(name, value)
}
}
moved.values.forEach { (name, value) -> edit.putValue(name, value) }
val removed = removedAddedGames(context)
if (previous in removed) edit.putString("removedAddedGames", removed.map { if (it == previous) folderPath else it }.joinToString("\n"))
}
edit.apply()
}
fun inheritAddedGame(context: Context, from: String, to: String) = synchronized(addedGameLock) {
val p = prefs(context)
val all = p.all
val edit = p.edit()
all.filterKeys { it.startsWith("added") && it.endsWith(":$from") }.forEach { (name, value) ->
val key = name.removeSuffix(from) + to
if (key !in all) edit.putValue(key, value)
}
edit.apply()
}
private fun android.content.SharedPreferences.Editor.putValue(name: String, value: Any?) {
when (value) {
is String -> putString(name, value)
is Long -> putLong(name, value)
is Int -> putInt(name, value)
is Boolean -> putBoolean(name, value)
is Float -> putFloat(name, value)
}
}
internal fun movedAddedGame(all: Map<String, *>, from: String, to: String): Map<String, Pair<String, Any?>> =
all.filterKeys { it.startsWith("added") && it.endsWith(":$from") }.mapValues { (name, value) ->
val moved = if (value is String && (value == from || value.startsWith("$from/"))) to + value.removePrefix(from) else value
@@ -1081,12 +1122,26 @@ object SessionPrefs {
/** Compositor frame limit that releases buffers to the game unpaced. */
const val FPS_UNPACED = -1
/** The drawer's frame limit slider: its first stop is Off. */
const val FPS_LIMIT_OFF = 15
const val FPS_LIMIT_MAX = 120
/**
* Buffers go back to the game as soon as they are replaced instead of once per refresh;
* Steam's Frame Limit in the Quick Access menu caps games. Mirroring still follows the glasses' refresh rate.
* Steam's Frame Limit in the Quick Access menu caps Steam games, and the drawer's limit caps games
* launched without Steam. Mirroring still follows the glasses' refresh rate.
*/
fun compositorFpsLimit(mirrorRefreshLimit: Int): Int =
if (mirrorRefreshLimit <= 0) FPS_UNPACED else mirrorRefreshLimit
const val PIP_FPS = 30
fun compositorFpsLimit(mirrorRefreshLimit: Int, sessionLimit: Int = 0, pip: Boolean = false): Int {
val limit = when {
mirrorRefreshLimit <= 0 && sessionLimit <= 0 -> FPS_UNPACED
mirrorRefreshLimit <= 0 -> sessionLimit
sessionLimit <= 0 -> mirrorRefreshLimit
else -> minOf(mirrorRefreshLimit, sessionLimit)
}
return if (pip && mirrorRefreshLimit <= 0 && (limit <= 0 || limit > PIP_FPS)) PIP_FPS else limit
}
val upscalerChoices = listOf(
0 to "Linear", 2 to "Nearest", 4 to "AMD FSR 1", 3 to "Snapdragon GSR",
@@ -334,6 +334,7 @@ class SessionService : Service() {
return START_NOT_STICKY
}
SessionState.mode = intent?.getStringExtra(EXTRA_MODE) ?: MODE_STEAM
SessionState.fpsLimit = 0
suspendPolicy = SessionPrefs.suspendPolicy(this, SessionState.mode)
steamDownloadsInBackground = SessionPrefs.steamDownloadsInBackground(this)
activityVisible = true
@@ -498,6 +499,8 @@ class SessionService : Service() {
Log.i(TAG, GpuClockPin.start(this))
Log.i(TAG, GameThreadHints.start(this))
Log.i(TAG, SamsungPerf.start(this))
Log.i(TAG, BoostReport.start(this, sessionDir))
val size = SessionState.outputSize
val guest = ArrayList<String>()
@@ -535,10 +538,6 @@ class SessionService : Service() {
// gamescope's WSI layer and winex11 reuse their per-present window checks for this long.
guest.add("DROIDDECK_WSI_BYPASS_CHECK_MS=100")
guest.add("WINE_OFFSCREEN_CHECK_MS=100")
// gamescope turns buffers around slower than an uncapped game draws; more images keep it drawing.
// The WSI layer goes back to its default count while Steam's Frame Limit holds the game.
guest.add("GAMESCOPE_WSI_MIN_IMAGE_COUNT=8")
guest.add("GAMESCOPE_WSI_ENSURE_MIN_IMAGE_COUNT=1")
guest.add("BL_REFRESH=" + Math.round(SessionState.refreshHz))
guest.add("BL_LOG=" + sessionLog.path)
guest.add("BL_DEBUG_DIR=" + sessionDir.path)
@@ -546,7 +545,6 @@ class SessionService : Service() {
val fakeInputDir = File(sessionRoot, "dev/input").apply { mkdirs() }
val controllersOn = !File(Environment.getExternalStorageDirectory(), NO_PAD_SWITCH).exists()
SessionState.deckPad = false
SessionState.secondScreenAutoOpened = false
deckBinds = emptyList()
inputSysfs = null
if (controllersOn) {
@@ -720,6 +718,7 @@ class SessionService : Service() {
if (!pulse.setMicSuspended(false)) Log.w(TAG, "could not resume microphone source")
},
zramControl = File(filesDir, "${LinuxRuntime.DIR}/tmp/.bl-zram"),
clockControl = File(filesDir, "${LinuxRuntime.DIR}/tmp/.bl-clock"),
pagedOut = { processes, unacknowledged, residentKb, swapKb, swapBeforeKb, millis ->
Log.i(TAG, "paged out $processes processes ($unacknowledged unacknowledged) in $millis ms: " +
"resident ${residentKb / 1024} MB, zram ${swapBeforeKb / 1024} -> ${swapKb / 1024} MB")
@@ -821,7 +820,7 @@ class SessionService : Service() {
if (!SessionPrefs.zramClient(this)) guest.add("BL_ZRAM_CLIENT=0")
}
SessionPrefs.vramCapMb(this).takeIf { it > 0 }?.let { guest.add("BL_VRAM_MB=$it") }
guest.add("BANNER_AUDIO_DIRECT_DECAY=0")
guest.add("AUDIO_DIRECT_DECAY=0")
val extra = extraEnv() + agentEnvironment
if (extra.none { it.startsWith("TU_DEBUG=") }) guest.add("$GAME_TU_DEBUG=" + (tuOverride ?: if (tuDriver) "sysmem" else ""))
extra.forEach { guest.add(it) }
@@ -844,7 +843,7 @@ class SessionService : Service() {
val wantsMic = SessionPrefs.micEnabled(this) &&
checkSelfPermission(android.Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED
guest.add("BL_MIC_ENABLED=" + if (wantsMic) "1" else "0")
guest.add("BANNER_AUDIO_DIRECT_MIC=" + if (wantsMic) "1" else "0")
guest.add("AUDIO_DIRECT_MIC=" + if (wantsMic) "1" else "0")
val audioDir = File(filesDir, "directaudio").apply { mkdirs() }
val relaySocket = File(audioDir, "relay.sock")
val micFifo = if (wantsMic) File(audioDir, "mic.fifo") else null
@@ -872,7 +871,11 @@ class SessionService : Service() {
}
if (wantsDirectAudio) {
guest.add("BL_DIRECTAUDIO=/" + SessionFiles.DIRECTAUDIO_DIR)
guest.add("BANNER_AUDIO_DIRECT_RELAY=" + relaySocket.absolutePath)
guest.add("AUDIO_DIRECT_RELAY=" + relaySocket.absolutePath)
val lowLatency = com.droiddeck.launcher.audio.DirectAudioTiming.lowLatencyOutput()
val timing = com.droiddeck.launcher.audio.DirectAudioTiming.environment(lowLatency)
guest.addAll(timing)
Log.i(TAG, "audio: Android output " + (if (lowLatency) "is low-latency; DirectAudio keeps its defaults" else "is not low-latency; DirectAudio uses " + timing.joinToString(" ")))
}
Log.i(TAG, "audio: client DirectAudio (in-process sink)" + (if (wantsDirectAudio) " + DirectAudio for games" else "")
+ (if (wantsMic) " + microphone" else "") +
@@ -1039,7 +1042,7 @@ class SessionService : Service() {
Log.w(TAG, "added games: ${root.host} is not a readable folder this session")
}
}
for ((host, guest) in com.droiddeck.launcher.stores.StoreInstallRoot.externalRoots(this)) {
for ((host, guest) in com.droiddeck.launcher.stores.StoreInstallRoot.externalRootsForXodus(this)) {
if (host.isDirectory && host.canRead()) {
File(LinuxRuntime.rootDir(this), guest.removePrefix("/")).mkdirs()
binds.add(host.path + ":" + guest)
@@ -1338,17 +1341,7 @@ class SessionService : Service() {
/** A Steam game is running: the client runs each one under its reaper, and Proton's script
* waits on the game with waitforexitandrun. Read from the command lines, as ComponentsManager does. */
private fun steamGameRunning(): Boolean {
val procs = File("/proc").listFiles() ?: return false
for (p in procs) {
if (!p.name.all(Char::isDigit)) continue
val cmd = runCatching { File(p, "cmdline").readBytes() }.getOrNull() ?: continue
if (cmd.isEmpty()) continue
val text = String(cmd).replace('\u0000', ' ')
if (text.contains("SteamLaunch AppId=") || text.contains("waitforexitandrun")) return true
}
return false
}
private fun steamGameRunning(): Boolean = SteamGameProcess.running()
private fun resumeSession(panelVisible: Boolean = true) {
if (SessionState.suspended) SessionState.resumeRequested = true
@@ -1819,7 +1812,9 @@ class SessionService : Service() {
SessionState.program == NoSteamLaunch.BATTLENET
SessionState.stopRequested = false
GpuClockPin.stop(this)
BoostReport.stop()
GameThreadHints.stop()
SamsungPerf.stop()
suspendOperationPending = false
freezePending = false
launchWatcher?.stopWatching()
@@ -1899,7 +1894,9 @@ class SessionService : Service() {
override fun onDestroy() {
stopSession(0)
BoostReport.stop()
GameThreadHints.stop() // also when the session never got as far as running
SamsungPerf.stop()
if (screenReceiverRegistered) {
unregisterReceiver(screenReceiver)
screenReceiverRegistered = false
@@ -92,6 +92,7 @@ object SessionState {
@Volatile var secondScreenMode = com.droiddeck.launcher.input.SecondScreenMode.NONE
@Volatile var secondScreenDisplay = -1
@Volatile var secondScreenAutoOpened = false
@Volatile var secondScreenProvisional = false
@Volatile
var mode = "steam"
@@ -108,6 +109,10 @@ object SessionState {
@Volatile
var upscaleRatio: Float = 0f
/** Frame limit chosen in the drawer for a game launched without Steam; 0 is off. */
@Volatile
var fpsLimit: Int = 0
@Volatile
var firstFrameSeen = false
@@ -3,6 +3,9 @@ package com.droiddeck.launcher.session
import android.os.Process
import java.io.File
import java.io.IOException
import java.io.RandomAccessFile
import java.nio.ByteBuffer
import java.nio.ByteOrder
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import java.util.concurrent.RejectedExecutionException
@@ -19,6 +22,8 @@ internal class SessionSuspendController(
private val nowMillis: () -> Long = { System.nanoTime() / 1_000_000 },
private val executor: ExecutorService = Executors.newSingleThreadExecutor(),
private val zramControl: File? = null,
private val clockControl: File? = null,
private val nowNanos: () -> Long = System::nanoTime,
private val pagedOut: (processes: Int, unacknowledged: Int, residentKb: Long, swapKb: Long, swapBeforeKb: Long, millis: Long) -> Unit =
{ _, _, _, _, _, _ -> },
) {
@@ -43,6 +48,7 @@ internal class SessionSuspendController(
@Volatile private var closing = false
@Volatile private var cancelled = false
private var frozen = emptyList<ProcessRecord>()
private var frozenSince: Long? = null
fun freeze(pageOut: Boolean = false, completion: (Boolean) -> Unit) {
cancelled = false
@@ -93,6 +99,7 @@ internal class SessionSuspendController(
} catch (_: Exception) {
} finally {
frozen = records.values.toList()
if (complete && frozenSince == null) frozenSince = nowNanos()
if (!complete) {
if (restoreSafely(frozen)) frozen = emptyList()
runAudio(resumeAudio)
@@ -111,6 +118,7 @@ internal class SessionSuspendController(
fun resume(completion: (Boolean) -> Unit) {
submit({
val records = frozen
advanceClock()
runAudio(resumeAudio)
val resumed = restoreSafely(records)
if (resumed) frozen = emptyList()
@@ -121,6 +129,7 @@ internal class SessionSuspendController(
fun closeAndResume(completion: () -> Unit) {
closing = true
submit({
advanceClock()
if (restoreSafely(frozen)) frozen = emptyList()
completion()
executor.shutdown()
@@ -135,6 +144,23 @@ internal class SessionSuspendController(
}
}
private fun advanceClock() {
val since = frozenSince ?: return
frozenSince = null
val control = clockControl?.takeIf { it.isFile && it.length() >= Long.SIZE_BYTES } ?: return
try {
RandomAccessFile(control, "rw").use { file ->
val bytes = ByteArray(Long.SIZE_BYTES)
file.readFully(bytes)
val shift = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).long.coerceAtLeast(0L) +
(nowNanos() - since).coerceAtLeast(0L)
file.seek(0L)
file.write(ByteBuffer.allocate(Long.SIZE_BYTES).order(ByteOrder.LITTLE_ENDIAN).putLong(shift).array())
}
} catch (_: IOException) {
}
}
private fun runAudio(action: () -> Unit) {
try {
action()
@@ -15,11 +15,11 @@ object SettingsReset {
"dualScreenMode", "dualScreenLauncher", "dualScreenSessionControls",
"gameStoresEnabled", "gameStoresSpeedTier", "gameStoresParallel", "storesOpenTab", "storesShowMature",
"storesInstallLanguage",
"hud", "hudDeck", "hudFps", "hudBattery", "hudGraph", "hudColor", "hudOpacity", "fusionHud", "fusionHudPos", "backActionsInverted", "backDoubleTapMs", "touch", "osc", "shape", "steamController",
"hud", "hudDeck", "hudFps", "hudBattery", "hudGraph", "hudColor", "hudOpacity", "__KEEP_droidDeckHud__", "__KEEP_droidDeckHudPos__", "backActionsInverted", "backDoubleTapMs", "touch", "osc", "shape", "steamController",
"gamepadLeft", "gamepadRight", "pipAutoEnter", "unfoldedControls", "unfoldedControlsWithController",
"stretch16x9", "picturePosition", "railLabels",
"gpuDriverMode", "androidDriver", "linuxDriver", "linuxDriver.steam", "linuxDriver.desktop",
"tuSysmem", "glThread", "noGlError", "zinkLazy", "mangoapp", "gpuClockPin", "gamescopeRealtime", "ramCapMb", "vramCapMb", "zramClient",
"tuSysmem", "glThread", "noGlError", "zinkLazy", "mangoapp", "gpuClockPin", "performanceBoost", "boostCheck", "gamescopeRealtime", "ramCapMb", "vramCapMb", "zramClient",
"directAudio", "mic", "wifiDiscovery", "clientCpusOverride", "clientCpus", "gameCpus",
"noXalia", "fastSync", "fsyncFirst", "syncFallback", "prootNoSeccomp", "prootFastPath", "cursorComposite",
"guestHostname", "fexPreset", "forceSsbs", "logs", "gameDebugLogsEnabled", "storageDiagnostics",
@@ -0,0 +1,18 @@
package com.droiddeck.launcher.session
import java.io.File
object SteamGameProcess {
fun matches(cmdline: ByteArray): Boolean {
val args = String(cmdline).split('\u0000')
for (i in args.indices) {
if (args[i] == "waitforexitandrun") return true
if (args[i] == "SteamLaunch" && args.getOrNull(i + 1)?.startsWith("AppId=") == true) return true
}
return false
}
fun running(proc: File = File("/proc")): Boolean = proc.listFiles()?.any { p ->
p.name.all(Char::isDigit) && runCatching { File(p, "cmdline").readBytes() }.getOrNull()?.let(::matches) == true
} == true
}
@@ -0,0 +1,26 @@
package com.droiddeck.launcher.session
import org.json.JSONObject
import java.io.File
object SteamImportPrompt {
data class Ask(val token: String, val games: List<String>)
private fun folder(root: File) = File(root, "root/.cache/droiddeck")
fun read(root: File): Ask? {
val text = runCatching { File(folder(root), "steam-import.json").readText() }.getOrNull() ?: return null
val json = runCatching { JSONObject(text) }.getOrNull() ?: return null
val token = json.optString("token").takeIf { it.isNotEmpty() } ?: return null
val list = json.optJSONArray("games")
val games = if (list == null) emptyList() else (0 until list.length()).mapNotNull { list.optString(it).takeIf(String::isNotBlank) }
return Ask(token, games)
}
fun answer(root: File, token: String, now: Boolean): Boolean = runCatching {
val dir = folder(root).apply { mkdirs() }
val temp = File(dir, "steam-import.answer.tmp")
temp.writeText(JSONObject().put("token", token).put("choice", if (now) "now" else "later").toString())
temp.renameTo(File(dir, "steam-import.answer"))
}.getOrDefault(false)
}
@@ -92,6 +92,28 @@ object SteamLiveShortcuts {
if (evaluate(context, js) != null) Log.i(TAG, "live shortcuts: updated $id")
}
fun launchOptions(context: Context, appId: Long): String? {
if (!clientRunning()) return null
val js = """
new Promise(done => {
let handle = null, answer;
const finish = d => { clearTimeout(timer); try { handle?.unregister(); } catch (e) {} done(d); };
const timer = setTimeout(() => finish(null), 4000);
handle = SteamClient.Apps.RegisterForAppDetails(${appId and 0xFFFFFFFFL}, d => { answer = d; if (handle) finish(d); });
if (answer !== undefined) finish(answer);
}).then(d => typeof d?.strLaunchOptions === 'string' ? d.strLaunchOptions : null)
""".trimIndent()
return evaluate(context, js)
}
fun setLaunchOptions(context: Context, appId: Long, options: String): Boolean {
if (!clientRunning()) return false
val id = appId and 0xFFFFFFFFL
val done = evaluate(context, "(async () => { SteamClient.Apps.SetAppLaunchOptions($id, ${JSONObject.quote(options)}); return 1; })()") != null
if (done) Log.i(TAG, "live: launch options for $id")
return done
}
fun setArt(context: Context, appId: Long, assetType: Int?, file: java.io.File?, iconPath: String? = null) {
if (!clientRunning()) return
val id = appId and 0xFFFFFFFFL
@@ -137,10 +137,7 @@ object StoreInstallRoot {
.filter { !isInternal(context, it) && (library == null || !it.absolutePath.startsWith("$library/")) }
.map { root ->
val base = guestFor(context, root)
val guest = if (used.add(base)) base else {
val suffix = "%08x".format(CRC32().apply { update(root.absolutePath.toByteArray()) }.value)
"$base-$suffix".also { used.add(it) }
}
val guest = if (used.add(base)) base else "$base-${pathKey(root)}".also { used.add(it) }
root to guest
}
}
@@ -168,15 +165,20 @@ object StoreInstallRoot {
/** Xodus has its own PRoot mount table and cannot see the selected Steam library's SD bind. */
fun externalRootsForXodus(context: Context): List<Pair<File, String>> {
val roots = externalRoots(context).toMutableList()
val roots = externalRoots(context)
val selectedLibrary = GameStorage.effective(context)?.let { File(it.path, ON_VOLUME) }
?.takeUnless { isInternal(context, it) }
if (selectedLibrary != null && roots.none { it.first.absolutePath == selectedLibrary.absolutePath }) {
roots += selectedLibrary to guestFor(context, selectedLibrary)
}
return roots
?.takeUnless { isInternal(context, it) } ?: return roots
return withSelectedLibrary(roots, selectedLibrary, guestFor(context, selectedLibrary))
}
internal fun withSelectedLibrary(roots: List<Pair<File, String>>, library: File, base: String): List<Pair<File, String>> {
if (roots.any { it.first.absolutePath == library.absolutePath }) return roots
val guest = if (roots.none { it.second == base }) base else "$base-${pathKey(library)}"
return roots + (library to guest)
}
private fun pathKey(root: File): String = "%08x".format(CRC32().apply { update(root.absolutePath.toByteArray()) }.value)
fun externalBindSpecs(context: Context): List<String> = externalBindSpecs(externalRoots(context), LinuxRuntime.rootDir(context))
fun externalBindSpecsForXodus(context: Context): List<String> =
@@ -192,7 +194,7 @@ object StoreInstallRoot {
private fun guestFor(context: Context, root: File): String {
val sm = context.getSystemService(StorageManager::class.java)
val uuid = runCatching { sm?.getStorageVolume(root)?.uuid }.getOrNull()?.takeIf { it.isNotBlank() }?.replace(Regex("[^A-Za-z0-9-]"), "")
val key = uuid ?: "%08x".format(CRC32().apply { update(root.absolutePath.toByteArray()) }.value)
val key = uuid ?: pathKey(root)
return "$GUEST_EXTERNAL/$key"
}
@@ -0,0 +1,45 @@
package com.droiddeck.launcher.stores.itch
import java.io.File
import java.io.FileInputStream
import java.nio.file.Files
internal object ItchArchives {
private val PACKED = setOf("zip", "7z", "rar", "tar", "gz", "bz2", "xz")
fun kind(file: File, filename: String): String {
val extension = filename.substringAfterLast('.', "").lowercase()
if (extension == "exe") return "exe"
return signature(file) ?: extension
}
private fun signature(file: File): String? {
val head = runCatching { FileInputStream(file).use { input -> ByteArray(300).also { input.read(it) } } }.getOrNull()
?: return null
fun at(i: Int, vararg bytes: Int) = bytes.indices.all { head.getOrNull(i + it) == bytes[it].toByte() }
return when {
at(0, 0x50, 0x4B) -> "zip"
at(0, 0x37, 0x7A, 0xBC, 0xAF, 0x27, 0x1C) -> "7z"
at(0, 0x52, 0x61, 0x72, 0x21) -> "rar"
at(0, 0x1F, 0x8B) -> "gz"
at(0, 0x42, 0x5A, 0x68) -> "bz2"
at(0, 0xFD, 0x37, 0x7A, 0x58, 0x5A, 0x00) -> "xz"
at(257, 0x75, 0x73, 0x74, 0x61, 0x72) -> "tar"
else -> null
}
}
fun inner(folder: File): File? {
val found = ArrayList<File>()
fun walk(dir: File, depth: Int) {
val files = dir.listFiles() ?: return
for (file in files) {
if (Files.isSymbolicLink(file.toPath())) continue
if (file.isFile && signature(file) in PACKED) found.add(file)
else if (file.isDirectory && depth < 2 && !file.name.startsWith(".")) walk(file, depth + 1)
}
}
walk(folder, 0)
return found.maxByOrNull { it.length() }
}
}
@@ -0,0 +1,114 @@
package com.droiddeck.launcher.stores.itch
import com.droiddeck.launcher.stores.StoreNet
import org.json.JSONArray
import org.json.JSONObject
import java.io.File
import java.io.FileOutputStream
import java.net.HttpURLConnection
import java.net.URL
import java.util.concurrent.atomic.AtomicBoolean
internal object ItchBuilds {
private const val BASE = "https://api.itch.io"
private const val MAX_STEPS = 4
class Step(val buildId: Long, val patchFile: Long, val patchSize: Long, val signatureFile: Long)
fun buildId(upload: JSONObject): String {
val value = upload.opt("build_id") ?: upload.opt("buildId")
return when (value) {
is Number -> value.toLong().takeIf { it > 0 }?.toString().orEmpty()
is String -> value.takeIf { it.all(Char::isDigit) }?.toLongOrNull()?.takeIf { it > 0 }?.toString().orEmpty()
else -> ""
}
}
fun path(key: String, from: String, to: String, downloadKeyId: String): List<Step>? {
val fromId = from.toLongOrNull() ?: return null
val toId = to.toLongOrNull() ?: return null
val reply = ItchApi.get("/builds/$fromId/upgrade-paths/$toId" + keyQuery(downloadKeyId), key) ?: return null
return steps(reply, fromId, toId) { filesOf(key, it, downloadKeyId) }
}
fun steps(reply: JSONObject, fromId: Long, toId: Long, filesFor: (JSONObject) -> JSONArray?): List<Step>? {
val builds = (reply.optJSONObject("upgrade_path") ?: reply.optJSONObject("upgradePath"))?.optJSONArray("builds") ?: return null
val ids = (0 until builds.length()).mapNotNull { builds.optJSONObject(it) }
val after = ids.filter { it.optLong("id") != fromId }
if (after.isEmpty() || after.size > MAX_STEPS || after.last().optLong("id") != toId) return null
val steps = after.map { build ->
val files = filesFor(build) ?: return null
val patch = pick(files, "patch") ?: return null
val signature = pick(files, "signature")
Step(build.optLong("id"), patch.optLong("id"), patch.optLong("size"), signature?.optLong("id") ?: 0L)
}
return steps.takeIf { it.last().signatureFile > 0 }
}
fun fileUrl(buildId: Long, fileId: Long, downloadKeyId: String): String =
"$BASE/wharf/builds/$buildId/files/$fileId/download" + keyQuery(downloadKeyId)
fun download(url: String, key: String, target: File, cancelled: AtomicBoolean, progress: (Long) -> Unit): Boolean {
val first = open(url, key)
try {
val code = first.responseCode
val location = first.getHeaderField("Location")
if (code in 300..399 && location != null) {
first.disconnect()
val next = URL(URL(url), location).toString()
if (!next.startsWith("https://")) return false
return save(open(next, null), target, cancelled, progress)
}
return save(first, target, cancelled, progress)
} finally {
runCatching { first.disconnect() }
}
}
private fun save(conn: HttpURLConnection, target: File, cancelled: AtomicBoolean, progress: (Long) -> Unit): Boolean {
try {
if (conn.responseCode !in 200..299) return false
var done = 0L
val buffer = ByteArray(128 * 1024)
conn.inputStream.use { input ->
FileOutputStream(target).use { out ->
while (true) {
if (cancelled.get()) return false
val read = input.read(buffer)
if (read < 0) break
out.write(buffer, 0, read)
done += read
progress(done)
}
}
}
return true
} finally {
runCatching { conn.disconnect() }
}
}
private fun open(url: String, key: String?): HttpURLConnection =
(URL(url).openConnection() as HttpURLConnection).apply {
connectTimeout = 30_000
readTimeout = 60_000
instanceFollowRedirects = false
setRequestProperty("User-Agent", StoreNet.BROWSER_UA)
setRequestProperty("Accept", "*/*")
if (key != null) setRequestProperty("Authorization", "Bearer $key")
}
private fun filesOf(key: String, build: JSONObject, downloadKeyId: String): JSONArray? =
build.optJSONArray("files")
?: ItchApi.get("/builds/${build.optLong("id")}" + keyQuery(downloadKeyId), key)?.optJSONObject("build")?.optJSONArray("files")
private fun pick(files: JSONArray, type: String): JSONObject? {
val all = (0 until files.length()).mapNotNull { files.optJSONObject(it) }
.filter { it.optString("type") == type && it.optString("state", "uploaded") == "uploaded" }
return all.firstOrNull { subType(it) == "optimized" } ?: all.firstOrNull { subType(it) == "default" }
}
private fun subType(file: JSONObject): String = file.optString("sub_type", file.optString("subType", "default"))
private fun keyQuery(downloadKeyId: String): String = if (downloadKeyId.isBlank()) "" else "?download_key_id=$downloadKeyId"
}
@@ -13,6 +13,7 @@ import com.droiddeck.launcher.stores.StoreInstalls
import com.droiddeck.launcher.stores.StoreNet
import com.droiddeck.launcher.stores.download.DownloadQueue
import com.droiddeck.launcher.stores.download.DownloadStage
import org.apache.commons.compress.MemoryLimitException
import org.apache.commons.compress.archivers.sevenz.SevenZFile
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream
import org.apache.commons.compress.archivers.zip.ZipFile
@@ -25,6 +26,7 @@ import java.io.FileInputStream
import java.io.FileOutputStream
import java.net.HttpURLConnection
import java.net.URL
import java.nio.file.Files
import java.util.concurrent.atomic.AtomicBoolean
internal class ItchInstaller(
@@ -60,12 +62,31 @@ internal class ItchInstaller(
val scratch = StoreInstallRoot.scratchDir(app, Store.ITCH, item.id)
scratch.mkdirs()
val archive = File(scratch, filename.ifBlank { "download.bin" })
val buildId = ItchBuilds.buildId(upload)
val exe = try {
handle.stage(DownloadStage.DOWNLOAD)
download(key, downloadKeyId, uploadId, upload.optString("updated_at", upload.optString("updatedAt")), archive, size, handle)
if (cancelled.get()) return null
handle.stage(DownloadStage.INSTALL)
install(archive, filename, handle, resuming)
var patched = updating && !resuming && previous?.isInstalled == true &&
patch(key, downloadKeyId, uploadId, buildId, size, scratch, handle)
if (cancelled.get()) {
if (patched) dropCaches(scratch)
return null
}
var picked: String? = null
if (patched) {
picked = install(archive, filename, handle, resuming, true)
if (picked == null) {
if (cancelled.get()) return null
handle.log("itch.io: the patched copy of ${item.title} has no exe, doing a full update")
patched = false
}
}
if (!patched) {
handle.stage(DownloadStage.DOWNLOAD)
download(key, downloadKeyId, uploadId, upload.optString("updated_at", upload.optString("updatedAt")), archive, size, handle)
if (cancelled.get()) return null
handle.stage(DownloadStage.INSTALL)
picked = install(archive, filename, handle, resuming, false)
}
picked
} catch (t: Throwable) {
if (!cancelled.get()) dropCaches(scratch)
throw t
@@ -88,7 +109,7 @@ internal class ItchInstaller(
installedAt = System.currentTimeMillis(),
cover = item.imageUrl,
hero = item.imageUrl,
extra = mapOf("gameId" to gameId, "downloadKeyId" to downloadKeyId, "uploadId" to uploadId),
extra = mapOf("gameId" to gameId, "downloadKeyId" to downloadKeyId, "uploadId" to uploadId, "buildId" to buildId),
cloud = false,
)
StoreInstalls.complete(app, folder, sidecar) { done, steps -> handle.stageProgress(done.toLong(), steps.toLong()) }
@@ -178,23 +199,50 @@ internal class ItchInstaller(
}
}
private fun install(archive: File, filename: String, handle: DownloadQueue.JobHandle, resuming: Boolean): String? {
private fun patch(key: String, downloadKeyId: String, uploadId: String, buildId: String, fullSize: Long, scratch: File, handle: DownloadQueue.JobHandle): Boolean {
val installed = previous?.extra.orEmpty()
val from = installed["buildId"].orEmpty()
if (installed["uploadId"] != uploadId || from.isBlank() || buildId.isBlank() || from == buildId) return false
val out = File(folder, ItchStaging.DIR)
ItchStaging.delete(out)
scratch.mkdirs()
val outcome = try {
ItchPatch.run(app, key, downloadKeyId, from, buildId, fullSize, folder, out, scratch, handle, cancelled)
} catch (t: Exception) {
ItchPatch.Outcome.Failed("${t.javaClass.simpleName} ${t.message}")
}
when (outcome) {
ItchPatch.Outcome.Applied -> {
handle.log("itch.io: patched ${item.title} from build $from to $buildId")
return true
}
ItchPatch.Outcome.Cancelled -> Unit
is ItchPatch.Outcome.Failed -> handle.log("itch.io: no patch for ${item.title}, doing a full update (${outcome.reason})")
}
ItchStaging.delete(out)
return false
}
private fun install(archive: File, filename: String, handle: DownloadQueue.JobHandle, resuming: Boolean, patched: Boolean = false): String? {
work = if (updating) File(folder, ItchStaging.DIR) else folder
if (updating) ItchStaging.delete(work)
if (updating && !patched) ItchStaging.delete(work)
work.mkdirs()
if (resuming) clearPartialInstall()
val exe = try {
when (val kind = sniff(archive, filename)) {
"zip" -> unzip(archive, handle)
"7z" -> sevenZip(archive, handle)
"rar" -> unrar(archive, handle)
"exe" -> copy(archive, File(work, filename.ifBlank { "game.exe" }))
"tar" -> untar(archive, null, handle)
"gz", "bz2", "xz" -> untar(archive, kind, handle) ?: single(archive, kind, handle)
else -> copy(archive, File(work, filename.ifBlank { "game" }))
}
if (!patched) unpack(archive, filename, handle)
val hint = filename.substringBeforeLast('.')
StoreExe.pick(work, hint.ifBlank { null }, item.title)
var picked = StoreExe.pick(work, hint.ifBlank { null }, item.title)
var passes = 0
while (picked.isBlank() && passes < 2 && !cancelled.get()) {
val inner = ItchArchives.inner(work) ?: break
handle.log("itch.io: no exe yet, unpacking ${inner.name}")
unpack(inner, inner.name, handle)
if (cancelled.get()) break
inner.delete()
picked = StoreExe.pick(work, inner.name.substringBeforeLast('.').takeIf { it.endsWith(".exe", ignoreCase = true) }, item.title)
passes++
}
picked
} catch (t: Throwable) {
if (updating) ItchStaging.delete(work)
throw t
@@ -221,21 +269,20 @@ internal class ItchInstaller(
return exe
}
private fun sniff(file: File, filename: String): String {
val extension = filename.substringAfterLast('.', "").lowercase()
if (extension == "exe") return "exe"
val head = runCatching { FileInputStream(file).use { input -> ByteArray(300).also { input.read(it) } } }.getOrNull()
?: return extension
fun at(i: Int, vararg bytes: Int) = bytes.indices.all { head.getOrNull(i + it) == bytes[it].toByte() }
return when {
at(0, 0x50, 0x4B) -> "zip"
at(0, 0x37, 0x7A, 0xBC, 0xAF, 0x27, 0x1C) -> "7z"
at(0, 0x52, 0x61, 0x72, 0x21) -> "rar"
at(0, 0x1F, 0x8B) -> "gz"
at(0, 0x42, 0x5A, 0x68) -> "bz2"
at(0, 0xFD, 0x37, 0x7A, 0x58, 0x5A, 0x00) -> "xz"
at(257, 0x75, 0x73, 0x74, 0x61, 0x72) -> "tar"
else -> extension
private fun unpack(archive: File, filename: String, handle: DownloadQueue.JobHandle) {
when (val kind = ItchArchives.kind(archive, filename)) {
"zip" -> unzip(archive, handle)
"7z" -> try {
sevenZip(archive, handle)
} catch (e: MemoryLimitException) {
handle.log("itch.io: ${archive.name} needs more memory than the app has, unpacking it in the runtime")
unrar(archive, handle, kind)
}
"rar" -> unrar(archive, handle, kind)
"exe" -> copy(archive, File(work, filename.ifBlank { "game.exe" }))
"tar" -> untar(archive, null, handle)
"gz", "bz2", "xz" -> untar(archive, kind, handle) ?: single(archive, kind, handle)
else -> copy(archive, File(work, filename.ifBlank { "game" }))
}
}
@@ -247,12 +294,12 @@ internal class ItchInstaller(
}
// No JVM library reads RAR5; the runtime's bsdtar (libarchive) does.
private fun unrar(archive: File, handle: DownloadQueue.JobHandle) {
if (!LinuxRuntime.isInstalled(app)) throw IllegalStateException(app.getString(R.string.stores_itch_archive, "rar"))
private fun unrar(archive: File, handle: DownloadQueue.JobHandle, kind: String) {
if (!LinuxRuntime.isInstalled(app)) throw IllegalStateException(app.getString(R.string.stores_itch_archive, kind))
val binds = if (listOf(app.filesDir, app.cacheDir).any { work.absolutePath.startsWith(it.absolutePath + "/") }) null
else listOf(work.absolutePath)
fun bsdtar(args: List<String>, onLine: (String) -> Unit) =
GuestCommand.run(app, listOf("/usr/bin/bsdtar") + args, logName = "itch-unrar", extraBinds = binds, fastPath = true) { line ->
GuestCommand.run(app, listOf("/usr/bin/bsdtar") + args, logName = "itch-unrar", extraBinds = binds, fastPath = true, cancelled = cancelled) { line ->
if (!line.startsWith("proot ")) onLine(line)
}
var entries = 0L
@@ -276,28 +323,31 @@ internal class ItchInstaller(
val total = archive.length()
var written = 0L
val buffer = ByteArray(64 * 1024)
SevenZFile.builder().setFile(archive).get().use { seven ->
while (true) {
if (cancelled.get()) return
val entry = seven.nextEntry ?: break
val file = target(entry.name)
if (file == null) {
handle.log("itch.io: skipped an entry outside the game folder")
continue
}
if (entry.isDirectory) {
file.mkdirs()
continue
}
file.parentFile?.mkdirs()
FileOutputStream(file).use { out ->
while (true) {
if (cancelled.get()) return
val read = seven.read(buffer, 0, buffer.size)
if (read < 0) break
out.write(buffer, 0, read)
written += read
handle.stageProgress(written, total)
val limitKb = (Runtime.getRuntime().maxMemory() / 4 / 1024).coerceIn(32L * 1024, Int.MAX_VALUE.toLong()).toInt()
Files.newByteChannel(archive.toPath()).use { channel ->
SevenZFile.builder().setSeekableByteChannel(channel).setMaxMemoryLimitKb(limitKb).get().use { seven ->
while (true) {
if (cancelled.get()) return
val entry = seven.nextEntry ?: break
val file = target(entry.name)
if (file == null) {
handle.log("itch.io: skipped an entry outside the game folder")
continue
}
if (entry.isDirectory) {
file.mkdirs()
continue
}
file.parentFile?.mkdirs()
FileOutputStream(file).use { out ->
while (true) {
if (cancelled.get()) return
val read = seven.read(buffer, 0, buffer.size)
if (read < 0) break
out.write(buffer, 0, read)
written += read
handle.stageProgress(written, total)
}
}
}
}
@@ -0,0 +1,124 @@
package com.droiddeck.launcher.stores.itch
import android.content.Context
import com.droiddeck.launcher.core.AddonPack
import com.droiddeck.launcher.runtime.GuestCommand
import com.droiddeck.launcher.runtime.LinuxRuntime
import com.droiddeck.launcher.stores.StoreInstalls
import com.droiddeck.launcher.stores.download.DownloadQueue
import com.droiddeck.launcher.stores.download.DownloadStage
import java.io.File
import java.util.concurrent.atomic.AtomicBoolean
internal object ItchPatch {
private const val DIR = "/usr/local/lib/droiddeck-butler"
sealed interface Outcome {
data object Applied : Outcome
data object Cancelled : Outcome
data class Failed(val reason: String) : Outcome
}
fun ready(context: Context): Boolean {
if (!AddonPack.BUTLER.available || !LinuxRuntime.isInstalled(context)) return false
if (!AddonPack.BUTLER.installed(context)) {
AddonPack.BUTLER.ensure(context)
return false
}
return stage(context)
}
private val stageLock = Any()
private fun stage(context: Context): Boolean = synchronized(stageLock) { stageLocked(context) }
private fun stageLocked(context: Context): Boolean {
val pack = AddonPack.BUTLER.dir(context)
val root = File(LinuxRuntime.rootDir(context), DIR.removePrefix("/"))
val packaged = File(pack, "version").readText()
if (runCatching { File(root, "version").readText() }.getOrNull() == packaged && File(root, "butler").isFile) return true
root.mkdirs()
pack.listFiles().orEmpty().filter { it.isFile && it.name != "version" && it.name != AddonPack.COMPLETE }.forEach { source ->
val staged = File(root, source.name + ".staged")
source.inputStream().use { input -> staged.outputStream().use { input.copyTo(it) } }
staged.setExecutable(true, false)
check(staged.renameTo(File(root, source.name)))
}
File(root, "version").writeText(packaged)
return true
}
fun run(
app: Context, key: String, downloadKeyId: String, from: String, to: String, fullSize: Long, installed: File, out: File, scratch: File,
handle: DownloadQueue.JobHandle, cancelled: AtomicBoolean,
): Outcome {
if (!ready(app)) return Outcome.Failed("the patch tool is not ready")
val steps = ItchBuilds.path(key, from, to, downloadKeyId) ?: return Outcome.Failed("no patch path from build $from to $to")
if (fullSize > 0 && steps.sumOf { it.patchSize } > fullSize) return Outcome.Failed("the patches are larger than a full download")
val dir = File(scratch, "patches").apply { deleteRecursively(); mkdirs() }
try {
handle.stage(DownloadStage.DOWNLOAD)
val total = steps.sumOf { it.patchSize }
var finished = 0L
val patches = steps.mapIndexed { index, step ->
val file = File(dir, "$index.pwr")
val base = finished
val ok = ItchBuilds.download(ItchBuilds.fileUrl(step.buildId, step.patchFile, downloadKeyId), key, file, cancelled) {
handle.progress(base + it, total)
}
if (cancelled.get()) return Outcome.Cancelled
if (!ok) return Outcome.Failed("build ${step.buildId}: the patch did not download")
finished += step.patchSize
file
}
val last = steps.last()
val signature = File(dir, "final.sig")
val got = ItchBuilds.download(ItchBuilds.fileUrl(last.buildId, last.signatureFile, downloadKeyId), key, signature, cancelled) {}
if (cancelled.get()) return Outcome.Cancelled
if (!got) return Outcome.Failed("build ${last.buildId}: the signature did not download")
handle.stage(DownloadStage.INSTALL)
return apply(app, patches, signature, installed, out, scratch, cancelled)
} finally {
StoreInstalls.deleteTree(dir)
}
}
private fun apply(app: Context, patches: List<File>, signature: File, installed: File, out: File, scratch: File, cancelled: AtomicBoolean): Outcome {
var source = installed
var intermediate: File? = null
try {
patches.forEachIndexed { index, patch ->
val finalStep = index == patches.lastIndex
val target = if (finalStep) out else File(scratch, "patched-$index")
ItchStaging.delete(target)
target.mkdirs()
val staging = File(scratch, "butler-staging-$index").apply { deleteRecursively(); mkdirs() }
val args = mutableListOf("$DIR/butler", "apply", "--assume-yes", "--staging-dir", staging.absolutePath, "-d", target.absolutePath)
if (finalStep) args += listOf("--signature", signature.absolutePath)
args += listOf(patch.absolutePath, source.absolutePath)
val binds = listOf(installed, out, scratch).map { it.absolutePath }
.filter { path -> listOf(app.filesDir, app.cacheDir).none { path.startsWith(it.absolutePath + "/") } }
.distinct().takeIf { it.isNotEmpty() }
val tail = ArrayDeque<String>()
val code = try {
GuestCommand.run(app, args, logName = "itch-butler", extraBinds = binds, fastPath = true, cancelled = cancelled) { line ->
if (!line.startsWith("proot ")) {
if (tail.size == 4) tail.removeFirst()
tail.addLast(line)
}
}
} finally {
StoreInstalls.deleteTree(staging)
}
if (cancelled.get()) return Outcome.Cancelled
if (code != 0) return Outcome.Failed("butler exited $code: ${tail.joinToString(" | ")}")
intermediate?.let { StoreInstalls.deleteTree(it) }
intermediate = if (finalStep) null else target
source = target
}
return Outcome.Applied
} finally {
intermediate?.let { StoreInstalls.deleteTree(it) }
}
}
}
@@ -68,6 +68,7 @@ import com.droiddeck.launcher.frontend.AddedGames
import com.droiddeck.launcher.frontend.LogoPosition
import com.droiddeck.launcher.frontend.SteamGameArt
import com.droiddeck.launcher.frontend.SteamGridDb
import com.droiddeck.launcher.frontend.SteamLaunchOptions
import com.droiddeck.launcher.session.SessionPrefs
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
@@ -191,7 +192,7 @@ internal fun SteamGameArtEditor(
game: com.droiddeck.launcher.frontend.Library.SteamGame, onClose: () -> Unit, onChanged: () -> Unit,
) {
val target = remember(game.appId) { ArtTarget.of(game) }
ArtOnlyEditor(game.name, target, game, { SteamGameArt.describe(it, game) }, onClose, onChanged)
ArtOnlyEditor(game.name, target, game, { SteamGameArt.describe(it, game) }, onClose, onChanged, launchAppId = game.appId)
}
@Composable
@@ -207,18 +208,25 @@ internal fun StoreGameArtEditor(folder: String, name: String, onClose: () -> Uni
@Composable
private fun ArtOnlyEditor(
name: String, target: ArtTarget?, refresh: Any?, describe: (Context) -> List<AddedGameArt.SlotState>,
onClose: () -> Unit, onChanged: () -> Unit,
onClose: () -> Unit, onChanged: () -> Unit, launchAppId: Int? = null,
) {
val app = LocalContext.current.applicationContext
val colors = MaterialTheme.colorScheme
val scope = rememberCoroutineScope()
val shown = rememberShown(onClose)
val close = { shown.targetState = false }
var version by remember { mutableIntStateOf(0) }
var arts by remember { mutableStateOf<List<AddedGameArt.SlotState>>(emptyList()) }
var artSlot by remember { mutableStateOf<AddedGameArt.Slot?>(null) }
var logoOpen by remember { mutableStateOf(false) }
var launchOptions by remember { mutableStateOf<String?>(null) }
var launchVersion by remember { mutableIntStateOf(0) }
var editingLaunch by remember { mutableStateOf<String?>(null) }
var launchSaving by remember { mutableStateOf(false) }
var launchError by remember { mutableStateOf<Int?>(null) }
val position = rememberLogoPosition(target, version)
LaunchedEffect(version, refresh) { if (target != null) arts = withContext(Dispatchers.IO) { describe(app) } }
LaunchedEffect(launchAppId, launchVersion) { if (launchAppId != null) launchOptions = withContext(Dispatchers.IO) { SteamLaunchOptions.current(app, launchAppId) } }
val first = remember { FocusRequester() }
LaunchedEffect(Unit) { focusWithinFrames({ false }) { first } }
AppDialog(shown, close, "artEditor", wide = false, maxWidth = 460.dp) {
@@ -228,10 +236,19 @@ private fun ArtOnlyEditor(
verticalArrangement = Arrangement.spacedBy(6.dp),
modifier = Modifier.fillMaxWidth().heightIn(max = maxHeight).verticalScroll(rememberScrollState()),
) {
Text(stringResource(R.string.edit_artwork), fontSize = 12.sp, color = colors.onSurfaceVariant, modifier = Modifier.padding(start = 4.dp, top = 2.dp))
if (launchAppId != null) {
FieldRow(stringResource(R.string.edit_launch_options), focus = first, onClick = { if (!launchSaving) launchOptions?.let { editingLaunch = it } }) {
val options = launchOptions
if (options == null || launchSaving) Loading() else ValueText(options.ifEmpty { "—" }, muted = options.isEmpty())
}
val error = launchError
if (error != null) Text(stringResource(error), fontSize = 12.sp, color = colors.error, modifier = Modifier.padding(start = 4.dp))
else Text(stringResource(R.string.edit_launch_options_steam_hint), fontSize = 12.sp, color = colors.onSurfaceVariant, modifier = Modifier.padding(start = 4.dp))
}
Text(stringResource(R.string.edit_artwork), fontSize = 12.sp, color = colors.onSurfaceVariant, modifier = Modifier.padding(start = 4.dp, top = if (launchAppId != null) 8.dp else 2.dp))
for (slot in AddedGameArt.Slot.values()) key(slot) {
val state = arts.firstOrNull { it.slot == slot }
FieldRow(slot.label(), focus = if (slot == AddedGameArt.Slot.COVER) first else null, onClick = { if (target != null) artSlot = slot }) {
FieldRow(slot.label(), focus = if (slot == AddedGameArt.Slot.COVER && launchAppId == null) first else null, onClick = { if (target != null) artSlot = slot }) {
Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(10.dp)) {
SlotThumb(slot, state?.file)
if (state != null) ValueText(artSourceLabel(state.source), muted = true) else Loading()
@@ -241,6 +258,27 @@ private fun ArtOnlyEditor(
PickerRow(Icons.Outlined.Tune, stringResource(R.string.art_adjust_logo), logoPositionSummary(position?.value), enabled = target != null && position != null) { logoOpen = true }
}
}
val before = editingLaunch
if (before != null && launchAppId != null) TextEntryDialog(stringResource(R.string.edit_launch_options), before, onDismiss = { editingLaunch = null }) { value ->
if (launchSaving || value == before.trim()) return@TextEntryDialog
launchSaving = true
scope.launch {
try {
val saved = withContext(Dispatchers.IO) { SteamLaunchOptions.set(app, launchAppId, value, before) }
launchError = when (saved) {
SteamLaunchOptions.Saved.YES -> null
SteamLaunchOptions.Saved.DESKTOP -> R.string.edit_launch_options_desktop
SteamLaunchOptions.Saved.NO -> R.string.edit_launch_options_not_saved
}
if (saved == SteamLaunchOptions.Saved.YES) launchOptions = value else {
launchOptions = null
launchVersion++
}
} finally {
launchSaving = false
}
}
}
val chosen = target ?: return
artSlot?.let { slot ->
ArtChooserDialog(chosen, slot, arts.firstOrNull { it.slot == slot }, onBack = { artSlot = null }, onCloseAll = { artSlot = null; close() }) { version++; onChanged() }
@@ -0,0 +1,113 @@
package com.droiddeck.launcher.ui
import android.app.Activity
import android.app.Application
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.Typeface
import android.os.Bundle
import android.text.TextPaint
import android.text.TextUtils
import android.util.TypedValue
import android.view.Gravity
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import com.droiddeck.launcher.BuildConfig
import com.droiddeck.launcher.QuestXrActivity
/** A faint bottom-right tag on every screen of a test or local build; stable and preview builds draw none. */
object BuildWatermark {
private const val TITLE_LIMIT = 80
fun lines(
pr: Int = BuildConfig.PR_NUMBER,
ci: Boolean = BuildConfig.CI_BUILD,
commit: String = BuildConfig.SOURCE_COMMIT,
title: String = BuildConfig.PR_TITLE,
branch: String = BuildConfig.BUILD_BRANCH,
): List<String>? {
if (ci && pr <= 0) return null
val hash = commit.take(7).ifEmpty { "unknown" }
val head = if (pr > 0) "PR-$pr | $hash" else "LOCAL | $hash"
val detail = (if (pr > 0) title else branch).trim()
return if (detail.isEmpty()) listOf(head) else listOf(head, truncate(detail))
}
private fun truncate(text: String) =
if (text.length <= TITLE_LIMIT) text else text.take(TITLE_LIMIT - 1).trimEnd() + "…"
fun install(app: Application) {
val lines = lines() ?: return
app.registerActivityLifecycleCallbacks(object : Application.ActivityLifecycleCallbacks {
override fun onActivityCreated(activity: Activity, savedInstanceState: Bundle?) {
if (activity is QuestXrActivity) return
val decor = activity.window.decorView as? ViewGroup ?: return
if (decor.findViewWithTag<View>(TAG) != null) return
val margin = (8 * activity.resources.displayMetrics.density).toInt()
decor.addView(
MarkView(activity, lines).apply { tag = TAG },
FrameLayout.LayoutParams(
ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT,
Gravity.BOTTOM or Gravity.END,
).apply { setMargins(margin, margin, margin, margin) },
)
}
override fun onActivityStarted(activity: Activity) = Unit
override fun onActivityResumed(activity: Activity) = Unit
override fun onActivityPaused(activity: Activity) = Unit
override fun onActivityStopped(activity: Activity) = Unit
override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle) = Unit
override fun onActivityDestroyed(activity: Activity) = Unit
})
}
private const val TAG = "build-watermark"
private class MarkView(context: Context, private val lines: List<String>) : View(context) {
private var shown = lines
private val paint = TextPaint(Paint.ANTI_ALIAS_FLAG).apply {
color = 0xE6FFFFFF.toInt()
typeface = Typeface.MONOSPACE
textSize = TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_SP, 9f, context.resources.displayMetrics,
)
setShadowLayer(1.5f * context.resources.displayMetrics.density, 0f, 0f, 0xFF000000.toInt())
textAlign = Paint.Align.RIGHT
}
private val backdrop = Paint(Paint.ANTI_ALIAS_FLAG).apply { color = 0x66303030 }
private val lineHeight get() = paint.fontSpacing
init {
isClickable = false
isFocusable = false
importantForAccessibility = IMPORTANT_FOR_ACCESSIBILITY_NO
setLayerType(LAYER_TYPE_SOFTWARE, null)
}
override fun onMeasure(widthSpec: Int, heightSpec: Int) {
val pad = paddingForShadow() * 2
val limit = if (MeasureSpec.getMode(widthSpec) == MeasureSpec.UNSPECIFIED) Float.MAX_VALUE
else (MeasureSpec.getSize(widthSpec) - pad).coerceAtLeast(0).toFloat()
shown = lines.map { TextUtils.ellipsize(it, paint, limit, TextUtils.TruncateAt.END).toString() }
val width = shown.maxOf { paint.measureText(it) }.toInt() + pad
setMeasuredDimension(width, (lineHeight * shown.size).toInt() + pad)
}
override fun onDraw(canvas: Canvas) {
val pad = paddingForShadow()
val radius = 3f * resources.displayMetrics.density
canvas.drawRoundRect(0f, 0f, width.toFloat(), height.toFloat(), radius, radius, backdrop)
shown.forEachIndexed { i, line ->
canvas.drawText(line, width - pad.toFloat(), pad - paint.ascent() + lineHeight * i, paint)
}
}
override fun onTouchEvent(event: android.view.MotionEvent) = false
private fun paddingForShadow() = (3 * resources.displayMetrics.density).toInt()
}
}
@@ -93,6 +93,9 @@ fun ControllerMappingPage(mapping: Map<String, String>, onPick: (String, String)
lede = stringResource(R.string.ctrl_mapping_lede),
onBack = onBack,
) {
SettingsGroup(stringResource(R.string.shortcuts_title)) {
PhysicalShortcutRows()
}
SettingsGroup(stringResource(R.string.ctrl_onscreen_buttons)) {
val targets = ControllerPrefs.targets.map { (id, label) -> id to stringResource(label) }
for ((id, name) in ControllerPrefs.mappable) {
@@ -4,11 +4,11 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import com.droiddeck.launcher.R
import com.droiddeck.launcher.hud.FusionSize
import com.droiddeck.launcher.hud.DroidDeckHudSize
/** Bannerlator's Fusion HUD settings (DeckOverlaySettings): one row per key of the HUD's config string. */
/** Bannerlator's DroidDeck HUD settings (DeckOverlaySettings): one row per key of the HUD's config string. */
@Composable
internal fun FusionHudSettings(host: MenuHost, a: DrawerActions, track: (String) -> Modifier) {
internal fun DroidDeckHudSettings(host: MenuHost, a: DrawerActions, track: (String) -> Modifier) {
val cfg = a.hudConfig
fun on(key: String) = cfg[key] == "1"
fun int(key: String, fallback: Int) = cfg[key]?.toIntOrNull() ?: fallback
@@ -16,14 +16,14 @@ internal fun FusionHudSettings(host: MenuHost, a: DrawerActions, track: (String)
SettingsGroup(stringResource(R.string.drawer_hud)) {
ToggleRow(host, "hud", stringResource(R.string.drawer_hud), null, a.hudOn, chipModifier = track("hud"), onChange = a.onHud)
if (!a.hudOn) return@SettingsGroup
val size = FusionSize.from(cfg["hudSize"])
val size = DroidDeckHudSize.from(cfg["hudSize"])
ChoiceRow(host, "hud-size", stringResource(R.string.hud_size), stringResource(R.string.hud_size_hint),
listOf(
FusionSize.FULL to stringResource(R.string.hud_size_full),
FusionSize.TILES to stringResource(R.string.hud_size_tiles),
FusionSize.PILL to stringResource(R.string.hud_size_pill),
FusionSize.MINIMAL to stringResource(R.string.hud_size_minimal),
FusionSize.MEGA to stringResource(R.string.hud_size_mega),
DroidDeckHudSize.FULL to stringResource(R.string.hud_size_full),
DroidDeckHudSize.TILES to stringResource(R.string.hud_size_tiles),
DroidDeckHudSize.PILL to stringResource(R.string.hud_size_pill),
DroidDeckHudSize.MINIMAL to stringResource(R.string.hud_size_minimal),
DroidDeckHudSize.MEGA to stringResource(R.string.hud_size_mega),
),
size, chipModifier = track("hud-size")) { a.onHudSetting("hudSize", it.token) }
ToggleRow(host, "hud-locked", stringResource(R.string.hud_locked), stringResource(R.string.hud_locked_hint), on("hudLocked"),
@@ -47,7 +47,7 @@ internal fun FusionHudSettings(host: MenuHost, a: DrawerActions, track: (String)
if (cfg["hudOutlineAccent"] == "0") "0" else "1", chipModifier = track("hud-outline-color")) { a.onHudSetting("hudOutlineAccent", it) }
}
val size = FusionSize.from(cfg["hudSize"])
val size = DroidDeckHudSize.from(cfg["hudSize"])
val chips = size.supportedChips() + EXTRA[size].orEmpty()
SettingsGroup(stringResource(R.string.hud_group_metrics)) {
for (metric in METRICS) {
@@ -84,7 +84,7 @@ internal fun FusionHudSettings(host: MenuHost, a: DrawerActions, track: (String)
}
}
SettingsGroup(stringResource(R.string.hud_group_more), detail = stringResource(R.string.hud_credit)) {
SettingsGroup(stringResource(R.string.hud_group_more)) {
ActionRow(stringResource(R.string.hud_export), stringResource(R.string.hud_export_hint),
stringResource(R.string.hud_export_button), onClick = a.onHudExport, modifier = track("hud-export"))
ActionRow(stringResource(R.string.hud_reset), null, stringResource(R.string.hud_reset_button),
@@ -95,11 +95,11 @@ internal fun FusionHudSettings(host: MenuHost, a: DrawerActions, track: (String)
private fun flag(on: Boolean) = if (on) "1" else "0"
// The Pill also draws the battery temperature and watts.
private val EXTRA = mapOf(FusionSize.PILL to setOf("Temp", "Power"))
private val EXTRA = mapOf(DroidDeckHudSize.PILL to setOf("Temp", "Power"))
private class HudMetric(val chip: String, val key: String, val label: Int)
// FusionSize.supportedChips() names; Wrapper and DX version have nothing to show in DroidDeck.
// DroidDeckHudSize.supportedChips() names; Wrapper and DX version have nothing to show in DroidDeck.
private val METRICS = listOf(
HudMetric("FPS", "showFPS", R.string.drawer_hud_fps),
HudMetric("FPS graph", "showFPSGraph", R.string.hud_metric_graph),
@@ -124,10 +124,10 @@ private val METRICS = listOf(
HudMetric("Clock", "showClock", R.string.hud_metric_clock),
)
// Switches a size lists but never draws (FusionHudView): the Pill and Minimal always show the FPS, the
// Switches a size lists but never draws (DroidDeckHudView): the Pill and Minimal always show the FPS, the
// Pill has no graph, Tiles has no graph and no 0.01% low.
private val HIDDEN = mapOf(
FusionSize.PILL to setOf("FPS", "FPS graph"),
FusionSize.MINIMAL to setOf("FPS"),
FusionSize.TILES to setOf("FPS graph", "0.01% low"),
DroidDeckHudSize.PILL to setOf("FPS", "FPS graph"),
DroidDeckHudSize.MINIMAL to setOf("FPS"),
DroidDeckHudSize.TILES to setOf("FPS graph", "0.01% low"),
)
@@ -69,6 +69,8 @@ object DualScreenPanel {
private var launching = false
set(value) { field = value; available = value || activity != null }
private var ownerTask = -1
private var ownerYielded = false
private var ownerPaused = false
var typing by mutableStateOf<TypingRequest?>(null)
private set
@@ -114,10 +116,12 @@ object DualScreenPanel {
}
fun show(context: Context, display: Int, task: Int) {
if (shownOn == display) return
if (shownOn == display) { ownerTask = task; return }
hide()
displayId = display
ownerTask = task
ownerYielded = false
ownerPaused = false
launching = true
val intent = Intent(context, DualScreenActivity::class.java)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_MULTIPLE_TASK or Intent.FLAG_ACTIVITY_NO_ANIMATION)
@@ -134,6 +138,10 @@ object DualScreenPanel {
activity = null
}
fun hide(task: Int) {
if (ownerTask == task || ownerTask < 0) hide()
}
internal fun attach(host: DualScreenActivity): Boolean {
if (!launching && activity == null) return false
if (activity !== host) activity?.finishAndRemoveTask()
@@ -142,11 +150,38 @@ object DualScreenPanel {
return true
}
internal fun returnFocus(context: Context) {
val task = ownerTask.takeIf { it >= 0 } ?: return
// The panel resumes when an app opens over the owner on the primary screen; pulling the owner back would hide that app.
fun yieldTo(task: Int, app: Boolean) {
if (ownerTask == task) ownerYielded = app
}
fun opensOutside(own: String, target: String?): Boolean = target != null && target != own
fun ownerPaused(task: Int, paused: Boolean) {
if (ownerTask == task) ownerPaused = paused
}
internal fun focusTask(fromPanel: Boolean): Int? {
if (ownerYielded || (ownerPaused && !fromPanel)) return null
return ownerTask.takeIf { it >= 0 }
}
internal fun returnFocus(context: Context, fromPanel: Boolean = false) {
val task = focusTask(fromPanel) ?: return
runCatching { (context.getSystemService(Context.ACTIVITY_SERVICE) as android.app.ActivityManager).moveTaskToFront(task, 0) }
}
internal fun reclaimFocus(context: Context) {
val task = focusTask(true) ?: return
val manager = context.getSystemService(Context.ACTIVITY_SERVICE) as android.app.ActivityManager
runCatching {
manager.appTasks.firstOrNull {
@Suppress("DEPRECATION")
(if (android.os.Build.VERSION.SDK_INT >= 29) it.taskInfo.taskId else it.taskInfo.persistentId) == task
}?.moveToFront() ?: manager.moveTaskToFront(task, 0)
}
}
internal fun detach(host: DualScreenActivity) {
if (activity === host) {
activity = null
@@ -162,7 +197,7 @@ class DualScreenActivity : ComponentActivity() {
finishAndRemoveTask()
return
}
window.addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE or WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
applyImmersiveMode()
setContent {
val model = DualScreenPanel.model
@@ -185,10 +220,10 @@ class DualScreenActivity : ComponentActivity() {
runCatching { (getSystemService(ACTIVITY_SERVICE) as android.app.ActivityManager).moveTaskToFront(taskId, 0) }
} else {
unfocusPending = true
DualScreenPanel.returnFocus(this)
DualScreenPanel.returnFocus(this, fromPanel = true)
window.decorView.postDelayed({
if (!unfocusPending || DualScreenPanel.typingShown) return@postDelayed
if (window.decorView.hasWindowFocus()) DualScreenPanel.returnFocus(this) else dropFocus()
if (window.decorView.hasWindowFocus()) DualScreenPanel.returnFocus(this, fromPanel = true) else dropFocus()
}, 400)
}
}
@@ -197,7 +232,6 @@ class DualScreenActivity : ComponentActivity() {
private fun dropFocus() {
unfocusPending = false
window.addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE)
}
override fun onResume() {
@@ -205,10 +239,27 @@ class DualScreenActivity : ComponentActivity() {
if (!DualScreenPanel.typingShown) DualScreenPanel.returnFocus(this)
}
private var topResumed = false
override fun onTopResumedActivityChanged(isTopResumedActivity: Boolean) {
super.onTopResumedActivityChanged(isTopResumedActivity)
topResumed = isTopResumedActivity
if (isTopResumedActivity && !DualScreenPanel.typingShown) DualScreenPanel.returnFocus(this, fromPanel = true)
}
override fun dispatchTouchEvent(event: android.view.MotionEvent): Boolean {
if (event.actionMasked == android.view.MotionEvent.ACTION_DOWN && topResumed && !DualScreenPanel.typingShown) {
DualScreenPanel.returnFocus(this, fromPanel = true)
}
return super.dispatchTouchEvent(event)
}
override fun onWindowFocusChanged(hasFocus: Boolean) {
super.onWindowFocusChanged(hasFocus)
if (hasFocus) applyImmersiveMode()
else if (unfocusPending && !DualScreenPanel.typingShown) dropFocus()
if (hasFocus) {
applyImmersiveMode()
if (!DualScreenPanel.typingShown) DualScreenPanel.reclaimFocus(this)
} else if (unfocusPending && !DualScreenPanel.typingShown) dropFocus()
}
@Suppress("OVERRIDE_DEPRECATION")
@@ -221,6 +272,7 @@ class DualScreenActivity : ComponentActivity() {
if (event.action == KeyEvent.ACTION_UP && !event.isCanceled) DualScreenPanel.finishTyping()
return true
}
if (topResumed && !DualScreenPanel.typingShown && event.action == KeyEvent.ACTION_DOWN) DualScreenPanel.returnFocus(this, fromPanel = true)
return super.dispatchKeyEvent(event)
}
@@ -465,7 +465,8 @@ private fun UserAppPage(app: UserApps.App, s: FrontEndState, a: FrontEndActions,
val ctx = LocalContext.current
val narrow = LocalNarrowPane.current
var editing by rememberSaveable(app.key) { mutableStateOf(false) }
val x86 = (app.arch == "x86_64" || app.arch == "i386") && app.fex != com.droiddeck.launcher.runtime.LinuxFex.OFF
val x86 = (app.arch == "x86_64" || app.arch == "i386") && app.fex != com.droiddeck.launcher.runtime.LinuxFex.OFF &&
app.kind != UserApps.Kind.FLATPAK
val fexReady by produceState<Boolean?>(null, app.key, x86, s.sessionRunning) {
value = if (x86) kotlinx.coroutines.withContext(kotlinx.coroutines.Dispatchers.IO) { com.droiddeck.launcher.runtime.LinuxFex.ready(ctx) } else true
}
@@ -202,7 +202,6 @@ internal fun BusyChip(s: FrontEndState) {
internal fun RuntimeChip(s: FrontEndState) = when {
s.busy -> Chip(if (s.percent >= 0) stringResource(R.string.setup_runtime_progress, s.stage, s.percent) else s.stage, ok = false)
s.removalPending -> Chip(stringResource(R.string.runtime_removal_incomplete), ok = false)
!s.ready -> Chip(stringResource(R.string.games_runtime_first_play), ok = false)
s.available != null && s.available != s.installed -> Chip(stringResource(R.string.games_runtime_update), ok = false)
else -> Chip(stringResource(R.string.games_runtime_ready), ok = true)
}
@@ -166,7 +166,7 @@ class FrontEndState(
val sgdbUserKey: Boolean = false,
val storesShowMature: Boolean = false,
val storesSort: String = SessionPrefs.STORES_SORTS.first(),
val storesView: String = SessionPrefs.STORES_VIEWS.first(),
val storesView: String = SessionPrefs.DEFAULT_STORES_VIEW,
val storeDownloadsActive: Int = 0,
val updates: UpdatesState = UpdatesState(),
)
@@ -614,25 +614,35 @@ private fun GameMoreMenu(g: Library.SteamGame, a: FrontEndActions) {
}
@Composable
internal fun IconAction(icon: androidx.compose.ui.graphics.vector.ImageVector, label: String, id: String, danger: Boolean = false, enabled: Boolean = true, onClick: () -> Unit) {
internal fun IconAction(icon: androidx.compose.ui.graphics.vector.ImageVector, label: String, id: String, danger: Boolean = false, enabled: Boolean = true, frosted: Boolean = false, onClick: () -> Unit) {
val colors = MaterialTheme.colorScheme
val shape = if (LocalPillButtons.current) CircleShape else Shape12
val pill = LocalPillButtons.current
val shape = if (pill) CircleShape else Shape12
val pal = LocalPalette.current
val src = remember { MutableInteractionSource() }
val hot = rememberHot(src) && enabled
val accent = if (danger) colors.error else pal.signal
Box(
contentAlignment = Alignment.Center,
modifier = Modifier.paneItem(id).downToFirstTile().size(if (LocalPillButtons.current) 40.dp else 44.dp).clip(shape)
.background(if (hot) accent.copy(alpha = if (danger) 0.22f else 0.14f) else if (danger) Color.Black.copy(alpha = 0.34f) else Color.White.copy(alpha = 0.03f))
.glideBorder(hot, shape, accent, pal.line2)
.alpha(if (enabled) 1f else 0.45f)
.hoverable(src).clickable(interactionSource = src, indication = LocalIndication.current, role = androidx.compose.ui.semantics.Role.Button, enabled = enabled, onClick = onClick)
.controllerConfirm(enabled = enabled, onClick = onClick)
.semantics { contentDescription = label },
) {
Icon(icon, contentDescription = null, tint = if (danger && hot) colors.error else if (danger) Color.White else colors.onBackground, modifier = Modifier.size(18.dp))
val fill = when {
hot -> accent.copy(alpha = if (danger) 0.22f else 0.14f)
pill -> Color.White.copy(alpha = 0.09f)
danger -> Color.Black.copy(alpha = 0.34f)
else -> Color.White.copy(alpha = 0.03f)
}
val button: @Composable () -> Unit = {
Box(
contentAlignment = Alignment.Center,
modifier = Modifier.paneItem(id).downToFirstTile().size(if (pill) 40.dp else 44.dp).clip(shape)
.background(fill)
.glideBorder(hot, shape, accent, if (pill) Color.White.copy(alpha = 0.14f) else pal.line2)
.alpha(if (enabled) 1f else 0.45f)
.hoverable(src).clickable(interactionSource = src, indication = LocalIndication.current, role = androidx.compose.ui.semantics.Role.Button, enabled = enabled, onClick = onClick)
.controllerConfirm(enabled = enabled, onClick = onClick)
.semantics { contentDescription = label },
) {
Icon(icon, contentDescription = null, tint = if (danger && hot) colors.error else if (danger && !pill) Color.White else colors.onBackground, modifier = Modifier.size(18.dp))
}
}
if (frosted) Box(Modifier.glass(CircleShape)) { button() } else button()
}
@Composable
@@ -645,7 +655,7 @@ private fun RemoveButton(title: String, game: Library.SteamGame?, installed: Ins
val gone = StoresState.uninstalling[key]
if (gone != null) {
val uninstalling = stringResource(R.string.stores_uninstalling)
Box(contentAlignment = Alignment.Center, modifier = Modifier.size(44.dp).clip(Shape12).background(Color.Black.copy(alpha = 0.34f)).semantics { contentDescription = uninstalling }) {
Box(contentAlignment = Alignment.Center, modifier = Modifier.size(40.dp).glass(CircleShape).semantics { contentDescription = uninstalling }) {
if (gone > 0f) CircularProgressIndicator(progress = { gone }, strokeWidth = 2.dp, color = colors.error, trackColor = colors.error.copy(alpha = 0.22f), modifier = Modifier.size(20.dp))
else CircularProgressIndicator(strokeWidth = 2.dp, color = colors.error, modifier = Modifier.size(20.dp))
}
@@ -659,7 +669,7 @@ private fun RemoveButton(title: String, game: Library.SteamGame?, installed: Ins
val busy = StoresState.download(key)?.isActive == true || (installed.sidecar.store == Store.XBOX && XboxContent.busy(installed.sidecar.id))
val placed = remember { arrayOfNulls<androidx.compose.ui.layout.LayoutCoordinates>(1) }
Box(Modifier.onGloballyPositioned { placed[0] = it }) {
IconAction(Icons.Outlined.Delete, remove, "game:remove", danger = true, enabled = !busy) {
IconAction(Icons.Outlined.Delete, remove, "game:remove", danger = true, enabled = !busy, frosted = true) {
val at = placed[0]?.takeIf { it.isAttached }?.boundsInRoot() ?: return@IconAction
var confirmed = false
Steps.ask(StepAsk(anchor = at, side = StepSide.Left, accent = colors.error, items = 3, pillCorner = 12.dp, maxWidth = 340.dp,
@@ -682,7 +692,7 @@ private fun RemoveButton(title: String, game: Library.SteamGame?, installed: Ins
var asking by remember(g.gameId) { mutableStateOf(false) }
val shortcut = kind == GameRemoval.Kind.SHORTCUT
val label = stringResource(if (shortcut) R.string.edit_remove else R.string.common_uninstall)
IconAction(Icons.Outlined.Delete, label, "game:remove", danger = true) { asking = true }
IconAction(Icons.Outlined.Delete, label, "game:remove", danger = true, frosted = true) { asking = true }
if (asking) ConfirmDialog(
title = if (shortcut) stringResource(R.string.games_remove_title, g.name) else stringResource(R.string.stores_uninstall_title, g.name),
text = when {
@@ -23,7 +23,7 @@ import com.droiddeck.launcher.stores.itch.ItchUpdates
@Composable
internal fun ItchCheckButton(installed: InstalledStoreGame) {
val ctx = LocalContext.current
IconAction(Icons.Filled.Refresh, stringResource(R.string.store_check_updates), "game:check-updates", enabled = ItchUpdates.checkingKey == null) {
IconAction(Icons.Filled.Refresh, stringResource(R.string.store_check_updates), "game:check-updates", enabled = ItchUpdates.checkingKey == null, frosted = true) {
ItchUpdates.checkGame(ctx, installed)
}
}
@@ -306,6 +306,7 @@ fun ModeSheetRows(s: ModeSettings, a: ModeSettingsActions, tab: String, extras:
if (steam && s.steamController in listOf(SessionPrefs.CONTROLLER_DECK, SessionPrefs.CONTROLLER_STEAM)) {
Note(stringResource(R.string.back_native_qam_hint))
}
PhysicalShortcutRows()
}
}
if (tab == SheetTab.AUDIO && steam) {
@@ -46,6 +46,8 @@ fun PerformancePage(
fsyncFirst: Boolean,
gamescopeRealtime: Boolean,
gpuClockPin: Boolean,
performanceBoost: Boolean,
boostCheck: Boolean,
ramCapMb: Int,
zramClient: Boolean,
vramCapMb: Int,
@@ -67,6 +69,8 @@ fun PerformancePage(
onFsyncFirst: (Boolean) -> Unit,
onGamescopeRealtime: (Boolean) -> Unit,
onGpuClockPin: (Boolean) -> Unit,
onPerformanceBoost: (Boolean) -> Unit,
onBoostCheck: (Boolean) -> Unit,
onRamCapMb: (Int) -> Unit,
onZramClient: (Boolean) -> Unit,
onVramCapMb: (Int) -> Unit,
@@ -126,6 +130,18 @@ fun PerformancePage(
gamescopeRealtime, onChange = onGamescopeRealtime,
)
}
SettingsGroup(stringResource(R.string.perf_boost_group)) {
ToggleRow(
host, "boost", stringResource(R.string.perf_boost),
stringResource(R.string.perf_boost_hint),
performanceBoost, onChange = onPerformanceBoost,
)
ToggleRow(
host, "boostcheck", stringResource(R.string.perf_boost_check),
stringResource(R.string.perf_boost_check_hint),
boostCheck, enabled = performanceBoost, onChange = onBoostCheck,
)
}
SettingsGroup(stringResource(R.string.perf_gpu)) {
ToggleRow(
host, "gpuclock", stringResource(R.string.perf_gpuclock),
@@ -0,0 +1,189 @@
package com.droiddeck.launcher.ui
import android.util.Log
import android.view.KeyEvent
import android.view.Window
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.widthIn
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberUpdatedState
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalConfiguration
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalView
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Dialog
import androidx.compose.ui.window.DialogProperties
import androidx.compose.ui.window.DialogWindowProvider
import com.droiddeck.launcher.R
import com.droiddeck.launcher.input.PhysicalShortcuts
@Composable
internal fun PhysicalShortcutRows(
onChanged: () -> Unit = {},
modifierFor: (PhysicalShortcuts.Action) -> Modifier = { Modifier },
) {
val context = LocalContext.current
var bindings by remember { mutableStateOf(PhysicalShortcuts.read(context)) }
var editing by remember { mutableStateOf<PhysicalShortcuts.Action?>(null) }
Column {
for (action in PhysicalShortcuts.Action.entries) {
val assigned = bindings.filter { it.action == action }
SettingsRow(
stringResource(action.label),
assigned.joinToString { "${it.button.label} · ${it.button.name}" }.ifEmpty { null },
) {
SecondaryButton(
stringResource(if (assigned.isEmpty()) R.string.game_settings_default else R.string.ctrl_custom),
compact = true,
modifier = modifierFor(action).width(LocalChipMinWidth.current)
.testTag("shortcuts-assign-${action.name}"),
) { editing = action }
}
}
}
editing?.let { action ->
PhysicalShortcutsDialog(action, onDismiss = { editing = null }, onChanged = {
bindings = PhysicalShortcuts.read(context)
onChanged()
})
}
}
@Composable
internal fun PhysicalShortcutsDialog(
action: PhysicalShortcuts.Action,
onDismiss: () -> Unit,
onChanged: () -> Unit = {},
) {
val context = LocalContext.current
val bindings = remember { PhysicalShortcuts.read(context) }
var candidate by remember { mutableStateOf<PhysicalShortcuts.Button?>(null) }
var listening by remember { mutableStateOf(true) }
var capturedDevice by remember { mutableStateOf(-1) }
Dialog(
onDismissRequest = onDismiss,
properties = DialogProperties(dismissOnBackPress = !listening, usePlatformDefaultWidth = false),
) {
CaptureShortcutKeys { event ->
if (listening && event.action == KeyEvent.ACTION_DOWN && event.repeatCount == 0 &&
(event.keyCode == KeyEvent.KEYCODE_BACK || event.keyCode == KeyEvent.KEYCODE_BUTTON_B)) {
listening = false
onDismiss()
true
} else if (!listening || PhysicalShortcuts.isVolumeKey(event)) {
false
} else {
if (candidate == null && event.action == KeyEvent.ACTION_DOWN && event.repeatCount == 0) {
PhysicalShortcuts.button(event)?.let { button ->
candidate = button
capturedDevice = event.deviceId
Log.i("PhysicalShortcuts", "capture device=${button.name} key=${event.keyCode} " +
"scan=${event.scanCode} source=0x${event.source.toString(16)}")
}
} else if (event.action == KeyEvent.ACTION_UP && event.deviceId == capturedDevice &&
candidate?.matches(event) == true) {
listening = false
candidate?.let { button ->
if (bindings.none { it.button.sameInput(button) && it.action != action }) {
PhysicalShortcuts.assign(context, button, action)
onChanged()
onDismiss()
}
}
}
true
}
}
CompositionLocalProvider(LocalFrontFocus provides null) {
Surface(
shape = RoundedCornerShape(16.dp),
modifier = Modifier.padding(12.dp).widthIn(max = 560.dp).fillMaxWidth()
.heightIn(max = (LocalConfiguration.current.screenHeightDp - 24).dp),
) {
Column(
Modifier.verticalScroll(rememberScrollState()).padding(18.dp).controllerBack(onDismiss),
verticalArrangement = Arrangement.spacedBy(12.dp),
) {
Text(stringResource(R.string.shortcuts_capture, stringResource(action.label)),
style = MaterialTheme.typography.titleLarge)
val button = candidate
if (button == null) {
Text(stringResource(R.string.shortcuts_press))
} else {
Text(stringResource(R.string.shortcuts_detected, button.name, button.label))
if (listening) {
Text(stringResource(R.string.shortcuts_release))
} else {
val replacements = bindings.filter {
it.button.sameInput(button) || (it.button.device == button.device && it.action == action)
}
for (conflict in replacements) {
Text("${conflict.button.label} · ${conflict.button.name}")
Text(stringResource(R.string.shortcuts_conflict, stringResource(conflict.action.label)))
}
SecondaryButton(stringResource(R.string.shortcuts_save), modifier = Modifier.testTag("shortcuts-save")) {
PhysicalShortcuts.assign(context, button, action)
onChanged()
onDismiss()
}
}
SecondaryButton(stringResource(R.string.shortcuts_retry), modifier = Modifier.testTag("shortcuts-retry")) {
candidate = null
capturedDevice = -1
listening = true
}
}
Text(stringResource(R.string.shortcuts_limitations), style = MaterialTheme.typography.bodySmall)
for (binding in bindings.filter { it.action == action }) {
ActionRow(
stringResource(R.string.shortcuts_detected, binding.button.name, binding.button.label),
null, stringResource(R.string.ctrl_reset), {
PhysicalShortcuts.remove(context, binding)
onChanged()
onDismiss()
},
modifier = Modifier.testTag("shortcuts-remove"),
)
}
SecondaryButton(stringResource(R.string.common_close), modifier = Modifier.testTag("shortcuts-cancel"),
onClick = onDismiss)
}
}
}
}
}
@Composable
private fun CaptureShortcutKeys(onKey: (KeyEvent) -> Boolean) {
val currentOnKey by rememberUpdatedState(onKey)
val window = (LocalView.current.parent as DialogWindowProvider).window
DisposableEffect(window) {
val previous = window.callback
// Capture before dialog navigation so Back and gamepad buttons can be assigned.
window.callback = object : Window.Callback by previous {
override fun dispatchKeyEvent(event: KeyEvent): Boolean =
currentOnKey(event) || previous.dispatchKeyEvent(event)
}
onDispose { window.callback = previous }
}
}
@@ -141,6 +141,10 @@ class SecondScreenPresentation(
if (created) renderMode()
}
fun retryTerminal() {
if (created && isShowing && currentMode == SecondScreenMode.TERMINAL && terminalSession == null) renderMode()
}
val showsKeyboard: Boolean get() = isShowing && !menuShown && currentMode == SecondScreenMode.KEYBOARD_TRACKPAD
val showsControls: Boolean get() = isShowing && currentMode != SecondScreenMode.NONE
@@ -247,6 +247,8 @@ class DrawerActions(
val onHudReset: () -> Unit = {},
val onHudExport: () -> Unit = {},
val onFrameGenPick: (FrameGen.Mode) -> Unit,
val fpsLimit: Int = 0,
val onFpsLimit: (Int) -> Unit = {},
val onImportLossless: () -> Unit,
val onKeyboard: () -> Unit,
val onHardwareKeyboard: () -> Unit,
@@ -531,10 +533,11 @@ internal fun SessionDrawer(open: Boolean, requestedPage: SessionDrawerPage, cont
modifier = Modifier.weight(1f).fillMaxWidth().verticalScroll(pageScroll.getValue(page)),
) { CompositionLocalProvider(LocalChipMinWidth provides 96.dp, LocalCompactSettings provides true) {
when (page) {
SessionDrawerPage.HUD -> FusionHudSettings(host, a) { key -> focus.track(page, key) }
SessionDrawerPage.HUD -> DroidDeckHudSettings(host, a) { key -> focus.track(page, key) }
SessionDrawerPage.DISPLAY -> {
SettingsGroup(stringResource(R.string.drawer_page_display)) {
val fgOpen = host.open == "fg"
val offLabel = stringResource(R.string.frame_gen_off)
val fgLabel = FrameGen.label(LocalContext.current, a.frameGen)
SettingsRow(stringResource(R.string.frame_gen_title), null, highlighted = fgOpen) {
Box {
@@ -542,6 +545,13 @@ internal fun SessionDrawer(open: Boolean, requestedPage: SessionDrawerPage, cont
FrameGenMenu(host, a.frameGen, a.lossless, a.onFrameGenPick, a.onImportLossless)
}
}
if (a.direct) SliderRow(
stringResource(R.string.drawer_frame_limit), stringResource(R.string.drawer_frame_limit_note),
a.fpsLimit.takeIf { it > 0 } ?: SessionPrefs.FPS_LIMIT_OFF,
SessionPrefs.FPS_LIMIT_OFF..SessionPrefs.FPS_LIMIT_MAX, step = 5,
format = { if (it <= SessionPrefs.FPS_LIMIT_OFF) offLabel else it.toString() },
modifier = focus.track(page, "fps-limit"),
onChange = { a.onFpsLimit(if (it <= SessionPrefs.FPS_LIMIT_OFF) 0 else it) })
}
SettingsGroup(stringResource(R.string.display_image_scaling)) {
ChoiceRow(host, "upscaler", stringResource(R.string.display_filter), null,
@@ -635,6 +645,7 @@ internal fun SessionDrawer(open: Boolean, requestedPage: SessionDrawerPage, cont
if (a.steam) ChoiceRow(host, "back-double-tap", stringResource(R.string.back_double_tap_window), null,
SessionPrefs.BACK_DOUBLE_TAP_MS_OPTIONS.map { it to stringResource(R.string.back_tap_ms, it) },
a.backDoubleTapMs, chipModifier = focus.track(page, "back-double-tap"), onPick = a.onBackDoubleTapMs)
PhysicalShortcutRows(modifierFor = { focus.track(page, "physical-shortcut-${it.name}") })
if (a.steam && a.unfoldedControls != null) ToggleRow(host, "unfolded-controls", stringResource(R.string.unfolded_controls),
stringResource(R.string.unfolded_controls_hint), a.unfoldedControls,
chipModifier = focus.track(page, "unfolded-controls"), onChange = a.onUnfoldedControls)
@@ -856,6 +867,8 @@ private fun StopSessionButton(modifier: Modifier = Modifier, onClick: () -> Unit
val fill by animateColorAsState(if (hot) colors.error.copy(alpha = 0.18f) else Color.Transparent, Motion.tw(220), label = "dangerFill")
val shape = RoundedCornerShape(20.dp)
val stopDescription = stringResource(R.string.stop_session)
val stopLabel = stringResource(R.string.drawer_stop)
var iconOnly by remember(stopLabel, androidx.compose.ui.platform.LocalConfiguration.current.screenWidthDp) { mutableStateOf(false) }
Row(
verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(6.dp),
modifier = modifier.heightIn(min = 44.dp).semantics { contentDescription = stopDescription }.testTag("drawer-stop")
@@ -865,7 +878,10 @@ private fun StopSessionButton(modifier: Modifier = Modifier, onClick: () -> Unit
.padding(start = 12.dp, end = 14.dp),
) {
Icon(Icons.Outlined.PowerSettingsNew, contentDescription = null, tint = colors.error, modifier = Modifier.size(18.dp))
Text(stringResource(R.string.drawer_stop), fontSize = 14.sp, fontWeight = FontWeight.SemiBold, color = colors.error)
if (!iconOnly) Text(
stopLabel, fontSize = 14.sp, fontWeight = FontWeight.SemiBold, color = colors.error,
maxLines = 1, softWrap = false, onTextLayout = { if (it.hasVisualOverflow) iconOnly = true },
)
}
}
@@ -1780,7 +1796,7 @@ private fun StopConfirm(
.padding(start = 12.dp, end = 14.dp),
) {
Icon(Icons.Outlined.PowerSettingsNew, contentDescription = null, tint = colors.error, modifier = Modifier.size(18.dp))
Text(stringResource(R.string.drawer_stop), fontSize = 14.sp, fontWeight = FontWeight.SemiBold, color = colors.error)
Text(stringResource(R.string.drawer_stop), fontSize = 14.sp, fontWeight = FontWeight.SemiBold, color = colors.error, maxLines = 1, softWrap = false)
}
val maxW = with(density) { StepBoxMaxWidth.toPx() }.coerceAtMost(p.right)
Column(
@@ -142,7 +142,7 @@ internal fun SteamHome(s: FrontEndState, a: FrontEndActions, modifier: Modifier)
scrim = { if (games.size >= WALL_MIN_GAMES) WallFade() },
words = {
val runtimeStatus: @Composable () -> Unit = {
if (s.busy || !s.ready || (s.available != null && s.available != s.installed)) RuntimeChip(s)
if (s.busy || (s.available != null && s.available != s.installed)) RuntimeChip(s)
else if (s.integration.suggested && signedIn && !com.droiddeck.launcher.core.PhantomProcessLimit.blocksSteam(s.phantomProcessStatus))
IntegrationSuggestion(s.integration, { a.onSteamIntegration(null) }, a.onDismissIntegration)
}
@@ -0,0 +1,45 @@
package com.droiddeck.launcher.ui
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.size
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.RestartAlt
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.focus.FocusRequester
import androidx.compose.ui.focus.focusRequester
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.droiddeck.launcher.R
@Composable
internal fun SteamImportDialog(games: List<String>, onAnswer: (Boolean) -> Unit) {
val now = remember { booleanArrayOf(false) }
val shown = rememberShown { onAnswer(now[0]) }
val close = { shown.targetState = false }
val focus = remember { FocusRequester() }
LaunchedEffect(Unit) { runCatching { focus.requestFocus() } }
val names = if (games.size <= 3) games.joinToString(", ")
else stringResource(R.string.steam_import_names_more, games.take(3).joinToString(", "), games.size - 3)
AppDialog(shown, close, "steamImport", wide = false, maxWidth = 520.dp) {
DialogTitleRow(stringResource(R.string.steam_import_title), close) {
Icon(Icons.Filled.RestartAlt, null, tint = LocalPalette.current.signal, modifier = Modifier.size(20.dp))
}
Text(
stringResource(R.string.steam_import_body, names),
fontSize = 13.sp, lineHeight = 18.sp, color = MaterialTheme.colorScheme.onSurfaceVariant,
)
Row(horizontalArrangement = Arrangement.spacedBy(10.dp, androidx.compose.ui.Alignment.End), modifier = Modifier.fillMaxWidth()) {
SecondaryButton(stringResource(R.string.steam_import_later)) { now[0] = false; close() }
PrimaryButton(stringResource(R.string.steam_import_now), modifier = Modifier.focusRequester(focus), onClick = { now[0] = true; close() })
}
}
}
@@ -124,6 +124,18 @@ internal enum class StepSide {
Right,
}
internal fun fitStepSide(preferred: StepSide, pill: Rect, hostWidth: Float, wanted: Float): StepSide {
val leftRoom = pill.right
val rightRoom = hostWidth - pill.left
val room = if (preferred == StepSide.Left) leftRoom else rightRoom
val other = if (preferred == StepSide.Left) rightRoom else leftRoom
return if (room >= wanted || other <= room) preferred else if (preferred == StepSide.Left) StepSide.Right else StepSide.Left
}
internal fun stepReach(side: StepSide, pill: Rect, hostWidth: Float, width: Int): Pair<Float, Float> =
if (side == StepSide.Left) pill.left to (pill.right - width).coerceAtLeast(0f)
else pill.right to (pill.left + width).coerceAtMost(hostWidth)
internal class StepOutScope(private val items: List<Animatable<Float, AnimationVector1D>>, val first: FocusRequester, val open: Boolean, val maxHeight: Dp) {
fun Modifier.stepItem(i: Int): Modifier = graphicsLayer {
val v = items[i.coerceIn(0, items.lastIndex)].value
@@ -141,7 +153,7 @@ private val OutFillet = 10.dp
internal fun StepOut(
open: Boolean,
pill: Rect,
side: StepSide,
preferredSide: StepSide,
accent: Color,
onDismiss: () -> Unit,
onClosed: () -> Unit,
@@ -166,6 +178,7 @@ internal fun StepOut(
val opener = remember { arrayOfNulls<GlideSource>(1) }
val openNow = androidx.compose.runtime.rememberUpdatedState(open)
var moving by remember { mutableStateOf(false) }
val placed = remember { arrayOfNulls<Any>(3) }
if (moving) VeilRing()
val pull = with(density) { OutPull.toPx() }
val corner = pillCorner?.let { with(density) { it.toPx() } } ?: minOf(pill.height, pill.width) / 2f
@@ -177,13 +190,18 @@ internal fun StepOut(
maxOf(hostHeight - pill.bottom - pull, pill.top - pull).coerceAtLeast(44.dp.toPx()).toDp()
}
val up = measured?.let { pill.bottom + pull + it.height > hostHeight && pill.top - pull - it.height >= 0f } ?: false
val wantedW = with(density) { maxWidth.toPx() }
val side = fitStepSide(preferredSide, pill, hostWidth, wantedW)
val room = if (side == StepSide.Left) pill.right else hostWidth - pill.left
val maxW = with(density) { maxWidth.toPx() }.coerceAtMost(room).coerceAtLeast(pill.width)
LaunchedEffect(open, measured) {
if (!open && !grown) { onClosed(); return@LaunchedEffect }
val maxW = wantedW.coerceAtMost(room).coerceAtLeast(pill.width)
LaunchedEffect(open, measured, side, pill, hostWidth) {
val moved = placed[0] == open && placed[1] == measured
val flipped = placed[2] != null && placed[2] != side
placed[0] = open; placed[1] = measured; placed[2] = side
if (!open && !grown) { if (!moved) onClosed(); return@LaunchedEffect }
val c = measured ?: return@LaunchedEffect
val rest = if (side == StepSide.Left) pill.left else pill.right
val out = if (side == StepSide.Left) (pill.right - c.width).coerceAtLeast(0f) else (pill.left + c.width).coerceAtMost(hostWidth)
val (rest, out) = stepReach(side, pill, hostWidth, c.width)
if (grown && flipped) edge.snapTo(if (open) out else rest)
val boxBottom = pill.bottom + pull + c.height
if (open) {
if (!grown) {
@@ -202,11 +220,6 @@ internal fun StepOut(
pieces.forEachIndexed { i, a ->
launch { delay(Motion.ms(260 + i * 55).toLong()); a.animateTo(1f, Motion.tw(220)) }
}
if (inputMode.inputMode == InputMode.Keyboard) launch {
delay(Motion.ms(300).toLong())
withFrameNanos { }
runCatching { first.requestFocus() }
}
}
} else {
opener[0]?.let { o -> if (inputMode.inputMode == InputMode.Keyboard) runCatching { o.requester.requestFocus() } }
@@ -225,6 +238,13 @@ internal fun StepOut(
}
}
LaunchedEffect(open, measured) {
if (!open || measured == null || inputMode.inputMode != InputMode.Keyboard) return@LaunchedEffect
delay(Motion.ms(300).toLong())
withFrameNanos { }
runCatching { first.requestFocus() }
}
LaunchedEffect(open, grown, inputMode.inputMode) {
if (open && grown && inputMode.inputMode == InputMode.Keyboard) { withFrameNanos { }; runCatching { first.requestFocus() } }
}
@@ -245,8 +265,7 @@ internal fun StepOut(
else stepPathRight(path, pill, edge.value, bottom.value, pill.bottom + pull, boxCorner, fillet, corner)
if (up) path.transform(Matrix().apply { this[1, 1] = -1f; this[3, 1] = pill.top + pill.bottom })
val a = measured?.let { c ->
val rest = if (side == StepSide.Left) pill.left else pill.right
val out = if (side == StepSide.Left) (pill.right - c.width).coerceAtLeast(0f) else (pill.left + c.width).coerceAtMost(hostWidth)
val (rest, out) = stepReach(side, pill, hostWidth, c.width)
val down = pill.bottom + pull + c.height - pill.bottom
val across = kotlin.math.abs(out - rest)
val fd = if (down < 1f) 1f else (bottom.value - pill.bottom) / down
@@ -39,7 +39,7 @@ internal fun StepsLayer(origin: Offset) {
androidx.activity.compose.BackHandler(enabled = Steps.open) { Steps.fold() }
key(ask) {
StepOut(
open = Steps.open, pill = ask.anchor.translate(-origin), side = ask.side, accent = ask.accent,
open = Steps.open, pill = ask.anchor.translate(-origin), preferredSide = ask.side, accent = ask.accent,
onDismiss = { Steps.fold() }, onClosed = { Steps.closed(ask) },
pillCorner = ask.pillCorner, maxWidth = ask.maxWidth, items = ask.items, handle = ask.handle, content = ask.content,
)
@@ -395,7 +395,7 @@ internal fun StoresPage(s: FrontEndState, a: FrontEndActions, modifier: Modifier
StoresMotion.step?.let { ask ->
key(ask) {
StepOut(
open = StoresMotion.stepOpen, pill = ask.anchor.translate(-hostAt), side = ask.side, accent = ask.accent,
open = StoresMotion.stepOpen, pill = ask.anchor.translate(-hostAt), preferredSide = ask.side, accent = ask.accent,
onDismiss = { StoresMotion.fold() }, onClosed = { StoresMotion.closed(ask) },
pillCorner = ask.pillCorner, maxWidth = ask.maxWidth, items = ask.items, handle = ask.handle, content = ask.content,
)
@@ -0,0 +1,20 @@
package com.samsung.sdk.sperf;
/**
* Entry points of libperfsdk.performance.samsung.so, the performance library in Samsung's firmware.
* The library binds them by this class name, so the name has to stay. Used by
* com.droiddeck.launcher.session.SamsungPerf; on other phones the library is missing.
*/
public final class Boost {
private Boost() {
}
/** Holds a resource (CPU_MIN, GPU_MIN...) at a value from the service's level table. */
public static native int requestBoost(int type, int value, int timeoutMs);
/** Lets go of everything this app holds. */
public static native int releaseBoost();
/** The package name the service gives out; the library refuses requests until it is set. */
public static native int setPkgName(String name);
}
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">اختصارات الأزرار الفعلية</string>
<string name="shortcuts_dd_menu">قائمة DroidDeck</string>
<string name="shortcuts_capture">تعيين: %1$s</string>
<string name="shortcuts_press">اضغط على زر ثم حرره. يُحفظ التعيين تلقائيًا.</string>
<string name="shortcuts_release">أفلت الزر للمتابعة.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">هذا الزر معيّن بالفعل إلى: %1$s</string>
<string name="shortcuts_save">إعادة تعيين</string>
<string name="shortcuts_retry">تجربة زر آخر</string>
<string name="shortcuts_limitations">قد لا يتوفر زر الشاشة الرئيسية وبعض الأزرار الإضافية.</string>
</resources>
+213 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">خيارات VKD3D لـ D3D12. يعطّل nodxr تتبع الأشعة؛ استخدمه فقط للعبة تحتاج إليه.</string>
<string name="game_env_proton_log">اضبطه على 1 للحصول على سجل تشخيص Proton. قد يقلل التسجيل من الأداء ويستهلك مساحة التخزين.</string>
<string name="game_env_wined3d">اضبطه على 1 لاستخدام WineD3D المعتمد على OpenGL بدلًا من DXVK لاختبار توافق D3D9–11.</string>
<string name="game_env_wined3d_renderer">أداة العرض لـ DirectDraw وDirect3D 1-7 والألعاب التي تعمل عبر WineD3D. يتخطّى Vulkan مسار OpenGL عبر Zink، وهو أسرع بكثير لألعاب DirectDraw وDirect3D 7 القديمة على Adreno.</string>
<string name="game_env_dxvk_d3d8">اضبطه على 1 لتشغيل Direct3D 8 عبر DXVK بدلًا من WineD3D. أسرع في اختبار Direct3D 8 ضمن AIO Graphics Test على Adreno.</string>
<string name="game_env_no_ntsync">اضبطه على 1 لإبعاد هذه اللعبة عن ntsync (droiddeck-ntsync أو برنامج تشغيل في النواة)؛ فتستخدم droiddeck-esync حيث تتوفر حزمة، وإلا droiddeck-fsync.</string>
<string name="game_env_no_esync">اضبطه على 1 لإيقاف droiddeck-esync لهذه اللعبة؛ فتستخدم droiddeck-fsync بدلًا منه، أو droiddeck-ntsync إذا كان fsync متوقفًا أيضًا.</string>
<string name="game_env_no_fsync">اضبطه على 1 لإبعاد هذه اللعبة عن droiddeck-fsync؛ فتستخدم droiddeck-esync حيث تتوفر حزمة، وإلا droiddeck-ntsync.</string>
<string name="game_env_fsync_first">اضبطه على 1 لتشغيل هذه اللعبة على droiddeck-fsync، أو على 0 لتقديم droiddeck-esync حيث تتوفر حزمة تناسب إصدار Proton الخاص بها.</string>
<string name="game_env_xalia">اضبطه على 0 لتعطيل مساعد التنقل بوحدة التحكم في Proton لهذه اللعبة.</string>
<string name="game_env_anticheat_offline">مفعَّل افتراضيًا. يشغّل لعبة Easy Anti-Cheat دون مكافحة الغش عندما تدعم اللعبة اللعب بلا اتصال. أوقفه للتشغيل عبر Easy Anti-Cheat كالمعتاد. تبقى الأوضاع عبر الإنترنت التي تتطلب Easy Anti-Cheat غير متاحة.</string>
<string name="game_env_hud">تراكب DXVK لـ D3D9–11. القيمة fps تعرض معدل الإطارات، وتركه دون تعيين يخفيه.</string>
<string name="game_env_dxvk_config">إعدادات DXVK مفصولة بفواصل منقوطة. تستخدم الإصدارات الحديثة dxvk.maxFrameRate لتحديد الإطارات؛ يُفضَّل استخدام محدِّد الإطارات الخاص بالجلسة للعب العادي.</string>
<string name="game_env_cores">أنوية CPU لهذه اللعبة، مثل 0-4 أو 0,2,4، بدلًا من أنوية الألعاب في الجلسة. عدد أقل من الأنوية يعني حرارة أقل.</string>
<string name="game_env_vkd3d_limit">حد معدل الإطارات في D3D12. القيمة 0 تلغي الحد.</string>
<string name="game_env_glthread">تعدد مؤشرات الترابط في OpenGL ضمن Mesa. قد تساعد القيمة true ألعاب OpenGL المقيدة بأداء CPU؛ جرّبها لكل لعبة.</string>
<string name="sync_backend_title">مزامنة Wine</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">يشغّل FEX برامج Linux المخصصة لـ x86 على جهاز ARM64 هذا. يستخدمه الخيار «تلقائي» عندما يكون البرنامج مبنيًا لـ x86.</string>
<string name="app_fex_x86">%1$s عبر FEX</string>
<string name="app_fex_not_ready">هذا البرنامج مبني لأجهزة كمبيوتر %1$s ويعمل عبر FEX، الذي لم يتم إعداده بعد. افتح Steam مرة واحدة أثناء تسجيل الدخول: سيجعله DroidDeck يُنزّل FEX وSteam Linux Runtime اللازمة، ثم يُفتح هذا البرنامج.</string>
<string name="session_proot_missing">تعذّر تنزيل proot الخاص بـ DroidDeck. تحقّق من الاتصال وحاول مرة أخرى. لم تبدأ الجلسة لأن proot الاحتياطي أبطأ من أن يصلح للعب.</string>
<string name="session_directaudio_missing">تعذّر تنزيل DirectAudio، لذا يستخدم صوت الألعاب المسار الأبطأ في هذه الجلسة.</string>
<string name="session_end_program">هذا البرنامج</string>
<string name="session_end_steam_download">تعذّر تنزيل عميل Steam. قد تكون شبكتك أو VPN تحظر خوادم Steam؛ تحقّق من الاتصال وحاول مرة أخرى.</string>
<string name="session_end_steam_setup">تعذّر إعداد عميل Steam. تحقّق من الاتصال والمساحة الفارغة، ثم حاول مرة أخرى.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">وحدة تحكم Xbox 360</string>
<string name="mode_controller_note">Deck: زر «الوصول السريع» والجيروسكوب. Steam Controller: الشيء نفسه، مع استشعار القبضة على الأزرار الخلفية. DualShock 4 وDualSense: الجيروسكوب، ولوحتا التتبع كلوحة اللمس الخاصة بها. Xbox 360: افتح «الوصول السريع» باستخدام Guide+A.</string>
<string name="mode_back">زر الرجوع</string>
<string name="back_native_qam_hint">اضغط مطوّلًا على زر الرجوع لمدة 700 ملّي ثانية، أو اضغط عليه مطوّلًا مع زر آخر لاختصارات Steam.</string>
<string name="back_double_tap_window">مهلة النقر المزدوج</string>
<string name="back_tap_ms">%1$d ملّي ثانية</string>
<string name="brightness_permission_title">السماح بالتحكّم في السطوع</string>
<string name="brightness_permission_text">اضبط التحكّم في السطوع في DroidDeck.</string>
<string name="back_menu_then_qam">القائمة ← الوصول السريع</string>
<string name="back_qam_then_menu">الوصول السريع ← القائمة</string>
<string name="mode_session">الجلسة</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">محدَّث · %1$s</string>
<string name="mode_decky_loader">المُحمِّل</string>
<string name="mode_decky_install_latest">تثبيت أحدث إصدار</string>
<string name="decky_channel">قناة التحديث</string>
<string name="decky_channel_hint">إصدارات Decky Loader التي تُثبَّت. يستخدم مُحدِّث Decky نفسه القناة ذاتها.</string>
<string name="decky_channel_stable">مستقرة</string>
<string name="decky_channel_prerelease">إصدار تجريبي مسبق</string>
<string name="decky_channel_testing">اختبار</string>
<string name="decky_channel_failed">تعذّر حفظ قناة تحديث Decky</string>
<string name="mode_decky_on">يبدأ مع Steam. أثناء تفعيله، قد تتمكن التطبيقات الأخرى على هذا الجهاز من التحكم في Steam.</string>
<string name="mode_decky_off">متوقف. يبقى منفذ تصحيح الأخطاء عن بُعد في Steam مغلقًا.</string>
<string name="mode_decky_remove_title">هل تريد إلغاء تثبيت Decky Loader؟</string>
@@ -323,6 +340,10 @@
<string name="mode_client">العميل</string>
<string name="mode_mangoapp">تراكب الأداء</string>
<string name="mode_mangoapp_hint">أوقفه إذا تعطلت الألعاب أو أصبحت شاشتها سوداء في وضع Deck. يُطبَّق في الجلسة التالية.</string>
<string name="mode_return_after_game">العودة إلى DroidDeck بعد اللعبة</string>
<string name="mode_return_after_game_hint">عند إغلاق لعبة بدأتها من DroidDeck أو من مشغّل آخر، يُغلَق Steam بشكل سليم (بعد اكتمال الحفظ السحابي) وتعود إلى هناك. عند الإيقاف: تبقى في Steam.</string>
<string name="mode_shader_precache">التخزين المسبق للمظلِّلات</string>
<string name="mode_shader_precache_hint">ينزّل Steam مظلِّلات مُعدّة مسبقًا لألعابك ويعالجها في الخلفية، فتقلّ التقطّعات في الألعاب. يوفّر الإيقاف البيانات والتخزين والبطارية، وتبني الألعاب المظلِّلات أثناء اللعب بدلًا من ذلك. هو الإعداد نفسه في Steam ضمن التنزيلات > التخزين المسبق للمظلِّلات. يُطبَّق في الجلسة التالية.</string>
<string name="mode_steam_repair">إصلاح عميل Steam</string>
<string name="mode_steam_repair_hint">يُنزّل عميل Steam مجددًا في المرة التالية التي يبدأ فيها Steam. استخدمه إذا بقي Steam على شاشة التحميل. يتم الاحتفاظ بالألعاب وتسجيل الدخول والإعدادات.</string>
<string name="mode_steam_repair_queued">سيتم تنزيل عميل Steam مجددًا في المرة التالية التي يبدأ فيها Steam.</string>
@@ -394,6 +415,8 @@
<string name="mode_directaudio_hint">يتجاوز PulseAudio لتقليل زمن الاستجابة.</string>
<string name="mode_mic">الميكروفون</string>
<string name="mode_mic_hint">للدردشة الصوتية.</string>
<string name="drawer_mic_hint">شغّل التقاط الميكروفون أو أوقفه لهذه الجلسة.</string>
<string name="drawer_mic_failed">تعذّر تغيير الميكروفون. يُرجى المحاولة مرة أخرى.</string>
<string name="mode_network">الشبكة</string>
<string name="mode_wifi_discovery">اكتشاف Wi-Fi</string>
<string name="mode_wifi_discovery_hint">عرض أسماء شبكات Wi-Fi والشبكات القريبة في Steam.</string>
@@ -559,6 +582,16 @@
<string name="perf_gsrealtime">gamescope: طابور GPU بأولوية الوقت الفعلي</string>
<string name="perf_gsrealtime_hint">يعطي الأولوية لعمل GPU الخاص بالمُركِّب. قد يحسّن انتظام الإطارات على حساب أداء الألعاب قليلًا.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">الذاكرة</string>
<string name="perf_cap_off">إيقاف</string>
<string name="perf_cap_auto">افتراضي برنامج التشغيل</string>
<string name="perf_zram_client">ضغط Steam أثناء تشغيل لعبة</string>
<string name="perf_zram_client_hint">بعد 20 ثانية من بدء اللعبة، يُضغط عميل Steam في zRAM لترك ذاكرة أكبر للعبة، ثم يُقرأ مجددًا عند إغلاقها. أوقف هذا الخيار إذا كانت الجلسة تُغلَق بعد بدء الألعاب بقليل. يظل حد RAM أعلاه يضغط Steam عندما تتجاوزه الجلسة.</string>
<string name="perf_ram_cap">حد RAM</string>
<string name="perf_ram_cap_hint">يُطبَّق أثناء تشغيل عميل Steam، في جلسة Steam أو من سطح المكتب. عندما تستخدم الجلسة أكثر من هذا الحد، يُضغط Steam ثم عمليات الجلسة المدعومة الأخرى في zRAM. حد مرن: لا يُغلَق شيء، لكن قد تتقطّع الألعاب أثناء استعادة الصفحات.</string>
<string name="perf_ram_cap_unavailable">يتطلب مساحة تبديل zRAM، وهي غير متوفرة على هذا الجهاز.</string>
<string name="perf_vram_cap">حد VRAM</string>
<string name="perf_vram_cap_hint">ذاكرة الفيديو التي يُبلغ بها DXVK ألعاب Direct3D، فتخصّص للأنسجة مساحة أقل. تظل إعدادات DXVK الخاصة باللعبة هي الأولى. يسري في الجلسة التالية.</string>
<string name="perf_gpuclock">تثبيت GPU على أعلى تردد له</string>
<string name="perf_gpuclock_hint">لـ Adreno فقط. تقطّع أقل، مع استهلاك أكبر للبطارية والحرارة.</string>
<string name="perf_fixes">إصلاحات الجلسة</string>
@@ -577,6 +610,8 @@
<string name="perf_fastpath">مسار proot السريع</string>
<string name="perf_fastpath_needs_seccomp">يحتاج إلى مرشّح seccomp في proot.</string>
<string name="perf_fastpath_hint">عمليات بحث أسرع عن الملفات وتقطّع أقل. أوقفه إذا تعذّر على برنامج العثور على ملفاته.</string>
<string name="perf_cursor_composite">رسم المؤشر داخل gamescope</string>
<string name="perf_cursor_composite_hint">يرسم Gamescope المؤشر بنفسه بدلًا من تسليمه إلى Android. فعّله لمؤشر تتحكّم فيه وحدة التحكم. الإيقاف أسرع على الهاتف. يُطبَّق في الجلسة التالية.</string>
<string name="perf_identity">هوية الجلسة</string>
<string name="perf_hostname">اسم المضيف</string>
<string name="perf_hostname_hint">الاسم الذي يراه Steam لهذا الجهاز. اتركه خاليًا للاستعادة إلى %1$s.</string>
@@ -591,6 +626,8 @@
<string name="driver_delete_plain">تُزال ملفاته من التطبيق.</string>
<string name="driver_delete_in_use">تُزال ملفاته. إنه قيد الاستخدام، فيتولى الافتراضي مكانه.</string>
<string name="drawer_page_display">العرض</string>
<string name="drawer_frame_limit">حد الإطارات</string>
<string name="drawer_frame_limit_note">يحدّ هذه اللعبة. تنتقل الشاشة إلى معدل تحديث يقبل القسمة على الحد إن وُجد، وقد تبدو الحدود الأخرى غير منتظمة. تستخدم ألعاب Steam حد الإطارات في Steam ضمن قائمة الوصول السريع.</string>
<string name="drawer_page_effects">المؤثرات</string>
<string name="drawer_page_controls">عناصر التحكم</string>
<string name="drawer_page_components">المكوّنات</string>
@@ -672,7 +709,6 @@
<string name="hud_export_failed">تعذّر حفظ تقرير HUD.</string>
<string name="hud_reset">إعادة ضبط إعدادات HUD</string>
<string name="hud_reset_button">إعادة ضبط</string>
<string name="hud_credit">FusionHUD من The412Banner، github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">وضع التحجيم</string>
<string name="drawer_scaling_sharpness">حدة التحجيم</string>
<string name="drawer_effects">مؤثرات الشاشة</string>
@@ -707,6 +743,8 @@
<string name="drawer_touch_auto">تلقائي (%1$s)</string>
<string name="drawer_keyboard">لوحة المفاتيح</string>
<string name="drawer_latency">زمن الاستجابة</string>
<string name="drawer_low_latency">وضع زمن الاستجابة المنخفض</string>
<string name="drawer_low_latency_hint">يزيد استهلاك CPU والبطارية</string>
<string name="drawer_low_latency_controller">وحدة تحكم بزمن استجابة منخفض</string>
<string name="drawer_low_latency_controller_hint">تبلغ وحدة التحكم بمعدل 1000 هرتز بدلًا من 250 هرتز. استهلاك معالج أعلى قليلًا.</string>
<string name="drawer_low_latency_touch">لمس بزمن استجابة منخفض</string>
@@ -803,6 +841,10 @@
<string name="setup_session">الجلسة</string>
<string name="setup_logs">سجلات الجلسة</string>
<string name="setup_logs_hint">تُحفَظ بعد كل جلسة</string>
<string name="setup_game_debug_logs">سجلات تصحيح الألعاب</string>
<string name="setup_game_debug_logs_hint">تضمين بيانات تشخيص Proton وWine والرسومات عند تشغيل اللعبة التالية. قد يقلّل الأداء ويستهلك مساحة تخزين أكبر.</string>
<string name="setup_game_debug_logs_restart">أعِد تشغيل هذه الجلسة لحفظ سجلات تصحيح الألعاب</string>
<string name="setup_logging_update_failed">تعذّر تحديث التسجيل. تحقّق من المفتاح وحاول مرة أخرى.</string>
<string name="setup_agent_commands">أدوات تصحيح الأخطاء</string>
<string name="setup_latest_logs">أحدث سجلات الجلسة</string>
<string name="setup_saved_logs">سجلات الجلسة المحفوظة</string>
@@ -835,6 +877,11 @@
<string name="setup_home_on">يمكن أن يكون DroidDeck تطبيق الشاشة الرئيسية</string>
<string name="setup_home_off">لا يُعرَض DroidDeck أبدًا كتطبيق للشاشة الرئيسية</string>
<string name="setup_orientation">الاتجاه</string>
<string name="setup_launcher_orientation">اتجاه المشغّل</string>
<string name="setup_launcher_orientation_auto">اتّباع تدوير الجهاز</string>
<string name="setup_orientation_portrait">عمودي</string>
<string name="setup_session_orientation">اتجاه الجلسة</string>
<string name="setup_session_orientation_hint">يُطبَّق على Steam والألعاب وسطح المكتب ومحرّر وحدة التحكم. تدور الدقّات المُعدّة مسبقًا مع الجلسة، ويبقى العرض والارتفاع المخصّصان كما أُدخلا.</string>
<string name="setup_orientation_auto">أفقي تلقائي</string>
<string name="setup_orientation_landscape">أفقي</string>
<string name="setup_orientation_reverse">أفقي معكوس</string>
@@ -1011,6 +1058,14 @@
<string name="gate_step1">افتح الإعدادات ← خيارات المطوّرين ← تصحيح الأخطاء اللاسلكي وفعِّله</string>
<string name="gate_step2">اضغط على «إقران جهاز برمز إقران»</string>
<string name="gate_step3">أدخل الرمز في إشعار DroidDeck</string>
<string name="pairguide_build_number">في «لمحة عن الهاتف»، انقر على «رقم الإصدار» 7 مرات</string>
<string name="pairguide_wireless">فعّل «تصحيح الأخطاء اللاسلكي»</string>
<string name="pairguide_pair">افتح «تصحيح الأخطاء اللاسلكي»، ثم انقر على «إقران الجهاز باستخدام رمز الإقران»</string>
<string name="pairguide_child_process">فعّل «إيقاف قيود العمليات الفرعية»</string>
<string name="pairguide_row_child_process">إيقاف قيود العمليات الفرعية</string>
<string name="pairguide_row_build_number">رقم الإصدار</string>
<string name="pairguide_row_wireless">تصحيح الأخطاء اللاسلكي</string>
<string name="pairguide_row_pair">إقران الجهاز باستخدام رمز الإقران</string>
<string name="gate_waiting">في انتظار نافذة الإقران المنبثقة…</string>
<string name="gate_code_needed">تم العثور على النافذة المنبثقة. أدخل رمزها في الإشعار.</string>
<string name="gate_status">الحالة</string>
@@ -1149,7 +1204,6 @@
<string name="games_never_played">لم يتم تشغيلها أبدًا</string>
<string name="games_runtime_busy_percent">بيئة التشغيل مشغولة · %1$d%%</string>
<string name="games_runtime_busy">بيئة التشغيل مشغولة</string>
<string name="games_runtime_first_play">تُثبَّت بيئة التشغيل عند أول تشغيل</string>
<string name="games_runtime_update">يتوفر تحديث لبيئة التشغيل</string>
<string name="games_runtime_ready">● بيئة التشغيل جاهزة</string>
<string name="games_internal">التخزين الداخلي</string>
@@ -1166,6 +1220,9 @@
<string name="gpu_hide_other">إخفاء برامج التشغيل لوحدات GPU الأخرى</string>
<string name="gpu_show_other">إظهار برامج التشغيل لوحدات GPU الأخرى</string>
<string name="gpu_advanced">متقدّم</string>
<string name="gpu_ubwc_title">توافق UBWC</string>
<string name="gpu_ubwc_hint">جرّب التشغيل أو الإيقاف إذا ظهرت خطوط أو وميض في Steam أو Android. يُطبَّق على برنامجَي التشغيل كليهما بعد إعادة تشغيل DroidDeck.</string>
<string name="gpu_ubwc_restart">أعِد تشغيل DroidDeck للتطبيق.</string>
<string name="gpu_set_with_display">يُضبَط مع برنامج تشغيل العرض معًا: يحمل %1$s كلاهما.</string>
<string name="gpu_set_with_runtime">يُضبَط مع برنامج تشغيل بيئة التشغيل معًا: يحمل %1$s كلاهما.</string>
<string name="gpu_runtime_hint">يُستخدَم في الألعاب وسطح المكتب.</string>
@@ -1274,10 +1331,15 @@
<string name="pip_auto">الدخول تلقائيًا إلى وضع نافذة ضمن النافذة</string>
<string name="unfolded_controls">عناصر التحكّم على الشاشة غير المطوية</string>
<string name="unfolded_controls_hint">عند فتح الجهاز، تظهر اللعبة فوق لوحتَي اللمس والمقابض الخلفية بأسلوب Steam Deck. وعند طيّه، تُعرض اللعبة بملء الشاشة.</string>
<string name="unfolded_controls_with_controller">إبقاؤها مع وحدة التحكم</string>
<string name="unfolded_controls_with_controller_hint">إظهار عناصر التحكّم باللمس هذه أيضًا أثناء توصيل وحدة تحكم.</string>
<string name="pip_suspended">معلَّقة</string>
<string name="pip_not_ready">تتوفّر ميزة نافذة ضمن النافذة عندما تصبح الجلسة جاهزة.</string>
<string name="pip_permission">اسمح بميزة نافذة ضمن النافذة لتطبيق DroidDeck في إعدادات Android.</string>
<string name="pip_unavailable">تعذّر على Android فتح نافذة ضمن النافذة.</string>
<string name="game_more">المزيد</string>
<string name="game_edit_art">تعديل الصور</string>
<string name="stores_in_steam_label">في Steam</string>
<string name="game_shortcut">اختصار</string>
<string name="game_shortcut_add">إضافة إلى الشاشة الرئيسية</string>
<string name="game_shortcut_choose">اختيار لعبة</string>
@@ -1301,6 +1363,10 @@
<string name="main_wait_runtime">انتظر حتى تنتهي عملية بيئة التشغيل</string>
<string name="main_wait_proton_install">انتظر حتى ينتهي تثبيت أداة التوافق</string>
<string name="load_compat_title">جارٍ تجهيز أدوات التوافق</string>
<string name="load_compat_wait">في انتظار اكتمال إعداد التوافق</string>
<string name="load_compat_hint">ستبدأ جلستك عند اكتمال الإعداد.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">انتظر حتى ينتهي تثبيت تطبيق سطح المكتب</string>
<string name="main_wait_install_game">انتظر حتى ينتهي التثبيت قبل تشغيل لعبة</string>
<string name="main_saves_close_session">أغلِق جلسة Steam أولاً حتى لا تحفظ اللعبة فوق الملفات المستورَدة</string>
@@ -1353,6 +1419,9 @@
<string name="main_install_anyway">التثبيت على أي حال</string>
<string name="main_remove_runtime_title">إزالة بيئة تشغيل Linux</string>
<string name="main_remove_runtime_text">سيؤدي هذا إلى حذف بيئة التشغيل وعميل Steam بداخلها وكل لعبة مثبَّتة فيها.</string>
<string name="runtime_actions_title">بيئة تشغيل Linux</string>
<string name="runtime_actions_text">يعيد الإصلاح تثبيت ملفات النظام في بيئة التشغيل ويحتفظ بـ Steam وألعابك وإعداداتك. تُثبَّت الإضافات مثل سطح المكتب مجددًا عند استخدامها لاحقًا. أما الإزالة فتحذف كل شيء.</string>
<string name="runtime_repair">إصلاح بيئة التشغيل</string>
<string name="main_applied">تم التطبيق: %1$s</string>
<string name="android_app_open_failed_primary">تعذّر فتح %1$s على الشاشة الأساسية</string>
<string name="android_app_open_failed_on">تعذّر فتح %1$s على %2$s</string>
@@ -1494,6 +1563,15 @@
<string name="session_runtime_catalog_unreachable">تعذّر الوصول إلى كتالوج بيئة التشغيل. تحقَّق من الاتصال واضغط على «تشغيل» مرة أخرى.</string>
<string name="session_runtime_install_failed">لم يتم تثبيت بيئة تشغيل Linux. تحقَّق من بيئة التشغيل في «الإعداد» واضغط على «تشغيل» مرة أخرى.</string>
<string name="session_desktop_install_failed">لم يتم تثبيت سطح المكتب (%1$s). تحقَّق من الاتصال واضغط على «سطح المكتب» مرة أخرى.</string>
<string name="session_package_resume_failed">تعذّر إكمال تثبيت توقّف قبل انتهائه (%1$s). تحقّق من الاتصال والمساحة، ثم حاول مرة أخرى.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="zero">بيئة تشغيل Linux تالفة: %1$d رابط مكتبة يشير إلى ملفات مفقودة (%2$s وغيرها)، وعادةً بعد توقّف تثبيت قبل انتهائه. يحتفظ الإصلاح بألعابك وإعداداتك.</item>
<item quantity="one">بيئة تشغيل Linux تالفة: رابط مكتبة واحد يشير إلى ملف مفقود (%2$s)، وعادةً بعد توقّف تثبيت قبل انتهائه. يحتفظ الإصلاح بألعابك وإعداداتك.</item>
<item quantity="two">بيئة تشغيل Linux تالفة: رابطا مكتبة يشيران إلى ملفات مفقودة (%2$s وغيره)، وعادةً بعد توقّف تثبيت قبل انتهائه. يحتفظ الإصلاح بألعابك وإعداداتك.</item>
<item quantity="few">بيئة تشغيل Linux تالفة: %1$d روابط مكتبات تشير إلى ملفات مفقودة (%2$s وغيرها)، وعادةً بعد توقّف تثبيت قبل انتهائه. يحتفظ الإصلاح بألعابك وإعداداتك.</item>
<item quantity="many">بيئة تشغيل Linux تالفة: %1$d رابطًا لمكتبات تشير إلى ملفات مفقودة (%2$s وغيرها)، وعادةً بعد توقّف تثبيت قبل انتهائه. يحتفظ الإصلاح بألعابك وإعداداتك.</item>
<item quantity="other">بيئة تشغيل Linux تالفة: %1$d رابط مكتبة يشير إلى ملفات مفقودة (%2$s وغيرها)، وعادةً بعد توقّف تثبيت قبل انتهائه. يحتفظ الإصلاح بألعابك وإعداداتك.</item>
</plurals>
<string name="session_ended_named">توقّف %1$s بشكل غير متوقَّع. شارِك السجلات مع بلاغ عن الخطأ، أو حاوِل مرة أخرى.</string>
<string name="session_ended_program">توقّف البرنامج بشكل غير متوقَّع. شارِك السجلات مع بلاغ عن الخطأ، أو حاوِل مرة أخرى.</string>
<string name="session_ended_desktop">توقّف سطح المكتب بشكل غير متوقَّع. شارِك السجلات مع بلاغ عن الخطأ، أو حاوِل مرة أخرى.</string>
@@ -1512,6 +1590,17 @@
<string name="mode_decky_plugins_hint">ثبِّت ملف ZIP لإضافة في جلسة Steam التالية.</string>
<string name="mode_decky_plugin_downloading">جارٍ التنزيل…</string>
<string name="mode_decky_plugin_install_zip">التثبيت من ملف ZIP</string>
<string name="decky_zip_warning_title">تثبيت إضافة من جهة خارجية</string>
<string name="decky_zip_warning_text">لم يراجع فريق Decky Loader هذه الإضافة. قد تحتوي على برامج ضارة، مثل برامج لسرقة حساب Steam الخاص بك أو إلحاق الضرر بجهازك. بتثبيت هذه الإضافة، فإنك توافق على تحمّل جميع المخاطر على جهازك.</string>
<string name="decky_zip_warning_continue">متابعة</string>
<plurals name="decky_zip_warning_wait">
<item quantity="zero">يُرجى الانتظار %1$d ثانية</item>
<item quantity="one">يُرجى الانتظار ثانية واحدة</item>
<item quantity="two">يُرجى الانتظار ثانيتين</item>
<item quantity="few">يُرجى الانتظار %1$d ثوانٍ</item>
<item quantity="many">يُرجى الانتظار %1$d ثانية</item>
<item quantity="other">يُرجى الانتظار %1$d ثانية</item>
</plurals>
<string name="store_cat_games">الألعاب</string>
<string name="store_cat_audio_video">الصوت والفيديو</string>
<string name="store_cat_graphics">الرسومات</string>
@@ -1693,6 +1782,8 @@
<string name="fm_accept">موافق</string>
<string name="fm_decline">رفض</string>
<string name="fm_drive_not_readable">تم تركيب %1$s لكن تتعذّر قراءته حاليًا</string>
<string name="fm_drive_access_title">السماح بالوصول إلى %1$s</string>
<string name="fm_drive_access_text">يتيح Android لتطبيق DroidDeck رؤية محرك الأقراص هذا دون قراءته. فعّل الوصول إلى جميع الملفات لتطبيق DroidDeck ثم عُد.</string>
<string name="fm_list_view">عرض القائمة</string>
<string name="fm_grid_view">عرض الشبكة</string>
<string name="fm_search">بحث</string>
@@ -1802,6 +1893,7 @@
<string name="flatpakmgr_not_ready">أعِدّ Flatpak أولاً</string>
<string name="flatpakmgr_starting">جارٍ البدء</string>
<string name="flatpakmgr_exit_status">خرج Flatpak بالحالة %1$d</string>
<string name="flatpakmgr_wrong_arch">تم بناء %1$s لمعمارية %2$s، ولا يستطيع DroidDeck تشغيلها. تحتاج تطبيقات Flatpak هنا إلى إصدار لمعمارية ARM64 أو x86_64.</string>
<string name="flatpakmgr_installing">جارٍ تثبيت %1$s</string>
<string name="flatpakmgr_updating">جارٍ تحديث %1$s</string>
<string name="flatpakmgr_removing">جارٍ إزالة %1$s</string>
@@ -1895,6 +1987,7 @@
<string name="adbpair_applying">جارٍ تطبيق الإعداد…</string>
<string name="adbpair_command_failed">فشل أمر تصحيح الأخطاء اللاسلكي</string>
<string name="adbpair_channel_name">إعداد تصحيح الأخطاء اللاسلكي</string>
<string name="adbpair_progress_channel_name">تقدّم إعداد تصحيح الأخطاء اللاسلكي</string>
<string name="adbpair_channel_description">يطلب رمز إقران تصحيح الأخطاء اللاسلكي أثناء فتح الإعدادات</string>
<string name="adbpair_title_pair">إقران تصحيح الأخطاء اللاسلكي</string>
<string name="adbpair_waiting_text">فعِّل تصحيح الأخطاء اللاسلكي، ثم اضغط على «إقران الجهاز برمز الإقران».</string>
@@ -2003,6 +2096,7 @@
<string name="gpuinfo_not_adreno">وحدة GPU ليست من نوع Adreno</string>
<string name="gpuinfo_supported">مدعوم</string>
<string name="gpuinfo_experimental">تجريبي: برامج تشغيله إصدارات اختبارية</string>
<string name="gpuinfo_a850_experimental">دعم تجريبي لـ Adreno 850: يتطلب برامج تشغيل تجريبية متوافقة للعرض والألعاب، ولم يُتحقَّق منه على هذا الجهاز</string>
<string name="gpuinfo_below_tested">أقل من العتاد المُختبَر (Adreno 725 وأحدث): قد لا يعمل</string>
<string name="gpuinfo_unsupported">غير مدعوم: يحتاج DroidDeck إلى وحدة GPU من نوع Adreno (Snapdragon)</string>
@@ -2205,6 +2299,13 @@
<string name="stores_resume">استئناف</string>
<string name="stores_refresh">تحديث</string>
<string name="stores_sort">ترتيب</string>
<string name="setup_rail_labels">تسميات الشريط الجانبي</string>
<string name="setup_rail_labels_hint">إظهار الأسماء أسفل رموز الشريط الجانبي. أوقفه للحصول على شريط جانبي أنحف.</string>
<string name="library_display">العرض</string>
<string name="library_display_larger">بطاقات أكبر</string>
<string name="library_display_smaller">بطاقات أصغر</string>
<string name="library_display_title">إظهار العنوان</string>
<string name="library_display_size">إظهار الحجم</string>
<string name="stores_sort_last_played">لُعب مؤخرًا</string>
<string name="stores_sort_recently_installed">ثُبت مؤخرًا</string>
<string name="stores_sort_title_asc">العنوان أ–ي</string>
@@ -2331,6 +2432,9 @@
<string name="stores_download_manager">مدير التنزيلات</string>
<string name="stores_parallel">عدد التنزيلات المتزامنة</string>
<string name="stores_install_where">التثبيت في</string>
<string name="stores_install_language">لغة اللعبة</string>
<string name="stores_install_language_hint">يثبّت GOG وEpic هذه اللغة. خيار «النظام» يتبع لغة التطبيق.</string>
<string name="stores_install_language_system">النظام</string>
<string name="stores_install_title">تثبيت %1$s:</string>
<string name="stores_target_internal">التخزين الداخلي</string>
<string name="stores_target_free">%1$s متاحة</string>
@@ -2369,6 +2473,9 @@
<string name="edit_target">الهدف</string>
<string name="edit_start_in">بدء التشغيل في</string>
<string name="edit_launch_options">خيارات التشغيل</string>
<string name="edit_launch_options_steam_hint">مشتركة مع خصائص Steam: أي تغيير في أحدهما يظهر في كليهما.</string>
<string name="edit_launch_options_not_saved">تعذّر حفظ خيارات التشغيل في Steam. حاول مرة أخرى.</string>
<string name="edit_launch_options_desktop">قد يكون Steam مفتوحًا في جلسة سطح المكتب. غيّر خيارات التشغيل من خصائصه، أو أغلق الجلسة أولًا.</string>
<string name="edit_artwork">الصور الفنية</string>
<string name="edit_other_exe">ملف exe آخر…</string>
<string name="edit_remove">إزالة</string>
@@ -2504,6 +2611,7 @@
<string name="setup_download_source_custom">بادئة خاصة</string>
<string name="setup_download_mirror">الموقع</string>
<string name="setup_download_prefix">البادئة</string>
<string name="setup_download_proxy">وكيل HTTP</string>
<string name="flathub_eyebrow">تطبيقات Linux</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">تطبيقات سطح المكتب لسطح مكتب Linux، تُفتح من سطح المكتب.</string>
@@ -2652,6 +2760,22 @@
<string name="glasses_tracking_flat_hint">يُبقي الوضع «تلقائي» لعبة 2D هذه ثابتة أمامك. اختر «شاشة افتراضية» في «العرض» لاستخدام تتبّع الرأس.</string>
<string name="glasses_tracking_sbs_hint">يُطبَّق تتبّع الرأس على الشاشة الافتراضية أو على لعبة SteamVR قيد التشغيل.</string>
<string name="glasses_hardware">الجهاز</string>
<string name="vr_controllers_tab">وحدات التحكم</string>
<string name="vr_controllers_group">وحدات تحكم SteamVR</string>
<string name="vr_controllers_emulate">ذراع الألعاب في VR</string>
<string name="vr_controllers_emulate_hint">يدا VR اللتان تؤدي وحدة التحكم دورهما. تُطبَّق التغييرات فورًا، حتى أثناء تشغيل SteamVR. تظل وحدات Joy-Con والأيدي المتتبَّعة تتولى جانبها.</string>
<string name="vr_controllers_off">ذراع ألعاب عادية</string>
<string name="vr_controllers_index">وحدات تحكم Valve Index</string>
<string name="vr_controllers_touch">وحدات تحكم Meta Quest 3</string>
<string name="vr_controllers_vive">عصيّ HTC Vive</string>
<string name="vr_controllers_sticks">تبدأ العصا بـ</string>
<string name="vr_controllers_sticks_hint">اضغط على العصوين معًا أثناء VR للتبديل.</string>
<string name="vr_controllers_sticks_game">تحريكك داخل اللعبة</string>
<string name="vr_controllers_sticks_hands">تحريك اليدين</string>
<string name="vr_controllers_buttons">الأزرار</string>
<string name="vr_controllers_buttons_stick">الزنادات زنادات، والأزرار الكتفية للإمساك، وA/B وX/Y هي أزرار الوجه لكل يد، والنقر على العصا ينقر عصا الإبهام، وGuide يفتح قائمة SteamVR. أعلى وأسفل لوحة الاتجاهات يقرّبان اليدين أو يبعدانهما.</string>
<string name="vr_controllers_buttons_vive">العصوان لوحتا لمس، والضغط عليهما بـ A/X أو بالنقر على العصا. الزنادات زنادات، والأزرار الكتفية للإمساك، وStart وSelect للقائمة، وGuide يفتح قائمة SteamVR.</string>
<string name="vr_controllers_buttons_off">بلا أيدٍ في VR. تتلقّى الألعاب التي تدعم ذراع الألعاب، وقائمة SteamVR، وحدة التحكم كالمعتاد.</string>
<string name="glasses_brightness">السطوع</string>
<string name="glasses_volume">مستوى الصوت</string>
<string name="glasses_sunblock">حجب الشمس</string>
@@ -2709,6 +2833,12 @@
<string name="hand_camera_placement">وضع الكاميرا</string>
<string name="hand_camera_placement_hint">تحقّق من أن الكاميرا تراك قبل اللعب.</string>
<string name="hand_camera_check">تحقّق</string>
<string name="tracking_pack_title">تنزيل تتبّع اليدين</string>
<string name="tracking_pack_hint">يتطلب تتبّع اليدين تنزيلًا لمرة واحدة بحجم %1$s.</string>
<string name="tracking_pack_download">تنزيل</string>
<string name="tracking_pack_retry">إعادة المحاولة</string>
<string name="tracking_pack_downloading">جارٍ تنزيل تتبّع اليدين… %1$d%%</string>
<string name="tracking_pack_failed">تعذّر تنزيل تتبّع اليدين. تحقّق من اتصالك وحاول مرة أخرى.</string>
<string name="hand_camera_check_title">وضع الكاميرا</string>
<string name="hand_camera_how_rear">ضع الجهاز واقفًا على بُعد 1.5 إلى 2 متر تقريبًا بارتفاع الصدر، مع توجيه الكاميرا الخلفية نحوك. ثم ادخل إلى مجال الرؤية ويداك ممدودتان.</string>
<string name="hand_camera_how_front">ضع الجهاز واقفًا على بُعد 1.5 إلى 2 متر تقريبًا بارتفاع الصدر، مع توجيه الشاشة نحوك. ثم ادخل إلى مجال الرؤية ويداك ممدودتان.</string>
@@ -2780,6 +2910,21 @@
<string name="storage_safe_hint">بيئات تشغيل غير مستخدمة وبقايا وسجلات قديمة</string>
<string name="storage_clean_up">جارٍ التنظيف…</string>
<string name="storage_session_running">أوقف الجلسة لتنظيف التخزين أو حذف شيء. تبقى الأحجام ظاهرة.</string>
<string name="storage_default_group">موقع التثبيت</string>
<string name="storage_default_title">التخزين الافتراضي</string>
<string name="storage_default_hint">تُثبَّت ألعاب المتاجر الجديدة في الموقع المحدد. تبقى الألعاب الحالية في مكانها. تحتفظ مكتبات Steam بإعدادها الخاص.</string>
<string name="storage_default_ask">السؤال في كل مرة</string>
<string name="storage_default_ask_detail">اختر وجهة لكل تثبيت</string>
<string name="storage_default_internal">مساحة التخزين الداخلية</string>
<string name="storage_default_external">مساحة التخزين الخارجية</string>
<string name="storage_default_external_detail">%1$s · %2$s متاحة</string>
<string name="storage_default_external_missing">غير متصل</string>
<string name="storage_default_folder">مجلد · %1$s</string>
<string name="storage_default_folder_free">%1$s متاحة</string>
<string name="storage_default_folder_missing">غير متصل</string>
<string name="storage_default_choose_folder">اختيار مجلد…</string>
<string name="storage_default_choose_folder_detail">استخدم أي مجلد على بطاقة SD أو محرك USB</string>
<string name="storage_default_note">توضع الألعاب في مجلد Games داخل الموقع المحدد. لا تُنقل الألعاب الحالية.</string>
<string name="storage_where">إلى أين يذهب</string>
<string name="storage_games">ألعاب Steam</string>
<string name="storage_game_data">بيانات الألعاب</string>
@@ -2929,6 +3074,9 @@
<string name="storage_data_installed">الألعاب المثبَّتة</string>
<string name="storage_data_parts">البادئة %1$s · الشيدرات %2$s · الورشة %3$s</string>
<string name="storage_clear_shaders">مسح الشيدرات</string>
<string name="storage_reset_prefix">إعادة ضبط البادئة</string>
<string name="storage_reset_prefix_title">هل تريد إعادة ضبط بادئة %1$s؟</string>
<string name="storage_reset_prefix_confirm">يحذف بادئة Wine الخاصة بها (%1$s) في %2$s ويعيد إنشاءها عند التشغيل التالي. تُفقد عمليات الحفظ والإعدادات والحزم القابلة لإعادة التوزيع المثبَّتة داخلها، وتبقى حفظات Steam Cloud في حسابك.</string>
<string name="storage_data_leftovers">ألعاب محذوفة</string>
<string name="storage_steam_app">تطبيق Steam %1$d</string>
<string name="storage_leftover_unsure_detail">البادئة تحتوي على ملفات، ربما حفظات محلية</string>
@@ -3238,6 +3386,10 @@
<string name="spatial_saved_views_hint">يمكن إعادة حساب المشاهدات المحفوظة. ابدأ معايرة جديدة لالتقاطها في نظام إحداثيات التتبع الحالي.</string>
<string name="spatial_model_checksum_error">المجموع الاختباري لنموذج تتبع اليدين غير مطابق</string>
<string name="spatial_opencv_load_error">تعذر تحميل OpenCV</string>
<string name="session_end_steam_sigill">توقّف Steam بسبب تعليمة غير صالحة (SIGILL). قد تكون مشكلة توافق في تعليمات CPU أو تعطّلًا في العميل. شارك السجلات مع تفاصيل جهازك.</string>
<string name="session_end_steam_try_x64">يمكنك تجربة إعدادات Steam → عميل Steam → x86-64 (تجريبي). يتطلب تنزيلًا إضافيًا وقد يعمل بشكل أبطأ.</string>
<string name="session_end_vulkan_device">تعذّر على برنامج تشغيل رسومات Linux العثور على جهاز Vulkan صالح للاستخدام. تحقّق من أن برنامج تشغيل GPU المحدد لـ Linux يدعم هذا الـ GPU.</string>
<string name="session_end_gpu_unsupported">لا يمكن بدء هذه الجلسة لأن هذا الـ GPU ليس له برنامج تشغيل Vulkan متوافق لـ Linux في الإعداد الحالي. لا يمكن لبرامج تشغيل Adreno Turnip تفعيل دعم وحدات MediaTek/Mali GPU.</string>
<string name="setup_group_memory">الذاكرة</string>
<string name="setup_clear_cached">إغلاق التطبيقات المخزّنة مؤقتًا قبل الجلسة</string>
<string name="setup_clear_cached_hint">عند بدء الجلسة، يُغلق DroidDeck التطبيقات التي يُبقيها Android في الخلفية، لتحصل اللعبة على ذاكرة أكبر. يجب تفعيل تصحيح الأخطاء اللاسلكي.</string>
@@ -3261,6 +3413,12 @@
<string name="epic_client_open">فتح</string>
<string name="epic_client_install">تثبيت</string>
<string name="game_tab_about">حول</string>
<string name="game_resources_browser">يُفتح في متصفحك</string>
<string name="game_resource_guides">الأدلة</string>
<string name="game_resource_protondb_detail">تقارير توافق Linux / Proton</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">للألعاب التي تُحفظ بياناتها في حساب Steam الخاص بك</string>
<string name="game_resource_search">البحث في الويب</string>
<string name="game_tab_install">تثبيت</string>
<string name="game_install_location">الموقع</string>
<string name="game_install_folder">مجلد</string>
@@ -3277,6 +3435,11 @@
<string name="stores_eyebrow_pass">متاحة مع %1$s</string>
<string name="stores_owned_in_library">الألعاب المملوكة في المكتبة</string>
<string name="library_filter_added">مُضافة</string>
<string name="library_filter">تصفية</string>
<string name="library_filter_installed">المثبَّتة فقط</string>
<string name="library_filter_all_owned">كل الألعاب المملوكة</string>
<string name="library_no_installed_matches">لا توجد ألعاب مثبَّتة تطابق عوامل التصفية هذه.</string>
<string name="library_browse_owned">تصفّح الألعاب المملوكة</string>
<string name="game_tab_launch">التشغيل</string>
<string name="game_tab_saves_cloud">الحفظ والسحابة</string>
<string name="game_launch_shortcut">اختصار Steam</string>
@@ -3294,6 +3457,28 @@
<string name="stores_itch_update_replaced">استبدل المطوّر هذا الإصدار بـ %1$s. هل تريد التحديث إليه؟</string>
<string name="xbox_filter_cloud">سحابية</string>
<string name="stores_xbox_cloud_settings">إعدادات السحابة</string>
<string name="integration_title">تكامل Steam</string>
<string name="integration_count">%1$d من %2$d مفعّلة</string>
<string name="integration_set_up">إعداد</string>
<string name="integration_location">الموقع الجغرافي</string>
<string name="integration_app_info">معلومات التطبيق</string>
<string name="integration_wifi">أسماء شبكات Wi-Fi</string>
<string name="integration_brightness">السطوع</string>
<string name="integration_home">DroidDeck كشاشة رئيسية</string>
<string name="integration_shortcuts">اختصارات زر الشاشة الرئيسية</string>
<string name="integration_wifi_hint">إظهار الشبكات في Steam · يتطلب الوصول إلى الموقع الجغرافي، دون تتبّع أبدًا</string>
<string name="integration_wifi_on">تظهر الشبكات في Steam</string>
<string name="integration_wifi_location_off">الموقع الجغرافي متوقف</string>
<string name="integration_wifi_denied">رُفض الوصول إلى الموقع الجغرافي · اسمح به في معلومات التطبيق</string>
<string name="integration_brightness_hint">شريط التمرير في Steam يضبط سطوع الشاشة</string>
<string name="integration_home_hint">زر الشاشة الرئيسية يفتح قائمة Steam أثناء الجلسة</string>
<string name="integration_shortcuts_hint">اضغط مطوّلًا على زر الشاشة الرئيسية لاختصارات Steam Guide</string>
<string name="integration_shortcuts_needs_home">يتطلب DroidDeck كشاشة رئيسية</string>
<string name="integration_shortcuts_maybe_restricted">غير متاح في Android؟ معلومات التطبيق → ⋮ → السماح بالإعدادات المحظورة</string>
<string name="integration_shortcuts_restricted">محظور من Android · معلومات التطبيق → ⋮ → السماح بالإعدادات المحظورة</string>
<string name="integration_shortcuts_service">زر الشاشة الرئيسية في DroidDeck</string>
<string name="integration_shortcuts_service_description">يمرّر ضغطات زر الشاشة الرئيسية إلى Steam Guide عندما تكون جلسة Steam في المقدمة ويكون DroidDeck تطبيق الشاشة الرئيسية الافتراضي. لا يقرأ محتوى الشاشة.</string>
<string name="integration_brightness_needed">فعّل «السطوع» من الإعداد → تكامل Steam</string>
<string name="apps_search_hint">البحث في التطبيقات</string>
<string name="apps_no_match">لا توجد تطبيقات تطابق ”%1$s“.</string>
<string name="apps_add_widget">إضافة أداة</string>
@@ -3346,9 +3531,35 @@
<string name="desktop_restore_done_body">التطبيقات التي أضفتها مثبتة مرة أخرى.</string>
<string name="desktop_restore_failed_title">تعذّرت استعادة بعض البرامج</string>
<string name="desktop_restore_failed_body">راجع ‎~/.cache/droiddeck/apt-restore.log ثم جرّب sudo apt install في Konsole.</string>
<string name="gog_full_files">التحسينات الأصلية غير متاحة. يتضمن التنزيل ملفات بديلة كاملة.</string>
<string name="gog_recover">التحقق من نتيجة التصحيح</string>
<string name="slow_usb_title">اتصال USB بطيء</string>
<string name="slow_usb_cable">%1$s متصل عبر %2$s (%3$s ميغابت/ث، حوالي %4$d ميغابايت/ث)، لذا ستُحمَّل الألعاب عليه ببطء. استخدم كابل USB 3 بسرعة 5 جيجابت/ث أو أكثر، أو جرّب قلب قابس USB-C، أو استخدم محركًا أسرع.</string>
<string name="slow_usb_port">%1$s متصل عبر %2$s (%3$s ميغابت/ث، حوالي %4$d ميغابايت/ث). لا يدعم منفذ USB في هذا الجهاز سرعة أعلى، لذا ستُحمَّل الألعاب عليه ببطء. قد تكون الذاكرة الداخلية أو بطاقة microSD أسرع.</string>
<string name="slow_usb_never">عدم الإظهار مرة أخرى</string>
<string name="slow_usb_dismiss">إغلاق</string>
<string name="steam_import_title">هل تريد إعادة تشغيل Steam لإضافة ألعابك؟</string>
<string name="steam_import_body">يمكن لـ Steam إدراج هذه الألعاب التي تملكها كألعاب مثبتة: %1$s. يجب إعادة تشغيله لإظهارها. أعد التشغيل الآن، أو ستُضاف في المرة القادمة التي يبدأ فيها Steam.</string>
<string name="steam_import_names_more">%1$s و%2$d أخرى</string>
<string name="steam_import_now">إعادة التشغيل الآن</string>
<string name="steam_import_later">لاحقًا</string>
<string name="gog_maintenance">إدارة تثبيت GOG</string>
<string name="gog_check">التحقق من وجود تحديثات</string>
<string name="gog_repair">التحقق/الإصلاح</string>
<string name="gog_patches">تصحيحات بلا اتصال</string>
<string name="gog_refresh">تنزيل المثبِّت الكامل بلا اتصال</string>
<string name="gog_update">التحديث إلى %1$s</string>
<string name="gog_resume">استئناف صيانة GOG</string>
<string name="gog_open_patch">فتح مثبِّت التصحيح</string>
<string name="gog_patch_in_session">أكمِل مثبِّت التصحيح أو ألغِه في جلسة Linux.</string>
<string name="gog_patch_requirements">اختر تصحيحًا يناسب الإصدار المثبَّت ولغتك. قد لا تظهر كل إصدارات المصدر المدعومة.</string>
<string name="gog_no_patches">لا تتوفّر لدى GOG تصحيحات Windows مستقلة لهذه اللعبة.</string>
<string name="gog_managed_files">قد تُستبدل ملفات اللعبة المعدَّلة.</string>
<string name="gog_patch_installer_note">يُفتح المثبِّت في جلسة Linux الخاصة بك.</string>
<string name="gog_download_label">التنزيل</string>
<string name="gog_space_label">مساحة إضافية</string>
<string name="gog_space_estimate_label">المساحة التقديرية</string>
<string name="gog_repair_action">إصلاح الملفات</string>
<string name="gog_refresh_action">تحديث التثبيت</string>
<string name="gog_select_patch">اختيار</string>
</resources>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Atajos de botones físicos</string>
<string name="shortcuts_dd_menu">Menú de DroidDeck</string>
<string name="shortcuts_capture">Asignar: %1$s</string>
<string name="shortcuts_press">Presiona y suelta un botón. La asignación se guarda automáticamente.</string>
<string name="shortcuts_release">Suelta el botón para continuar.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">Este botón ya está asignado a: %1$s</string>
<string name="shortcuts_save">Reasignar</string>
<string name="shortcuts_retry">Probar otro botón</string>
<string name="shortcuts_limitations">El botón Inicio y algunos botones adicionales pueden no estar disponibles.</string>
</resources>
+228 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">Opciones de VKD3D para D3D12. nodxr desactiva el trazado de rayos; úsalo solo en un juego que lo necesite.</string>
<string name="game_env_proton_log">Pon 1 para obtener un registro de diagnóstico de Proton. El registro puede reducir el rendimiento y usar almacenamiento.</string>
<string name="game_env_wined3d">Pon 1 para usar WineD3D basado en OpenGL en lugar de DXVK, para pruebas de compatibilidad con D3D9–11.</string>
<string name="game_env_wined3d_renderer">Renderizador para DirectDraw, Direct3D 1-7 y los juegos que se ejecutan con WineD3D. Vulkan evita la ruta de OpenGL sobre Zink y es mucho más rápido en juegos antiguos de DirectDraw y Direct3D 7 en Adreno.</string>
<string name="game_env_dxvk_d3d8">Pon 1 para ejecutar Direct3D 8 con DXVK en lugar de WineD3D. Más rápido en la prueba de Direct3D 8 de AIO Graphics Test en Adreno.</string>
<string name="game_env_no_ntsync">Pon 1 para que este juego no use ntsync (droiddeck-ntsync o un controlador del kernel); usa droiddeck-esync si hay un paquete y, si no, droiddeck-fsync.</string>
<string name="game_env_no_esync">Pon 1 para desactivar droiddeck-esync en este juego; usa droiddeck-fsync en su lugar, o droiddeck-ntsync si fsync también está desactivado.</string>
<string name="game_env_no_fsync">Pon 1 para que este juego no use droiddeck-fsync; usa droiddeck-esync si hay un paquete y, si no, droiddeck-ntsync.</string>
<string name="game_env_fsync_first">Pon 1 para que este juego use droiddeck-fsync, o 0 para dar prioridad a droiddeck-esync cuando haya un paquete para su Proton.</string>
<string name="game_env_xalia">Pon 0 para desactivar el asistente de navegación con control de Proton en este juego.</string>
<string name="game_env_anticheat_offline">Activado de forma predeterminada. Inicia un juego con Easy Anti-Cheat sin su antitrampas cuando el juego admite el modo sin conexión. Desactívalo para iniciarlo con Easy Anti-Cheat como siempre. Los modos en línea que requieren Easy Anti-Cheat siguen sin estar disponibles.</string>
<string name="game_env_hud">Superposición de DXVK para D3D9–11. fps muestra la tasa de fotogramas; sin definir la oculta.</string>
<string name="game_env_dxvk_config">Ajustes de DXVK separados por punto y coma. Las versiones recientes usan dxvk.maxFrameRate para limitar fotogramas; para el uso normal prefiere el límite de fotogramas de la sesión.</string>
<string name="game_env_cores">Núcleos de CPU para este juego, como 0-4 o 0,2,4, en lugar de los núcleos de juegos de la sesión. Con menos núcleos se calienta menos.</string>
<string name="game_env_vkd3d_limit">Límite de fotogramas de D3D12. 0 desactiva el límite.</string>
<string name="game_env_glthread">Subprocesos de OpenGL de Mesa. true puede ayudar a juegos OpenGL limitados por la CPU; pruébalo en cada juego.</string>
<string name="sync_backend_title">Sincronización de Wine</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">FEX ejecuta programas Linux x86 en este dispositivo ARM64. Auto lo usa cuando el programa es para x86.</string>
<string name="app_fex_x86">%1$s con FEX</string>
<string name="app_fex_not_ready">Este programa está hecho para PC %1$s y se ejecuta con FEX, que aún no está listo. Abre Steam una vez con tu sesión iniciada: DroidDeck hará que descargue FEX y el Steam Linux Runtime que necesita, y después se abrirá.</string>
<string name="session_proot_missing">No se pudo descargar el proot de DroidDeck. Revisa la conexión e inténtalo de nuevo. La sesión no se inició porque el proot alternativo es demasiado lento para jugar.</string>
<string name="session_directaudio_missing">No se pudo descargar DirectAudio, así que el audio de los juegos usa la ruta más lenta en esta sesión.</string>
<string name="session_end_program">Este programa</string>
<string name="session_end_steam_download">No se pudo descargar el cliente de Steam. Es posible que tu red o VPN esté bloqueando los servidores de Steam; revisa la conexión e inténtalo de nuevo.</string>
<string name="session_end_steam_setup">No se pudo configurar el cliente de Steam. Revisa la conexión y el espacio libre, y vuelve a intentarlo.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">Control de Xbox 360</string>
<string name="mode_controller_note">Deck: botón de Quick Access y giroscopio. Steam Controller: lo mismo, con detección de agarre en los botones traseros. DualShock 4 y DualSense: giroscopio, y los trackpads como su panel táctil. Xbox 360: abre Quick Access con Guide+A.</string>
<string name="mode_back">Atrás</string>
<string name="back_native_qam_hint">Mantén Atrás 700 ms, o mantén Atrás y pulsa otro botón para los atajos de Steam.</string>
<string name="back_double_tap_window">Intervalo de doble toque</string>
<string name="back_tap_ms">%1$d ms</string>
<string name="brightness_permission_title">Permitir el control del brillo</string>
<string name="brightness_permission_text">Configura el control del brillo en DroidDeck.</string>
<string name="back_menu_then_qam">Menú → QAM</string>
<string name="back_qam_then_menu">QAM → Menú</string>
<string name="mode_session">Sesión</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">Al día · %1$s</string>
<string name="mode_decky_loader">Loader</string>
<string name="mode_decky_install_latest">Instalar la última</string>
<string name="decky_channel">Canal de actualizaciones</string>
<string name="decky_channel_hint">Qué versiones de Decky Loader se instalan. El actualizador propio de Decky usa el mismo canal.</string>
<string name="decky_channel_stable">Estable</string>
<string name="decky_channel_prerelease">Preliminar</string>
<string name="decky_channel_testing">Pruebas</string>
<string name="decky_channel_failed">No se pudo guardar el canal de actualizaciones de Decky</string>
<string name="mode_decky_on">Se inicia con Steam. Mientras esté activado, otras apps de este dispositivo podrían controlar Steam.</string>
<string name="mode_decky_off">Desactivado. El puerto de depuración remota de Steam permanece cerrado.</string>
<string name="mode_decky_remove_title">¿Desinstalar Decky Loader?</string>
@@ -323,6 +340,10 @@
<string name="mode_client">Cliente</string>
<string name="mode_mangoapp">Superposición de rendimiento</string>
<string name="mode_mangoapp_hint">Desactívalo si los juegos fallan o se quedan en negro en modo Deck. Se aplica en la próxima sesión.</string>
<string name="mode_return_after_game">Volver a DroidDeck al cerrar un juego</string>
<string name="mode_return_after_game_hint">Cuando se cierra un juego que iniciaste desde DroidDeck u otro launcher, Steam se cierra correctamente (primero termina de sincronizar las partidas en la nube) y vuelves allí. Desactivado: te quedas en Steam.</string>
<string name="mode_shader_precache">Precarga de shaders</string>
<string name="mode_shader_precache_hint">Steam descarga shaders precompilados para tus juegos y los procesa en segundo plano, para que los juegos tengan menos microcortes. Desactivado ahorra datos, almacenamiento y batería; los juegos compilan los shaders mientras juegas. Es el mismo ajuste que Descargas &gt; Precarga de shaders en Steam. Se aplica en la próxima sesión.</string>
<string name="mode_steam_repair">Reparar el cliente de Steam</string>
<string name="mode_steam_repair_hint">Vuelve a descargar el cliente de Steam la próxima vez que se inicie Steam. Úsalo si Steam se queda en la pantalla de carga. Se conservan los juegos, la sesión iniciada y los ajustes.</string>
<string name="mode_steam_repair_queued">El cliente de Steam se volverá a descargar la próxima vez que se inicie Steam.</string>
@@ -391,6 +412,8 @@
<string name="mode_directaudio_hint">Evita PulseAudio para menor latencia.</string>
<string name="mode_mic">Micrófono</string>
<string name="mode_mic_hint">Para el chat de voz.</string>
<string name="drawer_mic_hint">Activa o desactiva la captura del micrófono en esta sesión.</string>
<string name="drawer_mic_failed">No se pudo cambiar el micrófono. Inténtalo de nuevo.</string>
<string name="mode_network">Red</string>
<string name="mode_wifi_discovery">Detección de redes Wi-Fi</string>
<string name="mode_wifi_discovery_hint">Muestra en Steam los nombres de Wi-Fi y las redes cercanas.</string>
@@ -468,6 +491,13 @@
<string name="game_no_steam_title">Iniciar sin Steam</string>
<string name="game_no_steam_detail">Para un juego que se cierra enseguida: lo inicia sin la configuración de Steam de Proton. Las funciones de Steam, como la superposición, están desactivadas para él.</string>
<string name="game_no_steam_on">Activado</string>
<string name="game_steam_with">Se inicia con Steam</string>
<string name="game_steam_without">Se inicia sin Steam</string>
<string name="game_settings_card">Ajustes</string>
<string name="game_settings_menu_title">Ajustes de %1$s</string>
<string name="game_settings_default">Predeterminado</string>
<string name="game_settings_default_detail">Devuelve todo lo cambiado para este juego a los ajustes de la app.</string>
<string name="game_sync_custom">Variables de sincronización personalizadas</string>
<string name="comp_game_proton_live">La elección de Proton de %1$s se ha guardado y ya está disponible en Steam.</string>
<string name="comp_game_proton_next">La elección de Proton de %1$s se ha guardado. Reinicia Steam antes de iniciar el juego.</string>
<string name="comp_game_proton_not_runnable">%1$s no puede usar el Proton elegido en este dispositivo.</string>
@@ -546,6 +576,16 @@
<string name="perf_gsrealtime">gamescope: cola de GPU en tiempo real</string>
<string name="perf_gsrealtime_hint">Da prioridad al trabajo de GPU del compositor. Puede suavizar el ritmo de fotogramas a costa de algo de rendimiento en los juegos.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">Memoria</string>
<string name="perf_cap_off">Desactivado</string>
<string name="perf_cap_auto">Predeterminado del controlador</string>
<string name="perf_zram_client">Comprimir Steam mientras se ejecuta un juego</string>
<string name="perf_zram_client_hint">20 s después de que empiece un juego, el cliente de Steam se comprime en zRAM para dejarle más memoria al juego, y se vuelve a leer cuando el juego se cierra. Desactívalo si la sesión se cierra poco después de iniciar los juegos. Un límite de RAM definido arriba sigue comprimiendo Steam cuando la sesión lo supera.</string>
<string name="perf_ram_cap">Límite de RAM</string>
<string name="perf_ram_cap_hint">Se aplica mientras se ejecuta el cliente de Steam, en modo Steam o desde el escritorio. Cuando la sesión usa más de esto, Steam y luego los demás procesos compatibles de la sesión se comprimen en zRAM. Es un límite flexible: no se cierra nada, pero los juegos pueden tener microcortes mientras se recuperan las páginas.</string>
<string name="perf_ram_cap_unavailable">Requiere swap de zRAM, y este dispositivo no lo tiene.</string>
<string name="perf_vram_cap">Límite de VRAM</string>
<string name="perf_vram_cap_hint">La memoria de video que DXVK informa a los juegos Direct3D, para que calculen sus texturas con menos. Los ajustes de DXVK propios de un juego siguen teniendo prioridad. Se aplica en la próxima sesión.</string>
<string name="perf_gpuclock">Mantener la GPU a su reloj máximo</string>
<string name="perf_gpuclock_hint">Solo Adreno. Menos microcortes, más consumo de batería y calor.</string>
<string name="perf_fixes">Correcciones de sesión</string>
@@ -564,6 +604,8 @@
<string name="perf_fastpath">Ruta rápida de proot</string>
<string name="perf_fastpath_needs_seccomp">Requiere el filtro seccomp de proot.</string>
<string name="perf_fastpath_hint">Búsquedas de archivos más rápidas y menos microcortes. Desactívalo si un programa no encuentra sus archivos.</string>
<string name="perf_cursor_composite">Dibujar el cursor dentro de gamescope</string>
<string name="perf_cursor_composite_hint">Gamescope dibuja el puntero por sí mismo en lugar de pasárselo a Android. Actívalo para un cursor manejado con el control. Desactivado es más rápido en un celular. Se aplica en la próxima sesión.</string>
<string name="perf_identity">Identidad de la sesión</string>
<string name="perf_hostname">Nombre del host</string>
<string name="perf_hostname_hint">El nombre que Steam ve para este dispositivo. En blanco restaura %1$s.</string>
@@ -578,6 +620,8 @@
<string name="driver_delete_plain">Sus archivos se eliminan de la app.</string>
<string name="driver_delete_in_use">Sus archivos se eliminan. Está en uso, así que pasa a usarse el predeterminado.</string>
<string name="drawer_page_display">Pantalla</string>
<string name="drawer_frame_limit">Límite de fotogramas</string>
<string name="drawer_frame_limit_note">Limita este juego. La pantalla cambia a una frecuencia de actualización que sea múltiplo exacto del límite cuando la hay; otros límites pueden verse irregulares. Los juegos de Steam usan el Límite de fotogramas de Steam en el menú Quick Access.</string>
<string name="drawer_page_effects">Efectos</string>
<string name="drawer_page_controls">Controles</string>
<string name="drawer_page_components">Componentes</string>
@@ -659,7 +703,6 @@
<string name="hud_export_failed">No se pudo guardar el informe del HUD.</string>
<string name="hud_reset">Restablecer ajustes del HUD</string>
<string name="hud_reset_button">Restablecer</string>
<string name="hud_credit">FusionHUD de The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Modo de escalado</string>
<string name="drawer_scaling_sharpness">Nitidez del escalado</string>
<string name="drawer_effects">Efectos de pantalla</string>
@@ -718,6 +761,8 @@
<string name="drawer_touch_auto">Auto (%1$s)</string>
<string name="drawer_keyboard">Teclado</string>
<string name="drawer_latency">Latencia</string>
<string name="drawer_low_latency">Modo de baja latencia</string>
<string name="drawer_low_latency_hint">Aumenta el uso de CPU y batería</string>
<string name="drawer_low_latency_controller">Control de baja latencia</string>
<string name="drawer_low_latency_controller_hint">El control informa a 1000 Hz en lugar de 250 Hz. Usa algo más de CPU.</string>
<string name="drawer_low_latency_touch">Táctil de baja latencia</string>
@@ -814,6 +859,10 @@
<string name="setup_session">Sesión</string>
<string name="setup_logs">Registros de sesión</string>
<string name="setup_logs_hint">Se guardan tras cada sesión</string>
<string name="setup_game_debug_logs">Registros de depuración de juegos</string>
<string name="setup_game_debug_logs_hint">Incluye diagnósticos de Proton, Wine y gráficos en el próximo inicio de un juego. Puede reducir el rendimiento y usar más almacenamiento.</string>
<string name="setup_game_debug_logs_restart">Reinicia esta sesión para guardar los registros de depuración de juegos</string>
<string name="setup_logging_update_failed">No se pudo actualizar el registro. Revisa el interruptor e inténtalo de nuevo.</string>
<string name="setup_agent_commands">Herramientas de depuración</string>
<string name="setup_latest_logs">Últimos registros de sesión</string>
<string name="setup_saved_logs">Registros de sesión guardados</string>
@@ -846,6 +895,11 @@
<string name="setup_home_on">DroidDeck puede ser la app de inicio</string>
<string name="setup_home_off">DroidDeck nunca se ofrece como app de inicio</string>
<string name="setup_orientation">Orientación</string>
<string name="setup_launcher_orientation">Orientación del launcher</string>
<string name="setup_launcher_orientation_auto">Seguir la rotación del dispositivo</string>
<string name="setup_orientation_portrait">Vertical</string>
<string name="setup_session_orientation">Orientación de la sesión</string>
<string name="setup_session_orientation_hint">Se aplica a Steam, los juegos, el escritorio y el editor de controles. Los ajustes predefinidos de resolución giran con la sesión; el ancho y el alto personalizados se mantienen como se ingresaron.</string>
<string name="setup_orientation_auto">Horizontal automática</string>
<string name="setup_orientation_landscape">Horizontal</string>
<string name="setup_orientation_reverse">Horizontal invertida</string>
@@ -1013,6 +1067,14 @@
<string name="gate_step1">Abre Ajustes → Opciones de desarrollador → Depuración inalámbrica y actívala</string>
<string name="gate_step2">Toca “Vincular dispositivo con código de vinculación”</string>
<string name="gate_step3">Escribe el código en la notificación de DroidDeck</string>
<string name="pairguide_build_number">En Acerca del teléfono, toca Número de compilación 7 veces</string>
<string name="pairguide_wireless">Activa la Depuración inalámbrica</string>
<string name="pairguide_pair">Abre Depuración inalámbrica y toca “Vincular dispositivo con código de vinculación”</string>
<string name="pairguide_child_process">Activa “Inhabilitar restricciones de procesos secundarios”</string>
<string name="pairguide_row_child_process">Inhabilitar restricciones de procesos secundarios</string>
<string name="pairguide_row_build_number">Número de compilación</string>
<string name="pairguide_row_wireless">Depuración inalámbrica</string>
<string name="pairguide_row_pair">Vincular dispositivo con código de vinculación</string>
<string name="gate_waiting">Esperando la ventana de vinculación…</string>
<string name="gate_code_needed">Ventana encontrada. Ingresa su código en la notificación.</string>
<string name="gate_status">Estado</string>
@@ -1095,6 +1157,12 @@
<string name="hand_camera_placement">Posición de la cámara</string>
<string name="hand_camera_placement_hint">Comprueba que la cámara pueda verte antes de jugar.</string>
<string name="hand_camera_check">Comprobar</string>
<string name="tracking_pack_title">Descarga del seguimiento de manos</string>
<string name="tracking_pack_hint">El seguimiento de manos necesita una descarga única de %1$s.</string>
<string name="tracking_pack_download">Descargar</string>
<string name="tracking_pack_retry">Reintentar</string>
<string name="tracking_pack_downloading">Descargando el seguimiento de manos… %1$d%%</string>
<string name="tracking_pack_failed">No se pudo descargar el seguimiento de manos. Revisa tu conexión e inténtalo de nuevo.</string>
<string name="hand_camera_check_title">Posición de la cámara</string>
<string name="hand_camera_how_rear">Coloca el dispositivo de pie a 1,5-2 metros de distancia, a la altura del pecho, con la cámara trasera hacia ti. Luego entra en el encuadre con las manos extendidas.</string>
<string name="hand_camera_how_front">Coloca el dispositivo de pie a 1,5-2 metros de distancia, a la altura del pecho, con la pantalla hacia ti. Luego entra en el encuadre con las manos extendidas.</string>
@@ -1188,7 +1256,6 @@
<string name="games_never_played">Nunca jugado</string>
<string name="games_runtime_busy_percent">Runtime ocupado · %1$d%%</string>
<string name="games_runtime_busy">Runtime ocupado</string>
<string name="games_runtime_first_play">El runtime se instala al jugar</string>
<string name="games_runtime_update">Actualización del runtime disponible</string>
<string name="games_runtime_ready">● Runtime listo</string>
<string name="games_internal">Almacenamiento interno</string>
@@ -1205,6 +1272,9 @@
<string name="gpu_hide_other">Ocultar controladores de otras GPU</string>
<string name="gpu_show_other">Mostrar controladores de otras GPU</string>
<string name="gpu_advanced">Avanzado</string>
<string name="gpu_ubwc_title">Compatibilidad con UBWC</string>
<string name="gpu_ubwc_hint">Prueba Activado o Desactivado si Steam o Android muestran franjas o parpadeos. Se aplica a ambos controladores después de reiniciar DroidDeck.</string>
<string name="gpu_ubwc_restart">Reinicia DroidDeck para aplicarlo.</string>
<string name="gpu_set_with_display">Se define junto con el controlador de pantalla: %1$s incluye ambos.</string>
<string name="gpu_set_with_runtime">Se define junto con el controlador de runtime: %1$s incluye ambos.</string>
<string name="gpu_runtime_hint">Lo usan los juegos y el escritorio.</string>
@@ -1313,10 +1383,15 @@
<string name="pip_auto">Entrar en PiP automáticamente</string>
<string name="unfolded_controls">Controles con la pantalla desplegada</string>
<string name="unfolded_controls_hint">Desplegado, el juego queda encima de los trackpads y los agarres traseros de Steam Deck. Plegado, el juego ocupa toda la pantalla.</string>
<string name="unfolded_controls_with_controller">Mantenerlos con un control</string>
<string name="unfolded_controls_with_controller_hint">Muestra también estos controles táctiles mientras haya un control conectado.</string>
<string name="pip_suspended">Suspendida</string>
<string name="pip_not_ready">Imagen en imagen estará disponible cuando la sesión esté lista.</string>
<string name="pip_permission">Permite imagen en imagen para DroidDeck en los ajustes de Android.</string>
<string name="pip_unavailable">Android no pudo abrir imagen en imagen.</string>
<string name="game_more">Más</string>
<string name="game_edit_art">Editar imágenes</string>
<string name="stores_in_steam_label">En Steam</string>
<string name="game_shortcut">Acceso directo</string>
<string name="game_shortcut_add">Agregar a la pantalla de inicio</string>
<string name="game_shortcut_choose">Elegir juego</string>
@@ -1339,6 +1414,10 @@
<string name="game_frontend_files">Archivos para frontends</string>
<string name="main_wait_runtime">Espera a que termine la operación del runtime</string>
<string name="main_wait_proton_install">Espera a que termine la instalación de la herramienta de compatibilidad</string>
<string name="load_compat_title">Preparando las herramientas de compatibilidad</string>
<string name="load_compat_wait">Esperando a que termine la configuración de compatibilidad</string>
<string name="load_compat_hint">Tu sesión se iniciará cuando termine la configuración.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">Espera a que termine la instalación de la app de escritorio</string>
<string name="main_wait_install_game">Espera a que termine la instalación antes de iniciar un juego</string>
<string name="main_saves_close_session">Cierra primero la sesión de Steam para que el juego no guarde encima de lo importado</string>
@@ -1379,6 +1458,9 @@
<string name="main_install_anyway">Instalar de todos modos</string>
<string name="main_remove_runtime_title">Eliminar el runtime de Linux</string>
<string name="main_remove_runtime_text">Esto elimina el runtime, el cliente de Steam que contiene y todos los juegos instalados en él.</string>
<string name="runtime_actions_title">Runtime de Linux</string>
<string name="runtime_actions_text">Reparar reinstala los archivos del sistema del runtime y conserva Steam, tus juegos y tus ajustes. Los extras, como el escritorio, se vuelven a instalar la próxima vez que los uses. Eliminar borra todo.</string>
<string name="runtime_repair">Reparar el runtime</string>
<string name="main_applied">Aplicado: %1$s</string>
<string name="android_app_open_failed_primary">No se pudo abrir %1$s en la pantalla principal</string>
<string name="android_app_open_failed_on">No se pudo abrir %1$s en %2$s</string>
@@ -1507,6 +1589,12 @@
<string name="session_runtime_catalog_unreachable">No se pudo acceder al catálogo del runtime. Revisa la conexión y vuelve a presionar Jugar.</string>
<string name="session_runtime_install_failed">El runtime de Linux no se instaló. Revisa el runtime en Configuración y vuelve a presionar Jugar.</string>
<string name="session_desktop_install_failed">El escritorio no se instaló (%1$s). Revisa la conexión y presiona Escritorio de nuevo.</string>
<string name="session_package_resume_failed">No se pudo terminar una instalación interrumpida (%1$s). Revisa la conexión y el espacio, e inténtalo de nuevo.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="one">El runtime de Linux está dañado: %1$d enlace de biblioteca apunta a un archivo que falta (%2$s), normalmente tras interrumpirse una instalación. Reparar conserva tus juegos y ajustes.</item>
<item quantity="many">El runtime de Linux está dañado: %1$d enlaces de biblioteca apuntan a archivos que faltan (%2$s y otros), normalmente tras interrumpirse una instalación. Reparar conserva tus juegos y ajustes.</item>
<item quantity="other">El runtime de Linux está dañado: %1$d enlaces de biblioteca apuntan a archivos que faltan (%2$s y otros), normalmente tras interrumpirse una instalación. Reparar conserva tus juegos y ajustes.</item>
</plurals>
<string name="session_ended_named">%1$s se detuvo inesperadamente. Comparte los registros en un informe de error o inténtalo de nuevo.</string>
<string name="session_ended_program">El programa se detuvo inesperadamente. Comparte los registros en un informe de error o inténtalo de nuevo.</string>
<string name="session_ended_desktop">El escritorio se detuvo inesperadamente. Comparte los registros en un informe de error o inténtalo de nuevo.</string>
@@ -1521,6 +1609,14 @@
<string name="mode_decky_plugins_hint">Instala un ZIP de plugin para la próxima sesión de Steam.</string>
<string name="mode_decky_plugin_downloading">Descargando…</string>
<string name="mode_decky_plugin_install_zip">Instalar desde ZIP</string>
<string name="decky_zip_warning_title">Instalación de plugin de terceros</string>
<string name="decky_zip_warning_text">El equipo de Decky Loader no ha revisado este plugin. Puede contener malware, como software para robar tu cuenta de Steam o dañar tu dispositivo. Al instalar este plugin, aceptas que asumes todos los riesgos para tu dispositivo.</string>
<string name="decky_zip_warning_continue">Continuar</string>
<plurals name="decky_zip_warning_wait">
<item quantity="one">Espera %1$d segundo</item>
<item quantity="many">Espera %1$d segundos</item>
<item quantity="other">Espera %1$d segundos</item>
</plurals>
<string name="store_cat_games">Juegos</string>
<string name="store_cat_audio_video">Audio y video</string>
<string name="store_cat_graphics">Gráficos</string>
@@ -1687,6 +1783,8 @@
<string name="fm_accept">Aceptar</string>
<string name="fm_decline">Rechazar</string>
<string name="fm_drive_not_readable">%1$s está montado, pero ahora mismo no se puede leer</string>
<string name="fm_drive_access_title">Permitir acceso a %1$s</string>
<string name="fm_drive_access_text">Android deja que DroidDeck vea esta unidad, pero no que la lea. Activa Acceso a todos los archivos para DroidDeck y vuelve.</string>
<string name="fm_list_view">Vista de lista</string>
<string name="fm_grid_view">Vista de cuadrícula</string>
<string name="fm_search">Buscar</string>
@@ -1787,6 +1885,7 @@
<string name="flatpakmgr_not_ready">Configura Flatpak primero</string>
<string name="flatpakmgr_starting">Iniciando</string>
<string name="flatpakmgr_exit_status">Flatpak terminó con el código %1$d</string>
<string name="flatpakmgr_wrong_arch">%1$s está compilado para %2$s, que DroidDeck no puede ejecutar. Aquí las apps Flatpak necesitan una versión para ARM64 o x86_64.</string>
<string name="flatpakmgr_installing">Instalando %1$s</string>
<string name="flatpakmgr_updating">Actualizando %1$s</string>
<string name="flatpakmgr_removing">Quitando %1$s</string>
@@ -1876,6 +1975,7 @@
<string name="adbpair_applying">Aplicando el ajuste…</string>
<string name="adbpair_command_failed">Falló el comando de la Depuración inalámbrica</string>
<string name="adbpair_channel_name">Configuración de la Depuración inalámbrica</string>
<string name="adbpair_progress_channel_name">Progreso de la configuración de la Depuración inalámbrica</string>
<string name="adbpair_channel_description">Pide el código de vinculación de la Depuración inalámbrica mientras Ajustes está abierto</string>
<string name="adbpair_title_pair">Vincular Depuración inalámbrica</string>
<string name="adbpair_waiting_text">Activa la Depuración inalámbrica y toca “Vincular dispositivo con código de vinculación”.</string>
@@ -1977,6 +2077,7 @@
<string name="gpuinfo_not_adreno">La GPU no es Adreno</string>
<string name="gpuinfo_supported">Compatible</string>
<string name="gpuinfo_experimental">Experimental: sus controladores son versiones de prueba</string>
<string name="gpuinfo_a850_experimental">Compatibilidad experimental con Adreno 850: requiere controladores experimentales de pantalla y de juegos compatibles; no verificada en este dispositivo</string>
<string name="gpuinfo_below_tested">Por debajo del hardware probado (Adreno 725 y posteriores): puede que no funcione</string>
<string name="gpuinfo_unsupported">No compatible: DroidDeck necesita una GPU Adreno (Snapdragon)</string>
<string name="turnip_rate_limited">Se alcanzó el límite de solicitudes de GitHub - inténtalo más tarde</string>
@@ -2139,6 +2240,13 @@
<string name="stores_resume">Reanudar</string>
<string name="stores_refresh">Actualizar</string>
<string name="stores_sort">Ordenar</string>
<string name="setup_rail_labels">Etiquetas de la barra lateral</string>
<string name="setup_rail_labels_hint">Muestra los nombres debajo de los íconos de la barra lateral. Desactívalo para una barra lateral más estrecha.</string>
<string name="library_display">Vista</string>
<string name="library_display_larger">Tarjetas más grandes</string>
<string name="library_display_smaller">Tarjetas más pequeñas</string>
<string name="library_display_title">Mostrar título</string>
<string name="library_display_size">Mostrar tamaño</string>
<string name="stores_sort_last_played">Jugados recientemente</string>
<string name="stores_sort_recently_installed">Instalados recientemente</string>
<string name="stores_sort_title_asc">Título A–Z</string>
@@ -2157,6 +2265,20 @@
<string name="epic_eos">Inicio de sesión de Epic (EOS)</string>
<string name="epic_offline">Iniciar sin conexión</string>
<string name="epic_resolve">Solucionar el inicio de sesión de Epic</string>
<string name="epic_client_version">Versión %1$s</string>
<string name="epic_client_no_runtime">Instala primero el runtime de Linux</string>
<string name="epic_client_checking">Buscando la última versión…</string>
<string name="epic_client_unpacking">Descomprimiendo…</string>
<string name="epic_client_unreachable">El servidor de descargas no respondió</string>
<string name="epic_client_needs_fex">Epic Games Launcher necesita FEX, que descarga Steam. Vuelve a abrir el launcher cuando Steam se haya iniciado.</string>
<string name="epic_client_download_failed">Falló la descarga: %1$s</string>
<string name="epic_client_unpack_failed">No se pudo descomprimir el launcher: %1$s</string>
<string name="epic_client_sign_in_failed">Epic Games Launcher no aceptó el inicio de sesión. Vuelve a iniciarlo desde el launcher.</string>
<string name="epic_client_uninstall_body">Quita el launcher y libera su espacio. Tus juegos de Epic siguen instalados y funcionando, y su inicio de sesión se conserva para cuando lo vuelvas a instalar.</string>
<string name="epic_client_uninstall_stops">Primero se cierra la sesión en curso.</string>
<string name="epic_client_uninstalled">Epic Games Launcher desinstalado</string>
<string name="epic_client_uninstall_failed">No se pudieron quitar algunos archivos del launcher. Inténtalo de nuevo.</string>
<string name="epic_client_uninstalling">Espera a que Epic Games Launcher termine de desinstalarse</string>
<string name="store_cloud_saves">Partidas en la nube</string>
<string name="cloud_upload">Subir a la nube</string>
<string name="cloud_download">Descargar de la nube</string>
@@ -2259,6 +2381,9 @@
<string name="stores_download_manager">Administrador de descargas</string>
<string name="stores_parallel">Descargas simultáneas</string>
<string name="stores_install_where">Instalar en</string>
<string name="stores_install_language">Idioma del juego</string>
<string name="stores_install_language_hint">GOG y Epic instalan este idioma. Sistema sigue el idioma de la app.</string>
<string name="stores_install_language_system">Sistema</string>
<string name="stores_install_title">Instalar %1$s:</string>
<string name="stores_target_internal">Interno</string>
<string name="stores_target_free">%1$s libres</string>
@@ -2297,6 +2422,9 @@
<string name="edit_target">Destino</string>
<string name="edit_start_in">Iniciar en</string>
<string name="edit_launch_options">Opciones de lanzamiento</string>
<string name="edit_launch_options_steam_hint">Se comparten con las Propiedades de Steam: un cambio en cualquiera de los dos se ve en ambos.</string>
<string name="edit_launch_options_not_saved">No se pudieron guardar las opciones de lanzamiento en Steam. Inténtalo de nuevo.</string>
<string name="edit_launch_options_desktop">Es posible que Steam esté abierto en la sesión de escritorio. Cambia las opciones de lanzamiento en sus Propiedades o cierra primero la sesión.</string>
<string name="edit_artwork">Ilustraciones</string>
<string name="edit_other_exe">Otro exe…</string>
<string name="edit_remove">Quitar</string>
@@ -2426,6 +2554,7 @@
<string name="setup_download_source_custom">Prefijo propio</string>
<string name="setup_download_mirror">Sitio</string>
<string name="setup_download_prefix">Prefijo</string>
<string name="setup_download_proxy">Proxy HTTP</string>
<string name="flathub_eyebrow">APPS DE LINUX</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">Apps para el escritorio de Linux, que se abren desde Escritorio.</string>
@@ -2567,6 +2696,22 @@
<string name="glasses_tracking_flat_hint">Automático mantiene este juego 2D fijo en la vista. Elige Pantalla virtual en la sección Pantalla para usar el seguimiento de cabeza.</string>
<string name="glasses_tracking_sbs_hint">El seguimiento de cabeza se aplica a una pantalla virtual o a un juego de SteamVR en marcha.</string>
<string name="glasses_hardware">Dispositivo</string>
<string name="vr_controllers_tab">Controles</string>
<string name="vr_controllers_group">Controles de SteamVR</string>
<string name="vr_controllers_emulate">Control en RV</string>
<string name="vr_controllers_emulate_hint">Las dos manos de RV que imita tu control. Los cambios se aplican al instante, también mientras se ejecuta SteamVR. Los Joy-Con y las manos con seguimiento siguen controlando su lado.</string>
<string name="vr_controllers_off">Control normal</string>
<string name="vr_controllers_index">Controles de Valve Index</string>
<string name="vr_controllers_touch">Controles de Meta Quest 3</string>
<string name="vr_controllers_vive">Controles de HTC Vive</string>
<string name="vr_controllers_sticks">Al empezar, los sticks</string>
<string name="vr_controllers_sticks_hint">Presiona ambos sticks a la vez durante la RV para cambiar.</string>
<string name="vr_controllers_sticks_game">Te mueven en el juego</string>
<string name="vr_controllers_sticks_hands">Mueven las manos</string>
<string name="vr_controllers_buttons">Botones</string>
<string name="vr_controllers_buttons_stick">Los gatillos son gatillos, los bumpers agarran, A/B y X/Y son los botones frontales de cada mano, al presionar los sticks se pulsan los joysticks, Guide abre el menú de SteamVR. Arriba y abajo en la cruceta acercan o alejan las manos.</string>
<string name="vr_controllers_buttons_vive">Los sticks son trackpads; A/X o presionar un stick los pulsa. Los gatillos son gatillos, los bumpers agarran, Start y Select son menú, Guide abre el menú de SteamVR.</string>
<string name="vr_controllers_buttons_off">Sin manos de RV. Los juegos compatibles con control, y el menú de SteamVR, reciben tu control como siempre.</string>
<string name="glasses_brightness">Brillo</string>
<string name="glasses_volume">Volumen</string>
<string name="glasses_sunblock">Bloqueo solar</string>
@@ -2623,6 +2768,21 @@
<string name="storage_safe_hint">Runtimes sin usar, restos, registros antiguos</string>
<string name="storage_clean_up">Limpiar…</string>
<string name="storage_session_running">Detén la sesión para limpiar o eliminar algo. Los tamaños se siguen mostrando.</string>
<string name="storage_default_group">Ubicación de instalación</string>
<string name="storage_default_title">Almacenamiento predeterminado</string>
<string name="storage_default_hint">Las nuevas instalaciones de las tiendas van a la ubicación seleccionada. Los juegos existentes se quedan donde están. Las bibliotecas de Steam conservan su propio ajuste.</string>
<string name="storage_default_ask">Preguntar siempre</string>
<string name="storage_default_ask_detail">Elige un destino para cada instalación</string>
<string name="storage_default_internal">Almacenamiento interno</string>
<string name="storage_default_external">Almacenamiento externo</string>
<string name="storage_default_external_detail">%1$s · %2$s libres</string>
<string name="storage_default_external_missing">No conectado</string>
<string name="storage_default_folder">Carpeta · %1$s</string>
<string name="storage_default_folder_free">%1$s libres</string>
<string name="storage_default_folder_missing">No conectada</string>
<string name="storage_default_choose_folder">Elegir carpeta…</string>
<string name="storage_default_choose_folder_detail">Usa cualquier carpeta de una tarjeta SD o unidad USB</string>
<string name="storage_default_note">Los juegos se guardan en una carpeta Games dentro de la ubicación seleccionada. Los juegos existentes no se mueven.</string>
<string name="storage_where">Dónde va</string>
<string name="storage_games">Juegos de Steam</string>
<string name="storage_game_data">Datos de juegos</string>
@@ -2751,6 +2911,9 @@
<string name="storage_data_installed">Juegos instalados</string>
<string name="storage_data_parts">Prefijo %1$s · shaders %2$s · taller %3$s</string>
<string name="storage_clear_shaders">Borrar shaders</string>
<string name="storage_reset_prefix">Restablecer prefijo</string>
<string name="storage_reset_prefix_title">¿Restablecer el prefijo de %1$s?</string>
<string name="storage_reset_prefix_confirm">Borra su prefijo de Wine (%1$s) en %2$s y lo vuelve a crear en el próximo inicio. Se pierden las partidas, los ajustes y los redistribuibles instalados dentro; las partidas de Steam Cloud se conservan en tu cuenta.</string>
<string name="storage_data_leftovers">Juegos desinstalados</string>
<string name="storage_steam_app">App de Steam %1$d</string>
<string name="storage_leftover_unsure_detail">Su prefijo aún contiene archivos, que pueden incluir partidas guardadas locales</string>
@@ -3088,6 +3251,10 @@
<string name="spatial_saved_views_hint">Las vistas guardadas se pueden recalcular. Inicie una nueva calibración para capturar en el sistema de coordenadas de seguimiento actual.</string>
<string name="spatial_model_checksum_error">La suma de comprobación del modelo de mano no coincide</string>
<string name="spatial_opencv_load_error">OpenCV no se pudo cargar</string>
<string name="session_end_steam_sigill">Steam se detuvo por una instrucción ilegal (SIGILL). Puede ser un problema de compatibilidad con instrucciones de la CPU o un fallo del cliente. Comparte los registros con los datos de tu dispositivo.</string>
<string name="session_end_steam_try_x64">Puedes probar Ajustes de Steam → Cliente de Steam → x86-64 (experimental). Requiere una descarga adicional y puede ir más lento.</string>
<string name="session_end_vulkan_device">El controlador gráfico de Linux no encontró un dispositivo Vulkan utilizable. Comprueba que el controlador de GPU de Linux seleccionado sea compatible con esta GPU.</string>
<string name="session_end_gpu_unsupported">Esta sesión no puede iniciarse porque esta GPU no tiene un controlador Vulkan de Linux compatible en la configuración actual. Los controladores Turnip de Adreno no pueden habilitar la compatibilidad con GPU MediaTek/Mali.</string>
<string name="setup_group_memory">Memoria</string>
<string name="setup_clear_cached">Cerrar apps en caché antes de una sesión</string>
<string name="setup_clear_cached_hint">Al iniciar una sesión, DroidDeck cierra las apps que Android mantiene en segundo plano para que el juego tenga más memoria. La Depuración inalámbrica debe estar activada.</string>
@@ -3111,6 +3278,12 @@
<string name="epic_client_open">Abrir</string>
<string name="epic_client_install">Instalar</string>
<string name="game_tab_about">Acerca de</string>
<string name="game_resources_browser">Se abre en tu navegador</string>
<string name="game_resource_guides">Guías</string>
<string name="game_resource_protondb_detail">Informes de compatibilidad de Linux / Proton</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">Para juegos con partidas guardadas en tu cuenta de Steam</string>
<string name="game_resource_search">Búsqueda web</string>
<string name="game_tab_install">Instalar</string>
<string name="game_install_location">Ubicación</string>
<string name="game_install_folder">Carpeta</string>
@@ -3127,6 +3300,11 @@
<string name="stores_eyebrow_pass">disponible con %1$s</string>
<string name="stores_owned_in_library">Juegos comprados en Biblioteca</string>
<string name="library_filter_added">Agregados</string>
<string name="library_filter">Filtro</string>
<string name="library_filter_installed">Solo instalados</string>
<string name="library_filter_all_owned">Todos los juegos que tienes</string>
<string name="library_no_installed_matches">Ningún juego instalado coincide con estos filtros.</string>
<string name="library_browse_owned">Explorar los juegos que tienes</string>
<string name="game_tab_launch">Inicio</string>
<string name="game_tab_saves_cloud">Partidas y nube</string>
<string name="game_launch_shortcut">Acceso directo de Steam</string>
@@ -3144,6 +3322,28 @@
<string name="stores_itch_update_replaced">El desarrollador reemplazó esta versión por %1$s. ¿Actualizar a ella?</string>
<string name="xbox_filter_cloud">Nube</string>
<string name="stores_xbox_cloud_settings">Configuración de nube</string>
<string name="integration_title">Integración con Steam</string>
<string name="integration_count">%1$d de %2$d activadas</string>
<string name="integration_set_up">Configurar</string>
<string name="integration_location">Ubicación</string>
<string name="integration_app_info">Información de la app</string>
<string name="integration_wifi">Nombres de Wi-Fi</string>
<string name="integration_brightness">Brillo</string>
<string name="integration_home">DroidDeck como inicio</string>
<string name="integration_shortcuts">Atajos del botón de inicio</string>
<string name="integration_wifi_hint">Muestra las redes en Steam · requiere acceso a la ubicación, nunca se rastrea</string>
<string name="integration_wifi_on">Las redes se muestran en Steam</string>
<string name="integration_wifi_location_off">La ubicación está desactivada</string>
<string name="integration_wifi_denied">Ubicación denegada · permítela en Información de la app</string>
<string name="integration_brightness_hint">El control deslizante de Steam ajusta el brillo de la pantalla</string>
<string name="integration_home_hint">Inicio abre el menú de Steam en una sesión</string>
<string name="integration_shortcuts_hint">Mantén Inicio para las combinaciones de Steam Guide</string>
<string name="integration_shortcuts_needs_home">Requiere DroidDeck como inicio</string>
<string name="integration_shortcuts_maybe_restricted">¿Aparece en gris en Android? Información de la app → ⋮ → Permitir configuración restringida</string>
<string name="integration_shortcuts_restricted">Bloqueado por Android · Información de la app → ⋮ → Permitir configuración restringida</string>
<string name="integration_shortcuts_service">Botón de inicio de DroidDeck</string>
<string name="integration_shortcuts_service_description">Pasa las pulsaciones del botón de inicio a Steam Guide mientras una sesión de Steam está en primer plano y DroidDeck es la app de inicio predeterminada. No lee el contenido de la pantalla.</string>
<string name="integration_brightness_needed">Activa Brillo en Configuración → Integración con Steam</string>
<string name="apps_search_hint">Buscar apps</string>
<string name="apps_no_match">Ninguna app coincide con «%1$s».</string>
<string name="apps_add_widget">Agregar widget</string>
@@ -3193,9 +3393,35 @@
<string name="desktop_restore_done_body">Las apps que agregaste están instaladas otra vez.</string>
<string name="desktop_restore_failed_title">No se pudo restaurar parte del software</string>
<string name="desktop_restore_failed_body">Revisa ~/.cache/droiddeck/apt-restore.log y luego prueba sudo apt install en Konsole.</string>
<string name="gog_full_files">Las optimizaciones nativas no están disponibles. La descarga incluye archivos de reemplazo completos.</string>
<string name="gog_recover">Verificar el resultado del parche</string>
<string name="slow_usb_title">Conexión USB lenta</string>
<string name="slow_usb_cable">%1$s está conectado por %2$s (%3$s Mbps, unos %4$d MB/s), así que los juegos cargarán lento. Usa un cable USB 3 de 5 Gbps o más, prueba a voltear el conector USB-C o usa una unidad más rápida.</string>
<string name="slow_usb_port">%1$s está conectado por %2$s (%3$s Mbps, unos %4$d MB/s). El puerto USB de este dispositivo no admite más velocidad, así que los juegos cargarán lento. El almacenamiento interno o una microSD pueden ser más rápidos.</string>
<string name="slow_usb_never">No volver a mostrar</string>
<string name="slow_usb_dismiss">Descartar</string>
<string name="steam_import_title">¿Reiniciar Steam para agregar tus juegos?</string>
<string name="steam_import_body">Steam puede mostrar como instalados estos juegos que tienes: %1$s. Tiene que reiniciarse para mostrarlos. Reinicia ahora o se agregarán la próxima vez que Steam se inicie.</string>
<string name="steam_import_names_more">%1$s y %2$d más</string>
<string name="steam_import_now">Reiniciar ahora</string>
<string name="steam_import_later">Más tarde</string>
<string name="gog_maintenance">Administrar la instalación de GOG</string>
<string name="gog_check">Buscar actualizaciones</string>
<string name="gog_repair">Verificar/Reparar</string>
<string name="gog_patches">Parches sin conexión</string>
<string name="gog_refresh">Descargar el instalador sin conexión completo</string>
<string name="gog_update">Actualizar a %1$s</string>
<string name="gog_resume">Reanudar el mantenimiento de GOG</string>
<string name="gog_open_patch">Abrir el instalador del parche</string>
<string name="gog_patch_in_session">Termina o cancela el instalador del parche en la sesión de Linux.</string>
<string name="gog_patch_requirements">Elige un parche para tu versión instalada y tu idioma. Puede que no aparezcan todas las versiones de origen compatibles.</string>
<string name="gog_no_patches">GOG no tiene parches independientes de Windows para este juego.</string>
<string name="gog_managed_files">Los archivos del juego modificados pueden reemplazarse.</string>
<string name="gog_patch_installer_note">El instalador se abre en tu sesión de Linux.</string>
<string name="gog_download_label">Descarga</string>
<string name="gog_space_label">Espacio adicional</string>
<string name="gog_space_estimate_label">Espacio estimado</string>
<string name="gog_repair_action">Reparar archivos</string>
<string name="gog_refresh_action">Renovar la instalación</string>
<string name="gog_select_patch">Seleccionar</string>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Преки пътища с физически бутони</string>
<string name="shortcuts_dd_menu">Меню на DroidDeck</string>
<string name="shortcuts_capture">Задаване: %1$s</string>
<string name="shortcuts_press">Натиснете и отпуснете бутон. Назначението се запазва автоматично.</string>
<string name="shortcuts_release">Отпуснете бутона, за да продължите.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">Този бутон вече е зададен за: %1$s</string>
<string name="shortcuts_save">Преназначаване</string>
<string name="shortcuts_retry">Опитайте друг бутон</string>
<string name="shortcuts_limitations">Бутонът Начало и някои допълнителни бутони може да не са налични.</string>
</resources>
+205 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">Настройки на VKD3D за D3D12. nodxr изключва трасирането на лъчи; използвайте само за игра, която го изисква.</string>
<string name="game_env_proton_log">Задайте 1 за диагностичен дневник на Proton. Записването на дневник може да намали производителността и да използва място в хранилището.</string>
<string name="game_env_wined3d">Задайте 1, за да използвате WineD3D, базиран на OpenGL, вместо DXVK за тестване на съвместимост с D3D9–11.</string>
<string name="game_env_wined3d_renderer">Рендерер за DirectDraw, Direct3D 1-7 и игри, стартирани с WineD3D. Vulkan пропуска пътя OpenGL през Zink и е много по-бърз за стари игри с DirectDraw и Direct3D 7 на Adreno.</string>
<string name="game_env_dxvk_d3d8">Задайте 1, за да се изпълнява Direct3D 8 през DXVK вместо WineD3D. По-бързо в теста за Direct3D 8 на AIO Graphics Test на Adreno.</string>
<string name="game_env_no_ntsync">Задайте 1, за да изключите ntsync (droiddeck-ntsync или драйвер на ядрото) за тази игра; тогава се използва droiddeck-esync, ако има пакет, или droiddeck-fsync в противен случай.</string>
<string name="game_env_no_esync">Задайте 1, за да изключите droiddeck-esync за тази игра; вместо това се използва droiddeck-fsync, или droiddeck-ntsync, ако fsync също е изключен.</string>
<string name="game_env_no_fsync">Задайте 1, за да изключите droiddeck-fsync за тази игра; тогава се използва droiddeck-esync, ако има пакет, или droiddeck-ntsync в противен случай.</string>
<string name="game_env_fsync_first">Задайте 1, за да стартирате тази игра с droiddeck-fsync, или 0, за да поставите droiddeck-esync на първо място, ако има пакет, подходящ за нейния Proton.</string>
<string name="game_env_xalia">Задайте 0, за да изключите помощника на Proton за навигация с контролер за тази игра.</string>
<string name="game_env_anticheat_offline">Включено по подразбиране. Стартира игра с Easy Anti-Cheat без античийта ѝ, когато играта поддържа офлайн игра. Изключете, за да стартирате през Easy Anti-Cheat както обикновено. Онлайн режимите, които изискват Easy Anti-Cheat, остават недостъпни.</string>
<string name="game_env_hud">Насложен слой на DXVK за D3D9–11. fps показва честотата на кадрите; незададено го скрива.</string>
<string name="game_env_dxvk_config">Настройки на DXVK, разделени с точка и запетая. По-новите версии използват dxvk.maxFrameRate за ограничаване на кадрите; за обикновена игра предпочитайте ограничителя на кадри на сесията.</string>
<string name="game_env_cores">CPU ядра за тази игра, например 0-4 или 0,2,4, вместо ядрата за игри на сесията. По-малко ядра означават по-ниска температура.</string>
<string name="game_env_vkd3d_limit">Ограничение на честотата на кадрите за D3D12. 0 изключва ограничението.</string>
<string name="game_env_glthread">Многонишковост на Mesa OpenGL. true може да помогне при игри с OpenGL, ограничени от процесора; тествайте за всяка игра.</string>
<string name="sync_backend_title">Синхронизация на Wine</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">FEX стартира x86 Linux програми на това ARM64 устройство. Автоматично го използва, когато програмата е компилирана за x86.</string>
<string name="app_fex_x86">%1$s през FEX</string>
<string name="app_fex_not_ready">Тази програма е компилирана за %1$s компютри и се стартира през FEX, който още не е настроен. Отворете Steam веднъж, докато сте влезли: DroidDeck ще изтегли FEX и необходимата Steam Linux Runtime, след което тя ще се отвори.</string>
<string name="session_proot_missing">proot на DroidDeck не можа да бъде изтеглен. Проверете връзката и опитайте пак. Сесията не беше стартирана, защото резервният proot е твърде бавен за игра.</string>
<string name="session_directaudio_missing">DirectAudio не можа да бъде изтеглен, затова звукът на игрите използва по-бавния път в тази сесия.</string>
<string name="session_end_program">Тази програма</string>
<string name="session_end_steam_download">Клиентът на Steam не можа да бъде изтеглен. Мрежата или VPN връзката ви може да блокира сървърите на Steam; проверете връзката и опитайте отново.</string>
<string name="session_end_steam_setup">Клиентът на Steam не можа да бъде настроен. Проверете връзката и свободното място, след което опитайте отново.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">Контролер Xbox 360</string>
<string name="mode_controller_note">Deck: бутон Quick Access и гироскоп. Steam Controller: същото, с усещане за захват на задните бутони. DualShock 4 и DualSense: гироскоп, а тракпадовете служат като тъчпад. Xbox 360: отворете Quick Access с Guide+A.</string>
<string name="mode_back">Back</string>
<string name="back_native_qam_hint">Задръжте Back за 700 ms или задръжте Back и натиснете друг бутон за преки пътища на Steam.</string>
<string name="back_double_tap_window">Интервал за двойно докосване</string>
<string name="back_tap_ms">%1$d ms</string>
<string name="brightness_permission_title">Разрешаване на управлението на яркостта</string>
<string name="brightness_permission_text">Настройте управлението на яркостта в DroidDeck.</string>
<string name="back_menu_then_qam">Меню → QAM</string>
<string name="back_qam_then_menu">QAM → Меню</string>
<string name="mode_session">Сесия</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">Актуално · %1$s</string>
<string name="mode_decky_loader">Зареждач</string>
<string name="mode_decky_install_latest">Инсталиране на последната версия</string>
<string name="decky_channel">Канал за актуализации</string>
<string name="decky_channel_hint">Кои издания на Decky Loader да се инсталират. Собственият актуализатор на Decky използва същия канал.</string>
<string name="decky_channel_stable">Стабилен</string>
<string name="decky_channel_prerelease">Предварителен</string>
<string name="decky_channel_testing">Тестов</string>
<string name="decky_channel_failed">Каналът за актуализации на Decky не можа да бъде запазен</string>
<string name="mode_decky_on">Стартира заедно със Steam. Докато е включено, други приложения на това устройство може да могат да контролират Steam.</string>
<string name="mode_decky_off">Изключено. Портът за отдалечено дебъгване на Steam остава затворен.</string>
<string name="mode_decky_remove_title">Деинсталиране на Decky Loader?</string>
@@ -323,6 +340,10 @@
<string name="mode_client">Клиент</string>
<string name="mode_mangoapp">Насложен слой за производителност</string>
<string name="mode_mangoapp_hint">Изключете, ако игрите забиват или екранът става черен в режим Deck. Прилага се от следващата сесия.</string>
<string name="mode_return_after_game">Връщане в DroidDeck след игра</string>
<string name="mode_return_after_game_hint">Когато игра, стартирана от DroidDeck или друг стартер, се затвори, Steam излиза правилно (първо се довършват облачните записи) и се връщате там. Изключено: оставате в Steam.</string>
<string name="mode_shader_precache">Предварително кеширане на шейдъри</string>
<string name="mode_shader_precache_hint">Steam изтегля предварително изградени шейдъри за игрите ви и ги обработва във фонов режим, така че игрите засичат по-малко. Изключено пести данни, място и батерия; вместо това игрите изграждат шейдърите по време на игра. Същата настройка като „Изтегляния &gt; Предварително кеширане на шейдъри“ в Steam. Прилага се от следващата сесия.</string>
<string name="mode_steam_repair">Поправка на клиента на Steam</string>
<string name="mode_steam_repair_hint">Изтегля отново клиента на Steam при следващото стартиране на Steam. Използвайте, ако Steam остава на екрана за зареждане. Игрите, влизането в профила и настройките се запазват.</string>
<string name="mode_steam_repair_queued">Клиентът на Steam ще бъде изтеглен отново при следващото стартиране на Steam.</string>
@@ -390,6 +411,8 @@
<string name="mode_directaudio_hint">Пропуска PulseAudio за по-ниска латентност.</string>
<string name="mode_mic">Микрофон</string>
<string name="mode_mic_hint">За гласов чат.</string>
<string name="drawer_mic_hint">Включване или изключване на записа от микрофона за тази сесия.</string>
<string name="drawer_mic_failed">Микрофонът не можа да бъде променен. Опитайте пак.</string>
<string name="mode_network">Мрежа</string>
<string name="mode_wifi_discovery">Откриване на Wi-Fi</string>
<string name="mode_wifi_discovery_hint">Показва имената на Wi-Fi и близките мрежи в Steam.</string>
@@ -551,6 +574,16 @@
<string name="perf_gsrealtime">gamescope: GPU опашка в реално време</string>
<string name="perf_gsrealtime_hint">Дава приоритет на GPU работата на компоситора. Може да изглади темпото на кадрите с известна цена за игрите.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">Памет</string>
<string name="perf_cap_off">Изкл.</string>
<string name="perf_cap_auto">По подразбиране за драйвера</string>
<string name="perf_zram_client">Компресиране на Steam, докато върви игра</string>
<string name="perf_zram_client_hint">20 s след стартиране на игра клиентът на Steam се компресира в zRAM, за да остави повече памет на играта, и се прочита обратно, когато играта се затвори. Изключете, ако сесията се затваря малко след стартиране на игри. Ограничение на RAM по-горе пак компресира Steam, когато сесията го надхвърли.</string>
<string name="perf_ram_cap">Ограничение на RAM</string>
<string name="perf_ram_cap_hint">Прилага се, докато клиентът на Steam работи, в режим Steam или от работния плот. Когато сесията използва повече от това, Steam и след това другите поддържани процеси на сесията се компресират в zRAM. Меко ограничение: нищо не се затваря, но игрите може да засичат, докато страниците се връщат.</string>
<string name="perf_ram_cap_unavailable">Изисква zRAM swap, който това устройство няма.</string>
<string name="perf_vram_cap">Ограничение на VRAM</string>
<string name="perf_vram_cap_hint">Видеопаметта, която DXVK отчита на игрите с Direct3D, за да планират текстури за по-малко. Собствените настройки на DXVK на играта имат предимство. Прилага се от следващата сесия.</string>
<string name="perf_gpuclock">Задръжте GPU на максималната му честота</string>
<string name="perf_gpuclock_hint">Само за Adreno. По-малко засечки, по-голямо използване на батерията и повече топлина.</string>
<string name="perf_fixes">Корекции на сесията</string>
@@ -569,6 +602,8 @@
<string name="perf_fastpath">Бърз път на proot</string>
<string name="perf_fastpath_needs_seccomp">Изисква филтъра seccomp на proot.</string>
<string name="perf_fastpath_hint">По-бързо търсене на файлове и по-малко заекване. Изключете, ако програма не може да намери файловете си.</string>
<string name="perf_cursor_composite">Изобразяване на курсора в gamescope</string>
<string name="perf_cursor_composite_hint">Gamescope сам рисува показалеца, вместо да го предава на Android. Включете за курсор, управляван с контролер. Изключено е по-бързо на телефон. Прилага се от следващата сесия.</string>
<string name="perf_identity">Идентичност на сесията</string>
<string name="perf_hostname">Име на хоста</string>
<string name="perf_hostname_hint">Името, което Steam вижда за това устройство. Оставено празно възстановява %1$s.</string>
@@ -583,6 +618,8 @@
<string name="driver_delete_plain">Файловете му се премахват от приложението.</string>
<string name="driver_delete_in_use">Файловете му се премахват. В употреба е, затова стандартният драйвер поема.</string>
<string name="drawer_page_display">Екран</string>
<string name="drawer_frame_limit">Ограничение на кадрите</string>
<string name="drawer_frame_limit_note">Ограничава тази игра. Екранът преминава към честота на опресняване, която се дели точно на ограничението, ако има такава; другите ограничения може да изглеждат неравномерни. Игрите в Steam използват Frame Limit на Steam в менюто Quick Access.</string>
<string name="drawer_page_effects">Ефекти</string>
<string name="drawer_page_controls">Контроли</string>
<string name="drawer_page_components">Компоненти</string>
@@ -664,7 +701,6 @@
<string name="hud_export_failed">Отчетът за HUD не можа да бъде записан.</string>
<string name="hud_reset">Нулиране на настройките на HUD</string>
<string name="hud_reset_button">Нулиране</string>
<string name="hud_credit">FusionHUD от The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Режим на мащабиране</string>
<string name="drawer_scaling_sharpness">Острота на мащабиране</string>
<string name="drawer_effects">Ефекти на екрана</string>
@@ -699,6 +735,8 @@
<string name="drawer_touch_auto">Автоматично (%1$s)</string>
<string name="drawer_keyboard">Клавиатура</string>
<string name="drawer_latency">Закъснение</string>
<string name="drawer_low_latency">Режим на ниска латентност</string>
<string name="drawer_low_latency_hint">Увеличава използването на CPU и батерията</string>
<string name="drawer_low_latency_controller">Контролер с ниско закъснение</string>
<string name="drawer_low_latency_controller_hint">Контролерът докладва при 1000 Hz вместо 250 Hz. Малко повече CPU.</string>
<string name="drawer_low_latency_touch">Докосване с ниско закъснение</string>
@@ -791,6 +829,10 @@
<string name="setup_session">Сесия</string>
<string name="setup_logs">Дневници на сесията</string>
<string name="setup_logs_hint">Запазват се след всяка сесия</string>
<string name="setup_game_debug_logs">Дневници за дебъгване на игри</string>
<string name="setup_game_debug_logs_hint">Включва диагностика на Proton, Wine и графиката при следващото стартиране на игра. Може да намали производителността и да заеме повече място.</string>
<string name="setup_game_debug_logs_restart">Рестартирайте тази сесия, за да запазите дневниците за дебъгване на игри</string>
<string name="setup_logging_update_failed">Записването в дневник не можа да бъде променено. Проверете превключвателя и опитайте пак.</string>
<string name="setup_agent_commands">Инструменти за отстраняване на грешки</string>
<string name="setup_latest_logs">Последни дневници на сесията</string>
<string name="setup_saved_logs">Запазени дневници на сесията</string>
@@ -823,6 +865,11 @@
<string name="setup_home_on">DroidDeck може да бъде приложението за начален екран</string>
<string name="setup_home_off">DroidDeck никога не се предлага като приложение за начален екран</string>
<string name="setup_orientation">Ориентация</string>
<string name="setup_launcher_orientation">Ориентация на стартера</string>
<string name="setup_launcher_orientation_auto">Следва завъртането на устройството</string>
<string name="setup_orientation_portrait">Вертикална</string>
<string name="setup_session_orientation">Ориентация на сесията</string>
<string name="setup_session_orientation_hint">Прилага се за Steam, игрите, работния плот и редактора на контролера. Предварително зададените резолюции се завъртат със сесията; персонализираните ширина и височина остават както са въведени.</string>
<string name="setup_orientation_auto">Автоматичен хоризонтален</string>
<string name="setup_orientation_landscape">Хоризонтална</string>
<string name="setup_orientation_reverse">Обърната хоризонтална</string>
@@ -987,6 +1034,14 @@
<string name="gate_step1">Отворете Настройки → Опции за програмисти → Безжично отстраняване на грешки и го включете</string>
<string name="gate_step2">Докоснете „Сдвояване на устройство с код за сдвояване“</string>
<string name="gate_step3">Въведете кода в известието на DroidDeck</string>
<string name="pairguide_build_number">В „Всичко за телефона“ докоснете „Номер на версията“ 7 пъти</string>
<string name="pairguide_wireless">Включете „Безжично отстраняване на грешки“</string>
<string name="pairguide_pair">Отворете „Безжично отстраняване на грешки“, след което докоснете „Сдвояване на устройството с код за сдвояване“</string>
<string name="pairguide_child_process">Включете „Деактивиране на ограниченията за дъщерните процеси“</string>
<string name="pairguide_row_child_process">Деактивиране на ограниченията за дъщерните процеси</string>
<string name="pairguide_row_build_number">Номер на версията</string>
<string name="pairguide_row_wireless">Безжично отстраняване на грешки</string>
<string name="pairguide_row_pair">Сдвояване на устройството с код за сдвояване</string>
<string name="gate_waiting">Изчакване на изскачащия прозорец за сдвояване…</string>
<string name="gate_code_needed">Изскачащият прозорец е намерен. Въведете кода му в известието.</string>
<string name="gate_status">Състояние</string>
@@ -1125,7 +1180,6 @@
<string name="games_never_played">Никога не е играна</string>
<string name="games_runtime_busy_percent">Средата за изпълнение е заета · %1$d%%</string>
<string name="games_runtime_busy">Средата за изпълнение е заета</string>
<string name="games_runtime_first_play">Средата за изпълнение се инсталира при първото Play</string>
<string name="games_runtime_update">Налична актуализация на средата за изпълнение</string>
<string name="games_runtime_ready">● Средата за изпълнение е готова</string>
<string name="games_internal">Вътрешна памет</string>
@@ -1142,6 +1196,9 @@
<string name="gpu_hide_other">Скриване на драйверите за други GPU</string>
<string name="gpu_show_other">Показване на драйверите за други GPU</string>
<string name="gpu_advanced">Разширени</string>
<string name="gpu_ubwc_title">Съвместимост с UBWC</string>
<string name="gpu_ubwc_hint">Опитайте Вкл. или Изкл., ако Steam или Android показва ивици или трептене. Прилага се и за двата драйвера след рестартиране на DroidDeck.</string>
<string name="gpu_ubwc_restart">Рестартирайте DroidDeck, за да се приложи.</string>
<string name="gpu_set_with_display">Задава се заедно с драйвера за дисплея: %1$s включва и двете.</string>
<string name="gpu_set_with_runtime">Задава се заедно с драйвера за изпълнение: %1$s включва и двете.</string>
<string name="gpu_runtime_hint">Използва се от игрите и работния плот.</string>
@@ -1250,10 +1307,15 @@
<string name="pip_auto">Автоматично влизане в „Картина в картината“</string>
<string name="unfolded_controls">Контроли на разгънатия екран</string>
<string name="unfolded_controls_hint">Разгънат, играта стои над тракпадите и задните захвати на Steam Deck. Сгънат, играта е на цял екран.</string>
<string name="unfolded_controls_with_controller">Запазване при контролер</string>
<string name="unfolded_controls_with_controller_hint">Показване на тези контроли с докосване и когато има свързан контролер.</string>
<string name="pip_suspended">Прекъсната</string>
<string name="pip_not_ready">Картина в картината е достъпна само когато сесията е готова.</string>
<string name="pip_permission">Разреши картина в картината за DroidDeck в настройките на Android.</string>
<string name="pip_unavailable">Android не можа да отвори картина в картината.</string>
<string name="game_more">Още</string>
<string name="game_edit_art">Редактиране на изображенията</string>
<string name="stores_in_steam_label">В Steam</string>
<string name="game_shortcut">Пряк път</string>
<string name="game_shortcut_add">Добавяне към началния екран</string>
<string name="game_shortcut_choose">Избор на игра</string>
@@ -1277,6 +1339,10 @@
<string name="main_wait_runtime">Изчакай операцията със средата да приключи</string>
<string name="main_wait_proton_install">Изчакай инсталирането на инструмента за съвместимост да приключи</string>
<string name="load_compat_title">Подготовка на инструментите за съвместимост</string>
<string name="load_compat_wait">Изчакване настройката за съвместимост да завърши</string>
<string name="load_compat_hint">Сесията ви ще започне, когато настройката завърши.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">Изчакай инсталирането на работния плот да приключи</string>
<string name="main_wait_install_game">Изчакай инсталирането да приключи, преди да пуснеш игра.</string>
<string name="main_saves_close_session">Затвори сесията на Steam, за да играта не презапише импортираните файлове.</string>
@@ -1313,6 +1379,9 @@
<string name="main_install_anyway">Инсталиране въпреки това</string>
<string name="main_remove_runtime_title">Премахване на средата на Linux</string>
<string name="main_remove_runtime_text">Това изтрива средата, клиента на Steam в нея и всяка инсталирана в нея игра.</string>
<string name="runtime_actions_title">Среда на Linux</string>
<string name="runtime_actions_text">Поправката преинсталира системните файлове на средата и запазва Steam, игрите и настройките ви. Допълнения като работния плот се инсталират отново, когато ги използвате следващия път. Премахването изтрива всичко.</string>
<string name="runtime_repair">Поправка на средата</string>
<string name="main_applied">Приложено: %1$s</string>
<string name="android_app_open_failed_primary">%1$s не можа да се отвори на основния екран</string>
<string name="android_app_open_failed_on">%1$s не можа да се отвори на %2$s</string>
@@ -1442,6 +1511,11 @@
<string name="session_runtime_catalog_unreachable">Каталогът на средата не можа да бъде достигнат. Провери връзката и натисни „Пускане“ отново.</string>
<string name="session_runtime_install_failed">Средата на Linux не се инсталира. Провери средата в „Настройка“ и натисни „Пускане“ отново.</string>
<string name="session_desktop_install_failed">Работният плот не се инсталира (%1$s). Провери връзката и натисни „Desktop“ отново.</string>
<string name="session_package_resume_failed">Прекъсната инсталация не можа да бъде довършена (%1$s). Проверете връзката и мястото, след което опитайте пак.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="one">Средата на Linux е повредена: %1$d връзка към библиотека сочи към липсващ файл (%2$s), обикновено след прекъсната инсталация. Поправката запазва игрите и настройките ви.</item>
<item quantity="other">Средата на Linux е повредена: %1$d връзки към библиотеки сочат към липсващи файлове (%2$s и други), обикновено след прекъсната инсталация. Поправката запазва игрите и настройките ви.</item>
</plurals>
<string name="session_ended_named">%1$s спря неочаквано. Сподели логовете в отчет за грешка или опитай отново.</string>
<string name="session_ended_program">Програмата спря неочаквано. Сподели логовете в отчет за грешка или опитай отново.</string>
<string name="session_ended_desktop">Работният плот спря неочаквано. Сподели логовете в отчет за грешка или опитай отново.</string>
@@ -1456,6 +1530,13 @@
<string name="mode_decky_plugins_hint">Инсталирай ZIP с плъгин за следващата сесия на Steam.</string>
<string name="mode_decky_plugin_downloading">Изтегляне…</string>
<string name="mode_decky_plugin_install_zip">Инсталиране от ZIP</string>
<string name="decky_zip_warning_title">Инсталиране на плъгин от трета страна</string>
<string name="decky_zip_warning_text">Екипът на Decky Loader не е прегледал този плъгин. Той може да съдържа зловреден софтуер, например за кражба на акаунта ви в Steam или за увреждане на устройството ви. С инсталирането на този плъгин приемате, че поемате всички рискове за устройството си.</string>
<string name="decky_zip_warning_continue">Продължи</string>
<plurals name="decky_zip_warning_wait">
<item quantity="one">Изчакайте %1$d секунда</item>
<item quantity="other">Изчакайте %1$d секунди</item>
</plurals>
<string name="store_cat_games">Игри</string>
<string name="store_cat_audio_video">Аудио и видео</string>
<string name="store_cat_graphics">Графика</string>
@@ -1617,6 +1698,8 @@
<string name="fm_accept">Приемам</string>
<string name="fm_decline">Отказвам</string>
<string name="fm_drive_not_readable">%1$s е монтирано, но в момента не може да се прочете</string>
<string name="fm_drive_access_title">Разрешаване на достъп до %1$s</string>
<string name="fm_drive_access_text">Android позволява на DroidDeck да вижда това устройство, но не и да го чете. Включете Достъп до всички файлове за DroidDeck и се върнете.</string>
<string name="fm_list_view">Изглед като списък</string>
<string name="fm_grid_view">Изглед като мрежа</string>
<string name="fm_search">Търсене</string>
@@ -1718,6 +1801,7 @@
<string name="flatpakmgr_not_ready">Настрой Flatpak първо</string>
<string name="flatpakmgr_starting">Стартиране</string>
<string name="flatpakmgr_exit_status">Flatpak приключи със код %1$d</string>
<string name="flatpakmgr_wrong_arch">%1$s е създадено за %2$s, което DroidDeck не може да изпълнява. Приложенията Flatpak тук трябва да са за ARM64 или x86_64.</string>
<string name="flatpakmgr_installing">Инсталиране на %1$s</string>
<string name="flatpakmgr_updating">Актуализиране на %1$s</string>
<string name="flatpakmgr_removing">Премахване на %1$s</string>
@@ -1811,6 +1895,7 @@
<string name="adbpair_applying">Прилагане на настройката…</string>
<string name="adbpair_command_failed">Командата за безжично отстраняване на грешки се провали</string>
<string name="adbpair_channel_name">Настройка на безжично отстраняване на грешки</string>
<string name="adbpair_progress_channel_name">Напредък на настройката на безжичното отстраняване на грешки</string>
<string name="adbpair_channel_description">Пита за кода за чифтосване за безжично отстраняване на грешки, докато Настройки е отворено</string>
<string name="adbpair_title_pair">Чифтосване на безжично отстраняване на грешки</string>
<string name="adbpair_waiting_text">Включи безжичното отстраняване на грешки, после докосни „Чифтосване на устройство с код за чифтосване“.</string>
@@ -1919,6 +2004,7 @@
<string name="gpuinfo_not_adreno">Не е GPU Adreno</string>
<string name="gpuinfo_supported">Поддържан</string>
<string name="gpuinfo_experimental">Експериментален: драйверите му са тестови версии</string>
<string name="gpuinfo_a850_experimental">Експериментална поддръжка на Adreno 850: изисква съвместими експериментални драйвери за дисплея и игрите; не е проверена на това устройство</string>
<string name="gpuinfo_below_tested">Под тестваните устройства (Adreno 725 и по-нови): може да не работи</string>
<string name="gpuinfo_unsupported">Не се поддържа: DroidDeck изисква GPU Adreno (Snapdragon)</string>
@@ -2121,6 +2207,13 @@
<string name="stores_resume">Продължи</string>
<string name="stores_refresh">Обнови</string>
<string name="stores_sort">Сортиране</string>
<string name="setup_rail_labels">Етикети в страничната лента</string>
<string name="setup_rail_labels_hint">Показване на имена под иконите в страничната лента. Изключете за по-тясна странична лента.</string>
<string name="library_display">Изглед</string>
<string name="library_display_larger">По-големи карти</string>
<string name="library_display_smaller">По-малки карти</string>
<string name="library_display_title">Показване на заглавието</string>
<string name="library_display_size">Показване на размера</string>
<string name="stores_sort_last_played">Играни наскоро</string>
<string name="stores_sort_recently_installed">Инсталирани наскоро</string>
<string name="stores_sort_title_asc">Заглавие А–Я</string>
@@ -2247,6 +2340,9 @@
<string name="stores_download_manager">Диспечер на изтеглянията</string>
<string name="stores_parallel">Изтегляния едновременно</string>
<string name="stores_install_where">Инсталирай в</string>
<string name="stores_install_language">Език на играта</string>
<string name="stores_install_language_hint">GOG и Epic инсталират на този език. „Системен“ следва езика на приложението.</string>
<string name="stores_install_language_system">Системен</string>
<string name="stores_install_title">Инсталация на %1$s:</string>
<string name="stores_target_internal">Вътрешна памет</string>
<string name="stores_target_free">%1$s свободни</string>
@@ -2285,6 +2381,9 @@
<string name="edit_target">Цел</string>
<string name="edit_start_in">Старт в</string>
<string name="edit_launch_options">Настройки за стартиране</string>
<string name="edit_launch_options_steam_hint">Общи са със „Свойства“ в Steam: промяна на едното място се вижда и на двете.</string>
<string name="edit_launch_options_not_saved">Настройките за стартиране не можаха да бъдат запазени в Steam. Опитайте отново.</string>
<string name="edit_launch_options_desktop">Steam може да е отворен в сесията на работния плот. Променете настройките за стартиране в неговите „Свойства“ или първо затворете сесията.</string>
<string name="edit_artwork">Визия</string>
<string name="edit_other_exe">Друг exe…</string>
<string name="edit_remove">Премахни</string>
@@ -2412,6 +2511,7 @@
<string name="setup_download_source_custom">Собствен префикс</string>
<string name="setup_download_mirror">Сайт</string>
<string name="setup_download_prefix">Префикс</string>
<string name="setup_download_proxy">HTTP прокси</string>
<string name="flathub_eyebrow">ПРИЛОЖЕНИЯ ЗА LINUX</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">Приложения за десктоп на Linux, отваряни от Desktop.</string>
@@ -2552,6 +2652,22 @@
<string name="glasses_tracking_flat_hint">„Автоматично“ държи тази 2D игра неподвижна в изгледа. Изберете „Виртуален екран“ в „Екран“, за да използвате проследяване на главата.</string>
<string name="glasses_tracking_sbs_hint">Проследяването на главата се отнася за виртуален екран или за работеща игра в SteamVR.</string>
<string name="glasses_hardware">Устройство</string>
<string name="vr_controllers_tab">Контролери</string>
<string name="vr_controllers_group">Контролери за SteamVR</string>
<string name="vr_controllers_emulate">Геймпад във VR</string>
<string name="vr_controllers_emulate_hint">Двете VR ръце, като които играе контролерът ви. Промените се прилагат веднага, дори докато SteamVR работи. Joy-Con и проследяваните ръце пак поемат своята страна.</string>
<string name="vr_controllers_off">Обикновен геймпад</string>
<string name="vr_controllers_index">Контролери Valve Index</string>
<string name="vr_controllers_touch">Контролери Meta Quest 3</string>
<string name="vr_controllers_vive">Контролери HTC Vive</string>
<string name="vr_controllers_sticks">Стиковете първоначално</string>
<string name="vr_controllers_sticks_hint">Натиснете двата стика едновременно във VR, за да превключите.</string>
<string name="vr_controllers_sticks_game">Ви придвижват в играта</string>
<string name="vr_controllers_sticks_hands">Придвижват ръцете</string>
<string name="vr_controllers_buttons">Бутони</string>
<string name="vr_controllers_buttons_stick">Тригерите са тригери, бъмперите хващат, A/B и X/Y са предните бутони на всяка ръка, натискането на стиковете натиска джойстиците, Guide отваря менюто на SteamVR. Кръстачката нагоре и надолу приближава или отдалечава ръцете.</string>
<string name="vr_controllers_buttons_vive">Стиковете са тракпадове; A/X или натискане на стика ги натиска. Тригерите са тригери, бъмперите хващат, Start и Select са меню, Guide отваря менюто на SteamVR.</string>
<string name="vr_controllers_buttons_off">Без VR ръце. Игрите, които поддържат геймпад, и менюто на SteamVR получават контролера ви както обикновено.</string>
<string name="glasses_brightness">Яркост</string>
<string name="glasses_volume">Сила на звука</string>
<string name="glasses_sunblock">Затъмняване</string>
@@ -2609,6 +2725,12 @@
<string name="hand_camera_placement">Разположение на камерата</string>
<string name="hand_camera_placement_hint">Проверете дали камерата ви вижда, преди да играете.</string>
<string name="hand_camera_check">Проверка</string>
<string name="tracking_pack_title">Изтегляне за проследяване на ръцете</string>
<string name="tracking_pack_hint">Проследяването на ръцете изисква еднократно изтегляне от %1$s.</string>
<string name="tracking_pack_download">Изтегляне</string>
<string name="tracking_pack_retry">Повторен опит</string>
<string name="tracking_pack_downloading">Изтегляне на проследяването на ръцете… %1$d%%</string>
<string name="tracking_pack_failed">Проследяването на ръцете не можа да бъде изтеглено. Проверете връзката си и опитайте пак.</string>
<string name="hand_camera_check_title">Разположение на камерата</string>
<string name="hand_camera_how_rear">Поставете устройството изправено на 1,5–2 метра разстояние, приблизително на нивото на гърдите, със задната камера, насочена към вас. След това застанете в кадър с протегнати ръце.</string>
<string name="hand_camera_how_front">Поставете устройството изправено на 1,5–2 метра разстояние, приблизително на нивото на гърдите, с екрана, насочен към вас. След това застанете в кадър с протегнати ръце.</string>
@@ -2680,6 +2802,21 @@
<string name="storage_safe_hint">Неизползвани среди, остатъци, стари логове</string>
<string name="storage_clean_up">Почистване…</string>
<string name="storage_session_running">Спри сесията, за да почистиш или изтриеш нещо. Размерите остават видими.</string>
<string name="storage_default_group">Място за инсталиране</string>
<string name="storage_default_title">Хранилище по подразбиране</string>
<string name="storage_default_hint">Новите инсталации от магазини отиват в избраното място. Съществуващите игри остават, където са. Библиотеките на Steam запазват собствената си настройка.</string>
<string name="storage_default_ask">Питане всеки път</string>
<string name="storage_default_ask_detail">Избор на място за всяка инсталация</string>
<string name="storage_default_internal">Вътрешна памет</string>
<string name="storage_default_external">Външна памет</string>
<string name="storage_default_external_detail">%1$s · %2$s свободни</string>
<string name="storage_default_external_missing">Не е свързано</string>
<string name="storage_default_folder">Папка · %1$s</string>
<string name="storage_default_folder_free">%1$s свободни</string>
<string name="storage_default_folder_missing">Не е свързано</string>
<string name="storage_default_choose_folder">Избор на папка…</string>
<string name="storage_default_choose_folder_detail">Използвайте която и да е папка на SD карта или USB устройство</string>
<string name="storage_default_note">Игрите отиват в папка Games в избраното място. Съществуващите игри не се преместват.</string>
<string name="storage_where">Къде отива</string>
<string name="storage_games">Игри от Steam</string>
<string name="storage_game_data">Данни на игрите</string>
@@ -2801,6 +2938,9 @@
<string name="storage_data_installed">Инсталирани игри</string>
<string name="storage_data_parts">Префикс %1$s · шейдъри %2$s · workshop %3$s</string>
<string name="storage_clear_shaders">Изчисти шейдърите</string>
<string name="storage_reset_prefix">Нулиране на префикса</string>
<string name="storage_reset_prefix_title">Нулиране на префикса за %1$s?</string>
<string name="storage_reset_prefix_confirm">Изтрива префикса на Wine (%1$s) в %2$s и го създава отново при следващото стартиране. Записите, настройките и инсталираните в него допълнителни компоненти се губят; записите в Steam Cloud остават в акаунта ви.</string>
<string name="storage_data_leftovers">Изтрити игри</string>
<string name="storage_steam_app">Приложение Steam %1$d</string>
<string name="storage_leftover_unsure_detail">Префиксът още съдържа файлове, може би локални записи</string>
@@ -3102,6 +3242,10 @@
<string name="spatial_saved_views_hint">Запазените изгледи могат да бъдат преизчислени. Започнете ново калибриране за заснемане в текущата координатна система за проследяване.</string>
<string name="spatial_model_checksum_error">Несъответствие на контролната сума на модела на ръката</string>
<string name="spatial_opencv_load_error">OpenCV не можа да се зареди</string>
<string name="session_end_steam_sigill">Steam спря с невалидна инструкция (SIGILL). Това може да е проблем със съвместимостта на CPU инструкциите или срив на клиента. Споделете дневниците с данни за устройството си.</string>
<string name="session_end_steam_try_x64">Можете да опитате Настройки на Steam → Клиент на Steam → x86-64 (експериментално). Изисква допълнително изтегляне и може да работи по-бавно.</string>
<string name="session_end_vulkan_device">Графичният драйвер на Linux не намери използваемо устройство Vulkan. Проверете дали избраният GPU драйвер за Linux поддържа този GPU.</string>
<string name="session_end_gpu_unsupported">Тази сесия не може да започне, защото този GPU няма съвместим Vulkan драйвер за Linux в текущата настройка. Драйверите Adreno Turnip не могат да добавят поддръжка за GPU на MediaTek/Mali.</string>
<string name="setup_group_memory">Памет</string>
<string name="setup_clear_cached">Затваряне на кешираните приложения преди сесия</string>
<string name="setup_clear_cached_hint">При стартиране на сесия DroidDeck затваря приложенията, които Android държи във фонов режим, за да има играта повече памет. Безжичното отстраняване на грешки трябва да е включено.</string>
@@ -3125,6 +3269,12 @@
<string name="epic_client_open">Отвори</string>
<string name="epic_client_install">Инсталиране</string>
<string name="game_tab_about">За приложението</string>
<string name="game_resources_browser">Отваря се в браузъра ви</string>
<string name="game_resource_guides">Ръководства</string>
<string name="game_resource_protondb_detail">Доклади за съвместимост с Linux / Proton</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">За игри със записи в акаунта ви в Steam</string>
<string name="game_resource_search">Търсене в мрежата</string>
<string name="game_tab_install">Инсталиране</string>
<string name="game_install_location">Местоположение</string>
<string name="game_install_folder">Папка</string>
@@ -3141,6 +3291,11 @@
<string name="stores_eyebrow_pass">налична с %1$s</string>
<string name="stores_owned_in_library">Притежавани игри в Библиотека</string>
<string name="library_filter_added">Добавени</string>
<string name="library_filter">Филтър</string>
<string name="library_filter_installed">Само инсталирани</string>
<string name="library_filter_all_owned">Всички притежавани игри</string>
<string name="library_no_installed_matches">Няма инсталирани игри, отговарящи на тези филтри.</string>
<string name="library_browse_owned">Разглеждане на притежаваните игри</string>
<string name="game_tab_launch">Стартиране</string>
<string name="game_tab_saves_cloud">Записи и облак</string>
<string name="game_launch_shortcut">Пряк път в Steam</string>
@@ -3158,6 +3313,28 @@
<string name="stores_itch_update_replaced">Разработчикът замени тази версия с %1$s. Да се актуализира ли до нея?</string>
<string name="xbox_filter_cloud">Облак</string>
<string name="stores_xbox_cloud_settings">Настройки на облака</string>
<string name="integration_title">Интеграция със Steam</string>
<string name="integration_count">%1$d от %2$d включени</string>
<string name="integration_set_up">Настройване</string>
<string name="integration_location">Местоположение</string>
<string name="integration_app_info">Информация за приложението</string>
<string name="integration_wifi">Имена на Wi-Fi</string>
<string name="integration_brightness">Яркост</string>
<string name="integration_home">DroidDeck като начален екран</string>
<string name="integration_shortcuts">Преки пътища с бутона за начален екран</string>
<string name="integration_wifi_hint">Показване на мрежите в Steam · изисква достъп до местоположението, никога не се проследява</string>
<string name="integration_wifi_on">Мрежите се показват в Steam</string>
<string name="integration_wifi_location_off">Местоположението е изключено</string>
<string name="integration_wifi_denied">Местоположението е отказано · разрешете го в „Информация за приложението“</string>
<string name="integration_brightness_hint">Плъзгачът на Steam задава яркостта на екрана</string>
<string name="integration_home_hint">Бутонът за начален екран отваря менюто на Steam в сесия</string>
<string name="integration_shortcuts_hint">Задръжте бутона за начален екран за комбинации със Steam Guide</string>
<string name="integration_shortcuts_needs_home">Изисква DroidDeck като начален екран</string>
<string name="integration_shortcuts_maybe_restricted">Неактивно в Android? Информация за приложението → ⋮ → Разрешаване на ограничените настройки</string>
<string name="integration_shortcuts_restricted">Блокирано от Android · Информация за приложението → ⋮ → Разрешаване на ограничените настройки</string>
<string name="integration_shortcuts_service">Бутон за начален екран на DroidDeck</string>
<string name="integration_shortcuts_service_description">Предава натисканията на бутона за начален екран към Steam Guide, докато сесия на Steam е на фокус и DroidDeck е приложението за начален екран по подразбиране. Не чете съдържанието на екрана.</string>
<string name="integration_brightness_needed">Включете „Яркост“ в Настройка → Интеграция със Steam</string>
<string name="apps_search_hint">Търсене на приложения</string>
<string name="apps_no_match">Няма приложения, отговарящи на „%1$s“.</string>
<string name="apps_add_widget">Добавяне на приспособление</string>
@@ -3206,9 +3383,35 @@
<string name="desktop_restore_done_body">Добавените от вас приложения са инсталирани отново.</string>
<string name="desktop_restore_failed_title">Част от софтуера не можа да бъде възстановена</string>
<string name="desktop_restore_failed_body">Вижте ~/.cache/droiddeck/apt-restore.log, след това опитайте sudo apt install в Konsole.</string>
<string name="gog_full_files">Оптимизациите за платформата не са налични. Изтеглянето включва пълни файлове за замяна.</string>
<string name="gog_recover">Проверка на резултата от корекцията</string>
<string name="slow_usb_title">Бавна USB връзка</string>
<string name="slow_usb_cable">%1$s е свързан чрез %2$s (%3$s Mbps, около %4$d MB/s), затова игрите на него ще се зареждат бавно. Използвайте USB 3 кабел за 5 Gbps или повече, обърнете USB-C щекера или използвайте по-бързо устройство.</string>
<string name="slow_usb_port">%1$s е свързан чрез %2$s (%3$s Mbps, около %4$d MB/s). USB портът на това устройство не поддържа по-висока скорост, затова игрите ще се зареждат бавно. Вътрешната памет или microSD карта може да са по-бързи.</string>
<string name="slow_usb_never">Не показвай отново</string>
<string name="slow_usb_dismiss">Затвори</string>
<string name="steam_import_title">Да се рестартира ли Steam, за да добави игрите ви?</string>
<string name="steam_import_body">Steam може да покаже тези ваши игри като инсталирани: %1$s. Трябва да се рестартира, за да ги покаже. Рестартирайте сега или те ще бъдат добавени при следващото стартиране на Steam.</string>
<string name="steam_import_names_more">%1$s и още %2$d</string>
<string name="steam_import_now">Рестартиране сега</string>
<string name="steam_import_later">По-късно</string>
<string name="gog_maintenance">Управление на инсталацията от GOG</string>
<string name="gog_check">Проверка за актуализации</string>
<string name="gog_repair">Проверка/поправка</string>
<string name="gog_patches">Офлайн корекции</string>
<string name="gog_refresh">Изтегляне на пълния офлайн инсталатор</string>
<string name="gog_update">Актуализиране до %1$s</string>
<string name="gog_resume">Продължаване на поддръжката от GOG</string>
<string name="gog_open_patch">Отваряне на инсталатора на корекцията</string>
<string name="gog_patch_in_session">Завършете или откажете инсталатора на корекцията в сесията на Linux.</string>
<string name="gog_patch_requirements">Изберете корекция за инсталираната версия и език. Поддържаните изходни версии може да не са посочени.</string>
<string name="gog_no_patches">GOG няма самостоятелни корекции за Windows за тази игра.</string>
<string name="gog_managed_files">Променените файлове на играта може да бъдат заменени.</string>
<string name="gog_patch_installer_note">Инсталаторът се отваря в сесията ви на Linux.</string>
<string name="gog_download_label">Изтегляне</string>
<string name="gog_space_label">Допълнително място</string>
<string name="gog_space_estimate_label">Приблизително място</string>
<string name="gog_repair_action">Поправка на файловете</string>
<string name="gog_refresh_action">Обновяване на инсталацията</string>
<string name="gog_select_patch">Избор</string>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Zkratky fyzických tlačítek</string>
<string name="shortcuts_dd_menu">Nabídka DroidDeck</string>
<string name="shortcuts_capture">Přiřadit: %1$s</string>
<string name="shortcuts_press">Stiskněte a uvolněte tlačítko. Přiřazení se uloží automaticky.</string>
<string name="shortcuts_release">Pokračujte uvolněním tlačítka.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">Toto tlačítko je již přiřazeno k: %1$s</string>
<string name="shortcuts_save">Přeřadit</string>
<string name="shortcuts_retry">Zkusit jiné tlačítko</string>
<string name="shortcuts_limitations">Tlačítko Domů a některá další tlačítka nemusí být dostupná.</string>
</resources>
+209 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">Možnosti VKD3D pro D3D12. nodxr vypíná ray tracing; použijte jen pro hru, která to vyžaduje.</string>
<string name="game_env_proton_log">Nastavte na 1 pro diagnostický log Protonu. Protokolování může snížit výkon a zabírat úložiště.</string>
<string name="game_env_wined3d">Nastavte na 1 pro použití WineD3D založeného na OpenGL místo DXVK, pro testování kompatibility D3D9–11.</string>
<string name="game_env_wined3d_renderer">Renderer pro DirectDraw, Direct3D 1-7 a hry spuštěné s WineD3D. Vulkan obchází cestu OpenGL přes Zink a je u starých her DirectDraw a Direct3D 7 na Adreno mnohem rychlejší.</string>
<string name="game_env_dxvk_d3d8">Nastavte na 1 pro běh Direct3D 8 přes DXVK místo WineD3D. Rychlejší v testu Direct3D 8 v AIO Graphics Test na Adreno.</string>
<string name="game_env_no_ntsync">Nastavte na 1, aby tato hra nepoužívala ntsync (droiddeck-ntsync nebo ovladač jádra); použije droiddeck-esync, pokud existuje balíček, jinak droiddeck-fsync.</string>
<string name="game_env_no_esync">Nastavte na 1 pro vypnutí droiddeck-esync u této hry; místo něj použije droiddeck-fsync, nebo droiddeck-ntsync, pokud je vypnutý i fsync.</string>
<string name="game_env_no_fsync">Nastavte na 1, aby tato hra nepoužívala droiddeck-fsync; použije droiddeck-esync, pokud existuje balíček, jinak droiddeck-ntsync.</string>
<string name="game_env_fsync_first">Nastavte na 1 pro spuštění této hry na droiddeck-fsync, nebo na 0, aby měl droiddeck-esync přednost, pokud balíček odpovídá jejímu Protonu.</string>
<string name="game_env_xalia">Nastavte na 0 pro vypnutí pomocníka Protonu pro navigaci gamepadem u této hry.</string>
<string name="game_env_anticheat_offline">Ve výchozím stavu zapnuto. Spustí hru s Easy Anti-Cheat bez anti-cheatu, pokud hra podporuje hraní offline. Vypněte pro běžné spuštění přes Easy Anti-Cheat. Online režimy vyžadující Easy Anti-Cheat zůstanou nedostupné.</string>
<string name="game_env_hud">Překryvná vrstva DXVK pro D3D9–11. fps zobrazuje snímkovou frekvenci; bez nastavení se skryje.</string>
<string name="game_env_dxvk_config">Nastavení DXVK oddělená středníky. Novější verze používají pro omezení snímků dxvk.maxFrameRate; pro běžné hraní dejte přednost omezovači snímků relace.</string>
<string name="game_env_cores">Jádra CPU pro tuto hru, například 0-4 nebo 0,2,4, místo jader pro hru z relace. Méně jader znamená nižší teplotu.</string>
<string name="game_env_vkd3d_limit">Omezení snímkové frekvence D3D12. 0 omezení vypíná.</string>
<string name="game_env_glthread">Vícevláknové OpenGL Mesa. true může pomoci hrám OpenGL omezeným CPU; vyzkoušejte u každé hry zvlášť.</string>
<string name="sync_backend_title">Synchronizace Wine</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">FEX spouští programy pro x86 Linux na tomto zařízení ARM64. Automaticky ho použije, když je program sestaven pro x86.</string>
<string name="app_fex_x86">%1$s přes FEX</string>
<string name="app_fex_not_ready">Tento program je sestaven pro PC %1$s a běží přes FEX, který ještě není nastaven. Jednou spusťte přihlášený Steam: DroidDeck tím stáhne FEX a Steam Linux Runtime, který potřebuje, a pak se tento program otevře.</string>
<string name="session_proot_missing">Proot od DroidDeck se nepodařilo stáhnout. Zkontrolujte připojení a zkuste to znovu. Relace nebyla spuštěna, protože záložní proot je na hraní příliš pomalý.</string>
<string name="session_directaudio_missing">DirectAudio se nepodařilo stáhnout, takže zvuk her v této relaci používá pomalejší cestu.</string>
<string name="session_end_program">Tento program</string>
<string name="session_end_steam_download">Klienta Steam se nepodařilo stáhnout. Vaše síť nebo VPN možná blokuje servery Steamu; zkontrolujte připojení a zkuste to znovu.</string>
<string name="session_end_steam_setup">Klienta Steam se nepodařilo nastavit. Zkontrolujte připojení a volné místo a zkuste to znovu.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">Ovladač Xbox 360</string>
<string name="mode_controller_note">Deck: tlačítko Quick Access a gyroskop. Steam Controller: totéž, navíc snímání úchopu na zadních tlačítkách. DualShock 4 a DualSense: gyroskop, trackpad slouží jako touchpad. Xbox 360: Quick Access otevřete kombinací Guide+A.</string>
<string name="mode_back">Zpět</string>
<string name="back_native_qam_hint">Podržte Zpět 700 ms, nebo podržte Zpět a stiskněte jiné tlačítko pro zkratky Steamu.</string>
<string name="back_double_tap_window">Interval dvojitého klepnutí</string>
<string name="back_tap_ms">%1$d ms</string>
<string name="brightness_permission_title">Povolit ovládání jasu</string>
<string name="brightness_permission_text">Nastavte ovládání jasu v DroidDeck.</string>
<string name="back_menu_then_qam">Menu → QAM</string>
<string name="back_qam_then_menu">QAM → Menu</string>
<string name="mode_session">Relace</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">Aktuální · %1$s</string>
<string name="mode_decky_loader">Loader</string>
<string name="mode_decky_install_latest">Nainstalovat nejnovější</string>
<string name="decky_channel">Kanál aktualizací</string>
<string name="decky_channel_hint">Která vydání Decky Loader instalovat. Vlastní aktualizátor Decky používá stejný kanál.</string>
<string name="decky_channel_stable">Stabilní</string>
<string name="decky_channel_prerelease">Předběžné vydání</string>
<string name="decky_channel_testing">Testovací</string>
<string name="decky_channel_failed">Kanál aktualizací Decky se nepodařilo uložit</string>
<string name="mode_decky_on">Spouští se se Steamem. Když je zapnuto, jiné aplikace na tomto zařízení mohou mít možnost ovládat Steam.</string>
<string name="mode_decky_off">Vypnuto. Port pro vzdálené ladění Steamu zůstává zavřený.</string>
<string name="mode_decky_remove_title">Odinstalovat Decky Loader?</string>
@@ -323,6 +340,10 @@
<string name="mode_client">Klient</string>
<string name="mode_mangoapp">Výkonový overlay</string>
<string name="mode_mangoapp_hint">Vypněte, pokud hry v režimu Deck padají nebo zčernají. Použije se od příští relace.</string>
<string name="mode_return_after_game">Po hře se vrátit do DroidDeck</string>
<string name="mode_return_after_game_hint">Když se zavře hra spuštěná z DroidDeck nebo jiného launcheru, Steam se čistě ukončí (nejprve dokončí cloudová uložení) a vrátíte se tam. Vypnuto: zůstanete ve Steamu.</string>
<string name="mode_shader_precache">Předběžné ukládání shaderů</string>
<string name="mode_shader_precache_hint">Steam stahuje předem sestavené shadery pro vaše hry a zpracovává je na pozadí, takže hry méně trhají. Vypnutí šetří data, úložiště a baterii; hry pak shadery sestavují během hraní. Stejné nastavení jako Stahování > Předběžné ukládání shaderů ve Steamu. Použije se od příští relace.</string>
<string name="mode_steam_repair">Opravit klienta Steam</string>
<string name="mode_steam_repair_hint">Při dalším spuštění znovu stáhne klienta Steam. Použijte, pokud Steam zůstává na načítací obrazovce. Hry, přihlášení a nastavení zůstanou zachovány.</string>
<string name="mode_steam_repair_queued">Klient Steam se znovu stáhne při dalším spuštění Steamu.</string>
@@ -392,6 +413,8 @@
<string name="mode_directaudio_hint">Obchází PulseAudio pro nižší latenci.</string>
<string name="mode_mic">Mikrofon</string>
<string name="mode_mic_hint">Pro hlasový chat.</string>
<string name="drawer_mic_hint">Zapnout nebo vypnout snímání mikrofonu pro tuto relaci.</string>
<string name="drawer_mic_failed">Mikrofon se nepodařilo změnit. Zkuste to znovu.</string>
<string name="mode_network">Síť</string>
<string name="mode_wifi_discovery">Vyhledávání Wi-Fi</string>
<string name="mode_wifi_discovery_hint">Zobrazí názvy Wi-Fi a okolních sítí ve Steamu.</string>
@@ -555,6 +578,16 @@
<string name="perf_gsrealtime">gamescope: fronta GPU v reálném čase</string>
<string name="perf_gsrealtime_hint">Dává prioritu práci GPU kompozitoru. Může vyhladit tempo snímků na úkor her.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">Paměť</string>
<string name="perf_cap_off">Vypnuto</string>
<string name="perf_cap_auto">Výchozí ovladače</string>
<string name="perf_zram_client">Komprimovat Steam během hry</string>
<string name="perf_zram_client_hint">20 s po spuštění hry se klient Steam zkomprimuje do zRAM, aby hře zbylo více paměti, a po zavření hry se načte zpět. Vypněte, pokud se relace krátce po spuštění her zavírá. Limit RAM výše stále komprimuje Steam, když ho relace překročí.</string>
<string name="perf_ram_cap">Limit RAM</string>
<string name="perf_ram_cap_hint">Platí, když běží klient Steam, v režimu Steam nebo z Plochy. Když relace použije víc, zkomprimuje se do zRAM Steam a poté další podporované procesy relace. Měkký limit: nic se nezavře, ale hry mohou trhat, než se stránky načtou zpět.</string>
<string name="perf_ram_cap_unavailable">Vyžaduje swap zRAM, který toto zařízení nemá.</string>
<string name="perf_vram_cap">Limit VRAM</string>
<string name="perf_vram_cap_hint">Video paměť, kterou DXVK hlásí hrám Direct3D, aby počítaly s menším rozpočtem na textury. Vlastní nastavení DXVK hry mají přednost. Použije se od příští relace.</string>
<string name="perf_gpuclock">Udržet GPU na nejvyšších taktech</string>
<string name="perf_gpuclock_hint">Jen Adreno. Méně zadrhávání, více spotřeby baterie a tepla.</string>
<string name="perf_fixes">Opravy relace</string>
@@ -573,6 +606,8 @@
<string name="perf_fastpath">Rychlá cesta proot</string>
<string name="perf_fastpath_needs_seccomp">Vyžaduje filtr seccomp od proot.</string>
<string name="perf_fastpath_hint">Rychlejší vyhledávání souborů a méně zadrhávání. Vypněte, pokud program nemůže najít své soubory.</string>
<string name="perf_cursor_composite">Kreslit kurzor v gamescope</string>
<string name="perf_cursor_composite_hint">Gamescope kreslí ukazatel sám, místo aby ho předal Androidu. Zapněte pro kurzor ovládaný ovladačem. Vypnuto je na telefonu rychlejší. Použije se od příští relace.</string>
<string name="perf_identity">Identita relace</string>
<string name="perf_hostname">Název hostitele</string>
<string name="perf_hostname_hint">Název, který Steam vidí pro toto zařízení. Prázdné obnoví %1$s.</string>
@@ -587,6 +622,8 @@
<string name="driver_delete_plain">Jeho soubory se odstraní z aplikace.</string>
<string name="driver_delete_in_use">Jeho soubory se odstraní. Používá se, takže převezme výchozí.</string>
<string name="drawer_page_display">Displej</string>
<string name="drawer_frame_limit">Limit snímků</string>
<string name="drawer_frame_limit_note">Omezí tuto hru. Displej se přepne na obnovovací frekvenci, kterou limit beze zbytku dělí, pokud nějakou má; jiné limity mohou působit nerovnoměrně. Hry ze Steamu používají Limit snímků Steamu v nabídce Rychlý přístup.</string>
<string name="drawer_page_effects">Efekty</string>
<string name="drawer_page_controls">Ovládání</string>
<string name="drawer_page_components">Komponenty</string>
@@ -668,7 +705,6 @@
<string name="hud_export_failed">Zprávu HUD se nepodařilo uložit.</string>
<string name="hud_reset">Obnovit nastavení HUD</string>
<string name="hud_reset_button">Obnovit</string>
<string name="hud_credit">FusionHUD od The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Režim škálování</string>
<string name="drawer_scaling_sharpness">Ostrost škálování</string>
<string name="drawer_effects">Efekty obrazovky</string>
@@ -703,6 +739,8 @@
<string name="drawer_touch_auto">Automaticky (%1$s)</string>
<string name="drawer_keyboard">Klávesnice</string>
<string name="drawer_latency">Zpoždění</string>
<string name="drawer_low_latency">Režim nízkého zpoždění</string>
<string name="drawer_low_latency_hint">Zvyšuje využití CPU a baterie</string>
<string name="drawer_low_latency_controller">Ovladač s nízkým zpožděním</string>
<string name="drawer_low_latency_controller_hint">Ovladač hlásí na 1000 Hz místo 250 Hz. O něco víc CPU.</string>
<string name="drawer_low_latency_touch">Dotek s nízkým zpožděním</string>
@@ -797,6 +835,10 @@
<string name="setup_session">Relace</string>
<string name="setup_logs">Protokoly relace</string>
<string name="setup_logs_hint">Uloženo po každé relaci</string>
<string name="setup_game_debug_logs">Ladicí protokoly her</string>
<string name="setup_game_debug_logs_hint">Při dalším spuštění hry zahrnout diagnostiku Protonu, Wine a grafiky. Může snížit výkon a zabrat více úložiště.</string>
<string name="setup_game_debug_logs_restart">Pro ukládání ladicích protokolů her restartujte tuto relaci</string>
<string name="setup_logging_update_failed">Protokolování se nepodařilo změnit. Zkontrolujte přepínač a zkuste to znovu.</string>
<string name="setup_agent_commands">Nástroje pro ladění</string>
<string name="setup_latest_logs">Protokoly poslední relace</string>
<string name="setup_saved_logs">Uložené protokoly relací</string>
@@ -829,6 +871,11 @@
<string name="setup_home_on">DroidDeck může být domovská aplikace</string>
<string name="setup_home_off">DroidDeck se nikdy nenabízí jako domovská aplikace</string>
<string name="setup_orientation">Orientace</string>
<string name="setup_launcher_orientation">Orientace launcheru</string>
<string name="setup_launcher_orientation_auto">Podle otočení zařízení</string>
<string name="setup_orientation_portrait">Na výšku</string>
<string name="setup_session_orientation">Orientace relace</string>
<string name="setup_session_orientation_hint">Platí pro Steam, hry, Plochu a editor ovladače. Předvolby rozlišení se otáčejí s relací; vlastní šířka a výška zůstávají, jak jsou zadány.</string>
<string name="setup_orientation_auto">Automaticky na šířku</string>
<string name="setup_orientation_landscape">Na šířku</string>
<string name="setup_orientation_reverse">Na šířku obráceně</string>
@@ -999,6 +1046,14 @@
<string name="gate_step1">Otevřete Nastavení → Možnosti pro vývojáře → Bezdrátové ladění a zapněte ho</string>
<string name="gate_step2">Klepněte na „Spárovat zařízení pomocí párovacího kódu“</string>
<string name="gate_step3">Zadejte kód do oznámení DroidDecku</string>
<string name="pairguide_build_number">V části O telefonu klepněte 7krát na Číslo sestavení</string>
<string name="pairguide_wireless">Zapněte Bezdrátové ladění</string>
<string name="pairguide_pair">Otevřete Bezdrátové ladění a klepněte na „Spárovat zařízení pomocí párovacího kódu“</string>
<string name="pairguide_child_process">Zapněte „Deaktivace omezení podřízených procesů“</string>
<string name="pairguide_row_child_process">Deaktivace omezení podřízených procesů</string>
<string name="pairguide_row_build_number">Číslo sestavení</string>
<string name="pairguide_row_wireless">Bezdrátové ladění</string>
<string name="pairguide_row_pair">Spárovat zařízení pomocí párovacího kódu</string>
<string name="gate_waiting">Čekání na párovací okno…</string>
<string name="gate_code_needed">Okno nalezeno. Zadejte jeho kód do oznámení.</string>
<string name="gate_status">Stav</string>
@@ -1137,7 +1192,6 @@
<string name="games_never_played">Nikdy nehráno</string>
<string name="games_runtime_busy_percent">Runtime zaneprázdněn · %1$d%%</string>
<string name="games_runtime_busy">Runtime zaneprázdněn</string>
<string name="games_runtime_first_play">Runtime se nainstaluje při prvním spuštění hry</string>
<string name="games_runtime_update">K dispozici aktualizace runtime</string>
<string name="games_runtime_ready">● Runtime připraven</string>
<string name="games_internal">Interní úložiště</string>
@@ -1154,6 +1208,9 @@
<string name="gpu_hide_other">Skrýt ovladače pro jiné GPU</string>
<string name="gpu_show_other">Zobrazit ovladače pro jiné GPU</string>
<string name="gpu_advanced">Pokročilé</string>
<string name="gpu_ubwc_title">Kompatibilita UBWC</string>
<string name="gpu_ubwc_hint">Pokud Steam nebo Android zobrazuje pruhy nebo blikání, zkuste Zapnuto nebo Vypnuto. Platí pro oba ovladače po restartu DroidDeck.</string>
<string name="gpu_ubwc_restart">Pro použití restartujte DroidDeck.</string>
<string name="gpu_set_with_display">Nastaveno společně s ovladačem displeje: %1$s obsahuje oba.</string>
<string name="gpu_set_with_runtime">Nastaveno společně s ovladačem runtime: %1$s obsahuje oba.</string>
<string name="gpu_runtime_hint">Používají hry a desktop.</string>
@@ -1262,10 +1319,15 @@
<string name="pip_auto">Automaticky přejít do PiP</string>
<string name="unfolded_controls">Ovládání na rozložené obrazovce</string>
<string name="unfolded_controls_hint">Po rozložení je hra zobrazena nad trackpady a zadními rukojeťmi Steam Decku. Po složení je hra na celou obrazovku.</string>
<string name="unfolded_controls_with_controller">Ponechat i s ovladačem</string>
<string name="unfolded_controls_with_controller_hint">Zobrazovat toto dotykové ovládání i při připojeném ovladači.</string>
<string name="pip_suspended">Pozastaveno</string>
<string name="pip_not_ready">Obraz v obraze bude dostupný, jakmile bude relace připravena.</string>
<string name="pip_permission">Povolte obraz v obraze pro DroidDeck v nastavení Androidu.</string>
<string name="pip_unavailable">Android nemohl otevřít obraz v obraze.</string>
<string name="game_more">Další</string>
<string name="game_edit_art">Upravit grafiku</string>
<string name="stores_in_steam_label">Ve Steamu</string>
<string name="game_shortcut">Zkratka</string>
<string name="game_shortcut_add">Přidat na domovskou obrazovku</string>
<string name="game_shortcut_choose">Vybrat hru</string>
@@ -1289,6 +1351,10 @@
<string name="main_wait_runtime">Počkejte, až skončí operace s runtime</string>
<string name="main_wait_proton_install">Počkejte, až skončí instalace nástroje kompatibility</string>
<string name="load_compat_title">Příprava nástrojů kompatibility</string>
<string name="load_compat_wait">Čekání na dokončení nastavení kompatibility</string>
<string name="load_compat_hint">Relace se spustí po dokončení nastavení.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">Počkejte, až skončí instalace plochy</string>
<string name="main_wait_install_game">Před spuštěním hry počkejte, až skončí instalace</string>
<string name="main_saves_close_session">Nejprve zavřete relaci Steamu, aby hra svým uložením nepřepsala import.</string>
@@ -1333,6 +1399,9 @@
<string name="main_install_anyway">Přesto instalovat</string>
<string name="main_remove_runtime_title">Odstranit runtime Linuxu</string>
<string name="main_remove_runtime_text">Tím se odstraní runtime, klient Steam v něm a všechny hry v něm nainstalované.</string>
<string name="runtime_actions_title">Běhové prostředí Linuxu</string>
<string name="runtime_actions_text">Oprava znovu nainstaluje systémové soubory prostředí a zachová Steam, vaše hry a nastavení. Doplňky, jako je Plocha, se znovu nainstalují při dalším použití. Odebrání smaže vše.</string>
<string name="runtime_repair">Opravit prostředí</string>
<string name="main_applied">Použito: %1$s</string>
<string name="android_app_open_failed_primary">Nepodařilo se otevřít %1$s na hlavní obrazovce</string>
<string name="android_app_open_failed_on">Nepodařilo se otevřít %1$s na %2$s</string>
@@ -1468,6 +1537,13 @@
<string name="session_runtime_catalog_unreachable">Nepodařilo se spojit s katalogem runtime. Zkontrolujte připojení a znovu stiskněte Hrát.</string>
<string name="session_runtime_install_failed">Runtime Linuxu se nenainstaloval. Zkontrolujte runtime v Přípravě a znovu stiskněte Hrát.</string>
<string name="session_desktop_install_failed">Plocha se nenainstalovala (%1$s). Zkontrolujte připojení a znovu stiskněte Plocha.</string>
<string name="session_package_resume_failed">Přerušenou instalaci se nepodařilo dokončit (%1$s). Zkontrolujte připojení a místo a zkuste to znovu.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="one">Běhové prostředí Linuxu je poškozené: %1$d odkaz knihovny vede na chybějící soubor (%2$s), obvykle po přerušené instalaci. Oprava zachová vaše hry a nastavení.</item>
<item quantity="few">Běhové prostředí Linuxu je poškozené: %1$d odkazy knihoven vedou na chybějící soubory (%2$s a další), obvykle po přerušené instalaci. Oprava zachová vaše hry a nastavení.</item>
<item quantity="many">Běhové prostředí Linuxu je poškozené: %1$d odkazu knihoven vede na chybějící soubory (%2$s a další), obvykle po přerušené instalaci. Oprava zachová vaše hry a nastavení.</item>
<item quantity="other">Běhové prostředí Linuxu je poškozené: %1$d odkazů knihoven vede na chybějící soubory (%2$s a další), obvykle po přerušené instalaci. Oprava zachová vaše hry a nastavení.</item>
</plurals>
<string name="session_ended_named">Došlo k neočekávanému zastavení %1$s. Přiložte logy k hlášení chyby, nebo zkuste znovu.</string>
<string name="session_ended_program">Program neočekávaně skončil. Přiložte logy k hlášení chyby, nebo zkuste znovu.</string>
<string name="session_ended_desktop">Plocha neočekávaně skončila. Přiložte logy k hlášení chyby, nebo zkuste znovu.</string>
@@ -1484,6 +1560,15 @@
<string name="mode_decky_plugins_hint">Nainstalujte ZIP s pluginem pro další relaci Steamu.</string>
<string name="mode_decky_plugin_downloading">Stahování…</string>
<string name="mode_decky_plugin_install_zip">Instalovat ze ZIP</string>
<string name="decky_zip_warning_title">Instalace pluginu třetí strany</string>
<string name="decky_zip_warning_text">Tým Decky Loader tento plugin nezkontroloval. Může obsahovat malware, například software, který ukradne váš účet Steam nebo poškodí zařízení. Instalací tohoto pluginu souhlasíte, že přebíráte veškerá rizika pro své zařízení.</string>
<string name="decky_zip_warning_continue">Pokračovat</string>
<plurals name="decky_zip_warning_wait">
<item quantity="one">Počkejte %1$d sekundu</item>
<item quantity="few">Počkejte %1$d sekundy</item>
<item quantity="many">Počkejte %1$d sekundy</item>
<item quantity="other">Počkejte %1$d sekund</item>
</plurals>
<string name="store_cat_games">Hry</string>
<string name="store_cat_audio_video">Zvuk a video</string>
<string name="store_cat_graphics">Grafika</string>
@@ -1655,6 +1740,8 @@
<string name="fm_accept">Přijmout</string>
<string name="fm_decline">Odmítnout</string>
<string name="fm_drive_not_readable">%1$s je připojeno, ale momentálně není čitelné</string>
<string name="fm_drive_access_title">Povolit přístup k %1$s</string>
<string name="fm_drive_access_text">Android umožňuje aplikaci DroidDeck tento disk vidět, ale ne číst. Zapněte pro DroidDeck Přístup ke všem souborům a pak se vraťte.</string>
<string name="fm_list_view">Zobrazení seznamu</string>
<string name="fm_grid_view">Zobrazení mřížky</string>
<string name="fm_search">Hledat</string>
@@ -1760,6 +1847,7 @@
<string name="flatpakmgr_not_ready">Nejprve nastavte Flatpak</string>
<string name="flatpakmgr_starting">Spouštění</string>
<string name="flatpakmgr_exit_status">Flatpak skončil s návratovým kódem %1$d</string>
<string name="flatpakmgr_wrong_arch">%1$s je sestaveno pro %2$s, které DroidDeck neumí spustit. Aplikace Flatpak zde potřebují verzi pro ARM64 nebo x86_64.</string>
<string name="flatpakmgr_installing">Instalování %1$s</string>
<string name="flatpakmgr_updating">Aktualizování %1$s</string>
<string name="flatpakmgr_removing">Odstraňování %1$s</string>
@@ -1853,6 +1941,7 @@
<string name="adbpair_applying">Použití nastavení…</string>
<string name="adbpair_command_failed">Příkaz bezdrátového ladění se nezdařil</string>
<string name="adbpair_channel_name">Nastavení bezdrátového ladění</string>
<string name="adbpair_progress_channel_name">Průběh nastavení bezdrátového ladění</string>
<string name="adbpair_channel_description">Vyžádá kód pro párování bezdrátového ladění, dokud je otevřené Nastavení</string>
<string name="adbpair_title_pair">Zpárovat bezdrátové ladění</string>
<string name="adbpair_waiting_text">Zapněte bezdrátové ladění a pak klepněte na „Párování zařízení pomocí párovacího kódu“.</string>
@@ -1961,6 +2050,7 @@
<string name="gpuinfo_not_adreno">Není GPU Adreno</string>
<string name="gpuinfo_supported">Podporováno</string>
<string name="gpuinfo_experimental">Experimentální: jeho ovladače jsou testovací sestavení</string>
<string name="gpuinfo_a850_experimental">Experimentální podpora Adreno 850: vyžaduje kompatibilní experimentální ovladače displeje a her; na tomto zařízení neověřeno</string>
<string name="gpuinfo_below_tested">Pod testovaným hardwarem (Adreno 725 a novější): nemusí fungovat</string>
<string name="gpuinfo_unsupported">Není podporováno: DroidDeck potřebuje GPU Adreno (Snapdragon)</string>
@@ -2163,6 +2253,13 @@
<string name="stores_resume">Pokračovat</string>
<string name="stores_refresh">Obnovit</string>
<string name="stores_sort">Řazení</string>
<string name="setup_rail_labels">Popisky postranního panelu</string>
<string name="setup_rail_labels_hint">Zobrazovat názvy pod ikonami postranního panelu. Vypněte pro užší panel.</string>
<string name="library_display">Zobrazení</string>
<string name="library_display_larger">Větší karty</string>
<string name="library_display_smaller">Menší karty</string>
<string name="library_display_title">Zobrazit název</string>
<string name="library_display_size">Zobrazit velikost</string>
<string name="stores_sort_last_played">Nedávno hrané</string>
<string name="stores_sort_recently_installed">Nedávno nainstalované</string>
<string name="stores_sort_title_asc">Název A–Z</string>
@@ -2289,6 +2386,9 @@
<string name="stores_download_manager">Správce stahování</string>
<string name="stores_parallel">Souběžných stahování</string>
<string name="stores_install_where">Instalovat do</string>
<string name="stores_install_language">Jazyk hry</string>
<string name="stores_install_language_hint">GOG a Epic nainstalují tento jazyk. Systémový se řídí jazykem aplikace.</string>
<string name="stores_install_language_system">Systémový</string>
<string name="stores_install_title">Instalace %1$s:</string>
<string name="stores_target_internal">Interní úložiště</string>
<string name="stores_target_free">%1$s volných</string>
@@ -2327,6 +2427,9 @@
<string name="edit_target">Cíl</string>
<string name="edit_start_in">Spustit v</string>
<string name="edit_launch_options">Možnosti spuštění</string>
<string name="edit_launch_options_steam_hint">Sdíleno s Vlastnostmi ve Steamu: změna na jednom místě se projeví na obou.</string>
<string name="edit_launch_options_not_saved">Možnosti spuštění se nepodařilo uložit do Steamu. Zkuste to znovu.</string>
<string name="edit_launch_options_desktop">Steam může být otevřený v relaci Plochy. Změňte možnosti spuštění v jeho Vlastnostech, nebo nejdřív relaci ukončete.</string>
<string name="edit_artwork">Grafika</string>
<string name="edit_other_exe">Jiný exe…</string>
<string name="edit_remove">Odstranit</string>
@@ -2458,6 +2561,7 @@
<string name="setup_download_source_custom">Vlastní prefix</string>
<string name="setup_download_mirror">Web</string>
<string name="setup_download_prefix">Prefix</string>
<string name="setup_download_proxy">Proxy HTTP</string>
<string name="flathub_eyebrow">LINUXOVÉ APLIKACE</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">Desktopové aplikace pro Linuxový desktop, otevírané z Desktopu.</string>
@@ -2602,6 +2706,22 @@
<string name="glasses_tracking_flat_hint">Režim Automaticky drží tuto 2D hru pevně v zorném poli. Chcete-li použít sledování hlavy, zvolte v části Displej možnost „Virtuální obrazovka“.</string>
<string name="glasses_tracking_sbs_hint">Sledování hlavy platí pro virtuální obrazovku nebo spuštěnou hru SteamVR.</string>
<string name="glasses_hardware">Zařízení</string>
<string name="vr_controllers_tab">Ovladače</string>
<string name="vr_controllers_group">Ovladače SteamVR</string>
<string name="vr_controllers_emulate">Gamepad ve VR</string>
<string name="vr_controllers_emulate_hint">Dvě ruce ve VR, za které váš ovladač hraje. Změny platí hned, i když běží SteamVR. Joy-Cony a sledované ruce svou stranu stále převezmou.</string>
<string name="vr_controllers_off">Běžný gamepad</string>
<string name="vr_controllers_index">Ovladače Valve Index</string>
<string name="vr_controllers_touch">Ovladače Meta Quest 3</string>
<string name="vr_controllers_vive">Ovladače HTC Vive</string>
<string name="vr_controllers_sticks">Páčky na začátku</string>
<string name="vr_controllers_sticks_hint">Pro přepnutí ve VR stiskněte obě páčky současně.</string>
<string name="vr_controllers_sticks_game">Pohybují vámi ve hře</string>
<string name="vr_controllers_sticks_hands">Pohybují rukama</string>
<string name="vr_controllers_buttons">Tlačítka</string>
<string name="vr_controllers_buttons_stick">Spouště jsou spouště, bumpery úchop, A/B a X/Y jsou čelní tlačítka každé ruky, stisk páčky klikne thumbstickem, Guide otevře nabídku SteamVR. D-pad nahoru a dolů přibližuje a vzdaluje ruce.</string>
<string name="vr_controllers_buttons_vive">Páčky jsou trackpady; A/X nebo stisk páčky je stiskne. Spouště jsou spouště, bumpery úchop, Start a Select jsou menu, Guide otevře nabídku SteamVR.</string>
<string name="vr_controllers_buttons_off">Žádné ruce ve VR. Hry podporující gamepad a nabídka SteamVR dostanou váš ovladač jako obvykle.</string>
<string name="glasses_brightness">Jas</string>
<string name="glasses_volume">Hlasitost</string>
<string name="glasses_sunblock">Zatmavení</string>
@@ -2659,6 +2779,12 @@
<string name="hand_camera_placement">Umístění kamery</string>
<string name="hand_camera_placement_hint">Než začnete hrát, zkontrolujte, že vás kamera vidí.</string>
<string name="hand_camera_check">Zkontrolovat</string>
<string name="tracking_pack_title">Stažení sledování rukou</string>
<string name="tracking_pack_hint">Sledování rukou vyžaduje jednorázové stažení %1$s.</string>
<string name="tracking_pack_download">Stáhnout</string>
<string name="tracking_pack_retry">Zkusit znovu</string>
<string name="tracking_pack_downloading">Stahování sledování rukou… %1$d%%</string>
<string name="tracking_pack_failed">Sledování rukou se nepodařilo stáhnout. Zkontrolujte připojení a zkuste to znovu.</string>
<string name="hand_camera_check_title">Umístění kamery</string>
<string name="hand_camera_how_rear">Postavte zařízení svisle do vzdálenosti 1,5 až 2 metry přibližně ve výšce hrudníku tak, aby zadní kamera směřovala k vám. Pak se postavte do záběru s nataženýma rukama.</string>
<string name="hand_camera_how_front">Postavte zařízení svisle do vzdálenosti 1,5 až 2 metry přibližně ve výšce hrudníku tak, aby obrazovka směřovala k vám. Pak se postavte do záběru s nataženýma rukama.</string>
@@ -2730,6 +2856,21 @@
<string name="storage_safe_hint">Nevyužitá prostředí, zbytky, staré logy</string>
<string name="storage_clean_up">Čištění…</string>
<string name="storage_session_running">Zastav relaci, ať můžeš uklidit nebo něco smazat. Velikosti zůstávají vidět.</string>
<string name="storage_default_group">Umístění instalace</string>
<string name="storage_default_title">Výchozí úložiště</string>
<string name="storage_default_hint">Nové instalace z obchodů půjdou do vybraného umístění. Stávající hry zůstanou, kde jsou. Knihovny Steamu mají vlastní nastavení.</string>
<string name="storage_default_ask">Vždy se zeptat</string>
<string name="storage_default_ask_detail">Vybrat cíl u každé instalace</string>
<string name="storage_default_internal">Interní úložiště</string>
<string name="storage_default_external">Externí úložiště</string>
<string name="storage_default_external_detail">%1$s · volně %2$s</string>
<string name="storage_default_external_missing">Nepřipojeno</string>
<string name="storage_default_folder">Složka · %1$s</string>
<string name="storage_default_folder_free">volně %1$s</string>
<string name="storage_default_folder_missing">Nepřipojeno</string>
<string name="storage_default_choose_folder">Vybrat složku…</string>
<string name="storage_default_choose_folder_detail">Použít libovolnou složku na kartě SD nebo disku USB</string>
<string name="storage_default_note">Hry se ukládají do složky Games ve vybraném umístění. Stávající hry se nepřesouvají.</string>
<string name="storage_where">Kam to jde</string>
<string name="storage_games">Hry ze Steamu</string>
<string name="storage_game_data">Data her</string>
@@ -2865,6 +3006,9 @@
<string name="storage_data_installed">Nainstalované hry</string>
<string name="storage_data_parts">Prefix %1$s · shadery %2$s · workshop %3$s</string>
<string name="storage_clear_shaders">Vymazat shadery</string>
<string name="storage_reset_prefix">Resetovat prefix</string>
<string name="storage_reset_prefix_title">Resetovat prefix pro %1$s?</string>
<string name="storage_reset_prefix_confirm">Smaže její prefix Wine (%1$s) v %2$s a při dalším spuštění ho vytvoří znovu. Uložené hry, nastavení a nainstalované redistribuovatelné balíčky v něm budou ztraceny; uložení ve Steam Cloud zůstanou ve vašem účtu.</string>
<string name="storage_data_leftovers">Smazané hry</string>
<string name="storage_steam_app">Aplikace Steam %1$d</string>
<string name="storage_leftover_unsure_detail">Prefix stále obsahuje soubory, možná místní uložené pozice</string>
@@ -3170,6 +3314,10 @@
<string name="spatial_saved_views_hint">Uložená zobrazení lze přepočítat. Spusťte novou kalibraci pro zachycení v aktuálním sledovacím souřadnicovém systému.</string>
<string name="spatial_model_checksum_error">Neshoda kontrolního součtu modelu ruky</string>
<string name="spatial_opencv_load_error">OpenCV se nepodařilo načíst</string>
<string name="session_end_steam_sigill">Steam se zastavil na neplatné instrukci (SIGILL). Může jít o problém s kompatibilitou instrukcí CPU nebo o pád klienta. Sdílejte protokoly s údaji o zařízení.</string>
<string name="session_end_steam_try_x64">Můžete zkusit Nastavení Steamu → Klient Steam → x86-64 (experimentální). Vyžaduje další stahování a může běžet pomaleji.</string>
<string name="session_end_vulkan_device">Grafický ovladač Linuxu nenašel použitelné zařízení Vulkan. Zkontrolujte, zda vybraný ovladač GPU pro Linux toto GPU podporuje.</string>
<string name="session_end_gpu_unsupported">Tuto relaci nelze spustit, protože toto GPU nemá v aktuálním nastavení kompatibilní ovladač Vulkan pro Linux. Ovladače Adreno Turnip nemohou zapnout podporu GPU MediaTek/Mali.</string>
<string name="setup_group_memory">Paměť</string>
<string name="setup_clear_cached">Zavřít aplikace v mezipaměti před relací</string>
<string name="setup_clear_cached_hint">Při spuštění relace DroidDeck zavře aplikace, které Android drží na pozadí, aby hra měla více paměti. Musí být zapnuté Bezdrátové ladění.</string>
@@ -3193,6 +3341,12 @@
<string name="epic_client_open">Otevřít</string>
<string name="epic_client_install">Instalovat</string>
<string name="game_tab_about">O aplikaci</string>
<string name="game_resources_browser">Otevře se v prohlížeči</string>
<string name="game_resource_guides">Návody</string>
<string name="game_resource_protondb_detail">Hlášení o kompatibilitě Linux / Proton</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">Pro hry s uloženými pozicemi ve vašem účtu Steam</string>
<string name="game_resource_search">Hledat na webu</string>
<string name="game_tab_install">Instalovat</string>
<string name="game_install_location">Umístění</string>
<string name="game_install_folder">Složka</string>
@@ -3209,6 +3363,11 @@
<string name="stores_eyebrow_pass">dostupné s %1$s</string>
<string name="stores_owned_in_library">Vlastněné hry v knihovně</string>
<string name="library_filter_added">Přidané</string>
<string name="library_filter">Filtr</string>
<string name="library_filter_installed">Jen nainstalované</string>
<string name="library_filter_all_owned">Všechny vlastněné hry</string>
<string name="library_no_installed_matches">Těmto filtrům neodpovídají žádné nainstalované hry.</string>
<string name="library_browse_owned">Procházet vlastněné hry</string>
<string name="game_tab_launch">Spuštění</string>
<string name="game_tab_saves_cloud">Uložené hry a cloud</string>
<string name="game_launch_shortcut">Zástupce ve Steamu</string>
@@ -3226,6 +3385,28 @@
<string name="stores_itch_update_replaced">Vývojář nahradil tuto verzi souborem %1$s. Aktualizovat na ni?</string>
<string name="xbox_filter_cloud">Cloud</string>
<string name="stores_xbox_cloud_settings">Nastavení cloudu</string>
<string name="integration_title">Integrace se Steamem</string>
<string name="integration_count">Zapnuto %1$d z %2$d</string>
<string name="integration_set_up">Nastavit</string>
<string name="integration_location">Poloha</string>
<string name="integration_app_info">Informace o aplikaci</string>
<string name="integration_wifi">Názvy Wi-Fi</string>
<string name="integration_brightness">Jas</string>
<string name="integration_home">DroidDeck jako domovská obrazovka</string>
<string name="integration_shortcuts">Zkratky tlačítka Domů</string>
<string name="integration_wifi_hint">Zobrazit sítě ve Steamu · vyžaduje přístup k poloze, nikdy se nesleduje</string>
<string name="integration_wifi_on">Sítě se zobrazují ve Steamu</string>
<string name="integration_wifi_location_off">Poloha je vypnutá</string>
<string name="integration_wifi_denied">Poloha zamítnuta · povolte ji v Informacích o aplikaci</string>
<string name="integration_brightness_hint">Posuvník Steamu nastavuje jas obrazovky</string>
<string name="integration_home_hint">Tlačítko Domů v relaci otevře nabídku Steam</string>
<string name="integration_shortcuts_hint">Podržte Domů pro kombinace Steam Guide</string>
<string name="integration_shortcuts_needs_home">Vyžaduje DroidDeck jako domovskou obrazovku</string>
<string name="integration_shortcuts_maybe_restricted">V Androidu zašedlé? Informace o aplikaci → ⋮ → Povolit omezená nastavení</string>
<string name="integration_shortcuts_restricted">Blokováno Androidem · Informace o aplikaci → ⋮ → Povolit omezená nastavení</string>
<string name="integration_shortcuts_service">Tlačítko Domů pro DroidDeck</string>
<string name="integration_shortcuts_service_description">Předává stisky tlačítka Domů do Steam Guide, když je aktivní relace Steamu a DroidDeck je výchozí aplikací domovské obrazovky. Nečte obsah obrazovky.</string>
<string name="integration_brightness_needed">Zapněte Jas v Příprava → Integrace se Steamem</string>
<string name="apps_search_hint">Hledat aplikace</string>
<string name="apps_no_match">Výrazu „%1$s“ neodpovídá žádná aplikace.</string>
<string name="apps_add_widget">Přidat widget</string>
@@ -3276,9 +3457,35 @@
<string name="desktop_restore_done_body">Aplikace, které jste přidali, jsou znovu nainstalovány.</string>
<string name="desktop_restore_failed_title">Část softwaru se nepodařilo obnovit</string>
<string name="desktop_restore_failed_body">Podívejte se do ~/.cache/droiddeck/apt-restore.log a pak zkuste sudo apt install v Konsoli.</string>
<string name="gog_full_files">Nativní optimalizace nejsou k dispozici. Stažení obsahuje kompletní náhradní soubory.</string>
<string name="gog_recover">Ověřit výsledek patche</string>
<string name="slow_usb_title">Pomalé připojení USB</string>
<string name="slow_usb_cable">%1$s je připojen přes %2$s (%3$s Mb/s, asi %4$d MB/s), takže hry na něm se budou načítat pomalu. Použijte kabel USB 3 s rychlostí 5 Gb/s nebo vyšší, zkuste otočit konektor USB-C nebo použijte rychlejší disk.</string>
<string name="slow_usb_port">%1$s je připojen přes %2$s (%3$s Mb/s, asi %4$d MB/s). Port USB tohoto zařízení rychleji neumí, takže hry na něm se budou načítat pomalu. Interní úložiště nebo karta microSD může být rychlejší.</string>
<string name="slow_usb_never">Už nezobrazovat</string>
<string name="slow_usb_dismiss">Zavřít</string>
<string name="steam_import_title">Restartovat Steam a přidat vaše hry?</string>
<string name="steam_import_body">Steam může tyto vaše hry zobrazit jako nainstalované: %1$s. Aby je ukázal, musí se restartovat. Restartujte teď, nebo se přidají při příštím spuštění Steamu.</string>
<string name="steam_import_names_more">%1$s a %2$d dalších</string>
<string name="steam_import_now">Restartovat teď</string>
<string name="steam_import_later">Později</string>
<string name="gog_maintenance">Spravovat instalaci GOG</string>
<string name="gog_check">Zkontrolovat aktualizace</string>
<string name="gog_repair">Ověřit/opravit</string>
<string name="gog_patches">Offline patche</string>
<string name="gog_refresh">Stáhnout úplný offline instalátor</string>
<string name="gog_update">Aktualizovat na %1$s</string>
<string name="gog_resume">Pokračovat v údržbě GOG</string>
<string name="gog_open_patch">Otevřít instalátor patche</string>
<string name="gog_patch_in_session">Dokončete nebo zrušte instalátor patche v relaci Linuxu.</string>
<string name="gog_patch_requirements">Vyberte patch pro nainstalovanou verzi a jazyk. Podporované zdrojové verze nemusí být uvedeny.</string>
<string name="gog_no_patches">GOG pro tuto hru nemá samostatné patche pro Windows.</string>
<string name="gog_managed_files">Upravené soubory hry mohou být nahrazeny.</string>
<string name="gog_patch_installer_note">Instalátor se otevře ve vaší relaci Linuxu.</string>
<string name="gog_download_label">Stažení</string>
<string name="gog_space_label">Místo navíc</string>
<string name="gog_space_estimate_label">Odhad místa</string>
<string name="gog_repair_action">Opravit soubory</string>
<string name="gog_refresh_action">Obnovit instalaci</string>
<string name="gog_select_patch">Vybrat</string>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Genveje til fysiske knapper</string>
<string name="shortcuts_dd_menu">DroidDeck-menu</string>
<string name="shortcuts_capture">Tildel: %1$s</string>
<string name="shortcuts_press">Tryk på en knap, og slip den. Tildelingen gemmes automatisk.</string>
<string name="shortcuts_release">Slip knappen for at fortsætte.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">Denne knap er allerede tildelt: %1$s</string>
<string name="shortcuts_save">Tildel igen</string>
<string name="shortcuts_retry">Prøv en anden knap</string>
<string name="shortcuts_limitations">Hjem-knappen og visse ekstra knapper er muligvis ikke tilgængelige.</string>
</resources>
+205 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">VKD3D-indstillinger for D3D12. nodxr deaktiverer ray tracing; brug kun til et spil, der har brug for det.</string>
<string name="game_env_proton_log">Sæt til 1 for en diagnostisk Proton-log. Logning kan reducere ydelsen og bruge lagerplads.</string>
<string name="game_env_wined3d">Sæt til 1 for at bruge OpenGL-baseret WineD3D i stedet for DXVK til D3D9–11-kompatibilitetstest.</string>
<string name="game_env_wined3d_renderer">Renderer til DirectDraw, Direct3D 1-7 og spil, der kører med WineD3D. Vulkan springer OpenGL-via-Zink-vejen over og er meget hurtigere til gamle DirectDraw- og Direct3D 7-spil på Adreno.</string>
<string name="game_env_dxvk_d3d8">Sæt til 1 for at køre Direct3D 8 via DXVK i stedet for WineD3D. Hurtigere i AIO Graphics Tests Direct3D 8-test på Adreno.</string>
<string name="game_env_no_ntsync">Sæt til 1 for at holde dette spil væk fra ntsync (droiddeck-ntsync eller en kerneldriver); det bruger droiddeck-esync, hvor en pack findes, ellers droiddeck-fsync.</string>
<string name="game_env_no_esync">Sæt til 1 for at slå droiddeck-esync fra for dette spil; det bruger droiddeck-fsync i stedet, eller droiddeck-ntsync hvis fsync også er fra.</string>
<string name="game_env_no_fsync">Sæt til 1 for at holde dette spil væk fra droiddeck-fsync; det bruger droiddeck-esync, hvor en pack findes, ellers droiddeck-ntsync.</string>
<string name="game_env_fsync_first">Sæt til 1 for at køre dette spil på droiddeck-fsync, eller 0 for at sætte droiddeck-esync først, hvor en pack passer til dets Proton.</string>
<string name="game_env_xalia">Sæt til 0 for at deaktivere Protons gamepad-navigationshjælper for dette spil.</string>
<string name="game_env_anticheat_offline">Til som standard. Starter et Easy Anti-Cheat-spil uden dets anti-cheat, når spillet understøtter offlinespil. Slå fra for at starte via Easy Anti-Cheat som normalt. Onlinetilstande, der kræver Easy Anti-Cheat, forbliver utilgængelige.</string>
<string name="game_env_hud">DXVK-overlay til D3D9–11. fps viser billedhastigheden; lad stå tomt for at skjule den.</string>
<string name="game_env_dxvk_config">DXVK-indstillinger adskilt af semikolon. Nyere builds bruger dxvk.maxFrameRate til at begrænse billedhastigheden; foretræk sessionens billedgrænse til almindeligt spil.</string>
<string name="game_env_cores">CPU-kerner til dette spil, f.eks. 0-4 eller 0,2,4, i stedet for sessionens spilkerner. Færre kerner kører køligere.</string>
<string name="game_env_vkd3d_limit">Grænse for D3D12-billedhastighed. 0 deaktiverer grænsen.</string>
<string name="game_env_glthread">Mesa OpenGL-threading. true kan hjælpe CPU-begrænsede OpenGL-spil; test for hvert spil.</string>
<string name="sync_backend_title">Wine-synkronisering</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">FEX kører x86-Linux-programmer på denne ARM64-enhed. Auto bruger det, når programmet er bygget til x86.</string>
<string name="app_fex_x86">%1$s via FEX</string>
<string name="app_fex_not_ready">Dette program er bygget til %1$s-pc’er og køres via FEX, som ikke er sat op endnu. Åbn Steam én gang, mens du er logget ind: DroidDeck downloader så FEX og den Steam Linux Runtime, det kræver, hvorefter dette åbner.</string>
<string name="session_proot_missing">DroidDecks proot kunne ikke downloades. Tjek forbindelsen, og prøv igen. Sessionen blev ikke startet, fordi reserve-proot er for langsom at spille på.</string>
<string name="session_directaudio_missing">DirectAudio kunne ikke downloades, så spillyd bruger den langsommere vej i denne session.</string>
<string name="session_end_program">Dette program</string>
<string name="session_end_steam_download">Steam-klienten kunne ikke downloades. Dit netværk eller din VPN blokerer muligvis Steams servere; tjek forbindelsen, og prøv igen.</string>
<string name="session_end_steam_setup">Steam-klienten kunne ikke konfigureres. Tjek forbindelsen og den ledige lagerplads, og prøv igen.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">Xbox 360-controller</string>
<string name="mode_controller_note">Deck: Hurtig adgang-knap og gyro. Steam Controller: det samme, med gribefølsomme bagknapper. DualShock 4 og DualSense: gyro, og touchpaddene som deres touchpad. Xbox 360: åbn Hurtig adgang med Guide+A.</string>
<string name="mode_back">Tilbage</string>
<string name="back_native_qam_hint">Hold Tilbage i 700 ms, eller hold Tilbage og tryk på en anden knap for Steam-genveje.</string>
<string name="back_double_tap_window">Tidsrum for dobbelttryk</string>
<string name="back_tap_ms">%1$d ms</string>
<string name="brightness_permission_title">Tillad styring af lysstyrke</string>
<string name="brightness_permission_text">Konfigurer styring af lysstyrke i DroidDeck.</string>
<string name="back_menu_then_qam">Menu → QAM</string>
<string name="back_qam_then_menu">QAM → Menu</string>
<string name="mode_session">Session</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">Opdateret · %1$s</string>
<string name="mode_decky_loader">Loader</string>
<string name="mode_decky_install_latest">Installer nyeste</string>
<string name="decky_channel">Opdateringskanal</string>
<string name="decky_channel_hint">Hvilke Decky Loader-udgivelser der installeres. Deckys egen opdatering bruger samme kanal.</string>
<string name="decky_channel_stable">Stabil</string>
<string name="decky_channel_prerelease">Forhåndsudgivelse</string>
<string name="decky_channel_testing">Test</string>
<string name="decky_channel_failed">Kunne ikke gemme Decky-opdateringskanalen</string>
<string name="mode_decky_on">Starter med Steam. Mens den er til, kan andre apps på denne enhed muligvis styre Steam.</string>
<string name="mode_decky_off">Fra. Steams fjerndebugport forbliver lukket.</string>
<string name="mode_decky_remove_title">Afinstaller Decky Loader?</string>
@@ -323,6 +340,10 @@
<string name="mode_client">Klient</string>
<string name="mode_mangoapp">Ydelsesoverlay</string>
<string name="mode_mangoapp_hint">Slå fra, hvis spil går ned eller bliver sorte i Deck-tilstand. Gælder fra næste session.</string>
<string name="mode_return_after_game">Vend tilbage til DroidDeck efter et spil</string>
<string name="mode_return_after_game_hint">Når et spil, du startede fra DroidDeck eller en anden launcher, lukkes, afslutter Steam pænt (cloud-gemninger afsluttes først), og du vender tilbage dertil. Fra: bliv i Steam.</string>
<string name="mode_shader_precache">Shader-forhåndscaching</string>
<string name="mode_shader_precache_hint">Steam downloader forudbyggede shadere til dine spil og behandler dem i baggrunden, så spil hakker mindre. Fra sparer data, lagerplads og batteri; spil bygger i stedet shadere undervejs. Samme indstilling som Steams Downloads > Shader Pre-Caching. Gælder fra næste session.</string>
<string name="mode_steam_repair">Reparer Steam-klienten</string>
<string name="mode_steam_repair_hint">Downloader Steam-klienten igen, næste gang Steam starter. Brug det, hvis Steam bliver hængende på sin indlæsningsskærm. Spil, login og indstillinger bevares.</string>
<string name="mode_steam_repair_queued">Steam-klienten downloades igen, næste gang Steam starter.</string>
@@ -390,6 +411,8 @@
<string name="mode_directaudio_hint">Går uden om PulseAudio for lavere forsinkelse.</string>
<string name="mode_mic">Mikrofon</string>
<string name="mode_mic_hint">Til voicechat.</string>
<string name="drawer_mic_hint">Slå mikrofonoptagelse til eller fra for denne session.</string>
<string name="drawer_mic_failed">Kunne ikke ændre mikrofonen. Prøv igen.</string>
<string name="mode_network">Netværk</string>
<string name="mode_wifi_discovery">Wi-Fi-søgning</string>
<string name="mode_wifi_discovery_hint">Vis Wi-Fi-navne og netværk i nærheden i Steam.</string>
@@ -551,6 +574,16 @@
<string name="perf_gsrealtime">gamescope: realtids-GPU-kø</string>
<string name="perf_gsrealtime_hint">Prioriterer compositorens GPU-arbejde. Kan give jævnere billedtiming på bekostning af spillene.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">Hukommelse</string>
<string name="perf_cap_off">Fra</string>
<string name="perf_cap_auto">Driverstandard</string>
<string name="perf_zram_client">Komprimer Steam, mens et spil kører</string>
<string name="perf_zram_client_hint">20 s efter et spil starter, komprimeres Steam-klienten i zRAM for at give spillet mere hukommelse, og læses tilbage, når spillet lukkes. Slå fra, hvis sessionen lukker kort efter, at spil starter. En RAM-grænse ovenfor komprimerer stadig Steam, når sessionen overskrider den.</string>
<string name="perf_ram_cap">RAM-grænse</string>
<string name="perf_ram_cap_hint">Gælder, mens Steam-klienten kører, i Steam-tilstand eller fra skrivebordet. Når sessionen bruger mere end dette, komprimeres Steam og derefter sessionens andre understøttede processer i zRAM. En blød grænse: intet lukkes, men spil kan hakke, mens sider hentes tilbage.</string>
<string name="perf_ram_cap_unavailable">Kræver zRAM-swap, som denne enhed ikke har.</string>
<string name="perf_vram_cap">VRAM-grænse</string>
<string name="perf_vram_cap_hint">Den videohukommelse, DXVK rapporterer til Direct3D-spil, så de budgetterer teksturer til mindre. Et spils egne DXVK-indstillinger har forrang. Træder i kraft ved næste session.</string>
<string name="perf_gpuclock">Hold GPU’en på dens højeste clock</string>
<string name="perf_gpuclock_hint">Kun Adreno. Færre hak, mere batteribrug og varme.</string>
<string name="perf_fixes">Sessionsrettelser</string>
@@ -569,6 +602,8 @@
<string name="perf_fastpath">proot-hurtigvej</string>
<string name="perf_fastpath_needs_seccomp">Kræver prootets seccomp-filter.</string>
<string name="perf_fastpath_hint">Hurtigere filopslag og mindre hak. Slå fra, hvis et program ikke kan finde sine filer.</string>
<string name="perf_cursor_composite">Tegn markøren i gamescope</string>
<string name="perf_cursor_composite_hint">Gamescope tegner selv markøren i stedet for at overlade den til Android. Slå til for en controllerstyret markør. Fra er hurtigere på en telefon. Gælder fra næste session.</string>
<string name="perf_identity">Sessionsidentitet</string>
<string name="perf_hostname">Værtsnavn</string>
<string name="perf_hostname_hint">Navnet Steam ser for denne enhed. Tomt gendanner %1$s.</string>
@@ -583,6 +618,8 @@
<string name="driver_delete_plain">Dens filer fjernes fra appen.</string>
<string name="driver_delete_in_use">Dens filer fjernes. Den er i brug, så standarden tager over.</string>
<string name="drawer_page_display">Skærm</string>
<string name="drawer_frame_limit">Billedgrænse</string>
<string name="drawer_frame_limit_note">Begrænser dette spil. Skærmen skifter til en opdateringshastighed, som grænsen går lige op i, når den har en; andre grænser kan virke ujævne. Steam-spil bruger Steams Frame Limit i Hurtig adgang-menuen.</string>
<string name="drawer_page_effects">Effekter</string>
<string name="drawer_page_controls">Kontroller</string>
<string name="drawer_page_components">Komponenter</string>
@@ -664,7 +701,6 @@
<string name="hud_export_failed">HUD-rapporten kunne ikke gemmes.</string>
<string name="hud_reset">Nulstil HUD-indstillinger</string>
<string name="hud_reset_button">Nulstil</string>
<string name="hud_credit">FusionHUD af The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Skaleringstilstand</string>
<string name="drawer_scaling_sharpness">Skaleringsskarphed</string>
<string name="drawer_effects">Skærmeffekter</string>
@@ -699,6 +735,8 @@
<string name="drawer_touch_auto">Auto (%1$s)</string>
<string name="drawer_keyboard">Tastatur</string>
<string name="drawer_latency">Forsinkelse</string>
<string name="drawer_low_latency">Lav forsinkelse</string>
<string name="drawer_low_latency_hint">Øger CPU- og batteriforbrug</string>
<string name="drawer_low_latency_controller">Controller med lav forsinkelse</string>
<string name="drawer_low_latency_controller_hint">Controlleren rapporterer ved 1000 Hz i stedet for 250 Hz. Lidt mere CPU.</string>
<string name="drawer_low_latency_touch">Berøring med lav forsinkelse</string>
@@ -791,6 +829,10 @@
<string name="setup_session">Session</string>
<string name="setup_logs">Sessionslogs</string>
<string name="setup_logs_hint">Gemt efter hver session</string>
<string name="setup_game_debug_logs">Fejlfindingslogs for spil</string>
<string name="setup_game_debug_logs_hint">Medtag Proton-, Wine- og grafikdiagnostik ved næste spilstart. Kan reducere ydelsen og bruge mere lagerplads.</string>
<string name="setup_game_debug_logs_restart">Genstart denne session for at gemme fejlfindingslogs for spil</string>
<string name="setup_logging_update_failed">Kunne ikke opdatere logning. Tjek kontakten, og prøv igen.</string>
<string name="setup_agent_commands">Fejlfindingsværktøjer</string>
<string name="setup_latest_logs">Seneste sessionslogs</string>
<string name="setup_saved_logs">Gemte sessionslogs</string>
@@ -823,6 +865,11 @@
<string name="setup_home_on">DroidDeck kan være Home-appen</string>
<string name="setup_home_off">DroidDeck tilbydes aldrig som Home-app</string>
<string name="setup_orientation">Retning</string>
<string name="setup_launcher_orientation">Launcherens retning</string>
<string name="setup_launcher_orientation_auto">Følg enhedens rotation</string>
<string name="setup_orientation_portrait">Stående</string>
<string name="setup_session_orientation">Sessionens retning</string>
<string name="setup_session_orientation_hint">Gælder Steam, spil, skrivebordet og controllereditoren. Opløsningsforudindstillinger roterer med sessionen; brugerdefineret bredde og højde forbliver som angivet.</string>
<string name="setup_orientation_auto">Automatisk liggende</string>
<string name="setup_orientation_landscape">Liggende</string>
<string name="setup_orientation_reverse">Omvendt liggende</string>
@@ -987,6 +1034,14 @@
<string name="gate_step1">Åbn Indstillinger → Udviklerindstillinger → Trådløs fejlretning, og slå den til</string>
<string name="gate_step2">Tryk på “Par enhed med parringskode”</string>
<string name="gate_step3">Indtast koden i DroidDeck-notifikationen</string>
<string name="pairguide_build_number">Tryk 7 gange på Buildnummer under Om telefonen</string>
<string name="pairguide_wireless">Slå Trådløs fejlretning til</string>
<string name="pairguide_pair">Åbn Trådløs fejlretning, og tryk på “Par enhed med parringskode”</string>
<string name="pairguide_child_process">Slå “Deaktiver begrænsningerne for underprocesser” til</string>
<string name="pairguide_row_child_process">Deaktiver begrænsningerne for underprocesser</string>
<string name="pairguide_row_build_number">Buildnummer</string>
<string name="pairguide_row_wireless">Trådløs fejlretning</string>
<string name="pairguide_row_pair">Par enhed med parringskode</string>
<string name="gate_waiting">Venter på parringsvinduet…</string>
<string name="gate_code_needed">Vindue fundet. Indtast dets kode i notifikationen.</string>
<string name="gate_status">Status</string>
@@ -1125,7 +1180,6 @@
<string name="games_never_played">Aldrig spillet</string>
<string name="games_runtime_busy_percent">Runtime optaget · %1$d%%</string>
<string name="games_runtime_busy">Runtime optaget</string>
<string name="games_runtime_first_play">Runtime installeres ved første Spil</string>
<string name="games_runtime_update">Runtimeopdatering tilgængelig</string>
<string name="games_runtime_ready">● Runtime klar</string>
<string name="games_internal">Internt lager</string>
@@ -1142,6 +1196,9 @@
<string name="gpu_hide_other">Skjul drivere til andre GPU’er</string>
<string name="gpu_show_other">Vis drivere til andre GPU’er</string>
<string name="gpu_advanced">Avanceret</string>
<string name="gpu_ubwc_title">UBWC-kompatibilitet</string>
<string name="gpu_ubwc_hint">Prøv Til eller Fra, hvis Steam eller Android viser striber eller flimmer. Gælder begge drivere efter genstart af DroidDeck.</string>
<string name="gpu_ubwc_restart">Genstart DroidDeck for at anvende.</string>
<string name="gpu_set_with_display">Angives sammen med skærmdriveren: %1$s dækker begge.</string>
<string name="gpu_set_with_runtime">Angives sammen med runtimedriveren: %1$s dækker begge.</string>
<string name="gpu_runtime_hint">Bruges af spil og skrivebordet.</string>
@@ -1250,10 +1307,15 @@
<string name="pip_auto">Gå automatisk til billede i billede</string>
<string name="unfolded_controls">Kontroller på den udfoldede skærm</string>
<string name="unfolded_controls_hint">Når skærmen er foldet ud, ligger spillet over Steam Decks trackpads og grebsknapper. Når den er foldet sammen, fylder spillet hele skærmen.</string>
<string name="unfolded_controls_with_controller">Behold dem med en controller</string>
<string name="unfolded_controls_with_controller_hint">Vis også disse berøringskontroller, mens en controller er tilsluttet.</string>
<string name="pip_suspended">Sat i bero</string>
<string name="pip_not_ready">Billede i billede er tilgængeligt, når sessionen er klar.</string>
<string name="pip_permission">Tillad billede i billede for DroidDeck i Android-indstillingerne.</string>
<string name="pip_unavailable">Android kunne ikke åbne billede i billede.</string>
<string name="game_more">Mere</string>
<string name="game_edit_art">Rediger grafik</string>
<string name="stores_in_steam_label">I Steam</string>
<string name="game_shortcut">Genvej</string>
<string name="game_shortcut_add">Tilføj til hjemmeskærm</string>
<string name="game_shortcut_choose">Vælg spil</string>
@@ -1277,6 +1339,10 @@
<string name="main_wait_runtime">Vent til runtime-handlingen er færdig</string>
<string name="main_wait_proton_install">Vent til installationen af kompatibilitetsværktøjet er færdig</string>
<string name="load_compat_title">Forbereder kompatibilitetsværktøjer</string>
<string name="load_compat_wait">Venter på, at kompatibilitetsopsætningen bliver færdig</string>
<string name="load_compat_hint">Din session starter, når opsætningen er færdig.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">Vent til installationen af skrivebordsappen er færdig</string>
<string name="main_wait_install_game">Vent til installationen er færdig, før du starter et spil</string>
<string name="main_saves_close_session">Luk Steam-sessionen først, så spillet ikke overskriver importen</string>
@@ -1313,6 +1379,9 @@
<string name="main_install_anyway">Installer alligevel</string>
<string name="main_remove_runtime_title">Fjern Linux-runtime</string>
<string name="main_remove_runtime_text">Dette sletter runtime\'en, Steam-klienten i den og alle spil installeret der.</string>
<string name="runtime_actions_title">Linux-runtime</string>
<string name="runtime_actions_text">Reparer geninstallerer runtimens systemfiler og bevarer Steam, dine spil og indstillinger. Ekstra komponenter som skrivebordet installeres igen, næste gang du bruger dem. Fjern sletter alt.</string>
<string name="runtime_repair">Reparer runtime</string>
<string name="main_applied">Anvendt: %1$s</string>
<string name="android_app_open_failed_primary">Kunne ikke åbne %1$s på den primære skærm</string>
<string name="android_app_open_failed_on">Kunne ikke åbne %1$s på %2$s</string>
@@ -1442,6 +1511,11 @@
<string name="session_runtime_catalog_unreachable">Kunne ikke nå runtime-kataloget. Kontroller forbindelsen, og tryk på Spil igen.</string>
<string name="session_runtime_install_failed">Linux-runtime blev ikke installeret. Kontroller runtime i Opsætning, og tryk på Spil igen.</string>
<string name="session_desktop_install_failed">Skrivebordet blev ikke installeret (%1$s). Kontroller forbindelsen, og tryk på Skrivebord igen.</string>
<string name="session_package_resume_failed">En afbrudt installation kunne ikke fuldføres (%1$s). Tjek forbindelsen og den ledige plads, og prøv igen.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="one">Linux-runtimen er beskadiget: %1$d bibliotekslink peger på en manglende fil (%2$s), som regel efter en afbrudt installation. Reparer bevarer dine spil og indstillinger.</item>
<item quantity="other">Linux-runtimen er beskadiget: %1$d bibliotekslinks peger på manglende filer (%2$s og andre), som regel efter en afbrudt installation. Reparer bevarer dine spil og indstillinger.</item>
</plurals>
<string name="session_ended_named">%1$s stoppede uventet. Del logs med en fejlrapport, eller prøv igen.</string>
<string name="session_ended_program">Programmet stoppede uventet. Del logs med en fejlrapport, eller prøv igen.</string>
<string name="session_ended_desktop">Skrivebordet stoppede uventet. Del logs med en fejlrapport, eller prøv igen.</string>
@@ -1456,6 +1530,13 @@
<string name="mode_decky_plugins_hint">Installer en plugin-ZIP til den næste Steam-session.</string>
<string name="mode_decky_plugin_downloading">Downloader…</string>
<string name="mode_decky_plugin_install_zip">Installer fra ZIP</string>
<string name="decky_zip_warning_title">Installation af tredjeparts-plugin</string>
<string name="decky_zip_warning_text">Decky Loader-teamet har ikke gennemgået dette plugin. Det kan indeholde malware, f.eks. software, der stjæler din Steam-konto eller skader din enhed. Ved at installere dette plugin accepterer du, at du påtager dig al risiko for din enhed.</string>
<string name="decky_zip_warning_continue">Fortsæt</string>
<plurals name="decky_zip_warning_wait">
<item quantity="one">Vent %1$d sekund</item>
<item quantity="other">Vent %1$d sekunder</item>
</plurals>
<string name="store_cat_games">Spil</string>
<string name="store_cat_audio_video">Lyd og video</string>
<string name="store_cat_graphics">Grafik</string>
@@ -1617,6 +1698,8 @@
<string name="fm_accept">Accepter</string>
<string name="fm_decline">Afvis</string>
<string name="fm_drive_not_readable">%1$s er monteret, men kan ikke læses lige nu</string>
<string name="fm_drive_access_title">Giv adgang til %1$s</string>
<string name="fm_drive_access_text">Android lader DroidDeck se dette drev, men ikke læse det. Slå Adgang til alle filer til for DroidDeck, og kom så tilbage.</string>
<string name="fm_list_view">Listevisning</string>
<string name="fm_grid_view">Gittervisning</string>
<string name="fm_search">Søg</string>
@@ -1718,6 +1801,7 @@
<string name="flatpakmgr_not_ready">Opsæt Flatpak først</string>
<string name="flatpakmgr_starting">Starter</string>
<string name="flatpakmgr_exit_status">Flatpak afsluttede med status %1$d</string>
<string name="flatpakmgr_wrong_arch">%1$s er bygget til %2$s, som DroidDeck ikke kan køre. Flatpak-apps her skal være bygget til ARM64 eller x86_64.</string>
<string name="flatpakmgr_installing">Installerer %1$s</string>
<string name="flatpakmgr_updating">Opdaterer %1$s</string>
<string name="flatpakmgr_removing">Fjerner %1$s</string>
@@ -1811,6 +1895,7 @@
<string name="adbpair_applying">Anvender indstillingen…</string>
<string name="adbpair_command_failed">Kommando til Trådløs fejlretning mislykkedes</string>
<string name="adbpair_channel_name">Opsætning af Trådløs fejlretning</string>
<string name="adbpair_progress_channel_name">Status for opsætning af trådløs fejlretning</string>
<string name="adbpair_channel_description">Spørger efter parringskoden til Trådløs fejlretning, mens Indstillinger er åben</string>
<string name="adbpair_title_pair">Par Trådløs fejlretning</string>
<string name="adbpair_waiting_text">Tænd Trådløs fejlretning, og tryk derefter på „Par enhed med parringskode“.</string>
@@ -1919,6 +2004,7 @@
<string name="gpuinfo_not_adreno">Ikke en Adreno-GPU</string>
<string name="gpuinfo_supported">Understøttet</string>
<string name="gpuinfo_experimental">Eksperimentel: dens drivere er testversioner</string>
<string name="gpuinfo_a850_experimental">Eksperimentel Adreno 850-understøttelse: kræver kompatible eksperimentelle skærm- og spildrivere; ikke bekræftet på denne enhed</string>
<string name="gpuinfo_below_tested">Under testet hardware (Adreno 725 og nyere): kører muligvis ikke</string>
<string name="gpuinfo_unsupported">Ikke understøttet: DroidDeck kræver en Adreno (Snapdragon) GPU</string>
@@ -2121,6 +2207,13 @@
<string name="stores_resume">Genoptag</string>
<string name="stores_refresh">Opdater</string>
<string name="stores_sort">Sortér</string>
<string name="setup_rail_labels">Sidepanelets etiketter</string>
<string name="setup_rail_labels_hint">Vis navne under ikonerne i sidepanelet. Slå fra for et smallere sidepanel.</string>
<string name="library_display">Visning</string>
<string name="library_display_larger">Større kort</string>
<string name="library_display_smaller">Mindre kort</string>
<string name="library_display_title">Vis titel</string>
<string name="library_display_size">Vis størrelse</string>
<string name="stores_sort_last_played">Senest spillet</string>
<string name="stores_sort_recently_installed">Senest installeret</string>
<string name="stores_sort_title_asc">Titel A–Å</string>
@@ -2247,6 +2340,9 @@
<string name="stores_download_manager">Downloadadministrator</string>
<string name="stores_parallel">Downloads på samme tid</string>
<string name="stores_install_where">Installer til</string>
<string name="stores_install_language">Spilsprog</string>
<string name="stores_install_language_hint">GOG og Epic installerer dette sprog. System følger appens sprog.</string>
<string name="stores_install_language_system">System</string>
<string name="stores_install_title">Installer %1$s:</string>
<string name="stores_target_internal">Intern</string>
<string name="stores_target_free">%1$s fri</string>
@@ -2285,6 +2381,9 @@
<string name="edit_target">Mål</string>
<string name="edit_start_in">Start i</string>
<string name="edit_launch_options">Startindstillinger</string>
<string name="edit_launch_options_steam_hint">Delt med Egenskaber i Steam: en ændring det ene sted vises begge steder.</string>
<string name="edit_launch_options_not_saved">Startindstillingerne kunne ikke gemmes i Steam. Prøv igen.</string>
<string name="edit_launch_options_desktop">Steam kan være åben i skrivebordssessionen. Skift startindstillingerne under dens Egenskaber, eller luk sessionen først.</string>
<string name="edit_artwork">Grafik</string>
<string name="edit_other_exe">Anden exe…</string>
<string name="edit_remove">Fjern</string>
@@ -2412,6 +2511,7 @@
<string name="setup_download_source_custom">Eget præfiks</string>
<string name="setup_download_mirror">Websted</string>
<string name="setup_download_prefix">Præfiks</string>
<string name="setup_download_proxy">HTTP-proxy</string>
<string name="flathub_eyebrow">LINUX-APPS</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">Desktopapps til Linux-desktoppen, åbnet fra Desktop.</string>
@@ -2552,6 +2652,22 @@
<string name="glasses_tracking_flat_hint">Automatisk holder dette 2D-spil fast i synsfeltet. Vælg Virtuel skærm under Skærm for at bruge hovedsporing.</string>
<string name="glasses_tracking_sbs_hint">Hovedsporing gælder for en virtuel skærm eller et kørende SteamVR-spil.</string>
<string name="glasses_hardware">Enhed</string>
<string name="vr_controllers_tab">Controllere</string>
<string name="vr_controllers_group">SteamVR-controllere</string>
<string name="vr_controllers_emulate">Gamepad i VR</string>
<string name="vr_controllers_emulate_hint">De to VR-hænder, din controller fungerer som. Ændringer gælder med det samme, også mens SteamVR kører. Joy-Cons og sporede hænder overtager stadig deres side.</string>
<string name="vr_controllers_off">Almindelig gamepad</string>
<string name="vr_controllers_index">Valve Index-controllere</string>
<string name="vr_controllers_touch">Meta Quest 3-controllere</string>
<string name="vr_controllers_vive">HTC Vive-controllere</string>
<string name="vr_controllers_sticks">Pindene starter med</string>
<string name="vr_controllers_sticks_hint">Tryk begge pinde ind samtidig i VR for at skifte.</string>
<string name="vr_controllers_sticks_game">At flytte dig i spillet</string>
<string name="vr_controllers_sticks_hands">At flytte hænderne</string>
<string name="vr_controllers_buttons">Knapper</string>
<string name="vr_controllers_buttons_stick">Triggere er triggere, bumpere griber, A/B og X/Y er hver hånds frontknapper, pindeklik klikker på thumbsticks, Guide åbner SteamVR-menuen. D-pad op og ned flytter hænderne tættere på eller længere væk.</string>
<string name="vr_controllers_buttons_vive">Pindene er trackpads; A/X eller et pindeklik trykker på dem. Triggere er triggere, bumpere griber, Start og Select er menu, Guide åbner SteamVR-menuen.</string>
<string name="vr_controllers_buttons_off">Ingen VR-hænder. Spil, der understøtter en gamepad, og SteamVR-menuen får din controller som normalt.</string>
<string name="glasses_brightness">Lysstyrke</string>
<string name="glasses_volume">Lydstyrke</string>
<string name="glasses_sunblock">Solafskærmning</string>
@@ -2609,6 +2725,12 @@
<string name="hand_camera_placement">Kameraplacering</string>
<string name="hand_camera_placement_hint">Tjek, at kameraet kan se dig, før du spiller.</string>
<string name="hand_camera_check">Tjek</string>
<string name="tracking_pack_title">Download af håndsporing</string>
<string name="tracking_pack_hint">Håndsporing kræver en engangsdownload på %1$s.</string>
<string name="tracking_pack_download">Download</string>
<string name="tracking_pack_retry">Prøv igen</string>
<string name="tracking_pack_downloading">Downloader håndsporing… %1$d%%</string>
<string name="tracking_pack_failed">Håndsporing kunne ikke downloades. Tjek din forbindelse, og prøv igen.</string>
<string name="hand_camera_check_title">Kameraplacering</string>
<string name="hand_camera_how_rear">Stil enheden op 1,5 til 2 meter væk i cirka brysthøjde med bagkameraet vendt mod dig. Træd så ind i billedet med hænderne ude.</string>
<string name="hand_camera_how_front">Stil enheden op 1,5 til 2 meter væk i cirka brysthøjde med skærmen vendt mod dig. Træd så ind i billedet med hænderne ude.</string>
@@ -2680,6 +2802,21 @@
<string name="storage_safe_hint">Ubrugte kørselsmiljøer, rester, gamle logfiler</string>
<string name="storage_clean_up">Rydder op…</string>
<string name="storage_session_running">Stop sessionen for at rydde op eller slette noget. Størrelserne vises stadig.</string>
<string name="storage_default_group">Installationsplacering</string>
<string name="storage_default_title">Standardlager</string>
<string name="storage_default_hint">Nye butiksinstallationer går til den valgte placering. Eksisterende spil bliver, hvor de er. Steam-biblioteker har deres egen indstilling.</string>
<string name="storage_default_ask">Spørg hver gang</string>
<string name="storage_default_ask_detail">Vælg en placering for hver installation</string>
<string name="storage_default_internal">Internt lager</string>
<string name="storage_default_external">Eksternt lager</string>
<string name="storage_default_external_detail">%1$s · %2$s ledigt</string>
<string name="storage_default_external_missing">Ikke tilsluttet</string>
<string name="storage_default_folder">Mappe · %1$s</string>
<string name="storage_default_folder_free">%1$s ledigt</string>
<string name="storage_default_folder_missing">Ikke tilsluttet</string>
<string name="storage_default_choose_folder">Vælg mappe…</string>
<string name="storage_default_choose_folder_detail">Brug en hvilken som helst mappe på et SD-kort eller USB-drev</string>
<string name="storage_default_note">Spil placeres i en Games-mappe på den valgte placering. Eksisterende spil flyttes ikke.</string>
<string name="storage_where">Hvor det ender</string>
<string name="storage_games">Steam-spil</string>
<string name="storage_game_data">Spildata</string>
@@ -2801,6 +2938,9 @@
<string name="storage_data_installed">Installerede spil</string>
<string name="storage_data_parts">Præfiks %1$s · shaders %2$s · workshop %3$s</string>
<string name="storage_clear_shaders">Ryd shaders</string>
<string name="storage_reset_prefix">Nulstil prefix</string>
<string name="storage_reset_prefix_title">Nulstil prefix for %1$s?</string>
<string name="storage_reset_prefix_confirm">Sletter dets Wine-prefix (%1$s) i %2$s og genopretter det ved næste start. Gemte spil, indstillinger og installerede redistributables i det går tabt; Steam Cloud-gemninger forbliver på din konto.</string>
<string name="storage_data_leftovers">Slettede spil</string>
<string name="storage_steam_app">Steam-app %1$d</string>
<string name="storage_leftover_unsure_detail">Præfikset indeholder stadig filer, måske lokale gemte spil</string>
@@ -3102,6 +3242,10 @@
<string name="spatial_saved_views_hint">Gemte visninger kan genberegnes. Start en ny kalibrering for at fange i det aktuelle sporingskoordinatsystem.</string>
<string name="spatial_model_checksum_error">Håndmodel kontrolsum uoverensstemmelse</string>
<string name="spatial_opencv_load_error">OpenCV kunne ikke indlæse</string>
<string name="session_end_steam_sigill">Steam stoppede med en ulovlig instruktion (SIGILL). Det kan være et kompatibilitetsproblem med CPU-instruktioner eller et klientnedbrud. Del logs med oplysninger om din enhed.</string>
<string name="session_end_steam_try_x64">Du kan prøve Steam-indstillinger → Steam-klient → x86-64 (eksperimentel). Det kræver en ekstra download og kan køre langsommere.</string>
<string name="session_end_vulkan_device">Linux-grafikdriveren kunne ikke finde en brugbar Vulkan-enhed. Tjek, at den valgte Linux-GPU-driver understøtter denne GPU.</string>
<string name="session_end_gpu_unsupported">Denne session kan ikke starte, fordi denne GPU ikke har nogen kompatibel Linux Vulkan-driver i den nuværende opsætning. Adreno Turnip-drivere kan ikke aktivere understøttelse af MediaTek/Mali-GPU’er.</string>
<string name="setup_group_memory">Hukommelse</string>
<string name="setup_clear_cached">Luk cachelagrede apps før en session</string>
<string name="setup_clear_cached_hint">Når en session starter, lukker DroidDeck de apps, Android holder parkeret i baggrunden, så spillet får mere hukommelse. Trådløs fejlretning skal være slået til.</string>
@@ -3125,6 +3269,12 @@
<string name="epic_client_open">Åbn</string>
<string name="epic_client_install">Installer</string>
<string name="game_tab_about">Om</string>
<string name="game_resources_browser">Åbnes i din browser</string>
<string name="game_resource_guides">Guider</string>
<string name="game_resource_protondb_detail">Linux/Proton-kompatibilitetsrapporter</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">Til spil med gemte data på din Steam-konto</string>
<string name="game_resource_search">Websøgning</string>
<string name="game_tab_install">Installer</string>
<string name="game_install_location">Placering</string>
<string name="game_install_folder">Mappe</string>
@@ -3141,6 +3291,11 @@
<string name="stores_eyebrow_pass">tilgængelig med %1$s</string>
<string name="stores_owned_in_library">Ejede spil i Bibliotek</string>
<string name="library_filter_added">Tilføjet</string>
<string name="library_filter">Filter</string>
<string name="library_filter_installed">Kun installerede</string>
<string name="library_filter_all_owned">Alle ejede spil</string>
<string name="library_no_installed_matches">Ingen installerede spil matcher disse filtre.</string>
<string name="library_browse_owned">Gennemse ejede spil</string>
<string name="game_tab_launch">Start</string>
<string name="game_tab_saves_cloud">Gemte spil og sky</string>
<string name="game_launch_shortcut">Steam-genvej</string>
@@ -3158,6 +3313,28 @@
<string name="stores_itch_update_replaced">Udvikleren har erstattet denne version med %1$s. Opdater til den?</string>
<string name="xbox_filter_cloud">Sky</string>
<string name="stores_xbox_cloud_settings">Skyindstillinger</string>
<string name="integration_title">Steam-integration</string>
<string name="integration_count">%1$d af %2$d til</string>
<string name="integration_set_up">Konfigurer</string>
<string name="integration_location">Placering</string>
<string name="integration_app_info">Appinfo</string>
<string name="integration_wifi">Wi-Fi-navne</string>
<string name="integration_brightness">Lysstyrke</string>
<string name="integration_home">DroidDeck som startskærm</string>
<string name="integration_shortcuts">Genveje til Hjem-knappen</string>
<string name="integration_wifi_hint">Vis netværk i Steam · kræver placeringsadgang, spores aldrig</string>
<string name="integration_wifi_on">Netværk vises i Steam</string>
<string name="integration_wifi_location_off">Placering er slået fra</string>
<string name="integration_wifi_denied">Placering afvist · tillad den i Appinfo</string>
<string name="integration_brightness_hint">Steams skyder indstiller skærmens lysstyrke</string>
<string name="integration_home_hint">Hjem åbner Steam-menuen i en session</string>
<string name="integration_shortcuts_hint">Hold Hjem nede for Steam Guide-kombinationer</string>
<string name="integration_shortcuts_needs_home">Kræver DroidDeck som startskærm</string>
<string name="integration_shortcuts_maybe_restricted">Nedtonet i Android? Appinfo → ⋮ → Tillad begrænsede indstillinger</string>
<string name="integration_shortcuts_restricted">Blokeret af Android · Appinfo → ⋮ → Tillad begrænsede indstillinger</string>
<string name="integration_shortcuts_service">DroidDeck Hjem-knap</string>
<string name="integration_shortcuts_service_description">Sender tryk på Hjem-knappen til Steam Guide, mens en Steam-session er i fokus, og DroidDeck er standardstartskærmen. Læser ikke skærmindhold.</string>
<string name="integration_brightness_needed">Slå Lysstyrke til under Opsætning → Steam-integration</string>
<string name="apps_search_hint">Søg i apps</string>
<string name="apps_no_match">Ingen apps matcher “%1$s”.</string>
<string name="apps_add_widget">Tilføj widget</string>
@@ -3206,9 +3383,35 @@
<string name="desktop_restore_done_body">De apps, du tilføjede, er installeret igen.</string>
<string name="desktop_restore_failed_title">Noget software kunne ikke gendannes</string>
<string name="desktop_restore_failed_body">Se ~/.cache/droiddeck/apt-restore.log, og prøv derefter sudo apt install i Konsole.</string>
<string name="gog_full_files">Native optimeringer er ikke tilgængelige. Downloaden indeholder komplette erstatningsfiler.</string>
<string name="gog_recover">Bekræft patch-resultat</string>
<string name="slow_usb_title">Langsom USB-forbindelse</string>
<string name="slow_usb_cable">%1$s er tilsluttet via %2$s (%3$s Mbps, ca. %4$d MB/s), så spil på den indlæses langsomt. Brug et USB 3-kabel til 5 Gbps eller mere, prøv at vende USB-C-stikket, eller brug et hurtigere drev.</string>
<string name="slow_usb_port">%1$s er tilsluttet via %2$s (%3$s Mbps, ca. %4$d MB/s). Denne enheds USB-port kan ikke køre hurtigere, så spil på den indlæses langsomt. Intern lagerplads eller et microSD-kort kan være hurtigere.</string>
<string name="slow_usb_never">Vis ikke igen</string>
<string name="slow_usb_dismiss">Luk</string>
<string name="steam_import_title">Genstart Steam for at tilføje dine spil?</string>
<string name="steam_import_body">Steam kan vise disse spil, du ejer, som installerede: %1$s. Steam skal genstartes for at vise dem. Genstart nu, eller de bliver tilføjet næste gang Steam starter.</string>
<string name="steam_import_names_more">%1$s og %2$d mere</string>
<string name="steam_import_now">Genstart nu</string>
<string name="steam_import_later">Senere</string>
<string name="gog_maintenance">Administrer GOG-installation</string>
<string name="gog_check">Søg efter opdateringer</string>
<string name="gog_repair">Bekræft/reparer</string>
<string name="gog_patches">Offline-patches</string>
<string name="gog_refresh">Download fuldt offline-installationsprogram</string>
<string name="gog_update">Opdater til %1$s</string>
<string name="gog_resume">Genoptag GOG-vedligeholdelse</string>
<string name="gog_open_patch">Åbn patch-installationsprogram</string>
<string name="gog_patch_in_session">Afslut eller annuller patch-installationsprogrammet i Linux-sessionen.</string>
<string name="gog_patch_requirements">Vælg en patch til din installerede version og dit sprog. Understøttede kildeversioner er muligvis ikke vist.</string>
<string name="gog_no_patches">GOG har ingen separate Windows-patches til dette spil.</string>
<string name="gog_managed_files">Ændrede spilfiler kan blive erstattet.</string>
<string name="gog_patch_installer_note">Installationsprogrammet åbnes i din Linux-session.</string>
<string name="gog_download_label">Download</string>
<string name="gog_space_label">Ekstra plads</string>
<string name="gog_space_estimate_label">Anslået plads</string>
<string name="gog_repair_action">Reparer filer</string>
<string name="gog_refresh_action">Opdater installationen</string>
<string name="gog_select_patch">Vælg</string>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Physische Tastenkürzel</string>
<string name="shortcuts_dd_menu">DroidDeck-Menü</string>
<string name="shortcuts_capture">Zuweisen: %1$s</string>
<string name="shortcuts_press">Drücke eine Taste und lasse sie los. Die Zuweisung wird automatisch gespeichert.</string>
<string name="shortcuts_release">Lasse die Taste los, um fortzufahren.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">Diese Taste ist bereits zugewiesen: %1$s</string>
<string name="shortcuts_save">Neu zuweisen</string>
<string name="shortcuts_retry">Andere Taste versuchen</string>
<string name="shortcuts_limitations">Die Home-Taste und einige Zusatztasten sind möglicherweise nicht verfügbar.</string>
</resources>
+205 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">VKD3D-Optionen für D3D12. nodxr deaktiviert Raytracing; nur bei Spielen verwenden, die das brauchen.</string>
<string name="game_env_proton_log">Auf 1 setzen für ein Proton-Diagnoseprotokoll. Protokollieren kann die Leistung mindern und Speicherplatz belegen.</string>
<string name="game_env_wined3d">Auf 1 setzen, um für D3D9–11-Kompatibilitätstests das OpenGL-basierte WineD3D statt DXVK zu verwenden.</string>
<string name="game_env_wined3d_renderer">Renderer für DirectDraw, Direct3D 1–7 und Spiele, die mit WineD3D laufen. Vulkan umgeht den Weg über OpenGL auf Zink und ist auf Adreno bei alten DirectDraw- und Direct3D-7-Spielen deutlich schneller.</string>
<string name="game_env_dxvk_d3d8">Auf 1 setzen, um Direct3D 8 über DXVK statt WineD3D auszuführen. Schneller im Direct3D-8-Test von AIO Graphics Test auf Adreno.</string>
<string name="game_env_no_ntsync">Auf 1 setzen, um dieses Spiel von ntsync fernzuhalten (droiddeck-ntsync oder ein Kerneltreiber); es nutzt dann droiddeck-esync, wo ein Pack existiert, sonst droiddeck-fsync.</string>
<string name="game_env_no_esync">Auf 1 setzen, um droiddeck-esync für dieses Spiel abzuschalten; es nutzt stattdessen droiddeck-fsync oder droiddeck-ntsync, wo auch fsync aus ist.</string>
<string name="game_env_no_fsync">Auf 1 setzen, um dieses Spiel von droiddeck-fsync fernzuhalten; es nutzt dann droiddeck-esync, wo ein Pack existiert, sonst droiddeck-ntsync.</string>
<string name="game_env_fsync_first">Auf 1 setzen, um dieses Spiel mit droiddeck-fsync auszuführen, oder auf 0, um droiddeck-esync vorzuziehen, wo ein Pack zu seinem Proton passt.</string>
<string name="game_env_xalia">Auf 0 setzen, um Protons Gamepad-Navigationshilfe für dieses Spiel zu deaktivieren.</string>
<string name="game_env_anticheat_offline">Standardmäßig an. Startet ein Easy-Anti-Cheat-Spiel ohne seinen Anti-Cheat, wenn das Spiel Offline-Spielen unterstützt. Ausschalten, um wie gewohnt über Easy Anti-Cheat zu starten. Online-Modi, die Easy Anti-Cheat erfordern, bleiben nicht verfügbar.</string>
<string name="game_env_hud">DXVK-Overlay für D3D9–11. fps zeigt die Bildrate an; ohne Wert wird es ausgeblendet.</string>
<string name="game_env_dxvk_config">DXVK-Einstellungen, durch Semikolons getrennt. Neuere Builds nutzen dxvk.maxFrameRate zur Bildratenbegrenzung; fürs normale Spielen besser das Bildratenlimit der Sitzung verwenden.</string>
<string name="game_env_cores">CPU-Kerne für dieses Spiel, z. B. 0-4 oder 0,2,4, anstelle der Spielkerne der Sitzung. Weniger Kerne bleiben kühler.</string>
<string name="game_env_vkd3d_limit">D3D12-Bildratenlimit. 0 hebt das Limit auf.</string>
<string name="game_env_glthread">Mesa-OpenGL-Threading. true kann CPU-limitierten OpenGL-Spielen helfen; pro Spiel testen.</string>
<string name="sync_backend_title">Wine-Sync</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">FEX führt x86-Linux-Programme auf diesem ARM64-Gerät aus. Auto nutzt es, wenn das Programm für x86 gebaut ist.</string>
<string name="app_fex_x86">%1$s über FEX</string>
<string name="app_fex_not_ready">Dieses Programm ist für %1$s-PCs gebaut und läuft über FEX, das noch nicht eingerichtet ist. Öffne Steam einmal, während du angemeldet bist: DroidDeck lässt es FEX und die nötige Steam Linux Runtime herunterladen, danach lässt sich das Programm öffnen.</string>
<string name="session_proot_missing">DroidDecks proot konnte nicht heruntergeladen werden. Prüfe die Verbindung und versuch es erneut. Die Sitzung wurde nicht gestartet, da das Ersatz-proot zum Spielen zu langsam ist.</string>
<string name="session_directaudio_missing">DirectAudio konnte nicht heruntergeladen werden, daher nutzt der Spielton in dieser Sitzung den langsameren Weg.</string>
<string name="session_end_program">Dieses Programm</string>
<string name="session_end_steam_download">Der Steam-Client konnte nicht heruntergeladen werden. Dein Netzwerk oder VPN blockiert möglicherweise die Server von Steam; prüfe die Verbindung und versuche es erneut.</string>
<string name="session_end_steam_setup">Der Steam-Client konnte nicht eingerichtet werden. Prüfe die Verbindung und den freien Speicher und versuche es erneut.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">Xbox-360-Controller</string>
<string name="mode_controller_note">Deck: Schnellzugriffstaste und Gyro. Steam Controller: dasselbe, mit Griffsensor an den Rücktasten. DualShock 4 und DualSense: Gyro, die Trackpads dienen als deren Touchpad. Xbox 360: Schnellzugriff mit Guide+A öffnen.</string>
<string name="mode_back">Zurück</string>
<string name="back_native_qam_hint">Halte Zurück 700 ms lang gedrückt oder halte Zurück und drücke eine weitere Taste für Steam-Tastenkürzel.</string>
<string name="back_double_tap_window">Zeitfenster für Doppeltippen</string>
<string name="back_tap_ms">%1$d ms</string>
<string name="brightness_permission_title">Helligkeitssteuerung erlauben</string>
<string name="brightness_permission_text">Richte die Helligkeitssteuerung in DroidDeck ein.</string>
<string name="back_menu_then_qam">Menü → QAM</string>
<string name="back_qam_then_menu">QAM → Menü</string>
<string name="mode_session">Sitzung</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">Aktuell · %1$s</string>
<string name="mode_decky_loader">Loader</string>
<string name="mode_decky_install_latest">Neueste Version installieren</string>
<string name="decky_channel">Update-Kanal</string>
<string name="decky_channel_hint">Welche Decky-Loader-Releases installiert werden. Deckys eigener Updater nutzt denselben Kanal.</string>
<string name="decky_channel_stable">Stabil</string>
<string name="decky_channel_prerelease">Vorabversion</string>
<string name="decky_channel_testing">Test</string>
<string name="decky_channel_failed">Decky-Update-Kanal konnte nicht gespeichert werden</string>
<string name="mode_decky_on">Startet mit Steam. Solange aktiv, können andere Apps auf diesem Gerät Steam möglicherweise steuern.</string>
<string name="mode_decky_off">Aus. Der Remote-Debugging-Port von Steam bleibt geschlossen.</string>
<string name="mode_decky_remove_title">Decky Loader deinstallieren?</string>
@@ -323,6 +340,10 @@
<string name="mode_client">Client</string>
<string name="mode_mangoapp">Leistungs-Overlay</string>
<string name="mode_mangoapp_hint">Deaktivieren, wenn Spiele im Deck-Modus abstürzen oder schwarz werden. Gilt ab der nächsten Sitzung.</string>
<string name="mode_return_after_game">Nach einem Spiel zu DroidDeck zurückkehren</string>
<string name="mode_return_after_game_hint">Wenn ein Spiel, das du über DroidDeck oder einen anderen Launcher gestartet hast, beendet wird, schließt Steam sauber (Cloud-Speicherstände werden zuerst fertig) und du kehrst dorthin zurück. Aus: in Steam bleiben.</string>
<string name="mode_shader_precache">Shader-Vorab-Caching</string>
<string name="mode_shader_precache_hint">Steam lädt für deine Spiele vorkompilierte Shader herunter und verarbeitet sie im Hintergrund, damit Spiele weniger ruckeln. Aus spart Daten, Speicher und Akku; Spiele erstellen Shader dann während des Spielens. Dieselbe Einstellung wie Steams Downloads > Shader-Vorab-Caching. Gilt ab der nächsten Sitzung.</string>
<string name="mode_steam_repair">Steam-Client reparieren</string>
<string name="mode_steam_repair_hint">Lädt den Steam-Client beim nächsten Start von Steam erneut herunter. Nutze dies, wenn Steam im Ladebildschirm hängen bleibt. Spiele, Anmeldung und Einstellungen bleiben erhalten.</string>
<string name="mode_steam_repair_queued">Der Steam-Client wird beim nächsten Start von Steam erneut heruntergeladen.</string>
@@ -390,6 +411,8 @@
<string name="mode_directaudio_hint">Umgeht PulseAudio für geringere Latenz.</string>
<string name="mode_mic">Mikrofon</string>
<string name="mode_mic_hint">Für Sprachchat.</string>
<string name="drawer_mic_hint">Mikrofonaufnahme für diese Sitzung ein- oder ausschalten.</string>
<string name="drawer_mic_failed">Das Mikrofon konnte nicht umgeschaltet werden. Bitte versuch es erneut.</string>
<string name="mode_network">Netzwerk</string>
<string name="mode_wifi_discovery">Wi-Fi-Erkennung</string>
<string name="mode_wifi_discovery_hint">Wi-Fi-Namen und Netzwerke in der Nähe in Steam anzeigen.</string>
@@ -551,6 +574,16 @@
<string name="perf_gsrealtime">gamescope: Echtzeit-GPU-Warteschlange</string>
<string name="perf_gsrealtime_hint">Priorisiert die GPU-Arbeit des Compositors. Kann das Frame-Pacing glätten, kostet Spiele aber etwas Leistung.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">Arbeitsspeicher</string>
<string name="perf_cap_off">Aus</string>
<string name="perf_cap_auto">Treiberstandard</string>
<string name="perf_zram_client">Steam komprimieren, während ein Spiel läuft</string>
<string name="perf_zram_client_hint">20 s nach dem Spielstart wird der Steam-Client in zRAM komprimiert, um dem Spiel mehr Speicher zu lassen, und beim Beenden des Spiels zurückgelesen. Schalte dies aus, wenn sich die Sitzung kurz nach dem Spielstart schließt. Ein RAM-Limit oben komprimiert Steam weiterhin, wenn die Sitzung es überschreitet.</string>
<string name="perf_ram_cap">RAM-Limit</string>
<string name="perf_ram_cap_hint">Gilt, solange der Steam-Client läuft, im Steam-Modus oder vom Desktop aus. Verbraucht die Sitzung mehr als diesen Wert, werden Steam und danach die übrigen unterstützten Prozesse der Sitzung in zRAM komprimiert. Ein weiches Limit: Nichts wird geschlossen, aber Spiele können ruckeln, während Seiten zurückgeladen werden.</string>
<string name="perf_ram_cap_unavailable">Benötigt zRAM-Swap, den dieses Gerät nicht hat.</string>
<string name="perf_vram_cap">VRAM-Limit</string>
<string name="perf_vram_cap_hint">Der Grafikspeicher, den DXVK an Direct3D-Spiele meldet, damit sie weniger für Texturen einplanen. Eigene DXVK-Einstellungen eines Spiels haben Vorrang. Gilt ab der nächsten Sitzung.</string>
<string name="perf_gpuclock">GPU auf höchstem Takt halten</string>
<string name="perf_gpuclock_hint">Nur Adreno. Weniger Ruckler, mehr Akkuverbrauch und Wärme.</string>
<string name="perf_fixes">Sitzungskorrekturen</string>
@@ -569,6 +602,8 @@
<string name="perf_fastpath">proot-Schnellpfad</string>
<string name="perf_fastpath_needs_seccomp">Benötigt den seccomp-Filter von proot.</string>
<string name="perf_fastpath_hint">Schnellere Dateisuche und weniger Ruckler. Deaktivieren, wenn ein Programm seine Dateien nicht findet.</string>
<string name="perf_cursor_composite">Zeiger in gamescope zeichnen</string>
<string name="perf_cursor_composite_hint">Gamescope zeichnet den Zeiger selbst, statt ihn an Android zu übergeben. Für einen per Controller gesteuerten Zeiger einschalten. Aus ist auf einem Smartphone schneller. Gilt ab der nächsten Sitzung.</string>
<string name="perf_identity">Sitzungsidentität</string>
<string name="perf_hostname">Hostname</string>
<string name="perf_hostname_hint">Der Name, den Steam für dieses Gerät sieht. Leer lassen stellt %1$s wieder her.</string>
@@ -583,6 +618,8 @@
<string name="driver_delete_plain">Seine Dateien werden aus der App entfernt.</string>
<string name="driver_delete_in_use">Seine Dateien werden entfernt. Er ist in Verwendung, daher übernimmt der Standard.</string>
<string name="drawer_page_display">Anzeige</string>
<string name="drawer_frame_limit">Bildratenlimit</string>
<string name="drawer_frame_limit_note">Begrenzt dieses Spiel. Der Bildschirm wechselt zu einer Bildwiederholrate, die durch das Limit glatt teilbar ist, sofern vorhanden; andere Limits können ungleichmäßig wirken. Steam-Spiele nutzen das Bildratenlimit von Steam im Schnellzugriffsmenü.</string>
<string name="drawer_page_effects">Effekte</string>
<string name="drawer_page_controls">Steuerung</string>
<string name="drawer_page_components">Komponenten</string>
@@ -664,7 +701,6 @@
<string name="hud_export_failed">Der HUD-Bericht konnte nicht gespeichert werden.</string>
<string name="hud_reset">HUD-Einstellungen zurücksetzen</string>
<string name="hud_reset_button">Zurücksetzen</string>
<string name="hud_credit">FusionHUD von The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Skalierungsmodus</string>
<string name="drawer_scaling_sharpness">Skalierungsschärfe</string>
<string name="drawer_effects">Bildschirmeffekte</string>
@@ -699,6 +735,8 @@
<string name="drawer_touch_auto">Auto (%1$s)</string>
<string name="drawer_keyboard">Tastatur</string>
<string name="drawer_latency">Latenz</string>
<string name="drawer_low_latency">Modus mit geringer Latenz</string>
<string name="drawer_low_latency_hint">Erhöht CPU- und Akkuverbrauch</string>
<string name="drawer_low_latency_controller">Controller mit geringer Latenz</string>
<string name="drawer_low_latency_controller_hint">Der Controller meldet mit 1000 Hz statt 250 Hz. Die CPU-Last ist etwas höher.</string>
<string name="drawer_low_latency_touch">Touch mit geringer Latenz</string>
@@ -791,6 +829,10 @@
<string name="setup_session">Sitzung</string>
<string name="setup_logs">Sitzungslogs</string>
<string name="setup_logs_hint">Nach jeder Sitzung gespeichert</string>
<string name="setup_game_debug_logs">Spiel-Debug-Logs</string>
<string name="setup_game_debug_logs_hint">Beim nächsten Spielstart Diagnosen von Proton, Wine und Grafik einschließen. Kann die Leistung mindern und mehr Speicher belegen.</string>
<string name="setup_game_debug_logs_restart">Starte diese Sitzung neu, um Spiel-Debug-Logs zu speichern</string>
<string name="setup_logging_update_failed">Protokollierung konnte nicht aktualisiert werden. Prüfe den Schalter und versuch es erneut.</string>
<string name="setup_agent_commands">Debugging-Tools</string>
<string name="setup_latest_logs">Neueste Sitzungslogs</string>
<string name="setup_saved_logs">Gespeicherte Sitzungslogs</string>
@@ -815,6 +857,11 @@
<string name="setup_home_on">DroidDeck kann die Startbildschirm-App sein</string>
<string name="setup_home_off">DroidDeck wird nie als Startbildschirm-App angeboten</string>
<string name="setup_orientation">Ausrichtung</string>
<string name="setup_launcher_orientation">Launcher-Ausrichtung</string>
<string name="setup_launcher_orientation_auto">Gerätedrehung folgen</string>
<string name="setup_orientation_portrait">Hochformat</string>
<string name="setup_session_orientation">Sitzungsausrichtung</string>
<string name="setup_session_orientation_hint">Gilt für Steam, Spiele, Desktop und den Controller-Editor. Auflösungsvoreinstellungen drehen sich mit der Sitzung; eigene Breite und Höhe bleiben wie eingegeben.</string>
<string name="setup_orientation_auto">Automatisch Querformat</string>
<string name="setup_orientation_landscape">Querformat</string>
<string name="setup_orientation_reverse">Umgekehrtes Querformat</string>
@@ -979,6 +1026,14 @@
<string name="gate_step1">Öffne Einstellungen → Entwickleroptionen → Debugging über WLAN und aktiviere es</string>
<string name="gate_step2">Tippe auf „Gerät über einen Kopplungscode koppeln“</string>
<string name="gate_step3">Gib den Code in die DroidDeck-Benachrichtigung ein</string>
<string name="pairguide_build_number">Tippe unter „Über das Telefon“ 7-mal auf „Build-Nummer“</string>
<string name="pairguide_wireless">Aktiviere „Debugging über WLAN“</string>
<string name="pairguide_pair">Öffne „Debugging über WLAN“ und tippe dann auf „Gerät mit Kopplungscode koppeln“</string>
<string name="pairguide_child_process">Aktiviere „Beschränkungen für Unterprozesse deaktivieren“</string>
<string name="pairguide_row_child_process">Beschränkungen für Unterprozesse deaktivieren</string>
<string name="pairguide_row_build_number">Build-Nummer</string>
<string name="pairguide_row_wireless">Debugging über WLAN</string>
<string name="pairguide_row_pair">Gerät mit Kopplungscode koppeln</string>
<string name="gate_waiting">Warte auf das Kopplungs-Pop-up…</string>
<string name="gate_code_needed">Pop-up gefunden. Gib seinen Code in der Benachrichtigung ein.</string>
<string name="gate_status">Status</string>
@@ -1117,7 +1172,6 @@
<string name="games_never_played">Nie gespielt</string>
<string name="games_runtime_busy_percent">Laufzeit beschäftigt · %1$d %%</string>
<string name="games_runtime_busy">Laufzeit beschäftigt</string>
<string name="games_runtime_first_play">Laufzeit wird beim ersten „Spielen“ installiert</string>
<string name="games_runtime_update">Laufzeit-Update verfügbar</string>
<string name="games_runtime_ready">● Laufzeit bereit</string>
<string name="games_internal">Interner Speicher</string>
@@ -1134,6 +1188,9 @@
<string name="gpu_hide_other">Treiber für andere GPUs ausblenden</string>
<string name="gpu_show_other">Treiber für andere GPUs anzeigen</string>
<string name="gpu_advanced">Erweitert</string>
<string name="gpu_ubwc_title">UBWC-Kompatibilität</string>
<string name="gpu_ubwc_hint">Probiere An oder Aus, wenn Steam oder Android Streifen oder Flackern zeigt. Gilt für beide Treiber nach einem Neustart von DroidDeck.</string>
<string name="gpu_ubwc_restart">Starte DroidDeck neu, um dies anzuwenden.</string>
<string name="gpu_set_with_display">Zusammen mit dem Anzeigetreiber festgelegt: %1$s enthält beide.</string>
<string name="gpu_set_with_runtime">Zusammen mit dem Laufzeittreiber festgelegt: %1$s enthält beide.</string>
<string name="gpu_runtime_hint">Wird von Spielen und dem Desktop genutzt.</string>
@@ -1242,10 +1299,15 @@
<string name="pip_auto">Automatisch zu Bild im Bild wechseln</string>
<string name="unfolded_controls">Steuerung auf dem aufgeklappten Bildschirm</string>
<string name="unfolded_controls_hint">Aufgeklappt liegt das Spiel über den Steam Deck-Trackpads und den hinteren Griffen. Zugeklappt läuft es im Vollbild.</string>
<string name="unfolded_controls_with_controller">Mit Controller beibehalten</string>
<string name="unfolded_controls_with_controller_hint">Diese Touch-Steuerung auch anzeigen, während ein Controller verbunden ist.</string>
<string name="pip_suspended">Angehalten</string>
<string name="pip_not_ready">Bild im Bild ist verfügbar, sobald die Sitzung bereit ist.</string>
<string name="pip_permission">Erlaube Bild im Bild für DroidDeck in den Android-Einstellungen.</string>
<string name="pip_unavailable">Android konnte Bild im Bild nicht öffnen.</string>
<string name="game_more">Mehr</string>
<string name="game_edit_art">Grafiken bearbeiten</string>
<string name="stores_in_steam_label">In Steam</string>
<string name="game_shortcut">Verknüpfung</string>
<string name="game_shortcut_add">Zum Startbildschirm hinzufügen</string>
<string name="game_shortcut_choose">Spiel auswählen</string>
@@ -1269,6 +1331,10 @@
<string name="main_wait_runtime">Warte, bis der Vorgang an der Laufzeit abgeschlossen ist</string>
<string name="main_wait_proton_install">Warte, bis die Installation des Kompatibilitätstools abgeschlossen ist</string>
<string name="load_compat_title">Kompatibilitätstools werden vorbereitet</string>
<string name="load_compat_wait">Warte auf Abschluss der Kompatibilitätseinrichtung</string>
<string name="load_compat_hint">Deine Sitzung startet, sobald die Einrichtung abgeschlossen ist.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">Warte, bis die Installation der Desktop-App abgeschlossen ist</string>
<string name="main_wait_install_game">Warte, bis die Installation abgeschlossen ist, bevor du ein Spiel startest</string>
<string name="main_saves_close_session">Schließe zuerst die Steam-Sitzung, damit das Spiel den Import nicht überschreiben kann</string>
@@ -1305,6 +1371,9 @@
<string name="main_install_anyway">Trotzdem installieren</string>
<string name="main_remove_runtime_title">Linux-Laufzeit entfernen</string>
<string name="main_remove_runtime_text">Dadurch werden die Laufzeit, der Steam-Client darin und alle dort installierten Spiele gelöscht.</string>
<string name="runtime_actions_title">Linux-Laufzeit</string>
<string name="runtime_actions_text">Reparieren installiert die Systemdateien der Laufzeit neu und behält Steam, deine Spiele und Einstellungen. Extras wie der Desktop werden bei der nächsten Nutzung erneut installiert. Entfernen löscht alles.</string>
<string name="runtime_repair">Laufzeit reparieren</string>
<string name="main_applied">Angewendet: %1$s</string>
<string name="android_app_open_failed_primary">%1$s konnte nicht auf dem Hauptbildschirm geöffnet werden</string>
<string name="android_app_open_failed_on">%1$s konnte nicht auf %2$s geöffnet werden</string>
@@ -1434,6 +1503,11 @@
<string name="session_runtime_catalog_unreachable">Der Katalog der Laufzeiten war nicht erreichbar. Prüfe die Verbindung und tippe erneut auf Spielen.</string>
<string name="session_runtime_install_failed">Die Linux-Laufzeit wurde nicht installiert. Prüfe sie unter Einrichtung und tippe erneut auf Spielen.</string>
<string name="session_desktop_install_failed">Der Desktop wurde nicht installiert (%1$s). Prüfe die Verbindung und tippe erneut auf Desktop.</string>
<string name="session_package_resume_failed">Eine unterbrochene Installation konnte nicht abgeschlossen werden (%1$s). Prüfe Verbindung und Speicherplatz und versuch es dann erneut.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="one">Die Linux-Laufzeit ist beschädigt: %1$d Bibliotheksverknüpfung zeigt auf eine fehlende Datei (%2$s), meist nach einer unterbrochenen Installation. Reparieren behält deine Spiele und Einstellungen.</item>
<item quantity="other">Die Linux-Laufzeit ist beschädigt: %1$d Bibliotheksverknüpfungen zeigen auf fehlende Dateien (%2$s und weitere), meist nach einer unterbrochenen Installation. Reparieren behält deine Spiele und Einstellungen.</item>
</plurals>
<string name="session_ended_named">%1$s wurde unerwartet beendet. Teile die Protokolle mit einem Fehlerbericht oder versuche es erneut.</string>
<string name="session_ended_program">Das Programm wurde unerwartet beendet. Teile die Protokolle mit einem Fehlerbericht oder versuche es erneut.</string>
<string name="session_ended_desktop">Der Desktop wurde unerwartet beendet. Teile die Protokolle mit einem Fehlerbericht oder versuche es erneut.</string>
@@ -1448,6 +1522,13 @@
<string name="mode_decky_plugins_hint">Installiere eine Plugin-ZIP für die nächste Steam-Sitzung.</string>
<string name="mode_decky_plugin_downloading">Wird heruntergeladen…</string>
<string name="mode_decky_plugin_install_zip">Aus ZIP installieren</string>
<string name="decky_zip_warning_title">Installation eines Drittanbieter-Plugins</string>
<string name="decky_zip_warning_text">Das Decky-Loader-Team hat dieses Plugin nicht geprüft. Es kann Schadsoftware enthalten, etwa Software, die dein Steam-Konto stiehlt oder deinem Gerät schadet. Mit der Installation dieses Plugins erklärst du, dass du alle Risiken für dein Gerät trägst.</string>
<string name="decky_zip_warning_continue">Weiter</string>
<plurals name="decky_zip_warning_wait">
<item quantity="one">Bitte %1$d Sekunde warten</item>
<item quantity="other">Bitte %1$d Sekunden warten</item>
</plurals>
<string name="store_cat_games">Spiele</string>
<string name="store_cat_audio_video">Audio &amp; Video</string>
<string name="store_cat_graphics">Grafik</string>
@@ -1609,6 +1690,8 @@
<string name="fm_accept">Akzeptieren</string>
<string name="fm_decline">Ablehnen</string>
<string name="fm_drive_not_readable">%1$s ist eingebunden, aber derzeit nicht lesbar</string>
<string name="fm_drive_access_title">Zugriff auf %1$s erlauben</string>
<string name="fm_drive_access_text">Android lässt DroidDeck dieses Laufwerk sehen, aber nicht lesen. Aktiviere für DroidDeck den Zugriff auf alle Dateien und komm dann zurück.</string>
<string name="fm_list_view">Listenansicht</string>
<string name="fm_grid_view">Rasteransicht</string>
<string name="fm_search">Suchen</string>
@@ -1710,6 +1793,7 @@
<string name="flatpakmgr_not_ready">Richte zuerst Flatpak ein</string>
<string name="flatpakmgr_starting">Wird gestartet</string>
<string name="flatpakmgr_exit_status">Flatpak wurde mit Status %1$d beendet</string>
<string name="flatpakmgr_wrong_arch">%1$s wurde für %2$s gebaut, das DroidDeck nicht ausführen kann. Flatpak-Apps brauchen hier eine ARM64- oder x86_64-Version.</string>
<string name="flatpakmgr_installing">%1$s wird installiert</string>
<string name="flatpakmgr_updating">%1$s wird aktualisiert</string>
<string name="flatpakmgr_removing">%1$s wird entfernt</string>
@@ -1803,6 +1887,7 @@
<string name="adbpair_applying">Einstellung wird angewendet…</string>
<string name="adbpair_command_failed">Befehl für Debugging über WLAN fehlgeschlagen</string>
<string name="adbpair_channel_name">Einrichtung von Debugging über WLAN</string>
<string name="adbpair_progress_channel_name">Fortschritt der Einrichtung von Debugging über WLAN</string>
<string name="adbpair_channel_description">Fragt nach dem Kopplungscode für Debugging über WLAN, während die Einstellungen geöffnet sind</string>
<string name="adbpair_title_pair">Debugging über WLAN koppeln</string>
<string name="adbpair_waiting_text">Aktiviere Debugging über WLAN und tippe dann auf „Gerät mit Kopplungscode koppeln“.</string>
@@ -1911,6 +1996,7 @@
<string name="gpuinfo_not_adreno">Keine Adreno-GPU</string>
<string name="gpuinfo_supported">Unterstützt</string>
<string name="gpuinfo_experimental">Experimentell: Die Treiber sind Test-Builds</string>
<string name="gpuinfo_a850_experimental">Experimentelle Adreno-850-Unterstützung: erfordert kompatible experimentelle Anzeige- und Spieltreiber; auf diesem Gerät nicht geprüft</string>
<string name="gpuinfo_below_tested">Unter der getesteten Hardware (Adreno 725 und neuer): läuft eventuell nicht</string>
<string name="gpuinfo_unsupported">Nicht unterstützt: DroidDeck braucht eine Adreno-GPU (Snapdragon)</string>
@@ -2113,6 +2199,13 @@
<string name="stores_resume">Fortsetzen</string>
<string name="stores_refresh">Aktualisieren</string>
<string name="stores_sort">Sortieren</string>
<string name="setup_rail_labels">Seitenleisten-Beschriftungen</string>
<string name="setup_rail_labels_hint">Namen unter den Symbolen der Seitenleiste anzeigen. Ausschalten für eine schmalere Seitenleiste.</string>
<string name="library_display">Anzeige</string>
<string name="library_display_larger">Größere Karten</string>
<string name="library_display_smaller">Kleinere Karten</string>
<string name="library_display_title">Titel anzeigen</string>
<string name="library_display_size">Größe anzeigen</string>
<string name="stores_sort_last_played">Zuletzt gespielt</string>
<string name="stores_sort_recently_installed">Zuletzt installiert</string>
<string name="stores_sort_title_asc">Titel A–Z</string>
@@ -2239,6 +2332,9 @@
<string name="stores_download_manager">Download-Manager</string>
<string name="stores_parallel">Gleichzeitige Downloads</string>
<string name="stores_install_where">Installieren in</string>
<string name="stores_install_language">Spielsprache</string>
<string name="stores_install_language_hint">GOG und Epic installieren diese Sprache. System folgt der App-Sprache.</string>
<string name="stores_install_language_system">System</string>
<string name="stores_install_title">%1$s installieren:</string>
<string name="stores_target_internal">Intern</string>
<string name="stores_target_free">%1$s frei</string>
@@ -2274,6 +2370,9 @@
<string name="edit_target">Ziel</string>
<string name="edit_start_in">Ausführen in</string>
<string name="edit_launch_options">Startoptionen</string>
<string name="edit_launch_options_steam_hint">Gemeinsam mit den Eigenschaften in Steam: Eine Änderung an einer Stelle gilt für beide.</string>
<string name="edit_launch_options_not_saved">Die Startoptionen konnten nicht in Steam gespeichert werden. Versuche es erneut.</string>
<string name="edit_launch_options_desktop">Steam ist eventuell in der Desktop-Sitzung geöffnet. Ändere die Startoptionen dort in den Eigenschaften oder beende zuerst die Sitzung.</string>
<string name="edit_artwork">Grafiken</string>
<string name="edit_other_exe">Andere EXE…</string>
<string name="edit_remove">Entfernen</string>
@@ -2401,6 +2500,7 @@
<string name="setup_download_source_custom">Eigener Präfix</string>
<string name="setup_download_mirror">Seite</string>
<string name="setup_download_prefix">Präfix</string>
<string name="setup_download_proxy">HTTP-Proxy</string>
<string name="flathub_eyebrow">LINUX-APPS</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">Desktop-Apps für den Linux-Desktop, geöffnet über Desktop.</string>
@@ -2541,6 +2641,22 @@
<string name="glasses_tracking_flat_hint">„Automatisch“ hält dieses 2D-Spiel fest im Blickfeld. Wähle unter „Anzeige“ die Option „Virtueller Bildschirm“, um Kopf-Tracking zu nutzen.</string>
<string name="glasses_tracking_sbs_hint">Kopf-Tracking gilt für einen virtuellen Bildschirm oder ein laufendes SteamVR-Spiel.</string>
<string name="glasses_hardware">Gerät</string>
<string name="vr_controllers_tab">Controller</string>
<string name="vr_controllers_group">SteamVR-Controller</string>
<string name="vr_controllers_emulate">Gamepad in VR</string>
<string name="vr_controllers_emulate_hint">Die beiden VR-Hände, als die dein Controller spielt. Änderungen gelten sofort, auch während SteamVR läuft. Joy-Cons und getrackte Hände übernehmen weiterhin ihre Seite.</string>
<string name="vr_controllers_off">Normales Gamepad</string>
<string name="vr_controllers_index">Valve-Index-Controller</string>
<string name="vr_controllers_touch">Meta-Quest-3-Controller</string>
<string name="vr_controllers_vive">HTC-Vive-Controller</string>
<string name="vr_controllers_sticks">Sticks starten mit</string>
<string name="vr_controllers_sticks_hint">Drücke in VR beide Sticks gleichzeitig, um umzuschalten.</string>
<string name="vr_controllers_sticks_game">Bewegung im Spiel</string>
<string name="vr_controllers_sticks_hands">Bewegung der Hände</string>
<string name="vr_controllers_buttons">Tasten</string>
<string name="vr_controllers_buttons_stick">Trigger sind Trigger, Schultertasten greifen, A/B und X/Y sind die Fronttasten der jeweiligen Hand, Stick-Klicks klicken die Thumbsticks, Guide öffnet das SteamVR-Menü. Steuerkreuz hoch und runter bewegt die Hände näher heran oder weiter weg.</string>
<string name="vr_controllers_buttons_vive">Die Sticks sind Trackpads; A/X oder ein Stick-Klick drückt sie. Trigger sind Trigger, Schultertasten greifen, Start und Select sind Menü, Guide öffnet das SteamVR-Menü.</string>
<string name="vr_controllers_buttons_off">Keine VR-Hände. Spiele mit Gamepad-Unterstützung und das SteamVR-Menü erhalten deinen Controller wie gewohnt.</string>
<string name="glasses_brightness">Helligkeit</string>
<string name="glasses_volume">Lautstärke</string>
<string name="glasses_sunblock">Sonnenschutz</string>
@@ -2598,6 +2714,12 @@
<string name="hand_camera_placement">Kameraplatzierung</string>
<string name="hand_camera_placement_hint">Prüfe, ob die Kamera dich sehen kann, bevor du spielst.</string>
<string name="hand_camera_check">Prüfen</string>
<string name="tracking_pack_title">Download für Hand-Tracking</string>
<string name="tracking_pack_hint">Hand-Tracking benötigt einen einmaligen Download von %1$s.</string>
<string name="tracking_pack_download">Herunterladen</string>
<string name="tracking_pack_retry">Erneut versuchen</string>
<string name="tracking_pack_downloading">Hand-Tracking wird heruntergeladen… %1$d%%</string>
<string name="tracking_pack_failed">Hand-Tracking konnte nicht heruntergeladen werden. Prüfe deine Verbindung und versuch es erneut.</string>
<string name="hand_camera_check_title">Kameraplatzierung</string>
<string name="hand_camera_how_rear">Stell das Gerät etwa 1,5 bis 2 Meter entfernt in Brusthöhe auf, mit der Rückkamera zu dir gerichtet. Tritt dann mit ausgestreckten Händen ins Bild.</string>
<string name="hand_camera_how_front">Stell das Gerät etwa 1,5 bis 2 Meter entfernt in Brusthöhe auf, mit dem Bildschirm zu dir gerichtet. Tritt dann mit ausgestreckten Händen ins Bild.</string>
@@ -2680,6 +2802,21 @@
<string name="storage_safe_hint">Ungenutzte Laufzeiten, Reste, alte Logs</string>
<string name="storage_clean_up">Aufräumen…</string>
<string name="storage_session_running">Beende die Sitzung, um aufzuräumen oder zu entfernen. Die Größen werden weiterhin angezeigt.</string>
<string name="storage_default_group">Installationsort</string>
<string name="storage_default_title">Standardspeicher</string>
<string name="storage_default_hint">Neue Store-Installationen landen am ausgewählten Ort. Vorhandene Spiele bleiben, wo sie sind. Steam-Bibliotheken behalten ihre eigene Einstellung.</string>
<string name="storage_default_ask">Jedes Mal fragen</string>
<string name="storage_default_ask_detail">Für jede Installation ein Ziel wählen</string>
<string name="storage_default_internal">Interner Speicher</string>
<string name="storage_default_external">Externer Speicher</string>
<string name="storage_default_external_detail">%1$s · %2$s frei</string>
<string name="storage_default_external_missing">Nicht verbunden</string>
<string name="storage_default_folder">Ordner · %1$s</string>
<string name="storage_default_folder_free">%1$s frei</string>
<string name="storage_default_folder_missing">Nicht verbunden</string>
<string name="storage_default_choose_folder">Ordner auswählen…</string>
<string name="storage_default_choose_folder_detail">Einen beliebigen Ordner auf einer SD-Karte oder einem USB-Laufwerk verwenden</string>
<string name="storage_default_note">Spiele kommen in einen Games-Ordner am ausgewählten Ort. Vorhandene Spiele werden nicht verschoben.</string>
<string name="storage_where">Belegung</string>
<string name="storage_games">Steam-Spiele</string>
<string name="storage_game_data">Spieldaten</string>
@@ -2801,6 +2938,9 @@
<string name="storage_data_installed">Installierte Spiele</string>
<string name="storage_data_parts">Präfix %1$s · Shader %2$s · Workshop %3$s</string>
<string name="storage_clear_shaders">Shader löschen</string>
<string name="storage_reset_prefix">Präfix zurücksetzen</string>
<string name="storage_reset_prefix_title">Präfix für %1$s zurücksetzen?</string>
<string name="storage_reset_prefix_confirm">Löscht sein Wine-Präfix (%1$s) in %2$s und erstellt es beim nächsten Start neu. Speicherstände, Einstellungen und darin installierte Redistributables gehen verloren; Steam-Cloud-Speicherstände bleiben in deinem Konto.</string>
<string name="storage_data_leftovers">Deinstallierte Spiele</string>
<string name="storage_steam_app">Steam-App %1$d</string>
<string name="storage_leftover_unsure_detail">Das Präfix enthält noch Dateien, darunter möglicherweise lokale Speicherstände</string>
@@ -3102,6 +3242,10 @@
<string name="spatial_saved_views_hint">Gespeicherte Ansichten können neu berechnet werden. Starten Sie eine neue Kalibrierung zur Erfassung im aktuellen Tracking-Koordinatensystem.</string>
<string name="spatial_model_checksum_error">Die Prüfsumme des Handmodells stimmt nicht überein</string>
<string name="spatial_opencv_load_error">OpenCV konnte nicht geladen werden</string>
<string name="session_end_steam_sigill">Steam wurde mit einer ungültigen Anweisung (SIGILL) beendet. Das kann ein Kompatibilitätsproblem mit CPU-Befehlen oder ein Absturz des Clients sein. Teile die Logs zusammen mit den Details deines Geräts.</string>
<string name="session_end_steam_try_x64">Du kannst Steam-Einstellungen → Steam-Client → x86-64 (experimentell) ausprobieren. Das erfordert einen zusätzlichen Download und kann langsamer laufen.</string>
<string name="session_end_vulkan_device">Der Linux-Grafiktreiber hat kein nutzbares Vulkan-Gerät gefunden. Prüfe, ob der ausgewählte Linux-GPU-Treiber diese GPU unterstützt.</string>
<string name="session_end_gpu_unsupported">Diese Sitzung kann nicht starten, weil es für diese GPU in der aktuellen Konfiguration keinen kompatiblen Linux-Vulkan-Treiber gibt. Adreno-Turnip-Treiber können keine Unterstützung für MediaTek/Mali-GPUs aktivieren.</string>
<string name="setup_group_memory">Arbeitsspeicher</string>
<string name="setup_clear_cached">Apps im Cache vor einer Sitzung schließen</string>
<string name="setup_clear_cached_hint">Beim Start einer Sitzung schließt DroidDeck die Apps, die Android im Hintergrund vorhält, damit das Spiel mehr Arbeitsspeicher hat. „Debugging über WLAN“ muss aktiviert sein.</string>
@@ -3125,6 +3269,12 @@
<string name="epic_client_open">Öffnen</string>
<string name="epic_client_install">Installieren</string>
<string name="game_tab_about">Über</string>
<string name="game_resources_browser">Öffnet sich in deinem Browser</string>
<string name="game_resource_guides">Anleitungen</string>
<string name="game_resource_protondb_detail">Kompatibilitätsberichte zu Linux / Proton</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">Für Spiele mit Speicherständen in deinem Steam-Konto</string>
<string name="game_resource_search">Websuche</string>
<string name="game_tab_install">Installieren</string>
<string name="game_install_location">Speicherort</string>
<string name="game_install_folder">Ordner</string>
@@ -3141,6 +3291,11 @@
<string name="stores_eyebrow_pass">verfügbar mit %1$s</string>
<string name="stores_owned_in_library">Eigene Spiele in der Bibliothek</string>
<string name="library_filter_added">Hinzugefügt</string>
<string name="library_filter">Filter</string>
<string name="library_filter_installed">Nur installierte</string>
<string name="library_filter_all_owned">Alle eigenen Spiele</string>
<string name="library_no_installed_matches">Keine installierten Spiele entsprechen diesen Filtern.</string>
<string name="library_browse_owned">Eigene Spiele durchsuchen</string>
<string name="game_tab_launch">Start</string>
<string name="game_tab_saves_cloud">Spielstände &amp; Cloud</string>
<string name="game_launch_shortcut">Steam-Verknüpfung</string>
@@ -3158,6 +3313,28 @@
<string name="stores_itch_update_replaced">Der Entwickler hat diesen Build durch %1$s ersetzt. Darauf aktualisieren?</string>
<string name="xbox_filter_cloud">Cloud</string>
<string name="stores_xbox_cloud_settings">Cloud-Einstellungen</string>
<string name="integration_title">Steam-Integration</string>
<string name="integration_count">%1$d von %2$d an</string>
<string name="integration_set_up">Einrichten</string>
<string name="integration_location">Standort</string>
<string name="integration_app_info">App-Info</string>
<string name="integration_wifi">Wi-Fi-Namen</string>
<string name="integration_brightness">Helligkeit</string>
<string name="integration_home">DroidDeck als Startbildschirm</string>
<string name="integration_shortcuts">Kürzel der Home-Taste</string>
<string name="integration_wifi_hint">Netzwerke in Steam anzeigen · braucht Standortzugriff, kein Tracking</string>
<string name="integration_wifi_on">Netzwerke werden in Steam angezeigt</string>
<string name="integration_wifi_location_off">Standort ist aus</string>
<string name="integration_wifi_denied">Standort verweigert · erlaube ihn in App-Info</string>
<string name="integration_brightness_hint">Steams Regler stellt die Bildschirmhelligkeit ein</string>
<string name="integration_home_hint">Home öffnet in einer Sitzung das Steam-Menü</string>
<string name="integration_shortcuts_hint">Home halten für Steam-Guide-Tastenkombinationen</string>
<string name="integration_shortcuts_needs_home">Benötigt DroidDeck als Startbildschirm</string>
<string name="integration_shortcuts_maybe_restricted">In Android ausgegraut? App-Info → ⋮ → Eingeschränkte Einstellungen zulassen</string>
<string name="integration_shortcuts_restricted">Von Android blockiert · App-Info → ⋮ → Eingeschränkte Einstellungen zulassen</string>
<string name="integration_shortcuts_service">DroidDeck-Home-Taste</string>
<string name="integration_shortcuts_service_description">Leitet Drücke der Home-Taste an Steam Guide weiter, während eine Steam-Sitzung im Fokus ist und DroidDeck die Standard-Startbildschirm-App ist. Liest keine Bildschirminhalte.</string>
<string name="integration_brightness_needed">Aktiviere Helligkeit unter Einrichtung → Steam-Integration</string>
<string name="apps_search_hint">Apps durchsuchen</string>
<string name="apps_no_match">Keine Apps passen zu „%1$s“.</string>
<string name="apps_add_widget">Widget hinzufügen</string>
@@ -3206,9 +3383,35 @@
<string name="desktop_restore_done_body">Die Apps, die du hinzugefügt hast, sind wieder installiert.</string>
<string name="desktop_restore_failed_title">Manche Software konnte nicht wiederhergestellt werden</string>
<string name="desktop_restore_failed_body">Sieh in ~/.cache/droiddeck/apt-restore.log nach und versuche dann sudo apt install in Konsole.</string>
<string name="gog_full_files">Native Optimierungen sind nicht verfügbar. Der Download enthält vollständige Ersatzdateien.</string>
<string name="gog_recover">Patch-Ergebnis prüfen</string>
<string name="slow_usb_title">Langsame USB-Verbindung</string>
<string name="slow_usb_cable">%1$s ist über %2$s verbunden (%3$s Mbit/s, etwa %4$d MB/s), daher laden Spiele darauf langsam. Nutze ein USB-3-Kabel mit 5 Gbit/s oder mehr, dreh den USB-C-Stecker um oder verwende ein schnelleres Laufwerk.</string>
<string name="slow_usb_port">%1$s ist über %2$s verbunden (%3$s Mbit/s, etwa %4$d MB/s). Der USB-Anschluss dieses Geräts kann nicht schneller, daher laden Spiele darauf langsam. Interner Speicher oder eine microSD-Karte können schneller sein.</string>
<string name="slow_usb_never">Nicht mehr anzeigen</string>
<string name="slow_usb_dismiss">Schließen</string>
<string name="steam_import_title">Steam neu starten, um deine Spiele hinzuzufügen?</string>
<string name="steam_import_body">Steam kann diese Spiele, die du besitzt, als installiert anzeigen: %1$s. Dafür muss Steam neu starten. Starte jetzt neu, oder sie werden beim nächsten Start von Steam hinzugefügt.</string>
<string name="steam_import_names_more">%1$s und %2$d weitere</string>
<string name="steam_import_now">Jetzt neu starten</string>
<string name="steam_import_later">Später</string>
<string name="gog_maintenance">GOG-Installation verwalten</string>
<string name="gog_check">Nach Updates suchen</string>
<string name="gog_repair">Prüfen/Reparieren</string>
<string name="gog_patches">Offline-Patches</string>
<string name="gog_refresh">Vollständigen Offline-Installer herunterladen</string>
<string name="gog_update">Auf %1$s aktualisieren</string>
<string name="gog_resume">GOG-Wartung fortsetzen</string>
<string name="gog_open_patch">Patch-Installer öffnen</string>
<string name="gog_patch_in_session">Schließe den Patch-Installer in der Linux-Sitzung ab oder brich ihn ab.</string>
<string name="gog_patch_requirements">Wähle einen Patch für deine installierte Version und Sprache. Unterstützte Ausgangsversionen sind eventuell nicht aufgeführt.</string>
<string name="gog_no_patches">GOG hat keine eigenständigen Windows-Patches für dieses Spiel.</string>
<string name="gog_managed_files">Geänderte Spieldateien werden möglicherweise ersetzt.</string>
<string name="gog_patch_installer_note">Der Installer öffnet sich in deiner Linux-Sitzung.</string>
<string name="gog_download_label">Download</string>
<string name="gog_space_label">Zusätzlicher Speicher</string>
<string name="gog_space_estimate_label">Geschätzter Speicherbedarf</string>
<string name="gog_repair_action">Dateien reparieren</string>
<string name="gog_refresh_action">Installation erneuern</string>
<string name="gog_select_patch">Auswählen</string>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Συντομεύσεις φυσικών κουμπιών</string>
<string name="shortcuts_dd_menu">Μενού DroidDeck</string>
<string name="shortcuts_capture">Αντιστοίχιση: %1$s</string>
<string name="shortcuts_press">Πατήστε και αφήστε ένα κουμπί. Η αντιστοίχιση αποθηκεύεται αυτόματα.</string>
<string name="shortcuts_release">Αφήστε το κουμπί για συνέχεια.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">Αυτό το κουμπί έχει ήδη αντιστοιχιστεί σε: %1$s</string>
<string name="shortcuts_save">Επαναντιστοίχιση</string>
<string name="shortcuts_retry">Δοκιμή άλλου κουμπιού</string>
<string name="shortcuts_limitations">Το κουμπί Αρχική και ορισμένα επιπλέον κουμπιά ενδέχεται να μην είναι διαθέσιμα.</string>
</resources>
+205 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">Επιλογές VKD3D για D3D12. Το nodxr απενεργοποιεί το ray tracing· χρησιμοποιήστε το μόνο για παιχνίδι που το χρειάζεται.</string>
<string name="game_env_proton_log">Ορίστε σε 1 για διαγνωστικό αρχείο καταγραφής του Proton. Η καταγραφή μπορεί να μειώσει την απόδοση και να χρησιμοποιήσει χώρο αποθήκευσης.</string>
<string name="game_env_wined3d">Ορίστε σε 1 για χρήση του WineD3D με βάση OpenGL αντί του DXVK, για δοκιμές συμβατότητας D3D9–11.</string>
<string name="game_env_wined3d_renderer">Renderer για DirectDraw, Direct3D 1-7 και παιχνίδια που εκτελούνται με WineD3D. Το Vulkan παρακάμπτει τη διαδρομή OpenGL μέσω Zink και είναι πολύ πιο γρήγορο για παλιά παιχνίδια DirectDraw και Direct3D 7 σε Adreno.</string>
<string name="game_env_dxvk_d3d8">Ορίστε σε 1 για εκτέλεση του Direct3D 8 μέσω DXVK αντί για WineD3D. Πιο γρήγορο στη δοκιμή Direct3D 8 του AIO Graphics Test σε Adreno.</string>
<string name="game_env_no_ntsync">Ορίστε σε 1 για να κρατήσετε αυτό το παιχνίδι εκτός ntsync (droiddeck-ntsync ή οδηγός πυρήνα)· χρησιμοποιεί το droiddeck-esync όπου υπάρχει πακέτο, διαφορετικά το droiddeck-fsync.</string>
<string name="game_env_no_esync">Ορίστε σε 1 για να απενεργοποιήσετε το droiddeck-esync για αυτό το παιχνίδι· χρησιμοποιεί αντ’ αυτού το droiddeck-fsync, ή το droiddeck-ntsync όταν είναι απενεργοποιημένο και το fsync.</string>
<string name="game_env_no_fsync">Ορίστε σε 1 για να κρατήσετε αυτό το παιχνίδι εκτός droiddeck-fsync· χρησιμοποιεί το droiddeck-esync όπου υπάρχει πακέτο, διαφορετικά το droiddeck-ntsync.</string>
<string name="game_env_fsync_first">Ορίστε σε 1 για εκτέλεση αυτού του παιχνιδιού με droiddeck-fsync, ή σε 0 για να προτάξετε το droiddeck-esync όπου ένα πακέτο ταιριάζει με το Proton του.</string>
<string name="game_env_xalia">Ορίστε σε 0 για να απενεργοποιήσετε τον βοηθό πλοήγησης με χειριστήριο του Proton για αυτό το παιχνίδι.</string>
<string name="game_env_anticheat_offline">Ενεργό από προεπιλογή. Ξεκινά ένα παιχνίδι Easy Anti-Cheat χωρίς το anti-cheat του όταν το παιχνίδι υποστηρίζει παιχνίδι εκτός σύνδεσης. Απενεργοποιήστε το για εκκίνηση μέσω Easy Anti-Cheat ως συνήθως. Οι διαδικτυακές λειτουργίες που απαιτούν Easy Anti-Cheat παραμένουν μη διαθέσιμες.</string>
<string name="game_env_hud">Επικάλυψη DXVK για D3D9–11. Το fps εμφανίζει τον ρυθμό καρέ· χωρίς ορισμό το αποκρύπτει.</string>
<string name="game_env_dxvk_config">Ρυθμίσεις DXVK χωρισμένες με ερωτηματικά. Οι πρόσφατες εκδόσεις χρησιμοποιούν το dxvk.maxFrameRate για τον περιορισμό καρέ· προτιμήστε τον περιοριστή καρέ της συνεδρίας για συνήθη χρήση.</string>
<string name="game_env_cores">Πυρήνες CPU για αυτό το παιχνίδι, όπως 0-4 ή 0,2,4, αντί για τους πυρήνες παιχνιδιών της συνεδρίας. Λιγότεροι πυρήνες ζεσταίνονται λιγότερο.</string>
<string name="game_env_vkd3d_limit">Όριο ρυθμού καρέ D3D12. Το 0 απενεργοποιεί το όριο.</string>
<string name="game_env_glthread">Πολυνημάτωση OpenGL της Mesa. Το true μπορεί να βοηθήσει παιχνίδια OpenGL περιορισμένα από CPU· δοκιμάστε το ανά παιχνίδι.</string>
<string name="sync_backend_title">Συγχρονισμός Wine</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">Το FEX εκτελεί προγράμματα x86 Linux σε αυτή τη συσκευή ARM64. Το Αυτόματο το χρησιμοποιεί όταν το πρόγραμμα είναι χτισμένο για x86.</string>
<string name="app_fex_x86">%1$s μέσω FEX</string>
<string name="app_fex_not_ready">Αυτό το πρόγραμμα είναι χτισμένο για υπολογιστές %1$s και εκτελείται μέσω FEX, το οποίο δεν έχει ρυθμιστεί ακόμα. Ανοίξτε το Steam μία φορά ενώ είστε συνδεδεμένοι: το DroidDeck κάνει λήψη του FEX και του Steam Linux Runtime που χρειάζεται, και μετά αυτό ανοίγει.</string>
<string name="session_proot_missing">Δεν ήταν δυνατή η λήψη του proot του DroidDeck. Ελέγξτε τη σύνδεση και δοκιμάστε ξανά. Η συνεδρία δεν ξεκίνησε, επειδή το εναλλακτικό proot είναι πολύ αργό για παιχνίδι.</string>
<string name="session_directaudio_missing">Δεν ήταν δυνατή η λήψη του DirectAudio, οπότε ο ήχος των παιχνιδιών χρησιμοποιεί την πιο αργή διαδρομή σε αυτή τη συνεδρία.</string>
<string name="session_end_program">Αυτό το πρόγραμμα</string>
<string name="session_end_steam_download">Δεν ήταν δυνατή η λήψη του πελάτη Steam. Το δίκτυο ή το VPN σας ίσως αποκλείει τους διακομιστές του Steam· ελέγξτε τη σύνδεση και δοκιμάστε ξανά.</string>
<string name="session_end_steam_setup">Δεν ήταν δυνατή η ρύθμιση του πελάτη Steam. Ελέγξτε τη σύνδεση και τον ελεύθερο χώρο αποθήκευσης και δοκιμάστε ξανά.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">Χειριστήριο Xbox 360</string>
<string name="mode_controller_note">Deck: κουμπί Quick Access και γυροσκόπιο. Steam Controller: το ίδιο, με αίσθηση λαβής στα πίσω κουμπιά. DualShock 4 και DualSense: γυροσκόπιο, και τα trackpad ως πινακίδα αφής τους. Xbox 360: ανοίξτε το Quick Access με Guide+A.</string>
<string name="mode_back">Πίσω</string>
<string name="back_native_qam_hint">Κρατήστε πατημένο το Πίσω για 700 ms ή κρατήστε το Πίσω και πατήστε άλλο κουμπί για συντομεύσεις Steam.</string>
<string name="back_double_tap_window">Διάστημα διπλού πατήματος</string>
<string name="back_tap_ms">%1$d ms</string>
<string name="brightness_permission_title">Να επιτρέπεται ο έλεγχος φωτεινότητας</string>
<string name="brightness_permission_text">Ρυθμίστε τον έλεγχο φωτεινότητας στο DroidDeck.</string>
<string name="back_menu_then_qam">Μενού → QAM</string>
<string name="back_qam_then_menu">QAM → Μενού</string>
<string name="mode_session">Συνεδρία</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">Ενημερωμένο · %1$s</string>
<string name="mode_decky_loader">Φορτωτής</string>
<string name="mode_decky_install_latest">Εγκατάσταση τελευταίας έκδοσης</string>
<string name="decky_channel">Κανάλι ενημερώσεων</string>
<string name="decky_channel_hint">Ποιες εκδόσεις του Decky Loader θα εγκατασταθούν. Το πρόγραμμα ενημέρωσης του Decky χρησιμοποιεί το ίδιο κανάλι.</string>
<string name="decky_channel_stable">Σταθερό</string>
<string name="decky_channel_prerelease">Προέκδοση</string>
<string name="decky_channel_testing">Δοκιμαστικό</string>
<string name="decky_channel_failed">Δεν ήταν δυνατή η αποθήκευση του καναλιού ενημερώσεων του Decky</string>
<string name="mode_decky_on">Ξεκινά με το Steam. Όσο είναι ενεργό, άλλες εφαρμογές σε αυτή τη συσκευή μπορεί να είναι σε θέση να ελέγξουν το Steam.</string>
<string name="mode_decky_off">Ανενεργό. Η θύρα απομακρυσμένου εντοπισμού σφαλμάτων του Steam παραμένει κλειστή.</string>
<string name="mode_decky_remove_title">Κατάργηση εγκατάστασης του Decky Loader;</string>
@@ -323,6 +340,10 @@
<string name="mode_client">Πελάτης</string>
<string name="mode_mangoapp">Επικάλυψη απόδοσης</string>
<string name="mode_mangoapp_hint">Απενεργοποιήστε το αν τα παιχνίδια κολλάνε ή μαυρίζει η οθόνη σε λειτουργία Deck. Εφαρμόζεται στην επόμενη συνεδρία.</string>
<string name="mode_return_after_game">Επιστροφή στο DroidDeck μετά από παιχνίδι</string>
<string name="mode_return_after_game_hint">Όταν κλείνει ένα παιχνίδι που ξεκινήσατε από το DroidDeck ή άλλο launcher, το Steam τερματίζεται κανονικά (πρώτα ολοκληρώνονται οι αποθηκεύσεις στο cloud) και επιστρέφετε εκεί. Ανενεργό: παραμένετε στο Steam.</string>
<string name="mode_shader_precache">Προ-αποθήκευση shader</string>
<string name="mode_shader_precache_hint">Το Steam κατεβάζει έτοιμα shaders για τα παιχνίδια σας και τα επεξεργάζεται στο παρασκήνιο, ώστε τα παιχνίδια να κολλάνε λιγότερο. Η απενεργοποίηση εξοικονομεί δεδομένα, χώρο και μπαταρία· τα παιχνίδια δημιουργούν τα shaders κατά το παιχνίδι. Η ίδια ρύθμιση με το Λήψεις &gt; Shader Pre-Caching του Steam. Εφαρμόζεται στην επόμενη συνεδρία.</string>
<string name="mode_steam_repair">Επιδιόρθωση πελάτη Steam</string>
<string name="mode_steam_repair_hint">Κάνει ξανά λήψη του πελάτη Steam την επόμενη φορά που θα ξεκινήσει το Steam. Χρησιμοποιήστε το αν το Steam παραμένει στην οθόνη φόρτωσης. Τα παιχνίδια, η σύνδεση και οι ρυθμίσεις διατηρούνται.</string>
<string name="mode_steam_repair_queued">Ο πελάτης Steam θα ληφθεί ξανά την επόμενη φορά που θα ξεκινήσει το Steam.</string>
@@ -390,6 +411,8 @@
<string name="mode_directaudio_hint">Παρακάμπτει το PulseAudio για μικρότερη καθυστέρηση.</string>
<string name="mode_mic">Μικρόφωνο</string>
<string name="mode_mic_hint">Για φωνητική συνομιλία.</string>
<string name="drawer_mic_hint">Ενεργοποίηση ή απενεργοποίηση της λήψης μικροφώνου για αυτή τη συνεδρία.</string>
<string name="drawer_mic_failed">Δεν ήταν δυνατή η αλλαγή του μικροφώνου. Δοκιμάστε ξανά.</string>
<string name="mode_network">Δίκτυο</string>
<string name="mode_wifi_discovery">Εντοπισμός Wi-Fi</string>
<string name="mode_wifi_discovery_hint">Εμφανίζει ονόματα Wi-Fi και κοντινά δίκτυα στο Steam.</string>
@@ -551,6 +574,16 @@
<string name="perf_gsrealtime">gamescope: ουρά GPU πραγματικού χρόνου</string>
<string name="perf_gsrealtime_hint">Δίνει προτεραιότητα στην εργασία GPU του compositor. Μπορεί να εξομαλύνει τον ρυθμό καρέ με κάποιο κόστος για τα παιχνίδια.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">Μνήμη</string>
<string name="perf_cap_off">Ανενεργό</string>
<string name="perf_cap_auto">Προεπιλογή προγράμματος οδήγησης</string>
<string name="perf_zram_client">Συμπίεση του Steam όσο τρέχει παιχνίδι</string>
<string name="perf_zram_client_hint">20 s μετά την εκκίνηση ενός παιχνιδιού, ο πελάτης Steam συμπιέζεται στη zRAM για να μείνει περισσότερη μνήμη στο παιχνίδι, και διαβάζεται πίσω όταν το παιχνίδι κλείσει. Απενεργοποιήστε το αν η συνεδρία κλείνει λίγο μετά την εκκίνηση παιχνιδιών. Ένα όριο RAM παραπάνω εξακολουθεί να συμπιέζει το Steam όταν η συνεδρία το ξεπεράσει.</string>
<string name="perf_ram_cap">Όριο RAM</string>
<string name="perf_ram_cap_hint">Ισχύει όσο τρέχει ο πελάτης Steam, σε λειτουργία Steam ή από την επιφάνεια εργασίας. Όταν η συνεδρία χρησιμοποιεί περισσότερη, το Steam και έπειτα οι άλλες υποστηριζόμενες διεργασίες της συνεδρίας συμπιέζονται στη zRAM. Ήπιο όριο: τίποτα δεν κλείνει, αλλά τα παιχνίδια μπορεί να κολλάνε όσο επιστρέφουν οι σελίδες.</string>
<string name="perf_ram_cap_unavailable">Απαιτεί zRAM swap, που δεν υπάρχει σε αυτή τη συσκευή.</string>
<string name="perf_vram_cap">Όριο VRAM</string>
<string name="perf_vram_cap_hint">Η μνήμη βίντεο που αναφέρει το DXVK στα παιχνίδια Direct3D, ώστε να προγραμματίζουν υφές για λιγότερη. Οι δικές ρυθμίσεις DXVK του παιχνιδιού υπερισχύουν. Εφαρμόζεται στην επόμενη συνεδρία.</string>
<string name="perf_gpuclock">Διατήρηση της GPU στη μέγιστη συχνότητά της</string>
<string name="perf_gpuclock_hint">Μόνο Adreno. Λιγότερα κολλήματα, μεγαλύτερη χρήση μπαταρίας και θερμότητα.</string>
<string name="perf_fixes">Διορθώσεις συνεδρίας</string>
@@ -569,6 +602,8 @@
<string name="perf_fastpath">Ταχεία διαδρομή proot</string>
<string name="perf_fastpath_needs_seccomp">Απαιτεί το φίλτρο seccomp του proot.</string>
<string name="perf_fastpath_hint">Ταχύτερη αναζήτηση αρχείων και λιγότερα κολλήματα. Απενεργοποιήστε το αν ένα πρόγραμμα δεν μπορεί να βρει τα αρχεία του.</string>
<string name="perf_cursor_composite">Σχεδίαση του δείκτη μέσα στο gamescope</string>
<string name="perf_cursor_composite_hint">Το Gamescope σχεδιάζει μόνο του τον δείκτη αντί να τον παραδίδει στο Android. Ενεργοποιήστε το για δείκτη που ελέγχεται από χειριστήριο. Το ανενεργό είναι πιο γρήγορο σε τηλέφωνο. Εφαρμόζεται στην επόμενη συνεδρία.</string>
<string name="perf_identity">Ταυτότητα συνεδρίας</string>
<string name="perf_hostname">Όνομα κεντρικού υπολογιστή</string>
<string name="perf_hostname_hint">Το όνομα που βλέπει το Steam για αυτή τη συσκευή. Αν το αφήσετε κενό, επανέρχεται σε %1$s.</string>
@@ -583,6 +618,8 @@
<string name="driver_delete_plain">Τα αρχεία του αφαιρούνται από την εφαρμογή.</string>
<string name="driver_delete_in_use">Τα αρχεία του αφαιρούνται. Είναι σε χρήση, οπότε το προεπιλεγμένο παίρνει τη θέση του.</string>
<string name="drawer_page_display">Οθόνη</string>
<string name="drawer_frame_limit">Όριο καρέ</string>
<string name="drawer_frame_limit_note">Περιορίζει αυτό το παιχνίδι. Η οθόνη αλλάζει σε ρυθμό ανανέωσης που διαιρείται ακριβώς με το όριο, αν υπάρχει· άλλα όρια μπορεί να φαίνονται ανομοιόμορφα. Τα παιχνίδια Steam χρησιμοποιούν το Frame Limit του Steam στο μενού Quick Access.</string>
<string name="drawer_page_effects">Εφέ</string>
<string name="drawer_page_controls">Χειριστήρια</string>
<string name="drawer_page_components">Στοιχεία</string>
@@ -664,7 +701,6 @@
<string name="hud_export_failed">Δεν ήταν δυνατή η αποθήκευση της αναφοράς HUD.</string>
<string name="hud_reset">Επαναφορά ρυθμίσεων HUD</string>
<string name="hud_reset_button">Επαναφορά</string>
<string name="hud_credit">FusionHUD από The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Λειτουργία κλιμάκωσης</string>
<string name="drawer_scaling_sharpness">Οξύτητα κλιμάκωσης</string>
<string name="drawer_effects">Εφέ οθόνης</string>
@@ -699,6 +735,8 @@
<string name="drawer_touch_auto">Αυτόματο (%1$s)</string>
<string name="drawer_keyboard">Πληκτρολόγιο</string>
<string name="drawer_latency">Καθυστέρηση</string>
<string name="drawer_low_latency">Λειτουργία χαμηλής καθυστέρησης</string>
<string name="drawer_low_latency_hint">Αυξάνει τη χρήση CPU και μπαταρίας</string>
<string name="drawer_low_latency_controller">Χειριστήριο χαμηλής καθυστέρησης</string>
<string name="drawer_low_latency_controller_hint">Το χειριστήριο αναφέρει στα 1000 Hz αντί για 250 Hz. Λίγο περισσότερο CPU.</string>
<string name="drawer_low_latency_touch">Αφή χαμηλής καθυστέρησης</string>
@@ -791,6 +829,10 @@
<string name="setup_session">Συνεδρία</string>
<string name="setup_logs">Αρχεία καταγραφής συνεδρίας</string>
<string name="setup_logs_hint">Αποθηκεύονται μετά από κάθε συνεδρία</string>
<string name="setup_game_debug_logs">Αρχεία καταγραφής εντοπισμού σφαλμάτων παιχνιδιών</string>
<string name="setup_game_debug_logs_hint">Συμπερίληψη διαγνωστικών Proton, Wine και γραφικών στην επόμενη εκκίνηση παιχνιδιού. Μπορεί να μειώσει την απόδοση και να χρησιμοποιήσει περισσότερο χώρο.</string>
<string name="setup_game_debug_logs_restart">Επανεκκινήστε αυτή τη συνεδρία για να αποθηκεύσετε αρχεία καταγραφής εντοπισμού σφαλμάτων παιχνιδιών</string>
<string name="setup_logging_update_failed">Δεν ήταν δυνατή η ενημέρωση της καταγραφής. Ελέγξτε τον διακόπτη και δοκιμάστε ξανά.</string>
<string name="setup_agent_commands">Εργαλεία εντοπισμού σφαλμάτων</string>
<string name="setup_latest_logs">Πιο πρόσφατα αρχεία καταγραφής συνεδρίας</string>
<string name="setup_saved_logs">Αποθηκευμένα αρχεία καταγραφής συνεδρίας</string>
@@ -823,6 +865,11 @@
<string name="setup_home_on">Το DroidDeck μπορεί να είναι η εφαρμογή αρχικής οθόνης</string>
<string name="setup_home_off">Το DroidDeck δεν προτείνεται ποτέ ως εφαρμογή αρχικής οθόνης</string>
<string name="setup_orientation">Προσανατολισμός</string>
<string name="setup_launcher_orientation">Προσανατολισμός launcher</string>
<string name="setup_launcher_orientation_auto">Ακολουθεί την περιστροφή της συσκευής</string>
<string name="setup_orientation_portrait">Κατακόρυφος</string>
<string name="setup_session_orientation">Προσανατολισμός συνεδρίας</string>
<string name="setup_session_orientation_hint">Ισχύει για το Steam, τα παιχνίδια, την επιφάνεια εργασίας και τον επεξεργαστή χειριστηρίου. Οι προκαθορισμένες αναλύσεις περιστρέφονται με τη συνεδρία· το προσαρμοσμένο πλάτος και ύψος μένουν όπως καταχωρίστηκαν.</string>
<string name="setup_orientation_auto">Αυτόματος οριζόντιος προσανατολισμός</string>
<string name="setup_orientation_landscape">Οριζόντιος προσανατολισμός</string>
<string name="setup_orientation_reverse">Αντίστροφος οριζόντιος προσανατολισμός</string>
@@ -987,6 +1034,14 @@
<string name="gate_step1">Ανοίξτε Ρυθμίσεις → Επιλογές προγραμματιστή → Ασύρματος εντοπισμός σφαλμάτων και ενεργοποιήστε τον</string>
<string name="gate_step2">Πατήστε «Σύζευξη συσκευής με κωδικό σύζευξης»</string>
<string name="gate_step3">Πληκτρολογήστε τον κωδικό στην ειδοποίηση του DroidDeck</string>
<string name="pairguide_build_number">Στο Σχετικά με το τηλέφωνο, πατήστε 7 φορές τον Αριθμό έκδοσης</string>
<string name="pairguide_wireless">Ενεργοποιήστε τον Ασύρματο εντοπισμό σφαλμάτων</string>
<string name="pairguide_pair">Ανοίξτε τον Ασύρματο εντοπισμό σφαλμάτων και πατήστε «Σύζευξη συσκευής με κωδικό σύζευξης»</string>
<string name="pairguide_child_process">Ενεργοποιήστε την επιλογή «Απενεργοποίηση περιορισμών θυγατρικών διεργασιών»</string>
<string name="pairguide_row_child_process">Απενεργοποίηση περιορισμών θυγατρικών διεργασιών</string>
<string name="pairguide_row_build_number">Αριθμός έκδοσης</string>
<string name="pairguide_row_wireless">Ασύρματος εντοπισμός σφαλμάτων</string>
<string name="pairguide_row_pair">Σύζευξη συσκευής με κωδικό σύζευξης</string>
<string name="gate_waiting">Αναμονή για το αναδυόμενο παράθυρο σύζευξης…</string>
<string name="gate_code_needed">Βρέθηκε αναδυόμενο παράθυρο. Εισαγάγετε τον κωδικό του στην ειδοποίηση.</string>
<string name="gate_status">Κατάσταση</string>
@@ -1125,7 +1180,6 @@
<string name="games_never_played">Δεν έχει παιχτεί ποτέ</string>
<string name="games_runtime_busy_percent">Το runtime είναι απασχολημένο · %1$d%%</string>
<string name="games_runtime_busy">Το runtime είναι απασχολημένο</string>
<string name="games_runtime_first_play">Το runtime εγκαθίσταται στο πρώτο Play</string>
<string name="games_runtime_update">Υπάρχει ενημέρωση runtime</string>
<string name="games_runtime_ready">● Το runtime είναι έτοιμο</string>
<string name="games_internal">Εσωτερική αποθήκευση</string>
@@ -1142,6 +1196,9 @@
<string name="gpu_hide_other">Απόκρυψη προγραμμάτων οδήγησης για άλλες GPU</string>
<string name="gpu_show_other">Εμφάνιση προγραμμάτων οδήγησης για άλλες GPU</string>
<string name="gpu_advanced">Για προχωρημένους</string>
<string name="gpu_ubwc_title">Συμβατότητα UBWC</string>
<string name="gpu_ubwc_hint">Δοκιμάστε Ενεργό ή Ανενεργό αν το Steam ή το Android εμφανίζει γραμμές ή τρεμόπαιγμα. Ισχύει και για τα δύο προγράμματα οδήγησης μετά την επανεκκίνηση του DroidDeck.</string>
<string name="gpu_ubwc_restart">Κάντε επανεκκίνηση του DroidDeck για εφαρμογή.</string>
<string name="gpu_set_with_display">Ορίζεται μαζί με το πρόγραμμα οδήγησης οθόνης: το %1$s φέρει και τα δύο.</string>
<string name="gpu_set_with_runtime">Ορίζεται μαζί με το πρόγραμμα οδήγησης runtime: το %1$s φέρει και τα δύο.</string>
<string name="gpu_runtime_hint">Χρησιμοποιείται από παιχνίδια και την επιφάνεια εργασίας.</string>
@@ -1250,10 +1307,15 @@
<string name="pip_auto">Αυτόματη είσοδος σε λειτουργία εικόνας εντός εικόνας</string>
<string name="unfolded_controls">Χειριστήρια στην ξεδιπλωμένη οθόνη</string>
<string name="unfolded_controls_hint">Ξεδιπλωμένη, το παιχνίδι βρίσκεται πάνω από τις πινακίδες αφής και τις πίσω λαβές του Steam Deck. Διπλωμένη, το παιχνίδι καταλαμβάνει όλη την οθόνη.</string>
<string name="unfolded_controls_with_controller">Διατήρηση με χειριστήριο</string>
<string name="unfolded_controls_with_controller_hint">Εμφάνιση αυτών των χειριστηρίων αφής και όταν είναι συνδεδεμένο χειριστήριο.</string>
<string name="pip_suspended">Σε αναστολή</string>
<string name="pip_not_ready">Η λειτουργία εικόνας εντός εικόνας είναι διαθέσιμη μόλις η συνεδρία είναι έτοιμη.</string>
<string name="pip_permission">Επιτρέψτε την εικόνα εντός εικόνας για το DroidDeck στις ρυθμίσεις Android.</string>
<string name="pip_unavailable">Το Android δεν μπόρεσε να ανοίξει τη λειτουργία εικόνας εντός εικόνας.</string>
<string name="game_more">Περισσότερα</string>
<string name="game_edit_art">Επεξεργασία εικαστικών</string>
<string name="stores_in_steam_label">Στο Steam</string>
<string name="game_shortcut">Συντόμευση</string>
<string name="game_shortcut_add">Προσθήκη στην αρχική οθόνη</string>
<string name="game_shortcut_choose">Επιλογή παιχνιδιού</string>
@@ -1277,6 +1339,10 @@
<string name="main_wait_runtime">Περιμένετε να ολοκληρωθεί η λειτουργία του runtime</string>
<string name="main_wait_proton_install">Περιμένετε να ολοκληρωθεί η εγκατάσταση του εργαλείου συμβατότητας</string>
<string name="load_compat_title">Προετοιμασία εργαλείων συμβατότητας</string>
<string name="load_compat_wait">Αναμονή για ολοκλήρωση της ρύθμισης συμβατότητας</string>
<string name="load_compat_hint">Η συνεδρία σας θα ξεκινήσει όταν ολοκληρωθεί η ρύθμιση.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">Περιμένετε να ολοκληρωθεί η εγκατάσταση της εφαρμογής επιφάνειας εργασίας</string>
<string name="main_wait_install_game">Περιμένετε να ολοκληρωθεί η εγκατάσταση πριν εκκινήσετε ένα παιχνίδι</string>
<string name="main_saves_close_session">Κλείστε πρώτα τη συνεδρία Steam, ώστε το παιχνίδι να μην αποθηκεύσει πάνω από την εισαγωγή</string>
@@ -1313,6 +1379,9 @@
<string name="main_install_anyway">Εγκατάσταση παρόλα αυτά</string>
<string name="main_remove_runtime_title">Κατάργηση του Linux runtime</string>
<string name="main_remove_runtime_text">Αυτό διαγράφει το runtime, τον πελάτη Steam μέσα σε αυτό και κάθε παιχνίδι που είναι εγκατεστημένο εκεί.</string>
<string name="runtime_actions_title">Runtime Linux</string>
<string name="runtime_actions_text">Η Επιδιόρθωση επανεγκαθιστά τα αρχεία συστήματος του runtime και διατηρεί το Steam, τα παιχνίδια και τις ρυθμίσεις σας. Πρόσθετα όπως η επιφάνεια εργασίας εγκαθίστανται ξανά όταν τα χρησιμοποιήσετε. Η Αφαίρεση διαγράφει τα πάντα.</string>
<string name="runtime_repair">Επιδιόρθωση runtime</string>
<string name="main_applied">Εφαρμόστηκε: %1$s</string>
<string name="android_app_open_failed_primary">Δεν ήταν δυνατό το άνοιγμα του %1$s στην κύρια οθόνη</string>
<string name="android_app_open_failed_on">Δεν ήταν δυνατό το άνοιγμα του %1$s στο %2$s</string>
@@ -1442,6 +1511,11 @@
<string name="session_runtime_catalog_unreachable">Δεν ήταν δυνατή η πρόσβαση στον κατάλογο runtime. Ελέγξτε τη σύνδεση και πατήστε ξανά Αναπαραγωγή.</string>
<string name="session_runtime_install_failed">Το Linux runtime δεν εγκαταστάθηκε. Ελέγξτε το runtime στη Ρύθμιση και πατήστε ξανά Αναπαραγωγή.</string>
<string name="session_desktop_install_failed">Η επιφάνεια εργασίας δεν εγκαταστάθηκε (%1$s). Ελέγξτε τη σύνδεση και πατήστε ξανά Επιφάνεια εργασίας.</string>
<string name="session_package_resume_failed">Δεν ήταν δυνατή η ολοκλήρωση μιας εγκατάστασης που διακόπηκε (%1$s). Ελέγξτε τη σύνδεση και τον χώρο και δοκιμάστε ξανά.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="one">Το runtime Linux είναι κατεστραμμένο: %1$d σύνδεσμος βιβλιοθήκης δείχνει σε αρχείο που λείπει (%2$s), συνήθως μετά από διακοπή εγκατάστασης. Η Επιδιόρθωση διατηρεί τα παιχνίδια και τις ρυθμίσεις σας.</item>
<item quantity="other">Το runtime Linux είναι κατεστραμμένο: %1$d σύνδεσμοι βιβλιοθηκών δείχνουν σε αρχεία που λείπουν (%2$s και άλλα), συνήθως μετά από διακοπή εγκατάστασης. Η Επιδιόρθωση διατηρεί τα παιχνίδια και τις ρυθμίσεις σας.</item>
</plurals>
<string name="session_ended_named">%1$s διακόπηκε αναπάντεχα. Κοινοποιήστε τα αρχεία καταγραφής με μια αναφορά σφάλματος, ή δοκιμάστε ξανά.</string>
<string name="session_ended_program">Το πρόγραμμα διακόπηκε αναπάντεχα. Κοινοποιήστε τα αρχεία καταγραφής με μια αναφορά σφάλματος, ή δοκιμάστε ξανά.</string>
<string name="session_ended_desktop">Η επιφάνεια εργασίας διακόπηκε αναπάντεχα. Κοινοποιήστε τα αρχεία καταγραφής με μια αναφορά σφάλματος, ή δοκιμάστε ξανά.</string>
@@ -1456,6 +1530,13 @@
<string name="mode_decky_plugins_hint">Εγκαταστήστε ένα ZIP προσθέτου για την επόμενη συνεδρία Steam.</string>
<string name="mode_decky_plugin_downloading">Γίνεται λήψη…</string>
<string name="mode_decky_plugin_install_zip">Εγκατάσταση από ZIP</string>
<string name="decky_zip_warning_title">Εγκατάσταση plugin τρίτων</string>
<string name="decky_zip_warning_text">Η ομάδα του Decky Loader δεν έχει ελέγξει αυτό το plugin. Μπορεί να περιέχει κακόβουλο λογισμικό, όπως λογισμικό για υποκλοπή του λογαριασμού σας Steam ή βλάβη της συσκευής σας. Με την εγκατάσταση αυτού του plugin, αποδέχεστε ότι αναλαμβάνετε όλους τους κινδύνους για τη συσκευή σας.</string>
<string name="decky_zip_warning_continue">Συνέχεια</string>
<plurals name="decky_zip_warning_wait">
<item quantity="one">Περιμένετε %1$d δευτερόλεπτο</item>
<item quantity="other">Περιμένετε %1$d δευτερόλεπτα</item>
</plurals>
<string name="store_cat_games">Παιχνίδια</string>
<string name="store_cat_audio_video">Ήχος &amp; βίντεο</string>
<string name="store_cat_graphics">Γραφικά</string>
@@ -1617,6 +1698,8 @@
<string name="fm_accept">Αποδοχή</string>
<string name="fm_decline">Απόρριψη</string>
<string name="fm_drive_not_readable">Το %1$s είναι προσαρτημένο αλλά δεν είναι αναγνώσιμο αυτή τη στιγμή</string>
<string name="fm_drive_access_title">Να επιτραπεί η πρόσβαση στο %1$s</string>
<string name="fm_drive_access_text">Το Android επιτρέπει στο DroidDeck να βλέπει αυτόν τον δίσκο αλλά όχι να τον διαβάζει. Ενεργοποιήστε την Πρόσβαση σε όλα τα αρχεία για το DroidDeck και επιστρέψτε.</string>
<string name="fm_list_view">Προβολή λίστας</string>
<string name="fm_grid_view">Προβολή πλέγματος</string>
<string name="fm_search">Αναζήτηση</string>
@@ -1718,6 +1801,7 @@
<string name="flatpakmgr_not_ready">Ρυθμίστε πρώτα το Flatpak</string>
<string name="flatpakmgr_starting">Γίνεται εκκίνηση</string>
<string name="flatpakmgr_exit_status">Το Flatpak έκλεισε με κατάσταση %1$d</string>
<string name="flatpakmgr_wrong_arch">Το %1$s είναι φτιαγμένο για %2$s, που το DroidDeck δεν μπορεί να εκτελέσει. Οι εφαρμογές Flatpak εδώ χρειάζονται έκδοση για ARM64 ή x86_64.</string>
<string name="flatpakmgr_installing">Εγκατάσταση %1$s</string>
<string name="flatpakmgr_updating">Ενημέρωση %1$s</string>
<string name="flatpakmgr_removing">Κατάργηση %1$s</string>
@@ -1811,6 +1895,7 @@
<string name="adbpair_applying">Εφαρμογή της ρύθμισης…</string>
<string name="adbpair_command_failed">Η εντολή ασύρματου εντοπισμού σφαλμάτων απέτυχε</string>
<string name="adbpair_channel_name">Ρύθμιση ασύρματου εντοπισμού σφαλμάτων</string>
<string name="adbpair_progress_channel_name">Πρόοδος ρύθμισης ασύρματου εντοπισμού σφαλμάτων</string>
<string name="adbpair_channel_description">Ζητά τον κωδικό σύζευξης ασύρματου εντοπισμού σφαλμάτων όσο οι Ρυθμίσεις είναι ανοιχτές</string>
<string name="adbpair_title_pair">Σύζευξη ασύρματου εντοπισμού σφαλμάτων</string>
<string name="adbpair_waiting_text">Ενεργοποιήστε τον ασύρματο εντοπισμό σφαλμάτων και πατήστε «Σύζευξη συσκευής με κωδικό σύζευξης».</string>
@@ -1919,6 +2004,7 @@
<string name="gpuinfo_not_adreno">Δεν είναι GPU Adreno</string>
<string name="gpuinfo_supported">Υποστηρίζεται</string>
<string name="gpuinfo_experimental">Πειραματικό: τα προγράμματα οδήγησής του είναι δοκιμαστικές εκδόσεις</string>
<string name="gpuinfo_a850_experimental">Πειραματική υποστήριξη Adreno 850: απαιτεί συμβατά πειραματικά προγράμματα οδήγησης οθόνης και παιχνιδιών· δεν έχει επαληθευτεί σε αυτή τη συσκευή</string>
<string name="gpuinfo_below_tested">Κάτω από το δοκιμασμένο υλικό (Adreno 725 και νεότερα): ίσως να μην εκτελεστεί</string>
<string name="gpuinfo_unsupported">Δεν υποστηρίζεται: το DroidDeck χρειάζεται GPU Adreno (Snapdragon)</string>
@@ -2121,6 +2207,13 @@
<string name="stores_resume">Συνέχιση</string>
<string name="stores_refresh">Ανανέωση</string>
<string name="stores_sort">Ταξινόμηση</string>
<string name="setup_rail_labels">Ετικέτες πλαϊνής γραμμής</string>
<string name="setup_rail_labels_hint">Εμφάνιση ονομάτων κάτω από τα εικονίδια της πλαϊνής γραμμής. Απενεργοποιήστε για πιο λεπτή πλαϊνή γραμμή.</string>
<string name="library_display">Προβολή</string>
<string name="library_display_larger">Μεγαλύτερες κάρτες</string>
<string name="library_display_smaller">Μικρότερες κάρτες</string>
<string name="library_display_title">Εμφάνιση τίτλου</string>
<string name="library_display_size">Εμφάνιση μεγέθους</string>
<string name="stores_sort_last_played">Παίχτηκαν πρόσφατα</string>
<string name="stores_sort_recently_installed">Εγκαταστήθηκαν πρόσφατα</string>
<string name="stores_sort_title_asc">Τίτλος Α–Ω</string>
@@ -2247,6 +2340,9 @@
<string name="stores_download_manager">Διαχείριση λήψεων</string>
<string name="stores_parallel">Ταυτόχρονες λήψεις</string>
<string name="stores_install_where">Εγκατάσταση σε</string>
<string name="stores_install_language">Γλώσσα παιχνιδιού</string>
<string name="stores_install_language_hint">Τα GOG και Epic εγκαθιστούν αυτή τη γλώσσα. Το Σύστημα ακολουθεί τη γλώσσα της εφαρμογής.</string>
<string name="stores_install_language_system">Σύστημα</string>
<string name="stores_install_title">Εγκατάσταση %1$s:</string>
<string name="stores_target_internal">Εσωτερική</string>
<string name="stores_target_free">%1$s ελεύθερα</string>
@@ -2285,6 +2381,9 @@
<string name="edit_target">Προορισμός</string>
<string name="edit_start_in">Εκκίνηση σε</string>
<string name="edit_launch_options">Επιλογές εκκίνησης</string>
<string name="edit_launch_options_steam_hint">Κοινές με τις Ιδιότητες του Steam: μια αλλαγή στο ένα σημείο εμφανίζεται και στα δύο.</string>
<string name="edit_launch_options_not_saved">Δεν ήταν δυνατή η αποθήκευση των επιλογών εκκίνησης στο Steam. Δοκιμάστε ξανά.</string>
<string name="edit_launch_options_desktop">Το Steam μπορεί να είναι ανοιχτό στη συνεδρία επιφάνειας εργασίας. Αλλάξτε τις επιλογές εκκίνησης από τις Ιδιότητές του ή κλείστε πρώτα τη συνεδρία.</string>
<string name="edit_artwork">Γραφικά</string>
<string name="edit_other_exe">Άλλο exe…</string>
<string name="edit_remove">Κατάργηση</string>
@@ -2412,6 +2511,7 @@
<string name="setup_download_source_custom">Δικό σου prefix</string>
<string name="setup_download_mirror">Ιστότοπος</string>
<string name="setup_download_prefix">Πρόθεμα</string>
<string name="setup_download_proxy">Διακομιστής μεσολάβησης HTTP</string>
<string name="flathub_eyebrow">ΕΦΑΡΜΟΓΕΣ LINUX</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">Εφαρμογές επιφάνειας εργασίας για την επιφάνεια εργασίας Linux, ανοίγουν από την Επιφάνεια εργασίας.</string>
@@ -2552,6 +2652,22 @@
<string name="glasses_tracking_flat_hint">Το «Αυτόματο» κρατά αυτό το παιχνίδι 2D σταθερό στο οπτικό πεδίο. Επιλέξτε «Εικονική οθόνη» στην ενότητα «Οθόνη» για να χρησιμοποιήσετε παρακολούθηση κεφαλιού.</string>
<string name="glasses_tracking_sbs_hint">Η παρακολούθηση κεφαλιού ισχύει για εικονική οθόνη ή για παιχνίδι SteamVR που εκτελείται.</string>
<string name="glasses_hardware">Συσκευή</string>
<string name="vr_controllers_tab">Χειριστήρια</string>
<string name="vr_controllers_group">Χειριστήρια SteamVR</string>
<string name="vr_controllers_emulate">Χειριστήριο στο VR</string>
<string name="vr_controllers_emulate_hint">Τα δύο χέρια VR που παίζει το χειριστήριό σας. Οι αλλαγές εφαρμόζονται αμέσως, και όσο τρέχει το SteamVR. Τα Joy-Con και τα χέρια με παρακολούθηση εξακολουθούν να αναλαμβάνουν τη δική τους πλευρά.</string>
<string name="vr_controllers_off">Κανονικό χειριστήριο</string>
<string name="vr_controllers_index">Χειριστήρια Valve Index</string>
<string name="vr_controllers_touch">Χειριστήρια Meta Quest 3</string>
<string name="vr_controllers_vive">Χειριστήρια HTC Vive</string>
<string name="vr_controllers_sticks">Τα αναλογικά ξεκινούν</string>
<string name="vr_controllers_sticks_hint">Πατήστε μαζί και τα δύο αναλογικά κατά το VR για εναλλαγή.</string>
<string name="vr_controllers_sticks_game">Μετακινώντας εσάς στο παιχνίδι</string>
<string name="vr_controllers_sticks_hands">Μετακινώντας τα χέρια</string>
<string name="vr_controllers_buttons">Κουμπιά</string>
<string name="vr_controllers_buttons_stick">Οι σκανδάλες είναι σκανδάλες, οι προφυλακτήρες πιάνουν, τα A/B και X/Y είναι τα πρόσθια κουμπιά κάθε χεριού, το πάτημα των αναλογικών πατά τα thumbsticks, το Guide ανοίγει το μενού SteamVR. Το D-pad πάνω και κάτω φέρνει τα χέρια πιο κοντά ή πιο μακριά.</string>
<string name="vr_controllers_buttons_vive">Τα αναλογικά είναι trackpads· το A/X ή το πάτημα του αναλογικού τα πατά. Οι σκανδάλες είναι σκανδάλες, οι προφυλακτήρες πιάνουν, τα Start και Select είναι μενού, το Guide ανοίγει το μενού SteamVR.</string>
<string name="vr_controllers_buttons_off">Χωρίς χέρια VR. Τα παιχνίδια που υποστηρίζουν χειριστήριο, καθώς και το μενού SteamVR, λαμβάνουν το χειριστήριό σας ως συνήθως.</string>
<string name="glasses_brightness">Φωτεινότητα</string>
<string name="glasses_volume">Ένταση ήχου</string>
<string name="glasses_sunblock">Σκίαση</string>
@@ -2609,6 +2725,12 @@
<string name="hand_camera_placement">Τοποθέτηση κάμερας</string>
<string name="hand_camera_placement_hint">Βεβαιωθείτε ότι η κάμερα σάς βλέπει πριν παίξετε.</string>
<string name="hand_camera_check">Έλεγχος</string>
<string name="tracking_pack_title">Λήψη παρακολούθησης χεριών</string>
<string name="tracking_pack_hint">Η παρακολούθηση χεριών χρειάζεται εφάπαξ λήψη %1$s.</string>
<string name="tracking_pack_download">Λήψη</string>
<string name="tracking_pack_retry">Επανάληψη</string>
<string name="tracking_pack_downloading">Λήψη παρακολούθησης χεριών… %1$d%%</string>
<string name="tracking_pack_failed">Δεν ήταν δυνατή η λήψη της παρακολούθησης χεριών. Ελέγξτε τη σύνδεσή σας και δοκιμάστε ξανά.</string>
<string name="hand_camera_check_title">Τοποθέτηση κάμερας</string>
<string name="hand_camera_how_rear">Στήστε τη συσκευή όρθια σε απόσταση 1,5 έως 2 μέτρων, περίπου στο ύψος του στήθους, με την πίσω κάμερα στραμμένη προς εσάς. Έπειτα μπείτε στο οπτικό πεδίο με τα χέρια τεντωμένα.</string>
<string name="hand_camera_how_front">Στήστε τη συσκευή όρθια σε απόσταση 1,5 έως 2 μέτρων, περίπου στο ύψος του στήθους, με την οθόνη στραμμένη προς εσάς. Έπειτα μπείτε στο οπτικό πεδίο με τα χέρια τεντωμένα.</string>
@@ -2680,6 +2802,21 @@
<string name="storage_safe_hint">Αχρησιμοποίητα περιβάλλοντα, υπολείμματα, παλιά αρχεία καταγραφής</string>
<string name="storage_clean_up">Καθαρισμός…</string>
<string name="storage_session_running">Σταμάτησε τη συνεδρία για να καθαρίσεις ή να διαγράψεις κάτι. Τα μεγέθη παραμένουν ορατά.</string>
<string name="storage_default_group">Τοποθεσία εγκατάστασης</string>
<string name="storage_default_title">Προεπιλεγμένος αποθηκευτικός χώρος</string>
<string name="storage_default_hint">Οι νέες εγκαταστάσεις από καταστήματα πηγαίνουν στην επιλεγμένη τοποθεσία. Τα υπάρχοντα παιχνίδια μένουν όπου είναι. Οι βιβλιοθήκες Steam διατηρούν τη δική τους ρύθμιση.</string>
<string name="storage_default_ask">Ερώτηση κάθε φορά</string>
<string name="storage_default_ask_detail">Επιλογή προορισμού για κάθε εγκατάσταση</string>
<string name="storage_default_internal">Εσωτερικός αποθηκευτικός χώρος</string>
<string name="storage_default_external">Εξωτερικός αποθηκευτικός χώρος</string>
<string name="storage_default_external_detail">%1$s · %2$s ελεύθερα</string>
<string name="storage_default_external_missing">Δεν είναι συνδεδεμένο</string>
<string name="storage_default_folder">Φάκελος · %1$s</string>
<string name="storage_default_folder_free">%1$s ελεύθερα</string>
<string name="storage_default_folder_missing">Δεν είναι συνδεδεμένο</string>
<string name="storage_default_choose_folder">Επιλογή φακέλου…</string>
<string name="storage_default_choose_folder_detail">Χρησιμοποιήστε οποιονδήποτε φάκελο σε κάρτα SD ή μονάδα USB</string>
<string name="storage_default_note">Τα παιχνίδια μπαίνουν σε φάκελο Games μέσα στην επιλεγμένη τοποθεσία. Τα υπάρχοντα παιχνίδια δεν μετακινούνται.</string>
<string name="storage_where">Πού πηγαίνει</string>
<string name="storage_games">Παιχνίδια Steam</string>
<string name="storage_game_data">Δεδομένα παιχνιδιών</string>
@@ -2801,6 +2938,9 @@
<string name="storage_data_installed">Εγκατεστημένα παιχνίδια</string>
<string name="storage_data_parts">Πρόθεμα %1$s · σκιαστές %2$s · εργαστήριο %3$s</string>
<string name="storage_clear_shaders">Εκκαθάριση shaders</string>
<string name="storage_reset_prefix">Επαναφορά prefix</string>
<string name="storage_reset_prefix_title">Επαναφορά prefix για %1$s;</string>
<string name="storage_reset_prefix_confirm">Διαγράφει το prefix Wine του (%1$s) στο %2$s και το δημιουργεί ξανά στην επόμενη εκκίνηση. Οι αποθηκεύσεις, οι ρυθμίσεις και τα εγκατεστημένα redistributables μέσα του χάνονται· οι αποθηκεύσεις Steam Cloud παραμένουν στον λογαριασμό σας.</string>
<string name="storage_data_leftovers">Διαγραμμένα παιχνίδια</string>
<string name="storage_steam_app">Εφαρμογή Steam %1$d</string>
<string name="storage_leftover_unsure_detail">Το prefix περιέχει ακόμη αρχεία, ίσως τοπικές αποθηκεύσεις</string>
@@ -3102,6 +3242,10 @@
<string name="spatial_saved_views_hint">Οι αποθηκευμένες προβολές μπορούν να υπολογιστούν εκ νέου. Ξεκινήστε μια νέα βαθμονόμηση για αποτύπωση στο τρέχον σύστημα συντεταγμένων παρακολούθησης.</string>
<string name="spatial_model_checksum_error">Αναντιστοιχία αθροίσματος ελέγχου μοντέλου χεριού</string>
<string name="spatial_opencv_load_error">Δεν ήταν δυνατή η φόρτωση του OpenCV</string>
<string name="session_end_steam_sigill">Το Steam σταμάτησε με μη έγκυρη εντολή (SIGILL). Μπορεί να είναι πρόβλημα συμβατότητας εντολών CPU ή κατάρρευση του πελάτη. Μοιραστείτε τα αρχεία καταγραφής με τα στοιχεία της συσκευής σας.</string>
<string name="session_end_steam_try_x64">Μπορείτε να δοκιμάσετε Ρυθμίσεις Steam → Πελάτης Steam → x86-64 (πειραματικό). Απαιτεί επιπλέον λήψη και μπορεί να είναι πιο αργό.</string>
<string name="session_end_vulkan_device">Το πρόγραμμα οδήγησης γραφικών Linux δεν βρήκε χρησιμοποιήσιμη συσκευή Vulkan. Ελέγξτε ότι το επιλεγμένο πρόγραμμα οδήγησης GPU Linux υποστηρίζει αυτή τη GPU.</string>
<string name="session_end_gpu_unsupported">Αυτή η συνεδρία δεν μπορεί να ξεκινήσει επειδή αυτή η GPU δεν έχει συμβατό πρόγραμμα οδήγησης Vulkan για Linux στην τρέχουσα ρύθμιση. Τα προγράμματα οδήγησης Adreno Turnip δεν μπορούν να ενεργοποιήσουν υποστήριξη για GPU MediaTek/Mali.</string>
<string name="setup_group_memory">Μνήμη</string>
<string name="setup_clear_cached">Κλείσιμο εφαρμογών στην προσωρινή μνήμη πριν από τη συνεδρία</string>
<string name="setup_clear_cached_hint">Όταν ξεκινά μια συνεδρία, το DroidDeck κλείνει τις εφαρμογές που το Android κρατά στο παρασκήνιο, ώστε το παιχνίδι να έχει περισσότερη μνήμη. Ο Ασύρματος εντοπισμός σφαλμάτων πρέπει να είναι ενεργός.</string>
@@ -3125,6 +3269,12 @@
<string name="epic_client_open">Άνοιγμα</string>
<string name="epic_client_install">Εγκατάσταση</string>
<string name="game_tab_about">Σχετικά</string>
<string name="game_resources_browser">Ανοίγει στο πρόγραμμα περιήγησης</string>
<string name="game_resource_guides">Οδηγοί</string>
<string name="game_resource_protondb_detail">Αναφορές συμβατότητας Linux / Proton</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">Για παιχνίδια με αποθηκεύσεις στον λογαριασμό σας Steam</string>
<string name="game_resource_search">Αναζήτηση στον ιστό</string>
<string name="game_tab_install">Εγκατάσταση</string>
<string name="game_install_location">Τοποθεσία</string>
<string name="game_install_folder">Φάκελος</string>
@@ -3141,6 +3291,11 @@
<string name="stores_eyebrow_pass">διαθέσιμο με %1$s</string>
<string name="stores_owned_in_library">Παιχνίδια σας στη Βιβλιοθήκη</string>
<string name="library_filter_added">Προστέθηκαν</string>
<string name="library_filter">Φίλτρο</string>
<string name="library_filter_installed">Μόνο εγκατεστημένα</string>
<string name="library_filter_all_owned">Όλα τα παιχνίδια που διαθέτετε</string>
<string name="library_no_installed_matches">Κανένα εγκατεστημένο παιχνίδι δεν ταιριάζει με αυτά τα φίλτρα.</string>
<string name="library_browse_owned">Περιήγηση στα παιχνίδια που διαθέτετε</string>
<string name="game_tab_launch">Εκκίνηση</string>
<string name="game_tab_saves_cloud">Αποθηκεύσεις και cloud</string>
<string name="game_launch_shortcut">Συντόμευση Steam</string>
@@ -3158,6 +3313,28 @@
<string name="stores_itch_update_replaced">Ο προγραμματιστής αντικατέστησε αυτήν την έκδοση με %1$s. Να γίνει ενημέρωση σε αυτήν;</string>
<string name="xbox_filter_cloud">Cloud</string>
<string name="stores_xbox_cloud_settings">Ρυθμίσεις cloud</string>
<string name="integration_title">Ενσωμάτωση Steam</string>
<string name="integration_count">%1$d από %2$d ενεργά</string>
<string name="integration_set_up">Ρύθμιση</string>
<string name="integration_location">Τοποθεσία</string>
<string name="integration_app_info">Πληροφορίες εφαρμογής</string>
<string name="integration_wifi">Ονόματα Wi-Fi</string>
<string name="integration_brightness">Φωτεινότητα</string>
<string name="integration_home">DroidDeck ως Αρχική</string>
<string name="integration_shortcuts">Συντομεύσεις κουμπιού Αρχικής</string>
<string name="integration_wifi_hint">Εμφάνιση δικτύων στο Steam · χρειάζεται πρόσβαση στην Τοποθεσία, χωρίς ποτέ παρακολούθηση</string>
<string name="integration_wifi_on">Τα δίκτυα εμφανίζονται στο Steam</string>
<string name="integration_wifi_location_off">Η Τοποθεσία είναι απενεργοποιημένη</string>
<string name="integration_wifi_denied">Η Τοποθεσία απορρίφθηκε · επιτρέψτε την στις Πληροφορίες εφαρμογής</string>
<string name="integration_brightness_hint">Το ρυθμιστικό του Steam ορίζει τη φωτεινότητα οθόνης</string>
<string name="integration_home_hint">Η Αρχική ανοίγει το μενού Steam σε συνεδρία</string>
<string name="integration_shortcuts_hint">Κρατήστε πατημένη την Αρχική για συνδυασμούς Steam Guide</string>
<string name="integration_shortcuts_needs_home">Απαιτεί το DroidDeck ως Αρχική</string>
<string name="integration_shortcuts_maybe_restricted">Γκρίζο στο Android; Πληροφορίες εφαρμογής → ⋮ → Να επιτρέπονται οι περιορισμένες ρυθμίσεις</string>
<string name="integration_shortcuts_restricted">Αποκλείεται από το Android · Πληροφορίες εφαρμογής → ⋮ → Να επιτρέπονται οι περιορισμένες ρυθμίσεις</string>
<string name="integration_shortcuts_service">Κουμπί Αρχικής DroidDeck</string>
<string name="integration_shortcuts_service_description">Μεταβιβάζει τα πατήματα του κουμπιού Αρχικής στο Steam Guide όσο μια συνεδρία Steam είναι εστιασμένη και το DroidDeck είναι η προεπιλεγμένη εφαρμογή Αρχικής. Δεν διαβάζει το περιεχόμενο της οθόνης.</string>
<string name="integration_brightness_needed">Ενεργοποιήστε τη Φωτεινότητα στη Ρύθμιση → Ενσωμάτωση Steam</string>
<string name="apps_search_hint">Αναζήτηση εφαρμογών</string>
<string name="apps_no_match">Καμία εφαρμογή δεν ταιριάζει με «%1$s».</string>
<string name="apps_add_widget">Προσθήκη γραφικού στοιχείου</string>
@@ -3206,9 +3383,35 @@
<string name="desktop_restore_done_body">Οι εφαρμογές που προσθέσατε εγκαταστάθηκαν ξανά.</string>
<string name="desktop_restore_failed_title">Δεν ήταν δυνατή η επαναφορά ορισμένου λογισμικού</string>
<string name="desktop_restore_failed_body">Δείτε το ~/.cache/droiddeck/apt-restore.log και μετά δοκιμάστε sudo apt install στο Konsole.</string>
<string name="gog_full_files">Οι εγγενείς βελτιστοποιήσεις δεν είναι διαθέσιμες. Η λήψη περιλαμβάνει πλήρη αρχεία αντικατάστασης.</string>
<string name="gog_recover">Επαλήθευση αποτελέσματος ενημέρωσης</string>
<string name="slow_usb_title">Αργή σύνδεση USB</string>
<string name="slow_usb_cable">Η συσκευή %1$s συνδέεται μέσω %2$s (%3$s Mbps, περίπου %4$d MB/s), οπότε τα παιχνίδια θα φορτώνουν αργά. Χρησιμοποιήστε καλώδιο USB 3 των 5 Gbps ή περισσότερο, αναποδογυρίστε το βύσμα USB-C ή χρησιμοποιήστε ταχύτερο δίσκο.</string>
<string name="slow_usb_port">Η συσκευή %1$s συνδέεται μέσω %2$s (%3$s Mbps, περίπου %4$d MB/s). Η θύρα USB αυτής της συσκευής δεν υποστηρίζει μεγαλύτερη ταχύτητα, οπότε τα παιχνίδια θα φορτώνουν αργά. Ο εσωτερικός χώρος ή μια κάρτα microSD μπορεί να είναι ταχύτερα.</string>
<string name="slow_usb_never">Να μην εμφανιστεί ξανά</string>
<string name="slow_usb_dismiss">Κλείσιμο</string>
<string name="steam_import_title">Επανεκκίνηση του Steam για να προστεθούν τα παιχνίδια σας;</string>
<string name="steam_import_body">Το Steam μπορεί να εμφανίσει αυτά τα παιχνίδια που έχετε ως εγκατεστημένα: %1$s. Πρέπει να γίνει επανεκκίνηση για να εμφανιστούν. Κάντε επανεκκίνηση τώρα ή θα προστεθούν την επόμενη φορά που θα ξεκινήσει το Steam.</string>
<string name="steam_import_names_more">%1$s και %2$d ακόμη</string>
<string name="steam_import_now">Επανεκκίνηση τώρα</string>
<string name="steam_import_later">Αργότερα</string>
<string name="gog_maintenance">Διαχείριση εγκατάστασης GOG</string>
<string name="gog_check">Έλεγχος για ενημερώσεις</string>
<string name="gog_repair">Επαλήθευση/Επιδιόρθωση</string>
<string name="gog_patches">Ενημερώσεις κώδικα εκτός σύνδεσης</string>
<string name="gog_refresh">Λήψη πλήρους προγράμματος εγκατάστασης εκτός σύνδεσης</string>
<string name="gog_update">Ενημέρωση σε %1$s</string>
<string name="gog_resume">Συνέχιση συντήρησης GOG</string>
<string name="gog_open_patch">Άνοιγμα προγράμματος εγκατάστασης ενημέρωσης</string>
<string name="gog_patch_in_session">Ολοκληρώστε ή ακυρώστε το πρόγραμμα εγκατάστασης της ενημέρωσης στη συνεδρία Linux.</string>
<string name="gog_patch_requirements">Επιλέξτε ενημέρωση για την εγκατεστημένη έκδοση και γλώσσα. Οι υποστηριζόμενες εκδόσεις προέλευσης μπορεί να μην αναφέρονται.</string>
<string name="gog_no_patches">Το GOG δεν έχει αυτόνομες ενημερώσεις Windows για αυτό το παιχνίδι.</string>
<string name="gog_managed_files">Τα τροποποιημένα αρχεία του παιχνιδιού μπορεί να αντικατασταθούν.</string>
<string name="gog_patch_installer_note">Το πρόγραμμα εγκατάστασης ανοίγει στη συνεδρία Linux σας.</string>
<string name="gog_download_label">Λήψη</string>
<string name="gog_space_label">Επιπλέον χώρος</string>
<string name="gog_space_estimate_label">Εκτίμηση χώρου</string>
<string name="gog_repair_action">Επιδιόρθωση αρχείων</string>
<string name="gog_refresh_action">Ανανέωση εγκατάστασης</string>
<string name="gog_select_patch">Επιλογή</string>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="shortcuts_title">Atajos de botones físicos</string>
<string name="shortcuts_dd_menu">Menú de DroidDeck</string>
<string name="shortcuts_capture">Asignar: %1$s</string>
<string name="shortcuts_press">Pulsa y suelta un botón. La asignación se guarda automáticamente.</string>
<string name="shortcuts_release">Suelta el botón para continuar.</string>
<string name="shortcuts_detected">%1$s: %2$s</string>
<string name="shortcuts_conflict">Este botón ya está asignado a: %1$s</string>
<string name="shortcuts_save">Reasignar</string>
<string name="shortcuts_retry">Probar otro botón</string>
<string name="shortcuts_limitations">El botón Inicio y algunos botones adicionales pueden no estar disponibles.</string>
</resources>
+205 -2
View File
@@ -81,13 +81,17 @@
<string name="game_env_vkd3d_config">Opciones de VKD3D para D3D12. nodxr desactiva el trazado de rayos; úsalo solo en un juego que lo necesite.</string>
<string name="game_env_proton_log">Pon 1 para obtener un registro de diagnóstico de Proton. El registro puede reducir el rendimiento y usar almacenamiento.</string>
<string name="game_env_wined3d">Pon 1 para usar WineD3D basado en OpenGL en lugar de DXVK, para pruebas de compatibilidad con D3D9–11.</string>
<string name="game_env_wined3d_renderer">Renderizador para DirectDraw, Direct3D 1-7 y los juegos que se ejecutan con WineD3D. Vulkan evita la ruta de OpenGL sobre Zink y es mucho más rápido en juegos antiguos de DirectDraw y Direct3D 7 en Adreno.</string>
<string name="game_env_dxvk_d3d8">Pon 1 para ejecutar Direct3D 8 con DXVK en lugar de WineD3D. Más rápido en la prueba de Direct3D 8 de AIO Graphics Test en Adreno.</string>
<string name="game_env_no_ntsync">Pon 1 para que este juego no use ntsync (droiddeck-ntsync o un controlador del kernel); usa droiddeck-esync si hay un paquete y, si no, droiddeck-fsync.</string>
<string name="game_env_no_esync">Pon 1 para desactivar droiddeck-esync en este juego; usa droiddeck-fsync en su lugar, o droiddeck-ntsync si fsync también está desactivado.</string>
<string name="game_env_no_fsync">Pon 1 para que este juego no use droiddeck-fsync; usa droiddeck-esync si hay un paquete y, si no, droiddeck-ntsync.</string>
<string name="game_env_fsync_first">Pon 1 para que este juego use droiddeck-fsync, o 0 para dar prioridad a droiddeck-esync cuando haya un paquete para su Proton.</string>
<string name="game_env_xalia">Pon 0 para desactivar el asistente de navegación con mando de Proton en este juego.</string>
<string name="game_env_anticheat_offline">Activado de forma predeterminada. Inicia un juego con Easy Anti-Cheat sin su antitrampas cuando el juego admite el modo sin conexión. Desactívalo para iniciarlo con Easy Anti-Cheat como siempre. Los modos en línea que requieren Easy Anti-Cheat siguen sin estar disponibles.</string>
<string name="game_env_hud">Superposición de DXVK para D3D9–11. fps muestra la tasa de fotogramas; sin definir la oculta.</string>
<string name="game_env_dxvk_config">Ajustes de DXVK separados por punto y coma. Las versiones recientes usan dxvk.maxFrameRate para limitar fotogramas; para el uso normal prefiere el límite de fotogramas de la sesión.</string>
<string name="game_env_cores">Núcleos de CPU para este juego, como 0-4 o 0,2,4, en lugar de los núcleos de juegos de la sesión. Con menos núcleos se calienta menos.</string>
<string name="game_env_vkd3d_limit">Límite de fotogramas de D3D12. 0 desactiva el límite.</string>
<string name="game_env_glthread">Subprocesos de OpenGL de Mesa. true puede ayudar a juegos OpenGL limitados por la CPU; pruébalo en cada juego.</string>
<string name="sync_backend_title">Sincronización de Wine</string>
@@ -175,6 +179,8 @@
<string name="app_fex_hint">FEX ejecuta programas Linux x86 en este dispositivo ARM64. Auto lo usa cuando el programa es para x86.</string>
<string name="app_fex_x86">%1$s con FEX</string>
<string name="app_fex_not_ready">Este programa está hecho para PC %1$s y se ejecuta con FEX, que aún no está listo. Abre Steam una vez con tu sesión iniciada: DroidDeck hará que descargue FEX y el Steam Linux Runtime que necesita, y después se abrirá.</string>
<string name="session_proot_missing">No se ha podido descargar el proot de DroidDeck. Comprueba la conexión y vuelve a intentarlo. La sesión no se ha iniciado porque el proot alternativo es demasiado lento para jugar.</string>
<string name="session_directaudio_missing">No se ha podido descargar DirectAudio, así que el audio de los juegos usa la ruta más lenta en esta sesión.</string>
<string name="session_end_program">Este programa</string>
<string name="session_end_steam_download">No se ha podido descargar el cliente de Steam. Puede que tu red o VPN esté bloqueando los servidores de Steam; comprueba la conexión y vuelve a intentarlo.</string>
<string name="session_end_steam_setup">No se ha podido configurar el cliente de Steam. Comprueba la conexión y el espacio libre y vuelve a intentarlo.</string>
@@ -293,6 +299,11 @@
<string name="mode_controller_x360">Mando Xbox 360</string>
<string name="mode_controller_note">Deck: botón de Quick Access y giroscopio. Steam Controller: lo mismo, con detección de agarre en los botones traseros. DualShock 4 y DualSense: giroscopio, y los trackpads como su panel táctil. Xbox 360: abre Quick Access con Guide+A.</string>
<string name="mode_back">Atrás</string>
<string name="back_native_qam_hint">Mantén Atrás 700 ms, o mantén Atrás y pulsa otro botón para los atajos de Steam.</string>
<string name="back_double_tap_window">Intervalo de doble toque</string>
<string name="back_tap_ms">%1$d ms</string>
<string name="brightness_permission_title">Permitir el control del brillo</string>
<string name="brightness_permission_text">Configura el control del brillo en DroidDeck.</string>
<string name="back_menu_then_qam">Menú → QAM</string>
<string name="back_qam_then_menu">QAM → Menú</string>
<string name="mode_session">Sesión</string>
@@ -316,6 +327,12 @@
<string name="mode_decky_current">Al día · %1$s</string>
<string name="mode_decky_loader">Loader</string>
<string name="mode_decky_install_latest">Instalar la última</string>
<string name="decky_channel">Canal de actualizaciones</string>
<string name="decky_channel_hint">Qué versiones de Decky Loader se instalan. El actualizador propio de Decky usa el mismo canal.</string>
<string name="decky_channel_stable">Estable</string>
<string name="decky_channel_prerelease">Preliminar</string>
<string name="decky_channel_testing">Pruebas</string>
<string name="decky_channel_failed">No se ha podido guardar el canal de actualizaciones de Decky</string>
<string name="mode_decky_on">Se inicia con Steam. Mientras esté activado, otras apps de este dispositivo podrían controlar Steam.</string>
<string name="mode_decky_off">Desactivado. El puerto de depuración remota de Steam permanece cerrado.</string>
<string name="mode_decky_remove_title">¿Desinstalar Decky Loader?</string>
@@ -325,6 +342,8 @@
<string name="mode_mangoapp_hint">Desactívalo si los juegos fallan o se quedan en negro en modo Deck. Se aplica en la próxima sesión.</string>
<string name="mode_return_after_game">Volver a DroidDeck al cerrar un juego</string>
<string name="mode_return_after_game_hint">Cuando se cierra un juego que iniciaste desde DroidDeck u otro lanzador, Steam se cierra correctamente (primero termina de sincronizar las partidas en la nube) y vuelves allí. Desactivado: te quedas en Steam.</string>
<string name="mode_shader_precache">Precarga de shaders</string>
<string name="mode_shader_precache_hint">Steam descarga shaders precompilados para tus juegos y los procesa en segundo plano, para que los juegos tengan menos tirones. Desactivado ahorra datos, almacenamiento y batería; los juegos compilan los shaders mientras juegas. Es el mismo ajuste que Descargas &gt; Precarga de shaders en Steam. Se aplica en la próxima sesión.</string>
<string name="mode_steam_repair">Reparar el cliente de Steam</string>
<string name="mode_steam_repair_hint">Vuelve a descargar el cliente de Steam la próxima vez que se inicie Steam. Úsalo si Steam se queda en la pantalla de carga. Se conservan los juegos, la sesión iniciada y los ajustes.</string>
<string name="mode_steam_repair_queued">El cliente de Steam se volverá a descargar la próxima vez que se inicie Steam.</string>
@@ -393,6 +412,8 @@
<string name="mode_directaudio_hint">Evita PulseAudio para menor latencia.</string>
<string name="mode_mic">Micrófono</string>
<string name="mode_mic_hint">Para el chat de voz.</string>
<string name="drawer_mic_hint">Activa o desactiva la captura del micrófono en esta sesión.</string>
<string name="drawer_mic_failed">No se ha podido cambiar el micrófono. Inténtalo de nuevo.</string>
<string name="mode_network">Red</string>
<string name="mode_wifi_discovery">Detección de redes Wi-Fi</string>
<string name="mode_wifi_discovery_hint">Muestra en Steam los nombres de Wi-Fi y las redes cercanas.</string>
@@ -555,6 +576,16 @@
<string name="perf_gsrealtime">gamescope: cola de GPU en tiempo real</string>
<string name="perf_gsrealtime_hint">Da prioridad al trabajo de GPU del compositor. Puede suavizar el ritmo de fotogramas a costa de algo de rendimiento en los juegos.</string>
<string name="perf_gpu">GPU</string>
<string name="perf_memory">Memoria</string>
<string name="perf_cap_off">Desactivado</string>
<string name="perf_cap_auto">Predeterminado del controlador</string>
<string name="perf_zram_client">Comprimir Steam mientras se ejecuta un juego</string>
<string name="perf_zram_client_hint">20 s después de que empiece un juego, el cliente de Steam se comprime en zRAM para dejarle más memoria al juego, y se vuelve a leer cuando el juego se cierra. Desactívalo si la sesión se cierra poco después de iniciar los juegos. Un límite de RAM definido arriba sigue comprimiendo Steam cuando la sesión lo supera.</string>
<string name="perf_ram_cap">Límite de RAM</string>
<string name="perf_ram_cap_hint">Se aplica mientras se ejecuta el cliente de Steam, en modo Steam o desde el escritorio. Cuando la sesión usa más de esto, Steam y luego los demás procesos compatibles de la sesión se comprimen en zRAM. Es un límite flexible: no se cierra nada, pero los juegos pueden tener tirones mientras se recuperan las páginas.</string>
<string name="perf_ram_cap_unavailable">Requiere swap de zRAM, y este dispositivo no lo tiene.</string>
<string name="perf_vram_cap">Límite de VRAM</string>
<string name="perf_vram_cap_hint">La memoria de vídeo que DXVK indica a los juegos Direct3D, para que calculen sus texturas con menos. Los ajustes de DXVK propios de un juego siguen teniendo prioridad. Se aplica en la próxima sesión.</string>
<string name="perf_gpuclock">Mantener la GPU a su reloj máximo</string>
<string name="perf_gpuclock_hint">Solo Adreno. Menos tirones, más consumo de batería y calor.</string>
<string name="perf_fixes">Correcciones de sesión</string>
@@ -573,6 +604,8 @@
<string name="perf_fastpath">Ruta rápida de proot</string>
<string name="perf_fastpath_needs_seccomp">Requiere el filtro seccomp de proot.</string>
<string name="perf_fastpath_hint">Búsquedas de archivos más rápidas y menos tirones. Desactívalo si un programa no encuentra sus archivos.</string>
<string name="perf_cursor_composite">Dibujar el cursor dentro de gamescope</string>
<string name="perf_cursor_composite_hint">Gamescope dibuja el puntero por sí mismo en lugar de pasárselo a Android. Actívalo para un cursor manejado con el mando. Desactivado es más rápido en un móvil. Se aplica en la próxima sesión.</string>
<string name="perf_identity">Identidad de la sesión</string>
<string name="perf_hostname">Nombre del host</string>
<string name="perf_hostname_hint">El nombre que Steam ve para este dispositivo. En blanco restaura %1$s.</string>
@@ -587,6 +620,8 @@
<string name="driver_delete_plain">Sus archivos se eliminan de la app.</string>
<string name="driver_delete_in_use">Sus archivos se eliminan. Está en uso, así que pasa a usarse el predeterminado.</string>
<string name="drawer_page_display">Pantalla</string>
<string name="drawer_frame_limit">Límite de fotogramas</string>
<string name="drawer_frame_limit_note">Limita este juego. La pantalla cambia a una frecuencia de actualización que sea múltiplo exacto del límite cuando la hay; otros límites pueden verse irregulares. Los juegos de Steam usan el Límite de fotogramas de Steam en el menú Quick Access.</string>
<string name="drawer_page_effects">Efectos</string>
<string name="drawer_page_controls">Controles</string>
<string name="drawer_page_components">Componentes</string>
@@ -668,7 +703,6 @@
<string name="hud_export_failed">No se ha podido guardar el informe del HUD.</string>
<string name="hud_reset">Restablecer ajustes del HUD</string>
<string name="hud_reset_button">Restablecer</string>
<string name="hud_credit">FusionHUD de The412Banner, github.com/The412Banner/FusionHUD (GPL-3.0).</string>
<string name="drawer_scaling">Modo de escalado</string>
<string name="drawer_scaling_sharpness">Nitidez del escalado</string>
<string name="drawer_effects">Efectos de pantalla</string>
@@ -703,6 +737,8 @@
<string name="drawer_touch_auto">Auto (%1$s)</string>
<string name="drawer_keyboard">Teclado</string>
<string name="drawer_latency">Latencia</string>
<string name="drawer_low_latency">Modo de baja latencia</string>
<string name="drawer_low_latency_hint">Aumenta el uso de CPU y batería</string>
<string name="drawer_low_latency_controller">Mando de baja latencia</string>
<string name="drawer_low_latency_controller_hint">El mando informa a 1000 Hz en lugar de 250 Hz. Usa algo más de CPU.</string>
<string name="drawer_low_latency_touch">Táctil de baja latencia</string>
@@ -796,6 +832,10 @@
<string name="setup_session">Sesión</string>
<string name="setup_logs">Registros de sesión</string>
<string name="setup_logs_hint">Se guardan tras cada sesión</string>
<string name="setup_game_debug_logs">Registros de depuración de juegos</string>
<string name="setup_game_debug_logs_hint">Incluye diagnósticos de Proton, Wine y gráficos en el próximo inicio de un juego. Puede reducir el rendimiento y usar más almacenamiento.</string>
<string name="setup_game_debug_logs_restart">Reinicia esta sesión para guardar los registros de depuración de juegos</string>
<string name="setup_logging_update_failed">No se ha podido actualizar el registro. Comprueba el interruptor y vuelve a intentarlo.</string>
<string name="setup_agent_commands">Herramientas de depuración</string>
<string name="setup_latest_logs">Últimos registros de sesión</string>
<string name="setup_saved_logs">Registros de sesión guardados</string>
@@ -828,6 +868,11 @@
<string name="setup_home_on">DroidDeck puede ser la app de inicio</string>
<string name="setup_home_off">DroidDeck nunca se ofrece como app de inicio</string>
<string name="setup_orientation">Orientación</string>
<string name="setup_launcher_orientation">Orientación del launcher</string>
<string name="setup_launcher_orientation_auto">Seguir la rotación del dispositivo</string>
<string name="setup_orientation_portrait">Vertical</string>
<string name="setup_session_orientation">Orientación de la sesión</string>
<string name="setup_session_orientation_hint">Se aplica a Steam, los juegos, el escritorio y el editor de mandos. Los ajustes predefinidos de resolución giran con la sesión; el ancho y el alto personalizados se mantienen como se introdujeron.</string>
<string name="setup_orientation_auto">Horizontal automática</string>
<string name="setup_orientation_landscape">Horizontal</string>
<string name="setup_orientation_reverse">Horizontal invertida</string>
@@ -995,6 +1040,14 @@
<string name="gate_step1">Abre Ajustes → Opciones de desarrollador → Depuración inalámbrica y actívala</string>
<string name="gate_step2">Toca “Vincular dispositivo con código de vinculación”</string>
<string name="gate_step3">Escribe el código en la notificación de DroidDeck</string>
<string name="pairguide_build_number">En Información del teléfono, toca Número de compilación 7 veces</string>
<string name="pairguide_wireless">Activa la Depuración inalámbrica</string>
<string name="pairguide_pair">Abre Depuración inalámbrica y toca “Vincular dispositivo con código de vinculación”</string>
<string name="pairguide_child_process">Activa “Inhabilitar restricciones de procesos secundarios”</string>
<string name="pairguide_row_child_process">Inhabilitar restricciones de procesos secundarios</string>
<string name="pairguide_row_build_number">Número de compilación</string>
<string name="pairguide_row_wireless">Depuración inalámbrica</string>
<string name="pairguide_row_pair">Vincular dispositivo con código de vinculación</string>
<string name="gate_waiting">Esperando la ventana de vinculación…</string>
<string name="gate_code_needed">Ventana encontrada. Introduce su código en la notificación.</string>
<string name="gate_status">Estado</string>
@@ -1133,7 +1186,6 @@
<string name="games_never_played">Nunca jugado</string>
<string name="games_runtime_busy_percent">Runtime ocupado · %1$d%%</string>
<string name="games_runtime_busy">Runtime ocupado</string>
<string name="games_runtime_first_play">El runtime se instala al jugar</string>
<string name="games_runtime_update">Actualización del runtime disponible</string>
<string name="games_runtime_ready">● Runtime listo</string>
<string name="games_internal">Almacenamiento interno</string>
@@ -1150,6 +1202,9 @@
<string name="gpu_hide_other">Ocultar controladores de otras GPU</string>
<string name="gpu_show_other">Mostrar controladores de otras GPU</string>
<string name="gpu_advanced">Avanzado</string>
<string name="gpu_ubwc_title">Compatibilidad con UBWC</string>
<string name="gpu_ubwc_hint">Prueba Activado o Desactivado si Steam o Android muestran franjas o parpadeos. Se aplica a ambos controladores después de reiniciar DroidDeck.</string>
<string name="gpu_ubwc_restart">Reinicia DroidDeck para aplicarlo.</string>
<string name="gpu_set_with_display">Se define junto con el controlador de pantalla: %1$s incluye ambos.</string>
<string name="gpu_set_with_runtime">Se define junto con el controlador de runtime: %1$s incluye ambos.</string>
<string name="gpu_runtime_hint">Lo usan los juegos y el escritorio.</string>
@@ -1258,10 +1313,15 @@
<string name="pip_auto">Entrar en PiP automáticamente</string>
<string name="unfolded_controls">Controles con la pantalla desplegada</string>
<string name="unfolded_controls_hint">Desplegado, el juego queda encima de los trackpads y los agarres traseros de Steam Deck. Plegado, el juego ocupa toda la pantalla.</string>
<string name="unfolded_controls_with_controller">Mantenerlos con un mando</string>
<string name="unfolded_controls_with_controller_hint">Muestra también estos controles táctiles mientras haya un mando conectado.</string>
<string name="pip_suspended">Suspendida</string>
<string name="pip_not_ready">Imagen en imagen estará disponible cuando la sesión esté lista.</string>
<string name="pip_permission">Permite imagen en imagen para DroidDeck en los ajustes de Android.</string>
<string name="pip_unavailable">Android no pudo abrir imagen en imagen.</string>
<string name="game_more">Más</string>
<string name="game_edit_art">Editar imágenes</string>
<string name="stores_in_steam_label">En Steam</string>
<string name="game_shortcut">Acceso directo</string>
<string name="game_shortcut_add">Añadir a la pantalla de inicio</string>
<string name="game_shortcut_choose">Elegir juego</string>
@@ -1285,6 +1345,10 @@
<string name="main_wait_runtime">Espera a que termine la operación del runtime</string>
<string name="main_wait_proton_install">Espera a que termine la instalación de la herramienta de compatibilidad</string>
<string name="load_compat_title">Preparando las herramientas de compatibilidad</string>
<string name="load_compat_wait">Esperando a que termine la configuración de compatibilidad</string>
<string name="load_compat_hint">Tu sesión se iniciará cuando termine la configuración.</string>
<string name="load_compat_progress">%1$s · %2$d%%</string>
<string name="main_wait_desktop_install">Espera a que termine la instalación de la app de escritorio</string>
<string name="main_wait_install_game">Espera a que termine la instalación antes de iniciar un juego</string>
<string name="main_saves_close_session">Cierra primero la sesión de Steam para que el juego no guarde encima de lo importado</string>
@@ -1325,6 +1389,9 @@
<string name="main_install_anyway">Instalar de todos modos</string>
<string name="main_remove_runtime_title">Eliminar el runtime de Linux</string>
<string name="main_remove_runtime_text">Esto elimina el runtime, el cliente de Steam que contiene y todos los juegos instalados en él.</string>
<string name="runtime_actions_title">Runtime de Linux</string>
<string name="runtime_actions_text">Reparar reinstala los archivos del sistema del runtime y conserva Steam, tus juegos y tus ajustes. Los extras, como el escritorio, se vuelven a instalar la próxima vez que los uses. Eliminar borra todo.</string>
<string name="runtime_repair">Reparar el runtime</string>
<string name="main_applied">Aplicado: %1$s</string>
<string name="android_app_open_failed_primary">No se pudo abrir %1$s en la pantalla principal</string>
<string name="android_app_open_failed_on">No se pudo abrir %1$s en %2$s</string>
@@ -1457,6 +1524,12 @@
<string name="session_runtime_catalog_unreachable">No se pudo acceder al catálogo del runtime. Revisa la conexión y vuelve a pulsar Jugar.</string>
<string name="session_runtime_install_failed">El runtime de Linux no se instaló. Revisa el runtime en Configuración y vuelve a pulsar Jugar.</string>
<string name="session_desktop_install_failed">El escritorio no se instaló (%1$s). Revisa la conexión y pulsa Escritorio de nuevo.</string>
<string name="session_package_resume_failed">No se ha podido terminar una instalación interrumpida (%1$s). Comprueba la conexión y el espacio y vuelve a intentarlo.</string>
<plurals name="session_end_runtime_damaged">
<item quantity="one">El runtime de Linux está dañado: %1$d enlace de biblioteca apunta a un archivo que falta (%2$s), normalmente tras interrumpirse una instalación. Reparar conserva tus juegos y ajustes.</item>
<item quantity="many">El runtime de Linux está dañado: %1$d enlaces de biblioteca apuntan a archivos que faltan (%2$s y otros), normalmente tras interrumpirse una instalación. Reparar conserva tus juegos y ajustes.</item>
<item quantity="other">El runtime de Linux está dañado: %1$d enlaces de biblioteca apuntan a archivos que faltan (%2$s y otros), normalmente tras interrumpirse una instalación. Reparar conserva tus juegos y ajustes.</item>
</plurals>
<string name="session_ended_named">%1$s se detuvo inesperadamente. Comparte los registros en un informe de error o inténtalo de nuevo.</string>
<string name="session_ended_program">El programa se detuvo inesperadamente. Comparte los registros en un informe de error o inténtalo de nuevo.</string>
<string name="session_ended_desktop">El escritorio se detuvo inesperadamente. Comparte los registros en un informe de error o inténtalo de nuevo.</string>
@@ -1472,6 +1545,14 @@
<string name="mode_decky_plugins_hint">Instala un ZIP de plugin para la próxima sesión de Steam.</string>
<string name="mode_decky_plugin_downloading">Descargando…</string>
<string name="mode_decky_plugin_install_zip">Instalar desde ZIP</string>
<string name="decky_zip_warning_title">Instalación de plugin de terceros</string>
<string name="decky_zip_warning_text">El equipo de Decky Loader no ha revisado este plugin. Puede contener malware, como software para robar tu cuenta de Steam o dañar tu dispositivo. Al instalar este plugin, aceptas que asumes todos los riesgos para tu dispositivo.</string>
<string name="decky_zip_warning_continue">Continuar</string>
<plurals name="decky_zip_warning_wait">
<item quantity="one">Espera %1$d segundo</item>
<item quantity="many">Espera %1$d segundos</item>
<item quantity="other">Espera %1$d segundos</item>
</plurals>
<string name="store_cat_games">Juegos</string>
<string name="store_cat_audio_video">Audio y vídeo</string>
<string name="store_cat_graphics">Gráficos</string>
@@ -1638,6 +1719,8 @@
<string name="fm_accept">Aceptar</string>
<string name="fm_decline">Rechazar</string>
<string name="fm_drive_not_readable">%1$s está montado, pero ahora mismo no se puede leer</string>
<string name="fm_drive_access_title">Permitir acceso a %1$s</string>
<string name="fm_drive_access_text">Android deja que DroidDeck vea esta unidad, pero no que la lea. Activa Acceso a todos los archivos para DroidDeck y vuelve.</string>
<string name="fm_list_view">Vista de lista</string>
<string name="fm_grid_view">Vista de cuadrícula</string>
<string name="fm_search">Buscar</string>
@@ -1741,6 +1824,7 @@
<string name="flatpakmgr_not_ready">Configura Flatpak primero</string>
<string name="flatpakmgr_starting">Iniciando</string>
<string name="flatpakmgr_exit_status">Flatpak terminó con el código %1$d</string>
<string name="flatpakmgr_wrong_arch">%1$s está compilado para %2$s, que DroidDeck no puede ejecutar. Aquí las apps Flatpak necesitan una versión para ARM64 o x86_64.</string>
<string name="flatpakmgr_installing">Instalando %1$s</string>
<string name="flatpakmgr_updating">Actualizando %1$s</string>
<string name="flatpakmgr_removing">Quitando %1$s</string>
@@ -1834,6 +1918,7 @@
<string name="adbpair_applying">Aplicando el ajuste…</string>
<string name="adbpair_command_failed">Falló el comando de la Depuración inalámbrica</string>
<string name="adbpair_channel_name">Configuración de la Depuración inalámbrica</string>
<string name="adbpair_progress_channel_name">Progreso de la configuración de la Depuración inalámbrica</string>
<string name="adbpair_channel_description">Pide el código de vinculación de la Depuración inalámbrica mientras Ajustes está abierto</string>
<string name="adbpair_title_pair">Vincular Depuración inalámbrica</string>
<string name="adbpair_waiting_text">Activa la Depuración inalámbrica y toca “Vincular dispositivo con código de vinculación”.</string>
@@ -1942,6 +2027,7 @@
<string name="gpuinfo_not_adreno">La GPU no es Adreno</string>
<string name="gpuinfo_supported">Compatible</string>
<string name="gpuinfo_experimental">Experimental: sus controladores son versiones de prueba</string>
<string name="gpuinfo_a850_experimental">Compatibilidad experimental con Adreno 850: requiere controladores experimentales de pantalla y de juegos compatibles; no verificada en este dispositivo</string>
<string name="gpuinfo_below_tested">Por debajo del hardware probado (Adreno 725 y posteriores): puede que no funcione</string>
<string name="gpuinfo_unsupported">No compatible: DroidDeck necesita una GPU Adreno (Snapdragon)</string>
@@ -2144,6 +2230,13 @@
<string name="stores_resume">Reanudar</string>
<string name="stores_refresh">Actualizar</string>
<string name="stores_sort">Ordenar</string>
<string name="setup_rail_labels">Etiquetas de la barra lateral</string>
<string name="setup_rail_labels_hint">Muestra los nombres debajo de los iconos de la barra lateral. Desactívalo para una barra lateral más estrecha.</string>
<string name="library_display">Vista</string>
<string name="library_display_larger">Tarjetas más grandes</string>
<string name="library_display_smaller">Tarjetas más pequeñas</string>
<string name="library_display_title">Mostrar título</string>
<string name="library_display_size">Mostrar tamaño</string>
<string name="stores_sort_last_played">Jugados recientemente</string>
<string name="stores_sort_recently_installed">Instalados recientemente</string>
<string name="stores_sort_title_asc">Título A–Z</string>
@@ -2270,6 +2363,9 @@
<string name="stores_download_manager">Gestor de descargas</string>
<string name="stores_parallel">Descargas simultáneas</string>
<string name="stores_install_where">Instalar en</string>
<string name="stores_install_language">Idioma del juego</string>
<string name="stores_install_language_hint">GOG y Epic instalan este idioma. Sistema sigue el idioma de la app.</string>
<string name="stores_install_language_system">Sistema</string>
<string name="stores_install_title">Instalar %1$s:</string>
<string name="stores_target_internal">Interno</string>
<string name="stores_target_free">%1$s libres</string>
@@ -2305,6 +2401,9 @@
<string name="edit_target">Destino</string>
<string name="edit_start_in">Iniciar en</string>
<string name="edit_launch_options">Opciones de lanzamiento</string>
<string name="edit_launch_options_steam_hint">Se comparten con las Propiedades de Steam: un cambio en cualquiera de los dos se ve en ambos.</string>
<string name="edit_launch_options_not_saved">No se pudieron guardar las opciones de lanzamiento en Steam. Inténtalo de nuevo.</string>
<string name="edit_launch_options_desktop">Puede que Steam esté abierto en la sesión de escritorio. Cambia las opciones de lanzamiento en sus Propiedades o cierra antes la sesión.</string>
<string name="edit_artwork">Ilustraciones</string>
<string name="edit_other_exe">Otro exe…</string>
<string name="edit_remove">Quitar</string>
@@ -2434,6 +2533,7 @@
<string name="setup_download_source_custom">Prefijo propio</string>
<string name="setup_download_mirror">Sitio</string>
<string name="setup_download_prefix">Prefijo</string>
<string name="setup_download_proxy">Proxy HTTP</string>
<string name="flathub_eyebrow">APPS DE LINUX</string>
<string name="flathub_name">Flathub</string>
<string name="flathub_line">Apps para el escritorio de Linux, que se abren desde Escritorio.</string>
@@ -2565,6 +2665,22 @@
<string name="glasses_tracking_flat_hint">Automático mantiene este juego 2D fijo en la vista. Elige Pantalla virtual en la sección Pantalla para usar el seguimiento de cabeza.</string>
<string name="glasses_tracking_sbs_hint">El seguimiento de cabeza se aplica a una pantalla virtual o a un juego de SteamVR en marcha.</string>
<string name="glasses_hardware">Dispositivo</string>
<string name="vr_controllers_tab">Mandos</string>
<string name="vr_controllers_group">Mandos de SteamVR</string>
<string name="vr_controllers_emulate">Mando en RV</string>
<string name="vr_controllers_emulate_hint">Las dos manos de RV que imita tu mando. Los cambios se aplican al instante, también mientras se ejecuta SteamVR. Los Joy-Con y las manos con seguimiento siguen controlando su lado.</string>
<string name="vr_controllers_off">Mando normal</string>
<string name="vr_controllers_index">Mandos de Valve Index</string>
<string name="vr_controllers_touch">Mandos de Meta Quest 3</string>
<string name="vr_controllers_vive">Mandos de HTC Vive</string>
<string name="vr_controllers_sticks">Al empezar, los sticks</string>
<string name="vr_controllers_sticks_hint">Pulsa ambos sticks a la vez durante la RV para cambiar.</string>
<string name="vr_controllers_sticks_game">Te mueven en el juego</string>
<string name="vr_controllers_sticks_hands">Mueven las manos</string>
<string name="vr_controllers_buttons">Botones</string>
<string name="vr_controllers_buttons_stick">Los gatillos son gatillos, los bumpers agarran, A/B y X/Y son los botones frontales de cada mano, al pulsar los sticks se pulsan los joysticks, Guide abre el menú de SteamVR. Arriba y abajo en la cruceta acercan o alejan las manos.</string>
<string name="vr_controllers_buttons_vive">Los sticks son trackpads; A/X o pulsar un stick los pulsa. Los gatillos son gatillos, los bumpers agarran, Start y Select son menú, Guide abre el menú de SteamVR.</string>
<string name="vr_controllers_buttons_off">Sin manos de RV. Los juegos compatibles con mando, y el menú de SteamVR, reciben tu mando como siempre.</string>
<string name="glasses_brightness">Brillo</string>
<string name="glasses_volume">Volumen</string>
<string name="glasses_sunblock">Bloqueo solar</string>
@@ -2622,6 +2738,12 @@
<string name="hand_camera_placement">Posición de la cámara</string>
<string name="hand_camera_placement_hint">Comprueba que la cámara pueda verte antes de jugar.</string>
<string name="hand_camera_check">Comprobar</string>
<string name="tracking_pack_title">Descarga del seguimiento de manos</string>
<string name="tracking_pack_hint">El seguimiento de manos necesita una descarga única de %1$s.</string>
<string name="tracking_pack_download">Descargar</string>
<string name="tracking_pack_retry">Reintentar</string>
<string name="tracking_pack_downloading">Descargando el seguimiento de manos… %1$d%%</string>
<string name="tracking_pack_failed">No se ha podido descargar el seguimiento de manos. Comprueba tu conexión y vuelve a intentarlo.</string>
<string name="hand_camera_check_title">Posición de la cámara</string>
<string name="hand_camera_how_rear">Coloca el dispositivo de pie a 1,5-2 metros de distancia, a la altura del pecho, con la cámara trasera hacia ti. Luego entra en el encuadre con las manos extendidas.</string>
<string name="hand_camera_how_front">Coloca el dispositivo de pie a 1,5-2 metros de distancia, a la altura del pecho, con la pantalla hacia ti. Luego entra en el encuadre con las manos extendidas.</string>
@@ -2707,6 +2829,21 @@
<string name="storage_safe_hint">Runtimes sin usar, restos, registros antiguos</string>
<string name="storage_clean_up">Limpiar…</string>
<string name="storage_session_running">Detén la sesión para limpiar o eliminar algo. Los tamaños se siguen mostrando.</string>
<string name="storage_default_group">Ubicación de instalación</string>
<string name="storage_default_title">Almacenamiento predeterminado</string>
<string name="storage_default_hint">Las nuevas instalaciones de las tiendas van a la ubicación seleccionada. Los juegos existentes se quedan donde están. Las bibliotecas de Steam conservan su propio ajuste.</string>
<string name="storage_default_ask">Preguntar siempre</string>
<string name="storage_default_ask_detail">Elige un destino para cada instalación</string>
<string name="storage_default_internal">Almacenamiento interno</string>
<string name="storage_default_external">Almacenamiento externo</string>
<string name="storage_default_external_detail">%1$s · %2$s libres</string>
<string name="storage_default_external_missing">No conectado</string>
<string name="storage_default_folder">Carpeta · %1$s</string>
<string name="storage_default_folder_free">%1$s libres</string>
<string name="storage_default_folder_missing">No conectada</string>
<string name="storage_default_choose_folder">Elegir carpeta…</string>
<string name="storage_default_choose_folder_detail">Usa cualquier carpeta de una tarjeta SD o unidad USB</string>
<string name="storage_default_note">Los juegos se guardan en una carpeta Games dentro de la ubicación seleccionada. Los juegos existentes no se mueven.</string>
<string name="storage_where">Dónde va</string>
<string name="storage_games">Juegos de Steam</string>
<string name="storage_game_data">Datos de juegos</string>
@@ -2835,6 +2972,9 @@
<string name="storage_data_installed">Juegos instalados</string>
<string name="storage_data_parts">Prefijo %1$s · shaders %2$s · taller %3$s</string>
<string name="storage_clear_shaders">Borrar shaders</string>
<string name="storage_reset_prefix">Restablecer prefijo</string>
<string name="storage_reset_prefix_title">¿Restablecer el prefijo de %1$s?</string>
<string name="storage_reset_prefix_confirm">Borra su prefijo de Wine (%1$s) en %2$s y lo vuelve a crear en el próximo inicio. Se pierden las partidas, los ajustes y los redistribuibles instalados dentro; las partidas de Steam Cloud se conservan en tu cuenta.</string>
<string name="storage_data_leftovers">Juegos desinstalados</string>
<string name="storage_steam_app">App de Steam %1$d</string>
<string name="storage_leftover_unsure_detail">Su prefijo aún contiene archivos, que pueden incluir partidas guardadas locales</string>
@@ -3138,6 +3278,10 @@
<string name="spatial_saved_views_hint">Las vistas guardadas se pueden recalcular. Inicie una nueva calibración para capturar en el sistema de coordenadas de seguimiento actual.</string>
<string name="spatial_model_checksum_error">La suma de comprobación del modelo de mano no coincide</string>
<string name="spatial_opencv_load_error">OpenCV no se pudo cargar</string>
<string name="session_end_steam_sigill">Steam se detuvo por una instrucción ilegal (SIGILL). Puede ser un problema de compatibilidad con instrucciones de la CPU o un fallo del cliente. Comparte los registros con los datos de tu dispositivo.</string>
<string name="session_end_steam_try_x64">Puedes probar Ajustes de Steam → Cliente de Steam → x86-64 (experimental). Requiere una descarga adicional y puede ir más lento.</string>
<string name="session_end_vulkan_device">El controlador gráfico de Linux no ha encontrado un dispositivo Vulkan utilizable. Comprueba que el controlador de GPU de Linux seleccionado sea compatible con esta GPU.</string>
<string name="session_end_gpu_unsupported">Esta sesión no puede iniciarse porque esta GPU no tiene un controlador Vulkan de Linux compatible en la configuración actual. Los controladores Turnip de Adreno no pueden habilitar la compatibilidad con GPU MediaTek/Mali.</string>
<string name="setup_group_memory">Memoria</string>
<string name="setup_clear_cached">Cerrar apps en caché antes de una sesión</string>
<string name="setup_clear_cached_hint">Al empezar una sesión, cierra las apps que Android mantiene en segundo plano para que el juego tenga más memoria. La depuración inalámbrica debe estar activada.</string>
@@ -3161,6 +3305,12 @@
<string name="epic_client_open">Abrir</string>
<string name="epic_client_install">Instalar</string>
<string name="game_tab_about">Acerca de</string>
<string name="game_resources_browser">Se abre en tu navegador</string>
<string name="game_resource_guides">Guías</string>
<string name="game_resource_protondb_detail">Informes de compatibilidad de Linux / Proton</string>
<string name="game_resource_steam_cloud">Steam Cloud</string>
<string name="game_resource_steam_cloud_detail">Para juegos con partidas guardadas en tu cuenta de Steam</string>
<string name="game_resource_search">Búsqueda web</string>
<string name="game_tab_install">Instalar</string>
<string name="game_install_location">Ubicación</string>
<string name="game_install_folder">Carpeta</string>
@@ -3177,6 +3327,11 @@
<string name="stores_eyebrow_pass">disponible con %1$s</string>
<string name="stores_owned_in_library">Juegos comprados en la Biblioteca</string>
<string name="library_filter_added">Añadidos</string>
<string name="library_filter">Filtro</string>
<string name="library_filter_installed">Solo instalados</string>
<string name="library_filter_all_owned">Todos los juegos que tienes</string>
<string name="library_no_installed_matches">Ningún juego instalado coincide con estos filtros.</string>
<string name="library_browse_owned">Explorar los juegos que tienes</string>
<string name="game_tab_launch">Inicio</string>
<string name="game_tab_saves_cloud">Partidas y nube</string>
<string name="game_launch_shortcut">Acceso directo de Steam</string>
@@ -3194,6 +3349,28 @@
<string name="stores_itch_update_replaced">El desarrollador reemplazó esta versión por %1$s. ¿Actualizar a ella?</string>
<string name="xbox_filter_cloud">Nube</string>
<string name="stores_xbox_cloud_settings">Ajustes de nube</string>
<string name="integration_title">Integración con Steam</string>
<string name="integration_count">%1$d de %2$d activadas</string>
<string name="integration_set_up">Configurar</string>
<string name="integration_location">Ubicación</string>
<string name="integration_app_info">Información de la aplicación</string>
<string name="integration_wifi">Nombres de Wi-Fi</string>
<string name="integration_brightness">Brillo</string>
<string name="integration_home">DroidDeck como inicio</string>
<string name="integration_shortcuts">Atajos del botón de inicio</string>
<string name="integration_wifi_hint">Muestra las redes en Steam · requiere acceso a la ubicación, nunca se rastrea</string>
<string name="integration_wifi_on">Las redes se muestran en Steam</string>
<string name="integration_wifi_location_off">La ubicación está desactivada</string>
<string name="integration_wifi_denied">Ubicación denegada · permítela en Información de la aplicación</string>
<string name="integration_brightness_hint">El control deslizante de Steam ajusta el brillo de la pantalla</string>
<string name="integration_home_hint">Inicio abre el menú de Steam en una sesión</string>
<string name="integration_shortcuts_hint">Mantén Inicio para las combinaciones de Steam Guide</string>
<string name="integration_shortcuts_needs_home">Requiere DroidDeck como inicio</string>
<string name="integration_shortcuts_maybe_restricted">¿Aparece en gris en Android? Información de la aplicación → ⋮ → Permitir ajustes restringidos</string>
<string name="integration_shortcuts_restricted">Bloqueado por Android · Información de la aplicación → ⋮ → Permitir ajustes restringidos</string>
<string name="integration_shortcuts_service">Botón de inicio de DroidDeck</string>
<string name="integration_shortcuts_service_description">Pasa las pulsaciones del botón de inicio a Steam Guide mientras una sesión de Steam está en primer plano y DroidDeck es la app de inicio predeterminada. No lee el contenido de la pantalla.</string>
<string name="integration_brightness_needed">Activa Brillo en Configuración → Integración con Steam</string>
<string name="apps_search_hint">Buscar aplicaciones</string>
<string name="apps_no_match">Ninguna aplicación coincide con «%1$s».</string>
<string name="apps_add_widget">Añadir widget</string>
@@ -3243,9 +3420,35 @@
<string name="desktop_restore_done_body">Las apps que añadiste vuelven a estar instaladas.</string>
<string name="desktop_restore_failed_title">No se ha podido restaurar parte del software</string>
<string name="desktop_restore_failed_body">Consulta ~/.cache/droiddeck/apt-restore.log y después prueba sudo apt install en Konsole.</string>
<string name="gog_full_files">Las optimizaciones nativas no están disponibles. La descarga incluye archivos de reemplazo completos.</string>
<string name="gog_recover">Verificar el resultado del parche</string>
<string name="slow_usb_title">Conexión USB lenta</string>
<string name="slow_usb_cable">%1$s está conectado por %2$s (%3$s Mbps, unos %4$d MB/s), así que los juegos cargarán despacio. Usa un cable USB 3 de 5 Gbps o más, prueba a girar el conector USB-C o usa una unidad más rápida.</string>
<string name="slow_usb_port">%1$s está conectado por %2$s (%3$s Mbps, unos %4$d MB/s). El puerto USB de este dispositivo no va más rápido, así que los juegos cargarán despacio. El almacenamiento interno o una microSD pueden ser más rápidos.</string>
<string name="slow_usb_never">No volver a mostrar</string>
<string name="slow_usb_dismiss">Descartar</string>
<string name="steam_import_title">¿Reiniciar Steam para añadir tus juegos?</string>
<string name="steam_import_body">Steam puede mostrar como instalados estos juegos que tienes: %1$s. Tiene que reiniciarse para mostrarlos. Reinicia ahora o se añadirán la próxima vez que se inicie Steam.</string>
<string name="steam_import_names_more">%1$s y %2$d más</string>
<string name="steam_import_now">Reiniciar ahora</string>
<string name="steam_import_later">Más tarde</string>
<string name="gog_maintenance">Administrar la instalación de GOG</string>
<string name="gog_check">Buscar actualizaciones</string>
<string name="gog_repair">Verificar/Reparar</string>
<string name="gog_patches">Parches sin conexión</string>
<string name="gog_refresh">Descargar el instalador sin conexión completo</string>
<string name="gog_update">Actualizar a %1$s</string>
<string name="gog_resume">Reanudar el mantenimiento de GOG</string>
<string name="gog_open_patch">Abrir el instalador del parche</string>
<string name="gog_patch_in_session">Termina o cancela el instalador del parche en la sesión de Linux.</string>
<string name="gog_patch_requirements">Elige un parche para tu versión instalada y tu idioma. Puede que no aparezcan todas las versiones de origen compatibles.</string>
<string name="gog_no_patches">GOG no tiene parches independientes de Windows para este juego.</string>
<string name="gog_managed_files">Los archivos del juego modificados pueden reemplazarse.</string>
<string name="gog_patch_installer_note">El instalador se abre en tu sesión de Linux.</string>
<string name="gog_download_label">Descarga</string>
<string name="gog_space_label">Espacio adicional</string>
<string name="gog_space_estimate_label">Espacio estimado</string>
<string name="gog_repair_action">Reparar archivos</string>
<string name="gog_refresh_action">Renovar la instalación</string>
<string name="gog_select_patch">Seleccionar</string>
</resources>
Loaded 100 of 240 files, more files were not shown because too many files have changed in this diff. Show more