Feat: custom games add user-supplied cover image support#1494
Feat: custom games add user-supplied cover image support#1494Catpotatos wants to merge 1 commit into
Conversation
Add cover-art to custom games. User adds their own images. User adds image to custom game folder: "cover" - for both horizontal and vertical images "coverh" - for horizontal images (Hero + background) "coverv" - for vertical images (Capsule + Carrousel) How to use: - Place image with extentions png, jpg, jpeg in main custom game folder. - name it "cover.jpg" for example, it will auto add the image for both horizontal and vertical views. - User can also specify if they want a certain image to only be used by horizonal view or vertical by naming the image "coverh" or "coverv" with any of the supported image extentions.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR implements user-supplied cover image prioritization for custom games. New utility functions discover user-provided hero and capsule cover art in game folders; the app screen and grid card rendering then use these user covers before falling back to SteamGridDB-derived images across hero, capsule, header, and carousel panes. ChangesUser-supplied cover image prioritization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
1 issue found across 3 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
@Catpotatos Thanks for doing this. Speaking of, I've got a branch up also that allows us to choose the shortcut icon via SteamGridDB. (Still requires some testing and adjustments) Branch URL: https://github.com/phobos665/GameNative/tree/feat/steamdb-shortcut-icons I think it might be worth us having a chat and combining that potentially as it could be the best of both worlds for both icons & covers. |
That's quite cool. I wanted a simple way of users adding their own covers, kind of like they can do with Linux handhelds in Rocknix and other platforms. It would be fantastic to have both. The list view already populated on auto prior to this PR, but hero, carousel and capsule were just empty. We could utilise the priority method and have both methods in. Edit:
I will have a test of yours tomorrow, seems quite interesting. |
Amazing to hear. I'll need to return to this once I've cleared my plate, but I'm glad we can both deliver things independently, and then we can always improve on things further once both are merged |


Description
Add cover-art to custom games. User adds their own images.
User adds image to custom game folder:
"cover" - for both horizontal and vertical images
"coverh" - for horizontal images (Hero + background)
"coverv" - for vertical images (Capsule + Carrousel)
How to use:
Flow goes:
"coverh" or "coverv" take prority
then "cover"
then steamdb (already in code)
Recording
Type of Change
Checklist
#code-changes, I have discussed this change there and it has been green-lighted. If I do not have access, I have still provided clear context in this PR. If I skip both, I accept that this change may face delays in review, may not be reviewed at all, or may be closed.CONTRIBUTING.md.Summary by cubic
Add user-supplied cover art for custom games, used across hero/header/capsule/carousel views. Users can drop images in the game’s folder, which take priority over SteamGridDB.
Written for commit a1a5ec4. Summary will update on new commits.
Summary by CodeRabbit
Release Notes