* fix(launcher): LT and RT keep the focus ring on the tab rail
A trigger step selected the tab like a tap on the rail, which also sent focus into the new page, and each page put it somewhere different. The step now shows the page and focuses its rail item, and for a second puts focus back on the rail if the page takes it, until another key is pressed. Dual screens, which have no rail on the main screen, keep focusing the page.
* fix(launcher): end the trigger step's rail hold when another navigation changes the page
A navigation that changed the selected page during the hold, such as opening a game from a link, was undone: the hold focused the stepped tab's rail item, and that focus switched the page back. The hold now stops as soon as the selection is no longer the one the step made.
* fix(launcher): end the trigger step's rail hold when another navigation opens a page
Opening the Components page does not change the selected tab, so a navigation there during the hold kept it running and the hold could pull focus from Components back to the rail. The hold now also tracks the page key: once the page its own step opened is showing, any other page ends the hold.
---------
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
* fix(session): serialize launch requests in a coordinator
Replace the gameLaunchRequest counter and the single pendingGameLink field
with a LaunchCoordinator. A launch is now identified by a ticket, so a stale
callback can only act on its own request, and a game link is superseded by
any newer launch. Launching is also refused while a package install stage
is in progress.
* fix(frontend): a replacement intent supersedes uncommitted launch state
A game link that resolved while the launcher was not resumed stayed pending, so
opening Settings, following a notification or picking a shortcut left it in the
coordinator and the next library refresh launched the old game over the new
screen. The same gap let an ACTION_SETUP intent leave an accepted launch current,
so a late Xbox manifest check could start the game after the user had moved on.
A replacement activity intent now cancels every ticket this activity has not
dispatched, and the refresh path may only finish a link owned by the intent the
activity shows. The toast for a superseded store lookup is gated on its ticket,
and the coordinator test now proves cancelAll() invalidates a link ticket.
The deferred Proton-compat launch is untouched: its ordering still predates this
change and has its own follow-up.
* fix(ui): changing the language restarts the launcher instead of leaving it frozen
* fix(ui): a launcher restart no longer starts the startup session
* fix(ui): a stopping launcher no longer clears the hooks its replacement set
* fix(ui): a launcher restart keeps a pending session switch
* fix(ui): a launcher restart hands its state over in-process, not through intent extras
* fix(storage): warn when game storage is formatted as FAT32
FAT32 cannot hold files over 4 GB, so Steam games with larger files fail to install and Steam reports 'Not enough disk space'. Warn when such a card is chosen as game storage.
* fix(storage): translate the FAT32 warning into Russian
* fix(storage): warn about FAT32 for Automatic, extra libraries and store folders
Show the FAT32 note in the Second library menu while the effective card is FAT32, so the default Automatic choice is covered, and warn when an additional Steam library or a store install folder is added.
* fix(storage): shorten the FAT32 warning and warn on reselecting a saved folder
* fix(storage): warn for the resolved store target and keep the SD note
---------
Co-authored-by: Dennis Zabolotny <15849186+zdennisz@users.noreply.github.com>
The child-process fix always uses the guided pairing flow, Finish setup opens the setting directly and queues the Steam launch, the Play button carries the first-run progress, the setup bar weighs each download by its real size, and the Steam client packages download over four connections and unpack one at a time under a flock.
* feat(onboarding): one setup card, Steam client and Proton downloaded in the background, no component toast
* feat(onboarding): an optional Bluetooth controllers row in the setup card asks for the permission up front
* feat(onboarding): prefetch Steam's whole package cache, one foreground notification, child-process setup while downloads run
* test(steam): the cache pass keeps packages under Steam's names and is not repeated
* feat(onboarding): unpack the whole Steam client ahead of time and record it as installed, downloads no longer wait for a cool device
* feat(onboarding): setup progress on the Steam home page, Bluetooth asked only from the setup card, Steam unpacks its own files
* fix(onboarding): review fixes: removal does not report setup progress, cancel stops the whole prefetch, cache files are verified, no resume toast
* fix(onboarding): a cancelled prefetch is never a setup failure
* fix(onboarding): the Steam fact is updated atomically
* feat(onboarding): Bluetooth controllers moves into the Steam integration list
* fix(addons): CurseForge rows follow CurseForge's own installed list
The CurseForge source reads installed state and available updates from
CurseForge's installed projects after asking it to rescan the game
instance, so addons removed from disk show Install again and out of date
ones show Update, which updates through CurseForge. Deleting an addon
from the addon list uninstalls it through CurseForge when CurseForge
manages it, so its list and the files stay in step.
* Delete addons through CurseForge only while it is already linked
* Link CurseForge on the Addons tab and give its rows Update and Uninstall
* Match WoWInterface addons to the AddOns folders on disk
The WoWInterface source now reads each addon's folder list and marks it
installed when every folder is on disk, whichever source installed it.
Deletes from that source go through CurseForge while it is linked.
* Fix Compose tests hanging after a dropped UI dispatch and stop CurseForge on tab dispose
A non-Compose test that runs the real App after a Compose test in the same
Robolectric sandbox leaves AndroidUiDispatcher flagged as scheduled while its
looper message is dropped by the sandbox reset, so global snapshot changes are
never applied and every later Compose test times out waiting for idle. The
shared compose rule now detects that state and re-arms the dispatcher.
CurseLink.close runs the stop on a job owned by the link, so the tab test can
join it and prove no CurseForge work remains after the tab is disposed.
* Match add-on folders by case, offer only real updates, settle deletes on disk
A delete that CurseForge finished before its link dropped now counts as
done when the folder is already gone. Managed uninstalls only consider
projects whose folders are all present, and folder names resolve
case-insensitively everywhere. Update is offered only for a newer
version, falling back to the source's current file when versions do not
compare. The test compose rule also re-posts a dropped frame dispatch.
* feat(launcher): LT and RT step between the main tabs from anywhere in the launcher
LT and RT move to the previous and next main tab on every layout. The activity handles them before any page sees the key, so a focused control, an embedded Android view such as the terminal, or nothing being focused no longer swallows them; dialogs and popups keep their own keys. Pads that report the triggers only as axes, like the Xbox Wireless Controller, get an L2/R2 press when a trigger passes 60% of its travel; pads that send their own trigger keys are left alone.
* fix(launcher): trigger tab steps tick, drop a pending press on focus loss, and move once per pull
Controller haptics now ticks for L2 and R2. A synthetic trigger press waiting its 40 ms is cancelled when the launcher loses window focus or is destroyed, so a dialog that opens in between keeps the page behind it. Each pull is tracked: when a synthetic press has gone out, the pad's own trigger key for the same pull is swallowed instead of stepping a second tab.
* fix(agent): keep the composer above the keyboard outside fullscreen
* fix(ui): release a search field when another control is tapped
* fix(ui): release the add-on search field in its dialog, and let a reopened search take focus
* fix(ui): a drag that returns to where it began does not release the search field
## Summary
Splits the session resolution setting into two: **Landscape resolution**
and **Portrait resolution**. Each has the same options as the old
Resolution row, plus a Follow option so one orientation can mirror the
other.
## Why
A single resolution has to serve both orientations. Presets and Match
screen flip automatically in portrait, but a custom size is used exactly
as typed, so a landscape size in a portrait session is wrong. Users who
play in both orientations couldn't pick a good size for each.
## Behavior
- The Display tab shows **Landscape resolution** and, underneath it,
**Portrait resolution**. Both offer the full existing list: presets,
Match screen, Follow screen, scaled follow options and Custom.
- Each row has an extra option at the top. **Follow portrait** (on the
landscape row) and **Follow landscape** (on the portrait row) use the
other orientation's choice, so someone can set one resolution and let
the other mirror it. The label shows the size it resolves to.
- A session picks the landscape or portrait choice from its orientation.
This uses the same orientation check as the output size, so the
unfolded-controls layout still counts as landscape.
- Custom WxH sizes are flipped to match the target orientation when
followed, e.g. portrait following 1280x720 uses 720x1280.
- If both rows would follow each other, the other row is set to the
concrete size it currently resolves to, so there is never a loop and
nothing visibly changes.
- The glasses output keeps using the landscape resolution.
- Applies to the Steam and Desktop Display tabs, which share the same
row.
## Compatibility
- The existing saved choice (`displayResolution.<mode>`) is now the
landscape resolution, so existing users keep their setting.
- The portrait choice is stored as `displayResolution.portrait.<mode>`
and defaults to Follow landscape, so portrait sessions behave as before
until it is changed. The settings reset covers it through the existing
`displayResolution.` prefix.
- One visible difference: a typed landscape custom size, used as typed
in portrait before, now flips to portrait while portrait follows
landscape.
## Known limitation
"Follow screen" is still decided once when the session starts, not on
every rotation. Re-evaluating it on rotation could make the window
orientation flip repeatedly when no orientation is pinned.
## Changes
- `SessionDisplay`: `LINK_LANDSCAPE` / `LINK_PORTRAIT`, `isLink`,
`orientCustom`, `effectiveChoice`
- `SessionPrefs`: `resolutionStored` (raw value per orientation),
`resolutionChoice(..., portrait)`, `setResolutionChoice(..., portrait)`
with the loop guard, `resolutionChosen(..., portrait)`
- `SessionActivity`: `portraitOutput()` drives the output size,
follow-screen choice and follow scale; the Match-screen default for
programs that draw at the panel size checks the matching orientation
- `ResolutionRow`, `ModeSettingsDialog`, `FrontEndActivity`: two rows,
the Follow option, state and actions
- `DeviceReport`: logs landscape and portrait separately
- Strings: `display_resolution_landscape`,
`display_resolution_portrait`, `display_follow_landscape`,
`display_follow_portrait` in all 33 locales; the unused
`display_resolution` is removed
- Tests: `PortraitResolutionTest`
## Testing
- Unit tests added for the preference logic, follow resolution, loop
guard and reset.
* feat(addons): install the CurseForge app and update addons per game
The Addons tab installs the official CurseForge Linux app from its own
update feed, checks it against the feed's SHA-512, shows its version,
offers updates and removes it with the components delete button.
Installed addons show their .toc version and are checked against
WoWInterface by X-WoWI-ID or the recorded source of addons installed
from the Download window; Update replaces them in place.
The CurseForge web search chip is replaced by the app.
* fix(addons): address review on update ordering, flavor filter, origins lock and failed checks
* fix(addons): compact scrollable addon browser with list rows
* fix(addons): compare release times as instants and replace the sources file atomically
* fix(addons): open the addon browser at the top of the list
* Keep the addon browser's search focus and installed version in sync
* Track the search field's own focus in the addon browser
* Key the installed addon version by install target
* Install rar and 7z addon archives
* feat(launcher): tick haptics for controller navigation, off for touch
* docs: regenerate settings map for controller haptics
* fix(launcher): tick for hat and stick navigation, which arrive as joystick-source keys
* fix(launcher): tick before the Components tab consumes L1/R1
* feat(session): arrange and hide the in-session menu pages
* fix(session): the end-session button is a true circle pinned to the right of the menu header
* fix(session): arrange-pages drag reads the current list; reset reloads the page layout even if the activity was recreated
* fix(session): Back leaves Arrange pages first; UI zoo previews don't save page layout
* fix(session): Back on a grabbed page row restores its order before anything else
Landscape and Portrait resolution rows with the same options, each with a Follow option so one can mirror the other. Existing choices stay as the landscape resolution and portrait follows landscape by default, so nothing changes until portrait is set.
Keeps the Steam session picture, controls and overlays inside the display cutout's safe area so the notch no longer covers part of the image, in landscape or portrait. Off by default.
* feat(display): zero-copy presentation toggle and compositor display buffers
Adds a Zero-copy presentation switch under Steam Settings, Display,
Session Display (on by default), and a display-buffer allocator in the
compositor: a Vulkan driver that states displayBuffers asks it for the
memory of the images it exports, so frames presented through the nested
compositor are gralloc buffers that go on the display layer without a
copy. Compressed buffers are offered only where the device's allocator
matches the layout the drivers render to; everything else stays on the
copy path.
The private buffer protocol is renamed to droiddeck-ahb-v1.
* fix(display): zero-copy frames keep the full refresh rate
Two buffers set on the game layer inside one refresh replaced each other, and a frame that slipped into the next refresh made the compositor hold and drop the on-time frame behind it. The layer now queues buffers, and a refresh takes a second frame when the one before it took none. The pacing tool no longer counts its dump time in the frame rate.
* Keep cropped scenes on the display layer and pace layer frames evenly
Accept any in-bounds source crop for the display layer and map the draw
geometry the same way the copy path does. Time layer frames against the
display's frame timeline, and when the game's rate is a steady whole
fraction of the refresh rate show each frame a fixed number of refreshes
after the last so uneven arrivals no longer reach the screen.
* List zero-copy in the settings map
* Hold display buffers until the display releases them
A buffer the game or gamescope rendered straight into went back to its
client as soon as the next one was latched, with the display's release
fence attached to the dma-buf. The KGSL driver does not wait on that
fence, so the client could draw into a buffer the panel was still
reading. Display buffers now wait for the release fence before the
release event, and gamescope composites only into output images the
host has released.
* Keep the game picture copy-free when an overlay has no display layer
When the display cannot give a second layer of its own to an overlay,
the compositor tells gamescope how many planes it can show directly.
gamescope then composes its overlays into the game picture, which still
reaches the display without a copy.
* feat(session): the panel refresh rate follows the session's frame rate
The session learns the panel's refresh rates and reports the refresh rate and
frame rate it wants. The panel moves to the highest rate the frame rate divides
evenly, frame generation counts at its output rate, and a panel whose rate the
system holds offers only that rate.
* feat(session): the panel follows a frame rate the game holds on its own
The compositor reports the game's frame rate once a second. A rate that
holds for three seconds and divides a panel rate becomes the content
rate when neither the app's limit nor the session's limiter is setting
the pace, so a game capped in its own settings gets a panel rate its
frames divide into. A rate that was dropped has to hold twice as long
before it is used again.
* Show generated frames on the game's display layer
With frame generation on, the game's own frames stay on their display
layer untouched and each generated frame is placed on the same layer
between them, timed across the game's frame interval. The compositor
pass is kept when effects, HDR routing or a cursor need it, or when the
panel cannot show the multiplied rate.
* Keep scaling, generated frames and HDR on the display layer
A scaler or frame generation with zero-copy on now draws once into the
display layer instead of falling back to the copied surface. HDR output
goes to the layer when the panel supports it; on a panel without HDR the
picture is tone-mapped on the same path, and the toggle is labelled to
match what the panel can do.
* Spread a frame limit the refresh rate does not divide evenly across refreshes
* Cover the spare-tick and panel-rate paths in the compositor source tests
* Pin the gamescope build with the display-plane, release, refresh and limiter patches
* Give the layer and terminal-caller harnesses the black fill state they compile against
* feat(display): switch HDR during a session without restarting the app
The compositor now offers HDR whenever the device can present it, and the
HDR setting only decides whether the session uses it. Both HDR switches set
gamescope's hdr_enabled, the compositor's HDR output and zero-copy for the
running session. gamescope patch 0139 lets hdr_enabled change after start.
The 'Restart the app to apply.' hint is removed from every locale.
* Remake the output images in the new format when HDR is switched during a session
* Pin the gamescope build that switches HDR during a session
* Apply a saved HDR opt-out at session start and keep HDR retries with their session
* Serialise the HDR output switch with the gate opening
* feat(display): keep the client's HDR setting and the session's in step
The session publishes its HDR state with the other device controls and the
client helper applies it to the client's own display setting. A change made in
the client is reported back and goes through the same switch the drawer and
Session Display use, so all three always show one value.
* fix(desktop): keep the display-buffer socket when the runtime directory is cleared
The desktop launcher removed everything in the runtime directory except the
compositor's Wayland socket, which took the display-buffer socket with it, so
no desktop program could ask for display buffers and every frame was copied.
* fix(display): the client's HDR setting follows the session in every client mode
The bridge only ran when a variable nothing sets was present, so the client's
HDR setting and the session's never met. It now runs whenever the session
publishes an HDR state, and a client that has no such setting is asked again
only every ten seconds.
* fix(display): harden display-buffer hand-off, layer fallbacks and HDR sync
- Stop closing a buffer handle's descriptor the allocator still owns, and free an allocation whose reply could not be sent.
- Rebuild the advertised buffer formats when zero-copy is switched during a session.
- Fall back to the copy path when a layer buffer cannot be allocated, and hide the game layer when it is skipped for a frame.
- Keep a release fence that has not signalled instead of rendering into a buffer the display still reads.
- Ignore a refresh-target reset from a client that does not own the target.
- Restart the content-rate measurement after a pause, clear it when the game stops, and lengthen engagement only for a rate that was released before.
- Compare colour conversions by their values, and read padded cursor buffers at their row width.
- Use the running session's mode for the HDR and zero-copy settings, probe the display before screen effects are pushed, retry a held panel mode, and ignore callbacks after the activity is destroyed.
- Write a newer HDR value while an earlier write is settling, and reapply the value after the bridge is reinstalled.
* feat(proton): install prerelease builds
* fix(proton): harden prerelease archive installs
* refactor(proton): drop the superseded test build path
* fix(proton): list only current prerelease builds and label the file install
* fix(proton): hide prerelease rows that are already installed
* fix(proton): keep relative links and modes when unpacking zip and 7z builds
* fix(proton): name file installs without the archive suffix
* fix(proton): confirm a release is gone before removing its build and tighten archive handling
* Show the Experimental section without Developer tools
* Share the refresh guard, recheck sessions before removal, skip other architectures
The update check guard is shared between menu instances and held until the result is published, so a recreated screen joins the running check and results arrive in order. Automatic removal rechecks for a running session after each release lookup. Experimental assets for other CPU architectures are ignored, and in-tree links may start with the current directory.
* Keep an experimental build in place when a session starts during its removal
Removal and session start now share one lock. The tree is renamed out of the
tools folder under that lock only while no session is running, and deleted
afterwards, so a session that starts first keeps its build.
Components > Proton gains an Experimental builds card that installs a Proton build from a .zip, lists it as Experimental-<name> and removes it with its stored and unpacked originals and selections. Replacing a build keeps its user settings and is safe to interrupt.
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
Components > Proton offers a DroidDeck-Proton pre-release that is ahead of Stable through the existing channel toggle. Automatic installs and updates stay on Stable.
* feat(ubisoft): keep Denuvo game tokens per account and product until the game invalidates them
* feat(ubisoft): sync cloud saves through Ubisoft's cloud save service
* fix(xbox): turning cloud saves off passes the offline mode the game save runtime reads
* fix(ubisoft): Ubisoft games list their shared prefix, so they get a saves and cloud tab
* feat(ea): sync cloud saves through EA's cloud sync service
* fix(ea): sync at EA launch and exit, keep one rule snapshot, and check the cloud copy under the write lock
* fix(ubisoft): exact slot versions, scoped save export, and a Denuvo cache bound to its account
* fix(ea): fresh rules per sync, checksums required, backup before restore, and sign-in shown on the saves tab
* fix(ubisoft): launch-time sync on the shared prefix, saves scoped to the game, and Denuvo bound to each launch's account
* fix(ea): back up only the saves a restore replaces, refuse truncated manifests, and need a master title id
* fix(ubisoft): treat a slot whose bytes changed since the last sync as a conflict before uploading over it
* fix(ea): one resolved save folder per sync, refuse case collisions, and walk each folder once
* fix(ubisoft): sync only identified slots, keep live saves and backups safe, and tie a pending eviction to its account
* fix(cloud): a forced download fetches every saved conflict and keeps the ones it could not write
* test(ea): keep the cloud save cases in EaTest
* fix(ubisoft): report only written slots, keep drift conflicts, read whole headers, and never rename a named eviction
* fix(ea): keep real save folders in the inventory, back up any restored file, refuse duplicate or malformed cloud listings
* fix(cloud): commit Ubisoft slots one at a time and stop on a newer cloud write, name skipped and blocked slots, keep unsent conflicts
* fix(ubisoft): acknowledge an invalidation only once its marker is published and never serve a kept token after it
* fix(cloud): a cloud request the launcher cannot write still starts the game and keeps the exit upload
* fix(cloud): scope Ubisoft sync state to the account and product, compare alike slots, keep committed progress, and name partial slots
* fix(ea): ask for sign-in after a rejected refresh, upload saves reached through folder aliases
* fix(cloud): a launch that stops waiting for the cloud download claims it back, so no save is written once the game starts
* fix(ubisoft): name the account in an invalidation marker and never hold the token lock across a pipe write
* fix(ea): only invalid_grant asks for sign-in again, and case collisions count only among synced saves
* test(epic): let the launcher's ask doubles take the claim flag
* fix(ea): apply save rules in their order, match bare patterns inside the save folder, and resolve LocalLow and install folders
* fix(ubisoft): stamp a fresh identifier into a new save that has none, so it can sync
* fix(ubisoft): answer a burn ticket request as unavailable instead of leaving the game waiting
* fix(cloud): read EA manifests with the XML parser, clear conflicts whose sides match, and bound the claim and stall tests
* feat(xbox): install legacy EAppx titles through Windows Update
A legacy Store title does not ship as MSIXVC. It ships as an encrypted
EAppx bundle, which streaming rejects, so the store could list the game
and never install it.
Accept EAPPX and EAPPXBUNDLE beside MSIXVC, carry the format through the
catalogue, the install record and the cached library, and dispatch
legacy-install for those formats.
Two backend patches do the work:
- droiddeck-legacy-packages.patch lets the plan, license and extract
verbs handle a legacy package, and expands a bundle in place (nesting
bounded at three), decrypting each inner EAppx with the same keys.
- droiddeck-legacy-install.patch adds legacy-install: resolve,
license, download, extract, hoist AppxManifest.xml to the game root.
Resolution asks the Xbox content service first and Windows Update
second, because some legacy products return no files from the content
service at all. The WU endpoint needs no Xbox credential but chains to
Microsoft's ECC Product Root CA 2018, which Android's CA bundle does
not carry, so that one public root is pinned for those requests.
The manifest reader accepts AppxManifest.xml as well as
MicrosoftGame.config, since a legacy package carries only the former.
Running it against a real title exposed four things that only show up at
full size:
- A licence names a key by its 16-byte content id, while a bundle header
names it as a (content id, package id) pair. Reading the 16-byte id
yields a different pair, so a complete key file reported every key
missing and no bundle could be opened. Keys are now aligned against
the header's own ids before the header is judged.
- Windows Update answers with several updates whose PackageContentId
differs from the bundle's own. Licensing used to take the first and
fail with content-http 400; every candidate is now tried in order,
preferring the one the container is named after.
- A container already in .xodus-container is reused rather than fetched
again, so a failed run does not cost another download of tens of
gigabytes. The space preflight no longer counts a container twice for
the same reason.
- A bundle that carries add-on packages unpacks each into its own
folder, leaving the manifest one level down. Hoisting lifts the
largest folder that holds a manifest, so the game still lands at the
root beside its add-ons.
Unpacking now reports bytes written, so the install bubble fills while a
package is decrypted instead of holding a single unchanging word.
* fix(xbox): unpack a legacy package across cores and report the bytes
Unpacking one title ran as a single thread on a saturated core at about
40 MB/s. Files sit at independent offsets, so each worker now opens its own
handle and takes every Nth file, with a 1 MiB read buffer in place of the
8 KiB default that turned one 64 KiB block into eight reads. Measured on the
Forza Horizon 4 bundle, writes went from 40 MB/s to about 200 MB/s.
Two things the first full-size run exposed:
- The container was deleted only after the whole nested tree was unpacked,
so a title that holds its package as one member held the archive and the
decrypted copy at once. On this device that runs out of space partway
through the second stage. The container is now deleted once its members
are on disk, which frees the archive before they are decrypted.
- A bundle member is written as a single file, so a counter that advances
when a file finishes stays at zero for the whole of the longest stage.
The reported figure now also follows the growth of the destination while
that is the case, and never moves backwards when the container is freed.
Progress is exact during the per-file stage: each file's declared length is
added as it lands, instead of walking the whole destination every tick.
* docs(xbox): record the completed legacy install
The evidence section said a finished legacy install and its decrypted
contents were unverified, because the first run was still unpacking when it
was written. That install has now completed on the same device: the
85,219,173,025-byte container produced 79.3 GB at the game root with
AppxManifest.xml and the package DLLs directly beneath it, and the launcher
lists the title as installed.
It also records what unpacking costs, since that decided the change: one
thread held a core at 100% for about 40 MB/s and four reach about 200 MB/s,
and releasing each container once its members are on disk is what keeps the
peak footprint at one package rather than the archive plus its contents.
The launch is not part of this evidence, and the entry says so.
* fix(xbox): place the 64-bit framework beside a legacy title
A Windows Update framework category lists one package per architecture under
identifier-only names. The first package was unpacked, which on this device was
the x86 build, so a 64-bit title got 32-bit DLLs and every load failed with
STATUS_INVALID_IMAGE_FORMAT. Candidates are unpacked now and only the one whose
manifest declares ProcessorArchitecture="x64" is kept.
The framework folder was also never created, so a finished download failed at the
move with "no such file or directory".
unzip.rs belongs to this patch: legacy-install calls it and the recipe left it out,
so a rebuild from the pinned source could not compile.
* feat(xbox): report a UWP entry point at launch
An unpacked package can name a COM class as its entry point instead of
Windows.FullTrustApplication. That class is a UWP application, which expects the
app model to activate a view; Wine has no host for it, so the launch died inside
the loader with no explanation. The launch now reads the entry point and reports
uwp-entry-point, and full-trust packages are unaffected.
Forza Horizon 4 is such a package: its manifest names Forza.App. Its frameworks
are installed and the loader is clean before that point.
* fix(xbox): report why a launch was refused
A failed prepare replaced the backend message with a fixed sign-in hint, so a title
that was not installed or a runtime that refused all read as a bad account. The
reason is kept, with paths and URLs dropped, and written to the store log.
* fix(adb): dismiss the keyboard on Search and Go
Search and Go were terminal IME actions but were not handled, so focus stayed in
the field and the keyboard covered the results it had just fetched.
* fix(xbox): keep a cache row without a legacy format plain
Decoding added a format key with an empty value to every cached title, so a
library restored from storage no longer matched the one that was saved.
* test(ui): match the manifest message a legacy package reports
The message covers both a MicrosoftGame.config and an AppxManifest, so the
assertion follows the text the content dialog now prints.
* fix(xbox): refuse to start a title that needs the Windows app model
A legacy package that names an entry point other than
Windows.FullTrustApplication is a UWP application. Wine has no app-model
host, so starting its executable crashes inside the loader and the launch
looks like nothing happened. Read the entry point from the manifest the
installer already parses and stop the Play action with a message instead.
Forza Horizon 4 names Forza.App, so it installs and reports as installed
but cannot be started here yet.
* fix(xbox): dispatch on the container format of the chosen package
The catalogue records the format of the first installable desktop package, and
the picker only replaced the content id. An offer that lists MSIXVC and a legacy
container would then hand the legacy id to streaming, or the streamed id to
legacy-install, and the install failed after resolution had succeeded.
The choice now carries its own format and the catalogue value only fills a gap.
* fix(xbox): keep an extraction reason that the sanitizer rewrote
The extraction sanitizer replaces anything outside letters, digits, space, dot,
underscore and dash with a question mark, so a reason such as "(os error 28)"
arrived as "?os error 28?" and the allowlist dropped the line. The failure then
showed only the stage code, with no cause.
Add that replacement character to the class the allowlist accepts.
* fix(xbox): print the reason a launch was refused
The account channel sends a reason with a refusal, and the guest replaced it
with a fixed sign-in message, so a title that was never installed still read as
a bad account. The guest now shows the reason it was given, and a token holding
a path is dropped whole instead of having its slashes removed and its directory
names kept.
* build(xbox): leave RUST_TEST_THREADS unset when the host has no value
The recipe always passed the variable, empty when the host had none, and the
pinned test harness rejects an empty count. On an ARM64 host that runs cargo
test, so the default local build failed before compiling.
* fix(xbox): rebuild the backend patches from the tree that ran
The two patches in this branch were not the ones the verified install ran, and
one of them did not compile. `unzip.rs` inflates deflated entries but the
dependency that provides the inflater was never added, so `prepare.py` produced
a tree that failed at `flate2::read::DeflateDecoder`. Anything else missing fell
into the same gap: the install stage reported no bytes, so the bar held one
value for the whole unpack, and a container a stopped run had finished was
downloaded again.
Rebuilt from the patched source, and fixed the defects a review of the patch
found:
- Unpacking reports bytes again: the workers count each file's declared length,
and for the single-file bundle member the folder's growth stands in, which is
what the device run showed.
- A finished container is reused, so a retry after a failure past the download
does not spend hours fetching it again. The space preflight counts it as
reclaimable, since the retry truncates it first.
- An install over a folder that already has a manifest replaces the old files
instead of leaving the new package nested and reporting success. A first
install still refuses to merge into an existing target.
- The manifest search looks at the depth a nested bundle writes, not only one
level down.
- `withdraw_libraries` removes only the DLLs `copy_libraries` recorded copying,
so a framework replacement cannot delete a library the title owns.
- ZIP64 sizes and offsets stay `u64`; truncating them to `u32` read the wrong
local header past 4 GiB.
- The extraction checks the blockmap length against the footer's before writing,
which the crate only does when asked.
- The container being unpacked is never treated as a nested member, so
`extract-eappx title.eappx .` no longer re-enters and deletes its own input.
- `flate2` is declared and the lock is updated.
`prepare.py` reproduces this from a pristine checkout and `cargo test` passes on
it.
* fix(xbox): apply the legacy install patch over the Nexus 0.2.15 backend
* fix(xbox): install only the newest x64 build of a legacy title and size the space check at its real peak
* fix(xbox): install a store package that is a plain archive instead of an XVD
* fix(xbox): refuse a package entry that ends before its recorded size
* fix(xbox): credit only complete staged containers toward the free space a legacy install needs
* fix(xbox): bound each package entry to its data and check ZIP64 decoded sizes
* fix(xbox): refuse duplicate package names and clear an unfinished download before measuring space
* fix(xbox): bound package entries by the next header and stage a plain package until it validates
* fix(xbox): hold the install folder lock through a legacy install
* fix(xbox): fall back to an older build when Microsoft refuses the newest one a license
* fix(xbox): keep the registered device across sign-out
* feat(xbox): explain device-limit and license refusals, with a link to manage devices
* fix(xbox): locate each build only once licensed, roll back a failed package swap, report the final license answer
* fix(xbox): skip trial and preorder packages, read runtime behavior, keep licensing timeouts
* fix(xbox): keep a failed package swap recoverable, size bundles up front, report key-write and framework errors cleanly
* fix(xbox): drop a pending manifest check on any newer launch, keep committed backups out of restores, match the app-model order
* fix(xbox): cancel pending launch checks on a new intent, remember entries a rollback could not remove
* fix(xbox): clear the removal list before a restore moves old files back
---------
Co-authored-by: TimmyCraft <46533729+TimmyTurner51@users.noreply.github.com>
refresh() reloaded the Mali bridge switch from SessionPrefs but not
Mali (Venus), so after any process restart (an app update, or Android
reclaiming the app) Setup showed "Mali (Venus): off" while the saved
setting stayed on and sessions kept using Venus. Only opening the
Performance page (refreshCores) loaded the real value. The Vulkan
1.2 warning (venusHostVulkan) was dropped the same way.
* fix(proot): ship proot in the APK and run it from the native library directory
* fix(native): start rootfs programs through an APK-shipped exec loader where data files may not be executed
* fix(audio): start PulseAudio through the system linker where data files may not be executed
* feat: target Android 14 (SDK 34) so Play Protect installs DroidDeck without a warning
* fix: ask for all-files access on Android 11+, reject unloadable ELFs before exec, keep checking the proot pack
* fix: hand host scripts to the kernel, skip startup launch while all-files Settings is open
* fix: run proot from its add-on pack through Android's linker, so the APK carries no proot
* fix: declare high sampling rate sensors for controller gyro at target 34
* fix: offer the rootfs proot fallback only where Android lets proot exec its loader
* test: install the runtime's proot pack in GameFileSync fixtures
* feat(performance): add idle zram compression toggle
* Gate the idle compression toggle on memory cap support and refresh counters first
* fix(zram): retain launcher reclaim when idle compression is off
* test(memory): verify launcher-only reclaim signals
* fix(performance): keep game reclaim when focus is unknown
* fix(performance): say when to turn idle compression off and that it applies on the next session
---------
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
* fix(shortcuts): move the accessibility service into an optional companion so Play Protect stops blocking the install
* fix(shortcuts): bind only same-signer relays, recheck enablement per call, drop timed-out keys
* feat(compositor): pen samples drive the pointer like a mouse
Input record 13 carries the pen's state (in proximity, tip, right and
middle button) and its position in input space as 24.8 fixed point.
Hover moves the pointer, the tip holds the left button, and a record
without the in-proximity bit releases every button. Under a pointer
lock only the buttons pass. A button pressed or released mid-stroke
keeps the implicit grab on the window the stroke started in, unless
that window closed.
* feat(input): a pen moves the pointer while hovering, clicks with its tip and right-clicks with its side button
In Mouse mode (the default) a pen's hover moves the pointer, the tip
holds the left button and the side button right-clicks; Touch keeps it a
finger. The side button can send a middle click or nothing instead, and
a Bluetooth pen key counts as the side button while the pen is near.
With glasses or a program's pointer lock the pen drives the touchpad.
A hover exit followed within 50 ms by more hover or a touch keeps the
pen near, so a pen at the edge of its hover range does not flicker out,
and a hover that sends nothing for 2 s leaves proximity. On the desktop
a pen that comes near releases KWin's grab of a hardware mouse, so the
pen moves KWin's pointer. Whatever cancels touches also ends the pen,
and stylus devices no longer count as hardware mice.
* feat(input): pen mode and side button settings in the Controls tab and the session drawer
A Pen group follows the touch settings once the phone has a stylus
device or a pen event was seen, which is remembered as penSeen and kept
by a settings reset. It holds Pen (Mouse, Touch) and Side button (Right
click, Middle click, Off); Side button is hidden in Touch. Before
Android 14 a touchscreen reports the stylus source without a pen, so
there it counts only with its first pen event. The strings are
translated into all 32 languages.
* docs: describe pen input and its limits
---------
Co-authored-by: alien2003 <11610652+alien2003@users.noreply.github.com>
* Start a launcher-run game without scanning its folder and keep Play on Starting until it launches
* Create the shared added-games cache under one lock
* Read a rewritten game manifest again instead of reusing the saved ranking
* Tie a saved ranking to the declared executables that exist
* feat(agent): DeeDee, a pet that floats over any app and opens the agent's chat
* feat(agent): DeeDee docks and opens its chat like a chat head; throws pick their side by velocity, for the pet and the HUD
* fix(hud): the strip tucks into its fps tab with a shorter pull, and a throw toward an edge counts
* fix(hud): the HUD shows in desktop sessions again
* feat(agent): DeeDee rests tucked past the screen edge like a chat head
* fix(agent): DeeDee opens its own chat in every window, themed, and a fling across no longer tucks the HUD away
* fix(agent): the chat grows from wherever DeeDee is as it hops to its corner
* fix(agent): DeeDee hides with the PC keyboard, falls back if it cannot float, can be opened by accessibility, and settles when a drag is cancelled
* fix(agent): B and Back close DeeDee's in-window chat before the window acts on them
* fix(agent): Back closes only the chat open in that window
* feat(apps): add an Appearance panel to the Apps page
A Palette button in the Apps header opens a panel for icon size, spacing and
hiding app names.
* feat(apps): support icon packs and per-app icons
The Appearance panel gains an Icon pack choice. Packs are found through the
ADW and Nova theme intents and must ship an appfilter.xml in res/xml, res/raw
or assets. Work profile apps keep their badge.
Apps a pack does not cover are drawn on its iconback, iconmask, iconupon and
scale tags when it has them, and keep their system icon otherwise. For packs
with an iconback, App color background paints that plate in each app's main
color instead of the pack's own.
With a pack selected, an app's long-press menu offers Change icon, which
opens a searchable picker listing icons that match the app first. Reset icon
removes one choice, and Reset in the panel removes them all.
Calendar apps use the pack's icon for today's date.
* feat(apps): translate the Appearance panel and icon strings
Adds the 19 new strings to all 32 languages, reusing each language's existing
wording where it has one. Icon size and spacing labels are kept short to fit
the panel's tabs.
* fix(apps): finish loading custom icons before marking them loaded
Two app list refreshes can start together on resume. The second one could
see the overrides as loaded before the first had read them, and build the
list without custom icons.
* feat(home): choose the page the Home button opens
As the Home app, DroidDeck always came back to whichever page was last
open, and a cold start landed on Steam. A new choice under Setup >
Launcher, shown while "Use as Home screen" is on, lets Home open the
Android apps page instead. The default stays Steam, which keeps the
current behaviour.
* fix(home): a Home request for the apps page closes a page open over the rail
* feat(agent): an Agent tab in the launcher that talks to Claude Code outside any session
* feat(agent): the agent in the session drawer and as a bubble over the game
* fix(agent): connect loopback adb, show unread replies, and fit the drawer page to the screen
* feat(agent): first-run setup in the Agent tab, a harness choice with Codex, and no permission prompts
* fix(agent): install helpers off the main thread and offer sign-in only after the install
* fix(agent): connect adb only for commands that use it and run setup checks one at a time
* fix(agent): show why a setup check failed
* fix(agent): each harness has its own setup state and conversation
* fix(agent): start the adb server before connecting and retry the connection check
* fix(agent): switching harness clears the previous harness's setup results
* feat(agent): a header, a composer with send and stop, and Markdown replies in the agent chat
* fix(agent): leave room under the chat composer
* feat(agent): continue the conversation after a Lab build restarts the app
* feat(agent): show and remove what the agent stores in the Linux userland
* fix(agent): the build tools take about 5 GB
* feat(agent): DroidDeck opens on the Agent tab after restarting on a Lab build
* feat(agent): conversation history, model and plan mode, live replies, full tool input and output, processes, attachments, queued messages and a Stop that ends the turn
* fix(agent): check the Lab build less often while nothing is happening
* fix(agent): an old Lab build's progress is not shown as a failure, and a restart counts as success
* feat(agent): rebuild a kept Lab build from Updates, and tidy the chat's tool rows, costs, processes and times
* feat(agent): a setup step that prepares fast Lab builds for the installed version, kept alive while it runs
* fix(agent): the notification names a prepare and shows its percent without repeating the title
* fix(agent): run the agent's Lab builds in the app's own process and continue the conversation that asked after the restart
* fix(agent): setup's prepare runs the build itself instead of handing it to the app
* feat(agent): a turn that ends without a reply says so and offers Retry, the resume is retried once, and each turn's raw output is kept
* fix(agent): keep the previous turn's raw output too
* fix(agent): a resumed Claude Code turn no longer ends at the result for a background task the last run left behind
* fix(agent): install Codex's code-mode host with it, without which Codex runs no commands
* feat(agent): setup and storage collapse into a summary card like Setup's, and Codex tool rows show the command without its shell wrapper
* feat(agent): drop the agent bubble over sessions for now; the drawer keeps the agent
* fix(agent): the Agent tab shows once the Linux runtime is downloaded, even while its proot pack is still being fetched
* fix(agent): before the install brings adb, the connection step checks the app's own pairing instead of failing with adb not found
* fix(agent): proot's binding warnings are not shown as a setup step's reason
* fix(agent): the session drawer's Agent page fills the height under the drawer's header instead of a guess from the screen height
* fix(agent): write the browser and GitHub helpers before every setup step, not only the install
* fix(agent): find Wireless debugging's current port when the saved one no longer answers, so sign-ins open the browser after it restarts
* fix(agent): only take a Wireless debugging port that answers, since mDNS can still advertise an old one
* fix(agent): find a loopback Wireless debugging port by scanning when mDNS advertises none
* fix(agent): keep a Codex turn going through reconnect notices and read gh login's status reliably
* fix(agent): time out hung setup checks and keep their results and actions with their harness
* fix(agent): keep the draft across settings and show the Agent tab once the runtime installs
* fix(agent): keep the backslash when quoting apostrophes in a URL the browser helper opens
* fix(agent): refresh apt's package lists before installing, since a fresh Linux runtime ships without them
* fix(agent): sign-in links open through the app itself, so they work without Wireless debugging
* fix(agent): the connection step passes only when adb really reaches the device, not on adb's own error
* fix(agent): say Wireless debugging isn't reachable instead of adb's error
* fix(agent): keep prompts, tool ids, attachments and retries with their own turn and chat
* fix(agent): the service stops only once foreground, and Rebuild waits for a ready agent
* fix(agent): the Codex install says what it is downloading, so a long download doesn't look stuck
* fix(agent): pass the prompt to both CLIs the way they were tested on devices
* fix(agent): the browser helper uses the running app's files directory, falls back to adb when the app cannot open a link, and the link is not logged
* feat: experimental native userland that runs the Linux side without proot
* fix(native): keep the visible name of link2symlink binaries
* fix(ci): run the native hook build through bash
* fix(native): address review findings in the hook and the ctl fallback
* fix(ctl): use the broadcast fallback only when content is missing
* fix(native): survive Android's seccomp filter in ld.so, libc and posix_spawn children
* docs(native): how to test under Android's seccomp filter
* fix(session): hide an unlistable /sys/bus/pci/devices so libpci does not abort Chromium's GPU init
* fix(native): nested syscall() redirects no longer loop with libblsession's openat2
* fix(native): controllers reach Steam and the install-script evaluator no longer blocks game moves
* fix(native): write the hook's NUL character literals as escapes
* fix(native): proot fast path turns off and greys out while running without proot
* fix(native): D-Bus logins work and Xwayland still admits root once peers read as root
* fix(native): scripts on session mounts outside the rootfs run with the rootfs shell
* fix(native): games on the SD card library start in their own folder
* fix(native): Wine drive links proot made point at their real places
* fix(native): at-calls, uid lookups and relative programs follow the session's mounts
* fix(native): close-from in spawned programs covers what is open at the spawn
* fix(native): service names resolve and the DNS fallback answers what was asked
* build(native): the hook is built with its Go support and tracked by the preload recipe
* fix(native): drive links into identity mounts stay, and relink and seccomp patch failures are logged
* fix(native): seccomp-sim's filter holds every allowed call
* fix(ctl): the broadcast fallback only stands in for a missing content command
* fix(native): pre-2.33 glibc stat calls present owners as root too
* fix(native): res_init and res_ninit call glibc, so Steam's store resolves names
* fix(ci): a preload lock older than a new output rebuilds that group, and generated headers are not hashed
* fix(native): a second seccomp patch run leaves other system calls alone
* fix(native): the terminal and bottom desktop keep proot's environment in a native session
* fix(native): any number of session mounts, and openat2 relative to a mounted folder
* fix(agent): a native command's stdin is written beside its timeout
* fix(ctl): native rejects --env without = and timeouts outside 0-600 s
* fix(native): the resolver fallback has the network's IPv6 servers, and lookups keep the fallback's validation errors
* fix(native): a spawn whose dup2 source close-from closed fails with EBADF
* fix(native): __getcwd_chk checks its buffer, and seccomp-sim -a takes only call numbers
* feat(native): guests see the session hostname from uname and gethostname
* feat(native): the terminal and bottom desktop run without proot
* fix(components): an origin APK without a newer preload output still proves the rest
* fix(native): seccomp-sim -a rejects empty fields
* fix(native): gethostbyname no longer answers failed lookups with Ubuntu and Debian addresses
* feat(native): store installers, root helpers, Comet and Xodus run without proot
* fix(native): the hook finds libraries, preloads and itself through a sandbox's mounts, and ldconfig -C makes its cache
* feat(native): Flatpak sandboxes run without proot, and apply_extra runs without a runtime
* fix(native): remove, glob and nftw take guest paths, and links in a mount are followed as the guest sees them
* fix(native): Flatpak sandboxes get the session's mounts, their libraries' RUNPATHs, and no rootfs-only settings
* fix(native): gethostbyname asks the network's DNS servers, nftw of / gives single slashes, and the library path fits mapped directories
* fix(native): a native process starts in its working directory's real place
* fix(native): the library path given to ld.so holds whole directories only
* fix(native): Wine drive links keep their guest paths, so proot finds the library after a native session
* fix(native): droiddeckctl native prepares the rootfs with the setting off
* fix(native): a SysV segment stays while any process has it attached
* fix(native): DNS lookups ask the network's own servers before public ones
* fix(native): a program's own seccomp traps reach its own SIGSYS handler
* feat(native): run native sessions under a device's own app seccomp filter for testing
* fix(native): SysV attaches and collection take a lock, a failed mark fails the attach, and collection closes its directory
* fix(native): shmat fails when it cannot take the segment lock
* fix(native): the SysV segment lock is retried when a signal interrupts it
* fix(native): process tools see the session's processes as root's
* fix(native): native processes are named after their program, not ld.so
* fix(native): a session's helpers keep the mode the session started in
* fix(native): a keyed SysV segment stays until IPC_RMID
* fix(native): a rootfs link to an absolute guest path is followed in the guest, so Wine finds its z: drive
* fix(native): a sandbox whose loader can't be patched runs under proot
* fix(native): creating a private SysV segment also collects stale ones
* fix(native): a session stopped during startup forgets its mode
* fix(xbox): a native backend is authorized by its process ancestry
* fix(native): Wine's drive links are followed in the guest from any prefix
* fix(native): only the startup that owns the running session publishes its mode
* fix(native): a SysV segment stays until IPC_RMID even after its maker ends
* fix(native): a sandbox mount nested in another mount gets its own place
* fix(native): a sandbox whose mount places can't be made runs under proot
* fix(runtime): an update that brings a new PRoot pack no longer asks to install the runtime again
* A pack-only install recovers an interrupted swap first and falls back to the full install
* fix(library): added and Battle.net games sort by when they were played and installed
Recently played and Recently installed put every added game, Battle.net
games included, at the bottom: nothing recorded a launch or an install time
for them, and the Steam play-time lookup was never reached once an entry had
a game. Launching an added game now records its play time, added games carry
their folder's install time (kept in the library cache), Battle.net installs
report theirs, and a zero time falls through to the next source.
* fix(library): an added game's play time is recorded only after it launches and kept when it is rebuilt
* fix(library): an added game's play time is recorded only when its launch is accepted
* fix(library): an added game's play time is recorded when its session actually starts
* fix(library): an added game's play time is recorded when its session service starts