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

New cli options to use lutris service_games #365

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

culain-45124
Copy link
Contributor

Related to #290

I had the same desire to see all my games in Steam, mostly so I could use deckroulette on them. Lutris seemed like an easy linux based option, so I submitted a pull request to add a new CLI option to Lutris that would extract all of a users games, whether they're installed or not.

lutris/lutris#4990

It uses a different table in Lutris so the fields returned are slightly different, but the same -o and -j arguments still work. I've prepared this pull request in case you're interested in adopting the new CLI option, though given the changes if you are interested it might be best to wait until they next put out a release.

List of changes:

  • Adds new option to toggle searching just installed Lutris games (defaults to existing behaviour)
  • Uses the new -a option on the Lutris CLI which returns items from the service_games table instead of games
  • Updated checks and tests to use fields from service_games table
  • Changed launch command to lutris:{game_name} as this installs the game via Lutris, or plays it if already installed.

Please let me know what you think, or if you'd like any changes made.

I was also considering a change to the Shortcut object in https://github.com/PhilipK/steam_shortcuts_util/blob/main/src/shortcut.rs to add a field for service like GOG or EGS to help distinguish if you have the same game across multiple services in Lutris/Playnite etc. It could be set to the name of the platform for single service platforms and be shown next to the game title in BoilR.

@PhilipK
Copy link
Owner

PhilipK commented Aug 23, 2023

Very cool! Good job!

I don't see any problems with the code, and it looks like tests will parse as well.
I think this might as well get merged, and then when Lutris releases the feature BoilR will release a new features shortly after as well.
Will you ping me, if you see that they released it?

@PhilipK PhilipK merged commit bea1d43 into PhilipK:main Aug 23, 2023
4 checks passed
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.

2 participants