RetroDECK
RetroDECK copied to clipboard
Add borders and shaders
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.
The work can be followed here: https://trello.com/b/Hwy5jdS0/retrodeck-graphics
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
Another way could be to include this: https://www.libretro.com/index.php/retroarch-introducing-the-mega-bezel/
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>"
- [x] Added borders: https://github.com/XargonWan/RetroDECK/pull/128
- [ ] Shaders
- [ ] Script to enable/disable them
Dupe