lutris / lutris

Lutris desktop client
https://lutris.net
GNU General Public License v3.0
7.97k stars 695 forks source link

Platform symbolic icons missing? #3522

Open junglized opened 3 years ago

junglized commented 3 years ago

Hi all,

it looks like wrong icon assosations in side panel. A few platform icons missing from UI although they're present in /home/username/.local/share/lutris/runtime/icons/hicolor/symbolic. I'm running Pop OS 20.04. How can I repair it? Zrzut ekranu z 2021-04-24 22-20-31

mikeclaydon commented 3 years ago

I'm also having this issue, it only affects games that use the Libretro runner, I'm using Pop OS 21.04 if it matters.

junglized commented 3 years ago

Fortunately that is no longer an issue for me on Pop!_OS 21.04 and Lutris 0.5.8.4 installed from Pop Shop.

KuleRucket commented 2 years ago

Some are missing on my Arch install too (from latest git), ubisoft connect source and libretro platform icons are missing image

KuleRucket commented 2 years ago

Actually, I see my issue. The icons are downloaded from https://lutris.net/api/runtimes/icons and the expected icons are not there.

junglized commented 2 years ago

I was wrong. The issue is still there and is not associated with operating system or version of Lutris but with how Libretro runner writes platform names in database. E.g. if you add PlayStation game with Mednafen it creates Sony Playstation platform name and adds icon accordingly, but when you add the same game with Libretro it creates PlayStation (not Sony PlaySattion) platform name and there are no associated icons with this name so we have "no entry" icon, and after updating to 0.5.10 there is a little cube icon (at least on Linux Mint). Similar story with, let's say, SNES games. With Mednafen it's added as Nintendo SNES, and the icon is displayed properly. But when you add the same game with Libretro the name for the platform is Super Nintendo Entertainment System and there are no icons associated with this platform name and generic icon is displayed instead.

The way platform names are being saved in a database need to be changed but I don't know how unfortunately.

Zrzut ekranu z 2022-04-05 16-41-44