rolv-apneseth / lib_game_detector Goto Github PK
View Code? Open in Web Editor NEWA Rust library for detecting and parsing data about games currently installed on the system
License: GNU Affero General Public License v3.0
A Rust library for detecting and parsing data about games currently installed on the system
License: GNU Affero General Public License v3.0
I'm interested in adding support for common modded Minecraft launchers such as Prism, ATLauncher, and CurseForge.
Detecting the modpacks probably won't be difficult, since each launcher has a defined path where it stores modpacks including machine-readable metadata files for each modpack that includes info like the name, version, etc.
My only concern, however, is typically modpacks don't include boxart.
Modpacks from both CurseForge and Modrinth include an icon, and can be pulled from each respective platform's api.
CurseForge lacks any sort of banner or boxart.
Modrinth allows modpack owners to upload a banner, which could potentially be used as the boxart, and pulled from the api.
Something I may personally help implement, and posting here for your thoughts or any ideas folks may have regarding boxart and implementation.
Error output provided in this comment thanks to @zDyanTB
ERROR lib_game_detector::linux::launchers::steam: 221: Error with parsing games from a Steam library.
Library: SteamLibrary { path_library: "/run/media/zdyant/HDII/SteamLibrary", path_steam_dir: "/home/zdyant/.local/share/Steam" }
Error:
Os { code: 2, kind: NotFound, message: "No such file or directory" }
I'm not sure if this is an issue, or just my ignorance.
I'm not able to get lib_game_detector to detect anything other than the steam library using with rofi-games
.
I'm posting the issue here, as rofi-games
seems to be working fine for steam games, so i'm assuming it's a configuration issue on my part or possibly an issue with my environment?
If I understand correctly, as long as the portrait game art is set in lutris, the games should display? i've tried changing to several different variants found at https://www.steamgriddb.com/grids to no avail.
I'm running Arch Linux with Hyprland, currently using the lbonn fork of rofi
, though ive tried all different variants with no luck.
Is there something i'm missing? Do i need to add a specific library to my PATH?
Any help would be greatly appreciated.
If the slug
in the game's yaml is different to the game's identifier (which I think is game_slug
in the yaml file), the box art won't be detected.
I found that this is due to the box art being named as [identifier].jpg
, and the library is looking for box art with [slug].jpg
.
This causes issue if the two are not the same, as in the case with osu's lazer version. Its identifier is set to osu
but the slug is osu-osulazer
, as the library is looking for osu-osulazer.jpg
but the box art in coverart
is osu.jpg
, it's not detected.
It'd be great if this is fixed, thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.