feat(recomps): Linux recomps become non-Steam games, and Android installs explain failures

Each Linux recomp gets a play script and becomes a native non-Steam
shortcut: written to the session's shortcut listing next to the Epic
launcher, added to a running Steam client at once, and removed with the
recomp. They also show in a Recomps chip in the Library and always start
as the Linux app. Windows recomps were already added games.

An APK without code for the device's CPUs (a 64-bit-only device and a
32-bit-only port) is stopped before Android's prompt, remembered as not
for this device, and skipped when choosing a build. Install failures say
what went wrong, name the game and stay on its page.

Also finds AppImage recomps again: the scan looked one folder too high.
This commit is contained in:
Kurt Himebauch committed 2026-12-01 14:35:07 -05:00
1 parent ed6b123984
commit a56d4e38be
17 files changed
+370 -31

No files matched your search

+33
View File
@@ -108,6 +108,39 @@ The build is chosen in the order linux-arm64 (native), android, linux-x64 (FEX),
with its id, or else its repo, since a higher-ranked catalog can rename an entry. An update installs the
new release first and then deletes the old folder.
## In Steam and the Library
- **Linux recomps** (script apps and AppImages) are non-Steam games (`RecompShortcuts`):
- Each install gets a `play` script beside it that runs `droiddeck-script-run` or the AppImage
launcher, and the catalog's cover and icon are saved there.
- The shortcut is native (no compatibility tool) and its ID is Steam's CRC of the quoted program and
name.
- It is written to the session's shortcut listing next to the Epic launcher, so the next Steam start
has it. It is also added to a running client at once, and removed when the recomp is.
- **Windows recomps** are added games, so they are already non-Steam games.
- **Android apps** cannot be Steam shortcuts and stay in Apps.
- **Library:** Linux recomps also show in a **Recomps** chip, after Custom; it can be hidden like Custom.
Starting one from the Library always runs it as the Linux app, even when DroidDeck launches without
Steam.
## Android installs
- **CPU check:** before Android's prompt, the APK's `lib/<abi>/` folders are checked against
`Build.SUPPORTED_ABIS`. Many newer handhelds (the Pocket FIT included) run 64-bit code only, so a
port that only ships `armeabi-v7a` can never install there. Such an APK is stopped with a sentence
naming both sets of CPUs.
- **Remembered:** the package is recorded in `files/recomps-android/incompatible` (as is one Android
refuses with `NO_MATCHING_ABIS`). Install then picks another build, "Runs natively" stops counting
it, and its build row says "Not for this device".
- **Failures in words, naming the game:**
- wrong CPU;
- another copy signed by someone else;
- a newer version installed;
- not enough space;
- cancelled, blocked, or a damaged APK.
The last failure stays on the recomp's page until the next attempt.
## Game data
PC ports need the original PC game's files, which a store sells. For these entries (Decomp Buddy's "PC