dosbox icon indicating copy to clipboard operation
dosbox copied to clipboard

Feature Request: on-the-fly Toggleable / switchable shaders

Open clort81 opened this issue 6 years ago • 2 comments

I have written a shader to swap out some hated colors on a game, but it breaks some menus.

It would be very nice if the shader could be toggled, or even better if one of several shaders could be selected with a bound hotkey during runtime.

Anyone want to take a shot at this?

clort81 avatar Jan 26 '20 21:01 clort81

Which key would you suggest as the hotkey?

duganchen avatar Jan 26 '20 23:01 duganchen

Looking at https://www.dosbox.com/wiki/Special_Keys And the keymapper (Ctrl-F1) I imagine one of two possibilities.

Ctrl-Alt-[0-9] to select between shader presets 0-9 specified in dosbox.conf

Multiple-shader switching could also be done with an enabling keycombo - e.g. Ctrl-Alt-0 or Alt-F11, then dosbox would capture next number key 0-9 pressed to select the shader corresponding to that number.

This would avoid binding many keycombinations and creating possible interference with Windows or DOS programs.

Cheers!

clort81 avatar Jan 27 '20 04:01 clort81