RetroDECK icon indicating copy to clipboard operation
RetroDECK copied to clipboard

Add borders and shaders

Open XargonWan opened this issue 2 years ago • 4 comments

I wish to add borders and shaders for the systems that needs it, like the handheld consoles mainly but actually for all the systems that got pretty big black bars.

The shader should resemble the original console screen so the feeling will be like having it in your hand.

In ES-DE there is no way to add a toggle to enable or disable this bezel, so it will enabled by default for the moment. In the future that toggle is planned.

For the moment we may even thing about a tool that can enable or disable these bezels by doing a simple sed in the retroarch.cfg.

This is a concept image of what I wish to achieve. gb

XargonWan avatar Jun 10 '22 21:06 XargonWan

The work can be followed here: https://trello.com/b/Hwy5jdS0/retrodeck-graphics

XargonWan avatar Jun 14 '22 16:06 XargonWan

Implementation idea:

  • borders will be enabled by default in retroarch.cfg
  • a tool will be created to disable/enable the borders, this tool will operate with a sed on retroarch.cfg to edit the border option

XargonWan avatar Jun 15 '22 08:06 XargonWan

Another way could be to include this: https://www.libretro.com/index.php/retroarch-introducing-the-mega-bezel/

XargonWan avatar Jul 10 '22 19:07 XargonWan

This collection of borders is available under the MIT license and seems pretty nice to me personally.

If the following settings are configured in retroarch.cfg (I believe these are defaults anyway), per-core bezels can be configured and used:

auto_overrides_enable = "false" And game_specific_options = "true"

and then per-core settings can be set in

<retroarch root>/config/<core name>/<core name>.cfg

For example, for Snes9x, the file would be in

<retroarch root>/config/Snes9x/Snes9x.cfg

and would contain the line

input_overlay = "<path to SNES9x overlay cfg file>"

icenine451 avatar Sep 12 '22 15:09 icenine451

  • [x] Added borders: https://github.com/XargonWan/RetroDECK/pull/128
  • [ ] Shaders
  • [ ] Script to enable/disable them

XargonWan avatar Sep 21 '22 18:09 XargonWan

Dupe

icenine451 avatar May 10 '23 19:05 icenine451