PR #449: Harden Steam downloads
Pre-release
Pre-release
PR #449
Title: Harden Steam downloads
Source PR: WinNative-Emu/WinNative#449
Source branch: harden-steam-downloads
Source commit: 1a8b643b0d399535641c3c555ea3882051528f45
Build workflow run: https://github.com/WinNative-Emu/WinNative/actions/runs/26313712816
What This PR Is About
- Persists Steam download byte accounting and rehydrates paused or failed queue rows with their previous status detail.
- Allows Resume All to pick up failed Steam download records that still have resumable progress state.
- Retries transient WN depot transfer failures while force-flushing progress snapshots before the next attempt.
- Rotates CDN edges after three consecutive slow successful chunks and fdatasyncs partial files on cancellation to preserve fast resume paths.
- Wraps completion marker and Room metadata writes so post-transfer storage or database failures do not convert completed files into failed downloads.
- Disables launch/detail Steam actions while downloads or connectivity state make them unsafe, with retry and no-internet UI strings localized across supported languages.
- Adds decimal size and bits-per-second formatting helpers for download display values.
- Validated with
git diff --checkand./gradlew.bat :app:assembleDebug.
Attached Artifacts
- WinNative-Debug-Standard-PR.449-1a8b6.apk
- WinNative-Debug-Ludashi-PR.449-1a8b6.apk
- WinNative-Debug-Pubg-PR.449-1a8b6.apk
Built from source commit 1a8b6.