mirror of
https://github.com/Arbitrate3280/LutrisToSunshine.git
synced 2026-11-03 22:30:00 +00:00
[GH-ISSUE #3] Re-work how we're getting games from sources #1
Labels
No labels
bug
bug
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Arbitrate3280/LutrisToSunshine#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Arbitrate3280 on GitHub (Dec 8, 2024).
Original GitHub issue: https://github.com/Arbitrate3280/LutrisToSunshine/issues/3
Check where/how each source stores games info, if it's a db file or a json we should get it from there, should be faster than running commands.
@Seuma commented on GitHub (Jun 18, 2026):
Good to know: For Steam there is a specific file (it's a .vdf file) for it on the users home directory within the steam profile config path, where you can get a list of the steam games installed on the machine. I recall having made something with it. I can add the description and specific coding of the file later on if needed.
Edit: I also could try to create some sort of PoC for steam. I created something to extract games from Moonlight to add it to steam as shortcuts. Parts of the code could be kind of reused.
Edit 2: Nevermind. That vdf file was for shortcuts only. But I think there should be a similar file for installed games. I will try to figure something out.
Edit 3: I just saw that the script is already processing the vdf files as well as the manifests. I think that is already the best way for Steam games.
@Arbitrate3280 commented on GitHub (Jun 26, 2026):
It's been a WHILE since I touched that part of the code, but I think the biggest one and the reason I created this issue was Lutris, if I remember right we're using some lutris command to get a list of it's games instead of reading it from a file and it's probably why it takes a second before returning the game list.
Maybe Bottles and Heroic as well? These were the first 3 added so I think my decision making was poorer then.