mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 13:26:02 +00:00
feat(steam): adopt game folders found in added libraries (#2317)
* feat: adopt game folders in added Steam libraries * Share the appmanifest builder between steam-library and steam-games * steam: load the shared compatibility module once per run * Guard unreadable game folders during library adoption --------- Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
This commit is contained in:
1 parent
c31f19a9f0
commit
b88b5f6b1d
6 files changed
+262
-4
No files matched your search
@@ -64,6 +64,17 @@ inherit those routes. Managed shortcuts are replaced; user-created shortcuts and
|
||||
unreadable shortcut files are preserved. Both routes use the existing ARM64 Proton
|
||||
registration.
|
||||
|
||||
## Adopting shared library folders
|
||||
|
||||
At every session start, `droiddeck-steam-library` looks through `steamapps/common` of each
|
||||
added library for non-empty folders no manifest names. A folder whose name is the
|
||||
`config.installdir` of exactly one playable app in `appcache/appinfo.vdf` (the `game`
|
||||
type wins over a demo; tools, DLC and ambiguous names are skipped) gets an
|
||||
`appmanifest_<id>.acf` with `Universe=1`, `StateFlags=4` and no build, so Steam verifies
|
||||
the existing files and downloads only what differs. Existing manifests are never
|
||||
rewritten, an app installed in another library is skipped, and only the added library is
|
||||
written to. Ownership is not read before the client runs; Steam enforces the license.
|
||||
|
||||
## Launcher artwork
|
||||
|
||||
The installed Steam game scan lists each game's `appcache/librarycache/<appid>`
|
||||
|
||||
Reference in new issue
Block a user