Closed Anninzy closed 4 months ago
Ah I see. I'll have a look at fixing that, thanks for opening this
Ah, I just found out having a png as box art also causes it to not be detected.
Yeah makes sense I have a lot of those hard-coded. I'll look into that too.
Could you provide me the file for that game at ~/.config/lutris/games/[slug]-[num].yml
?
Also it's entry in ~/.cache/lutris/game-paths.json
if you can, thanks
~/.config/lutris/games/osu-osulazer-1712998316.yml
:
game:
exe: osu.AppImage
game_slug: osu
name: osu!
script:
files:
- appimage: https://github.com/ppy/osu/releases/latest/download/osu.AppImage
game:
exe: osu.AppImage
installer:
- move:
dst: $GAMEDIR
src: appimage
- chmodx: osu.AppImage
slug: osu-osulazer
version: osu!lazer
year: 2007
~/.cache/lutris/game-paths.json
:
{
"1": "/home/owner/Games/osu/osu.AppImage",
...
}
I didn't know there were exe
definitions without the full path either. I believe I've fixed all 3 issues, think the easiest way to get you to test it for me is to merge it and then update rofi-games
(I assume that's what you're using?)
Cool game btw didn't know about it
I didn't know there were
exe
definitions without the full path either. I believe I've fixed all 3 issues, think the easiest way to get you to test it for me is to merge it and then updaterofi-games
(I assume that's what you're using?)
Yup, that is what I'm using.
Cool. I'll merge that, update rofi-games
and get you to test it, if that's alright with you
That's updated now, could you try building it from source? @Anninzy
osu is now shown in rofi-games
, thank you!
Great!
If the
slug
in the game's yaml is different to the game's identifier (which I think isgame_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 isosu-osulazer
, as the library is looking forosu-osulazer.jpg
but the box art incoverart
isosu.jpg
, it's not detected.It'd be great if this is fixed, thanks.