mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 05:46:03 +00:00
Stores: card art that does not fade to white, and real art for store games in Games
GOG's library drew the product's images.background, the store page's fade-out backdrop, which ends in white on a card. The library now takes the Galaxy library art from api.gog.com/v2/games (galaxyBackgroundImage, boxArtImage), cached with the sync; the catalog's product-id filter was tried and is ignored by the service. Epic cards prefer the DieselGameBox images, Amazon the second background and never the logo. Cards draw over a dark surface with a fade into the card at the foot. On install the store's cover and hero are placed in the game folder as opaque JPEGs under the names AddedGameArt looks for, so the Games tab and the client's grid get real art for a store game.
This commit is contained in:
1 parent
61a9a48e70
commit
9f5a2f39cd
8 files changed
+110
-10
No files matched your search
@@ -69,6 +69,17 @@ without it and Setup says "Stores engine not built").
|
||||
redistributables in the prefix as for any shortcut), Epic's Denuvo ownership token and overlay,
|
||||
Amazon's SDK DLL deployment into the prefix (the prefix does not exist before the first launch),
|
||||
cloud saves, and the stores' social tabs - none of them in the preview.
|
||||
- **Card art (device feedback on `61a9a48`, GOG › Library washed out to white):** the GOG library
|
||||
had drawn the product's `images.background` - the store page's fade-out backdrop, white once its
|
||||
alpha is gone. The library now takes `api.gog.com/v2/games/<id>` `_links.galaxyBackgroundImage`
|
||||
(the Galaxy client's dark 16:9 library art) and `boxArtImage` (the vertical cover), cached with
|
||||
the sync (cache key bumped so old caches re-fetch); the catalog's `productId` filter was tried
|
||||
and ignored by the service, so it is one call per owned game. Epic cards prefer `DieselGameBox` /
|
||||
`DieselGameBoxTall` over the offer images; Amazon prefers `backgroundUrl2` and never the logo.
|
||||
Cards draw over a dark surface with a fade into the card at the foot. On install `StoreArt`
|
||||
places `cover.jpg`, `hero.jpg` and `header.jpg` in the game folder, re-encoded as opaque JPEGs
|
||||
over a dark ground, under the names `AddedGameArt` looks for - so the Games tab and the client's
|
||||
grid (through the listing) get real art for store games.
|
||||
- Status: compiles on CI with the JVM and python tests green; nothing device-tested yet - the
|
||||
sign-in pages, a real install, the shortcut landing in the client and the .bat launch under Proton
|
||||
are the first things to prove on hardware.
|
||||
|
||||
Reference in new issue
Block a user