-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Use the game's icon in Android and Windows shortcuts #10885
Milestone
Comments
Closed
ghost
mentioned this issue
Sep 3, 2021
ghost
mentioned this issue
Jan 12, 2023
Closed
hrydgard
changed the title
Use the game's icon in Android shortcuts
Use the game's icon in Android and Windows shortcuts
Aug 18, 2023
hrydgard
added a commit
that referenced
this issue
May 12, 2024
… PPSSPP's. Since on Windows, shortcuts can't embed icons, we first save the game's icon .png as an .ico in the SAVESTATE folder (there might be a better place, but it also doesn't seem worth it to create a new folder for this). Part of #10885 (Android functionality still missing, for example).
#19139 implements it for Android, but with the limitation that PPSSPP needs to be running in the background while you create the widget (otherwise you'll get the PPSSPP icon like before). I'll try to lift that restriction in the future, but this is enough progress for 1.18. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #10841.
Games have icons, and custom can be set with EXTRA_SHORTCUT_ICON/setIcon.
EDIT by hrydgard: And on Windows, you can use psl->SetIconLocation(..) - but you can't embed the icon in the .link as far as I know, so we need to store generated .ico files in our directory.
The only trick is that the icon isn't quite the right aspect ratio, although the Vita has the same problem and its UI simply centers the icon and hopes for the best. Maybe that's fine?
-[Unknown]
The text was updated successfully, but these errors were encountered: