Repository navigation
Recomps show their project's art, Show Game Names the game's - #400
Merged
elripalda merged 5 commits intoNov 21, 2026
Merged
Conversation
…e Names The catalog is getting two sets of pictures: the game's in cover/hero/logo/icon and the project's in project_*. Every catalog picture now goes through pickArt: the project's first, the game's for any it lacks, the game's only with Show Game Names. A missing project field is the game's, so today's catalog looks the same. Pictures the player set still win. A game of a series takes the recomp's project picture only when it has no picture of its own.
catalog::art_url makes the launcher's pick (project first, game's with Show Game Names, never the developer's picture) for shortcut and Steam art. A game of a series carries its own project pictures from the catalog only, never from the developer's file. The kept shortcut icon notes the address it came from and is fetched again in place when that changes, so shortcuts that point at it change too.
Turning it on or off rewrites the kept icon of every game that has one (desktop shortcuts and Steam entries point at that file) and the grid pictures of the launcher's games already in Steam. Only the grid folder is written, never shortcuts.vdf, so Steam can stay open.
developer_avatar from the catalog (else their developer page's) is drawn only beside 'By' on a recomp's page, also for a project without a developer page. It's never a picture of the game: pickArt leaves out any picture that is the developer's.
with_game_art copied a game's /media/... paths as they were. fetch_bytes adds the site in front anyway, but the old code made them full addresses on purpose: they are again, for game and project pictures. The avatar check's comments say what it does: a safety net for a picture at the developer's address; the catalog itself takes old avatar icons out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
The catalog is splitting each entry's art: game art stays in
cover,hero,logo,icon(always the game itself), project art comes inproject_cover,project_hero,project_logo,project_icon(the developer's own look, set on their website page), anddeveloper_avatarcomes separately. The launcher now reads both sets. The catalog doesn't publish the new fields yet, and a missing project field means the game's, so today's catalog looks exactly as before.Where each picture comes from now:
pickArtinui/app.js) makes the pick for desktop and Big Picture alike.catalog::art_url), your own pictures first. Project pictures come from the catalog only, never fromrecomplauncher.json.shortcuts.vdf, so Steam can stay open; it shows them once it reloads its pictures).developer_avataris left out of the game and project sets, as a safety net: the catalog itself takes old avatar icons out.Left on game art on purpose: Discord status (it shows the game's name). The ROM Manager isn't touched here.
No change to
recomplauncher.json, its schema or the SDK docs: developers don't set art there.How you tested it
cargo testpasses (windows-vm: 891 passed)node --test tests/*.test.cjspasses (bazzite-kde: 686 passed)npm run dev): not yet. The catalog doesn't publish the new fields yet, so only the fallback path is live today.New tests:
catalog.rsandgames.rs(the pick, the fallback, Show Game Names, no avatar as an icon, project art only from the catalog, a series' games),game-media.test.cjsandgames.test.cjs(the same rules in the window, player pictures winning, the refresh wiring, the developer line).Checklist
recomplauncher.json