Right now we use the OSD to show awarded achievements, but that doesn't support images. If we want to be on par with the Retro Achievements emulators with this respect, we must show the images.
Retro Achievements emulators show achievements like consoles do, with them scrolling into view and then going away, just like consoles do, it would be cool if we could do the same.
There is a $20 open bounty on this issue. Add to the bounty at Bountysource.
Indeed, it would be really cool!
In the investigations we were making a few days ago I noticed that all the cheevos badges for a specific game are downloaded when a logged user opens a ROM in the official emulator.
The image files are stored at RACache\Badge\ subdirectory at the emulator's directory structure. The filenames have the following pattern:
cheevonumber.png
cheevonumber_lock.png
Example
03942.png
03492_lock.png
03943.png
03493_lock.png
The files persist after the emulator is finished.
If it helps, here is a ziped version of my RANes\RACache\Badge\ with some images:
Badge.zip
Would we need to use some sort of Overlay component for this?
Either that, either we use some code similar to the OSD code.
I think the main issue is that the images will appear with different sizes depending on the game resolution, i.e. Stella vs. Parallel with a high resolution setting. I don't know how to solve this though. Maybe scale them according to the resolution.
I'm pretty sure on Steam the box that appear when you get an achievement is bigger when you use a low resolution. I dont really see this as an issue, except if it takes all the screen. Also, Isn't The overlay on retroarch is completely independant of the resolution of the game? My two cents about this.
Maybe let the user customize the size of the badge showing on screen?
We can just make these images proportional to the screen height while preserving aspect ratio
Retro Achievement badges are 64x64, but how they will show up in the screen depends on how RetroArch is setup. If you're using a windowed mode and scaling up content, the badge will appear smaller than with no scaling.
@Kivutar yes, making it proportional to the screen height would be the more consistent approach.
This bounty is $60 right now.
Does the title auto-updates?
Has there been any progress on this?
Hmmm well @GameDragon2k did the heavy lifting (the badges are downloaded and stored now), now someone needs to implement it in the OSD
In bountysource this bounty is at $60 now could someone update the title?
And it doesing even shows in the bounties list :/
https://www.bountysource.com/teams/libretro/bounties
Yeah, it's not gonna get done if bounty hunters can't see it, and this would be a really nice addition. Can this be addressed?
I would like a simple but effective design like this one, the only thing is that the badges are too small (64x64), the one in this picture has been upscaled to 128x128, which to me seems like a perfect compromise.

Kinda started working on this

Thank you, it's pretty much the only major flaw regarding retroachievements in retroarch, what style will you use for the graphics ? the mockup i did should make possible even a pretty long description, i don't know if it's feasible though.
I don't know about the style, I'm thinking rectangle with badge and title, that's all.
One think I need to know is that if it's ok for it to be GL only because I'm certainly not gonna do it for every video driver.
Well GL is a pretty good standard API compatible with most hardware, i think it's fine, you can release this feature only GL compatible but in the future it can always be adapted to other APIs.
I don't know about the style, I'm thinking rectangle with badge and title
I think it's very good, I'd just add the description.
Do we have any updates?
If it's really happening soon I'm definitely going to contribute to the bounty, it's the only thing that was bothering me with retroarch. You are amazing @fr500
I don't know about the style, I'm thinking rectangle with badge and title, that's all.
What Iraito posted as a mockup earlier would be perfect.
What Iraito posted as a mockup earlier would be perfect.
Thank you, to be honest i would like to see that design being used too.
I don't have an ETA, I have other stuff to do IRL
I will also gladly contribute $10 to this bounty if an ETA could be provided.
If you want to see this happen just make a contribution and stop asking for ETAs.
This entitle behavior will just annoy the dude.
Also should he really stop all he is doing for 60 bucks??
It's no big deal I'm not like that. But yeah I'm busy with other things.
On Mon, Oct 1, 2018, 12:49 PM pralima87 notifications@github.com wrote:
If you want to see this happen just make a contribution and stop asking
for ETAs.
This entitle behavior will just annoy the dude.
Also should he really stop all he is doing for 60 bucks??—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/libretro/RetroArch/issues/3946#issuecomment-425999974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABpC0BnKQFEB4msQSGuAPMB7AjDGXiW5ks5uglWkgaJpZM4KqZ39
.
In bountysource this bounty is at $80 now could someone update the title?
I would like a simple but effective design like this one, the only thing is that the badges are too small (64x64), the one in this picture has been upscaled to 128x128, which to me seems like a perfect compromise.
I Like.
Some Update for this?
Added another $10 now that we have more eyes on finding a solution. :)
Added $10 as well.
I just remembered the bounty and figured I would post an update here (so that people can see it on BountySource too)
The ground work for such notifications is done (in the form of menu widgets, see #8198), but it had unforeseen consequences that led us to remove it from RetroArch (is basically broke everything).
Now everything is fixed and I'm working on introducing back every widget one by one. Once this is done, I will make an actual achievement notification, with badge, as a menu widget, which will directly solve this issue.
I'm currently sidetracked by adding thumbnails support to ozone though, so no ETA but we're getting there :)
Hey natinusala, that's great to hear! Just wondering, will this be usable from outside of RetroArch?
I'm asking because I'm still looking for a better solution to create notifications for a script I created (see https://github.com/Jandalf81/rclone_script). This script is running on RetroPie and until now creates notifications via ImageMagick to be shown by PNGview. As you might imagine, this is quite clunky...
I suspect the system you are implementing will be usable only by RetroArch itself but asking never hurt anyone... ;-)
No it's tied to RetroArch, it can be seen as an extension of the existing menu drivers
That's what I tought... Thanks for answering and creating this notification system, though! I'm really looking forward to seeing this in action when it's ready. Take your time!
Status update: the notification itself is pretty much done, I just need to add a queue to avoid breaking everything when multiple achievements unlock at the same time.
This is how it turned out: https://twitter.com/natinusala/status/1116365181205008386
It will be available for everyone once menu widgets are finished as a whole, and enabled by default. In the meantime, you can build from source and enable widgets with ./configure --enable-menu_widgets to try it (PR submitted).
Hey @natinusala, thanks for the update. I have a question if you don't mind. Is there any way to change place notification? Don't work well with overlay preset. Sorry for my bad english and thanks again.
There is none currently but be assured that it's planned ;)
@natinusala , sorry for bother you again but the badge notification is not working on RetroArch 1.7.8 (Windows). Do you know anything about this?
What do you mean by "not working"?
@natinusala
Retroarch 1.7.7 - Working fine
Retroarch 1.7.8 - Badge dont show up
Most helpful comment
I just remembered the bounty and figured I would post an update here (so that people can see it on BountySource too)
The ground work for such notifications is done (in the form of menu widgets, see #8198), but it had unforeseen consequences that led us to remove it from RetroArch (is basically broke everything).
Now everything is fixed and I'm working on introducing back every widget one by one. Once this is done, I will make an actual achievement notification, with badge, as a menu widget, which will directly solve this issue.
I'm currently sidetracked by adding thumbnails support to ozone though, so no ETA but we're getting there :)