Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Artwork Selection #757

Merged
merged 13 commits into from
Mar 6, 2023
Merged

Implement Artwork Selection #757

merged 13 commits into from
Mar 6, 2023

Conversation

sonic2kk
Copy link
Owner

@sonic2kk sonic2kk commented Mar 5, 2023

Adds a GUI and command to set the library artwork for a given Steam game based on a passed AppID. It allows for setting the Hero (banner), logo, boxart and tenfoot (recently played banner). It does this by taking some absolute file paths, and putting those files into the Steam Grid directory (~/.local/share/Steam/userdata/<user_id>/config/grid). By default it will --copy the files, but it can also --link or --move them.

If the artwork already exists in the grid folder, it will remove the existing files.

There is no validation on the AppID, as this would be a slow process (and there is currently no way to validate Non-Steam Game AppIDs as they don't come back for owned/installed AppIDs), so if it doesn't exist it will simply create

There is still some work to do on this, but this is the initial implementation for now. In future there could be potential integration with Steam-Metadata-Editor (#467).

image

TODO:

  • GUI Dropdown for selecting how to set art (copy/link/move)
  • Update langfiles
  • Create wiki page for the F1 action

@sonic2kk sonic2kk marked this pull request as ready for review March 5, 2023 22:42
@sonic2kk
Copy link
Owner Author

sonic2kk commented Mar 6, 2023

Fetching game artwork online may go in a separate PR, not sure yet.

@sonic2kk
Copy link
Owner Author

sonic2kk commented Mar 6, 2023

We already have UI integration with SteamGridDB. We can just rely on this if a user wants to use that, it accomplishes basically the same thing except this PR is for local game grid art.

Seems ready to merge pending the wiki page.

@sonic2kk
Copy link
Owner Author

sonic2kk commented Mar 6, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant