GameBoy touch overlay

Nice! I tried them and the bigger overlays are definitely better for gameplay, nice job man, any chance you could add the forward buttons and the a+b button to those overlays too?

The small ones are still prettier though :slight_smile:

If Retroarch for Android supported haptic feedback for overlays these overlays would be even more perfect. :star_struck:

I hope for haptick feedback too.

There is already A+B button, it is just between A and B, but i just added FastForward (Bottom right) and Rewind (Bottom left).

As always, link in the first post.

Your Overlay inspired this:

It would be cool if someone made a native gba touch overlay like that for RetroArch.

I added the “big” overlay from the OP to the built-in overlay repo, though I had to strip out the branding. I also used a little trick with the alpha_mod option to make some fake animations that are also triggered by the ‘show inputs on overlay’ option. It’s not as good as haptic feedback, but it makes it feel a little more “real”, IMO.

While I was at it, I did the same thing for a GBA touch overlay like the one in the previous post that I had been sitting on for over a year and just never published. It works on 1080p displays with 4x integer scaling.

They’re in the ‘gamepads’ directory, called gb-anim_portrait and gba-anim_landscape.

Holy shit just saw your post hunterk, amazing job!! That’s exactly what I was looking for! You rock!

I’m digging the buttons animations, really cool any way you could update the gb portrait overlay in the misc folder with those too hunterk?

Hi, I use the “big” overlay and have been customising it to fit my needs.

I have now redone the original back image and added a “save” image similar to your other overlays that switch between showing save options etc.

I’m struggling to find documentation on creating overlays, everywhere seems to direct me to https://docs.libretro.com/specs/overlay/ which is a 404.

Would you be able to explain what overlay0_range_mod = 1.0 does?

How did you set up where your buttons were? e.g in the line: overlay0_desc14 = “menu_toggle,0.05000,0.52800,radial,0.041296,0.02323” How did you find 0.05000,0.52800, ? Was it just guesswork or are there tools?

Also I’d like my fast forward button to turn green when active and when I tried toggle_fast_forward|overlay_next (paired with a next_target) it just seemed to display nothing instead of the overlay.

And what about the desc for a mute audio button? Sometimes I’m playing with music and want to easily mute RA.

Thanks in advance to anyone who helps.

There’s been a lot of work on the docs lately, so many old external links are no longer correct. The same doc is here, though: https://docs.libretro.com/development/retroarch/input/overlay/

range_mod lets you keep a button held even if your finger moves away from it. I don’t think 1.0 actually does anything…? That is, I think that just makes it the same size as the visible button.

For the locations, they’re normalized, with 0,0 in the bottom left and 1,1 in the upper-right. So, 0.5,0.5 is in the middle horizontally and vertically, respectively. Beyond that, it’s mostly trial and error.

You can’t turn buttons colors, exactly. The only thing you can do on-press is make something partially or entirely transparent. So, you could put a green image of the button behind the normal version and then when you press it, use an alpha mod to make it fully transparent (i.e., so the green one shows through). Overlay_next moves to the next overlay (i.e., overlayX_descY).

1 Like

Thanks for the link.

Thanks for the info

Yikes wish me luck on the trial and error then!

I like this, similar to the way you make buttons feel responsive with 0.75 default alpha mod and having the buttons as their own images rather than on the default background. However would it work with a toggle fast forward? Otherwise is there a way to have a toggle fast forward button ALSO go to a different overlay? (One where I colour the button green)

Thanks.

Is there a link for what options there are for buttons? e.g menu_toggle, overlay_next. The only way I know of these is by downloading overlays from the repos and scraping through config files in an attempt to understand.

Mainly interested in a toggle for audio.

Thanks.

I’m not sure if all of these work, but many of them should: https://github.com/libretro/RetroArch/blob/8639018976384ae7c816b7cf86616ef64643a393/input/input_driver.c#L335

1 Like

Thanks @ZilogZ92 & @hunterk I made this overlay using your info - unfortunately it doesn’t seem “Undo Save State” & “Undo Load State” are possible to be buttons so they’re useless, oops.

Most changes are obvious but I also added an invisible audio toggle on the “speaker” in the bottom right. I made it visible for a screenshot, see here:

Screenshots are from my S8+ not sure how it will all look on other devices.

Can be downloaded here: https://mega.nz/#F!H4oVjQ7C!4ncY9t6PG9Q3Yr3-aDFU8g

2 Likes

Best overlay I have ever seen.

Sorry for bumping an old thread, but I couldn’t find any info on this, and I’m too new on the forums to create a new thread. I’ve also posted on Reddit, but it has seen little activity.

But to my issue; I’ve run into some issues with trying out this overlay. I can’t seem to change the X/Y position. It won’t even let me edit them. I’ve got the latest RetroArch Plus from the Play store.

Would it be possible to ReUpload from the Normal Version, please. Thanks.

New download link:

Here you will find my updated overlays for modern 21:9 phones, there’s also a new GBA overlay and an upcoming GBA SP overlay

! Thank you very much !

Friend, did you remove the option [Tap on “BATTERY”] [GUIDE OFF] to hide the buttons? Why? I look GORGEOUS in FULLSCREEN with the HIDDEN Buttons! It REALLY looks like a GAMEBOY; Please, if you can, Make a Version like this v1.0 that you had done and put it on your Github. THANKS

Old version is for 16:9 while newest is for 20:9 devices, to maintain aspect ratio of the GameBoy I had to add black bars on top and bottom. I put function buttons (menu, save, load, forward, etc.) there. So there was no reason to hide them as the don’t overlap on the GB anymore.

Anyway I uploaded old 16:9 version on GitHub.

Are you still actively doing these?? Do you take requests? I’ve been looking for whole touch overlays for handhelds, and I’ve seen so many awesome ones done here that only include the screen for RetroArch. They’re really good!

please help. i have used this config:

  • Integer Scale "OFF"
  • Aspect Ratio "Custom"
  • Custom Aspect Ratio (X Position) "0"
  • Custom Aspect Ratio (Y Position) "825"
  • Custom Aspect Ratio (Width) "1080"
  • Custom Aspect Ratio (Height) "972"
  • Crop Overscan (Restart Required) "ON"