Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Shaders

    Recalbox General
    shaders
    2
    6
    3783
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mccoy
      mccoy last edited by

      hi all,i was trying to use shaders in recalbox but i just couldnt make it work,i got a complete pack of shader from my retropie backup and just located this files in recalbox/shader directory then i enable the option in retroarchcuston.cfg and nathing...put a line with shader directory in .cfg and also nathing... so if anyone is using it and could help me to get it working plz do ...

      1 Reply Last reply Reply Quote 0
      • hstampfl
        hstampfl last edited by

        Hi, I can help you. I have implemented a shader solution within version 3.2.9. I am not at home now, I will update you with more informations this evening. Regards Heinz

        I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

        1 Reply Last reply Reply Quote 0
        • mccoy
          mccoy last edited by

          ok thx !!! u think it will also work on 3.2.11?

          1 Reply Last reply Reply Quote 0
          • hstampfl
            hstampfl last edited by

            I have attached my solution. It should work wtih 3.2.11, but I advice to backup first emulatorlauncher.sh before replace it with my files. 1. extract zip file and scp and replace the provided files on your recalbox installation. in /recalbox/share/shader/ you should then have the shader files. (I haven't converted all RetropieShaders yet, more will come later) 2. verify that retroarchsetting.sh and emulatorlauncher.sh is executable. If not execute 'chmod +x <filename>' 3. Copy SHADER Section from recalbox.conf.template to your recalbox When you now execute gb emulator you should now have the green-dot.glslp shader loaded. Each retroarch/libretro core can have loaded his own shader preset file. I have enabled shaders in emulatorlauncher.sh globally. It first looks if a presetfile is defined within recalbox.conf. If not it loads a predefinded default.glslp from _presets folder. Regards Heinz Edit: File was to big. Download it from here: http://www.mpf.li/recalbox_shaders.zip

            I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

            1 Reply Last reply Reply Quote 0
            • mccoy
              mccoy last edited by

              cant find shader section to copy from in recalbox.conf.template just saw Kodi,Wifi,Audio,Xbox controller, GPIO controllers, language and keyboard, updates, Games resolution and emulators choice,another question how can i set it to work with all emulators ? and on retropie i could navigate while playing changing shader pressing m-n on keyboard is that possible on recalbox ?

              1 Reply Last reply Reply Quote 0
              • hstampfl
                hstampfl last edited by

                ups, this was an copy&past error. I wouldn't copy my recalbox.conf and I added the wrong file into the zip. add this to your recalbox.conf at the end:

                # ------------ S - SHADERS ----------- #
                ##Sample: <emu>_shader=<presetfile>.glslp
                ##
                gb_shader=dot-green.glslp
                mastersystem_shader=dot.glslp
                

                It's generally activated on all retroarch/libretro emus within emulationlaucher.sh. In /recalbox/scripts/emulatorlaunch.sh I have enable_shader="$essetting get EnableShader" enable_shader=„true" you need to delete this line with (enable_shader=„true") as soon as the optionssetting via emulationstation is ready. The logic for loading the shaders is now like this: - First it looks if shaders are enabled. - Second it look if a shader for this emulator in recalbox.conf is configured -> shaders/<emulator>/<file>.glslp - Third it looks in shaders/_presets/ if there is a <emulator>_default.glslp - Last but not least it will load when nothing is there default.glslp in shaders/_presets - When Shaders are desibled I do set the video_shader_dir, so the user has the ability to activate the shader via RGUI.

                I started my retro passion in 1985 with my C64.....Today I have a small (retro) console collection including NES, SNES, N64, GC, Wii, WiiU, GB, GBC, GBA, NDS, DSi, 3DS, 3DS XL, 2DS, NEW 3DS, SMS, SMD, SG, SD, XBOX, XBOX360, XBOX ONE, PSone, PS2, PS3, PS4, PSP, PS VITA, VECTREX, C64, AMIGA 600, MIST Board, Turbo Chamäleon

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Want to support us ?

                71
                Online

                98.7k
                Users

                28.1k
                Topics

                187.0k
                Posts

                Copyright © 2021 recalbox.com