Stores: GOG, Epic Games and Amazon Games libraries, installs and cloud saves (#476)

A Stores section (rail, under Games; Setup › Stores gate) with each store's sign-in,
library, storefront shelves and a download queue. Each store has two tabs, Store and
Library, and Library filters to All or Installed; libraries open from a saved copy
and refresh in the background, with install sizes on every card. Games install to internal storage,
or a card chosen at Install time, and are registered in the Steam client as non-Steam
games, so they launch through Steam and droiddeck-proton from either the front end or
the client.

- Downloads: GOG, Epic and Amazon engines in Rust (app/src/main/rust/stores, built by
  cargo-ndk, nothing compiled in the tree). One adaptive fetch core with a latency
  brake, stalled-host handoff and every CDN a store offers. Per-stage progress,
  pause/resume, two-step cancel that deletes, failed downloads kept for retry, a
  foreground service with Wi-Fi and wake locks and notification controls.
- Games tab: store source chips (Steam, GOG, Epic, Amazon, Custom) and store art.
- Epic: per-launch exchange code from the app and from Steam's Play button,
  "Epic sign-in (EOS)", "Launch offline", and a game's web links opened in Android's
  browser for EOS consent. The EOS overlay crashed games and is left out.
- Cloud saves (GOG, Epic): pulled before launch, pushed after the game or the session
  ends, no upload before a first download, conflicts never overwritten, backups both
  ways.
- Logs: every store line redacted; the engine log goes to daily files.
This commit is contained in:
The412Banner authored and GitHub committed 2026-10-09 11:08:17 -04:00
1 parent fe71084f23
commit e99d5f9505
141 files changed
+25539 -73

No files matched your search

+160 -3
View File
@@ -904,11 +904,8 @@
<string name="games_manage_saves">Manage saves</string>
<string name="games_saves">Game saves</string>
<string name="games_import_saves">Import saves…</string>
<string name="games_import_saves_hint">GameHub or Winlator zip. Current saves are backed up first.</string>
<string name="games_export_gamehub">Export as GameHub zip…</string>
<string name="games_export_gamehub_hint">For GameHub and BannerHub</string>
<string name="games_export_winlator">Export as Winlator zip…</string>
<string name="games_export_winlator_hint">For Winlator, WinNative and Bannerlator</string>
<string name="games_open_save_folder">Open save folder</string>
<string name="games_never_played">Never played</string>
<string name="games_runtime_busy_percent">Runtime busy · %1$d%%</string>
@@ -919,6 +916,8 @@
<string name="games_last_played">Last played %1$s</string>
<string name="games_internal">Internal storage</string>
<string name="games_added">Added game</string>
<string name="games_custom">Custom game</string>
<string name="games_store_storage">Games storage</string>
<string name="gpu_auto_hint">The best pair for this GPU, kept up to date</string>
<string name="gpu_manual_hint">Pick a pair yourself</string>
<string name="gpu_checking">Checking for drivers…</string>
@@ -1949,4 +1948,162 @@
<string name="device_info_copied">Copied.</string>
<string name="force_ssbs_title">Force SSBS</string>
<string name="force_ssbs_hint">Keeps a CPU speed setting on that Wine keeps turning off. Can make Windows games faster on Snapdragon 8 Elite; little change seen on older chips. Applies on the next game launch.</string>
<!-- Stores: GOG, Epic Games and Amazon Games -->
<string name="rail_stores">Stores</string>
<string name="source_steam">Steam</string>
<string name="source_added">Custom</string>
<string name="setup_stores">Stores</string>
<string name="setup_stores_show">Show Stores in the rail</string>
<string name="setup_stores_open_on">Open a store on</string>
<string name="setup_stores_speed">Download speed tier</string>
<string name="setup_stores_engine">Stores engine</string>
<string name="setup_stores_engine_chip_ready">● Engine ready</string>
<string name="setup_stores_engine_chip_missing">Not built</string>
<string name="stores_tier_balanced">Balanced</string>
<string name="stores_tier_fast">Fast</string>
<string name="stores_tier_max">Max</string>
<string name="stores_title">Stores</string>
<string name="stores_settings">Stores settings</string>
<string name="stores_settings_eyebrow">Settings</string>
<string name="stores_chip_signed_out">(not signed in)</string>
<string name="stores_tab_store">Store</string>
<string name="stores_tab_installed">Installed</string>
<string name="stores_tab_library">Library</string>
<string name="stores_tab_all">All</string>
<string name="stores_tab_downloads">Downloads</string>
<string name="stores_tab_count">%1$s (%2$d)</string>
<string name="stores_signin">Sign in</string>
<string name="stores_signout_named">%1$s · sign out</string>
<string name="stores_search_catalog">Search the %1$s catalog…</string>
<string name="stores_search_installed">Search installed games…</string>
<string name="stores_search_library">Search your library…</string>
<string name="stores_installed_empty">Nothing installed</string>
<string name="stores_library_loading">Loading</string>
<string name="stores_nothing_matches">No games</string>
<string name="stores_shelves_loading">Loading the store…</string>
<string name="stores_amazon_no_catalog">No catalog</string>
<string name="stores_shelf_new">What\'s new</string>
<string name="stores_shelf_deals">Deals</string>
<string name="stores_shelf_free">Free games</string>
<string name="stores_shelf_trending">Trending</string>
<string name="stores_shelf_library">Your library</string>
<string name="stores_play">Play</string>
<string name="stores_install">Install</string>
<string name="stores_resume_install">Resume install</string>
<string name="stores_install_size">Install · %1$s</string>
<string name="stores_get_free">Get for free</string>
<string name="stores_view_on">View on %1$s</string>
<string name="stores_buy_price">Buy · %1$s</string>
<string name="stores_installed_chip">Installed</string>
<string name="stores_in_library">In library</string>
<string name="stores_free">Free</string>
<string name="stores_resume">Resume</string>
<string name="stores_refresh">Refresh</string>
<string name="stores_show_mature">Show mature content</string>
<string name="epic_card_title">Epic</string>
<string name="epic_card_eos">EOS</string>
<string name="epic_card_offline">Offline</string>
<string name="epic_card_none">Off</string>
<string name="epic_eos">Epic sign-in (EOS)</string>
<string name="epic_offline">Launch offline</string>
<string name="epic_resolve">Resolve Epic sign-in</string>
<string name="store_cloud_saves">Cloud saves</string>
<string name="cloud_upload">Upload to cloud</string>
<string name="cloud_download">Download from cloud</string>
<string name="cloud_none">No cloud saves</string>
<string name="cloud_conflict">Cloud conflict</string>
<string name="cloud_conflict_files">Cloud conflict · %1$d files</string>
<string name="cloud_pending">…</string>
<string name="cloud_keep_cloud">Keep cloud</string>
<string name="cloud_keep_local">Keep local</string>
<string name="cloud_checking">Checking cloud…</string>
<string name="cloud_last_sync">Last sync %1$s</string>
<string name="cloud_never">Not synced yet</string>
<string name="cloud_done">%1$d files</string>
<string name="stores_eyebrow_installed">installed</string>
<string name="stores_eyebrow_library">in your library</string>
<string name="stores_eyebrow_store">store</string>
<string name="stores_in_steam">✓ In Steam</string>
<string name="stores_uninstall">Uninstall</string>
<string name="stores_uninstall_confirm">Press again to uninstall</string>
<string name="stores_launch_not_registered">Steam picks the game up when it next starts; launch it from there, or start Steam now.</string>
<string name="stores_card_proton">Proton</string>
<string name="stores_card_proton_value">Steam\'s choice per game</string>
<string name="stores_card_audio">Audio</string>
<string name="stores_card_audio_value">DirectAudio</string>
<string name="stores_card_components">Components</string>
<string name="stores_card_components_value">FEX, DXVK, VKD3D</string>
<string name="stores_card_engine">Engine</string>
<string name="stores_card_engine_value">%1$s · native</string>
<string name="stores_card_engine_java">%1$s · built-in</string>
<string name="stores_how_it_runs">How it runs</string>
<string name="stores_kv_fetched">Fetched from</string>
<string name="stores_kv_fetched_value">%1$s, with your account</string>
<string name="stores_kv_installed_to">Installed to</string>
<string name="stores_kv_installed_to_value">Games storage (Games/%1$s/%2$s)</string>
<string name="stores_kv_launched_by">Launched by</string>
<string name="stores_kv_launched_by_value">Steam and Proton, the same path as Steam games</string>
<string name="stores_kv_launched_by_epic">Steam and Proton · Epic sign-in per launch, EOS overlay off</string>
<string name="stores_kv_launched_by_amazon">Steam and Proton · Amazon Games Services variables set</string>
<string name="stores_kv_steam">Steam</string>
<string name="stores_kv_steam_on">added to Steam on install (Deck UI + Steam Input)</string>
<string name="stores_downloads_empty">No downloads</string>
<string name="stores_dl_paused">Paused</string>
<string name="stores_dl_queued">Queued</string>
<string name="stores_dl_queued_at">Queued · #%1$d</string>
<string name="stores_dl_cancelled">Cancelled</string>
<string name="stores_dl_failed">Failed</string>
<string name="stores_dl_failed_reason">Failed · %1$s</string>
<string name="stores_dl_stage_percent">%1$s · %2$d%%</string>
<string name="stores_dl_bytes">%1$s / %2$s · %3$d%%</string>
<string name="stores_dl_pause">Pause</string>
<string name="stores_dl_resume">Resume</string>
<string name="stores_dl_cancel">Cancel</string>
<string name="stores_dl_retry">Retry</string>
<string name="stores_dl_clear">Clear</string>
<string name="stores_dl_clear_all">Clear finished</string>
<string name="stores_stage_manifest">Manifest</string>
<string name="stores_stage_download">Download</string>
<string name="stores_stage_verify">Verify</string>
<string name="stores_stage_install">Install</string>
<string name="stores_stage_done">Done</string>
<string name="stores_stage_checking">Checking</string>
<string name="stores_stage_downloading">Downloading</string>
<string name="stores_dl_cancel_confirm">Delete download?</string>
<string name="stores_dl_failed_kept">Failed · %1$s kept</string>
<string name="stores_stage_verifying">Verifying</string>
<string name="stores_stage_installing">Installing</string>
<string name="stores_dl_active_percent">%1$s %2$d%%</string>
<string name="stores_dl_with">%1$s · %2$s</string>
<string name="stores_dl_amount">%1$s / %2$s</string>
<string name="stores_dl_items">%1$d/%2$d files</string>
<string name="stores_download_manager">Download manager</string>
<string name="stores_parallel">Downloads at a time</string>
<string name="stores_install_where">Install to</string>
<string name="stores_install_title">Install %1$s:</string>
<string name="stores_target_internal">Internal</string>
<string name="stores_target_free">%1$s free</string>
<string name="stores_notification_channel">Store downloads</string>
<string name="stores_notification_channel_hint">Shows game download progress and keeps downloads running in the background</string>
<string name="stores_notification_one">Downloading</string>
<string name="stores_notification_many">%1$d downloads</string>
<string name="stores_notification_waiting">Preparing…</string>
<string name="stores_notification_done_channel">Finished store downloads</string>
<string name="stores_notification_installed">%1$s installed</string>
<string name="stores_notification_failed">%1$s download failed</string>
<string name="stores_notification_delete">Delete</string>
<string name="stores_notification_keep">Keep</string>
<string name="stores_login_title">Sign in to %1$s</string>
<string name="stores_login_provider_title">Sign in with your provider</string>
<string name="stores_login_reload">Reload</string>
<string name="stores_login_close">Close</string>
<string name="stores_login_retry">Try again</string>
<string name="stores_login_finishing">Finishing sign-in…</string>
<string name="stores_login_error_network">The sign-in page could not be loaded: %1$s</string>
<string name="stores_login_error_idp_blocked">This provider refuses to sign in from an embedded page. Sign in with your store password instead.</string>
<string name="stores_login_error_http">The sign-in page answered with an error (HTTP %1$d).</string>
<string name="stores_login_error_ssl">The connection to the sign-in page is not secure.</string>
<string name="stores_login_error_verification">The sign-in could not be verified. Try again.</string>
<string name="stores_login_error_generic">Sign-in failed. Try again.</string>
</resources>