Recalbox Forum

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

    .cfg override share folder <> Share_init folder

    Recalbox General
    cfg override share shareinit
    3
    6
    3976
    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.
    • Fudoh
      Fudoh last edited by

      Hey guys,

      aren't all .cfg files from the share folder supposed to override the same files from the share_init folder?

      I'm running recalbox 4.00.beta4 and I'm editing the two shader config files (share/system/configs/shaderset) retro.cfg and scanlines.cfg, but no matter what I do recalbox loads the very same shaders based on those two files (in their share_init version).

      A bug maybe ?

      Thanks in advance for any helpful hints!

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

        Look at shaders path in /recalbox/share/system/configs/retroarch/retroarchcustom.cfg 😉

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

          Thanks!

          I did have a look, but I think that's not what I asked about.

          The video_shader_dir option in the retroarchcustom.cfg file shows to the shader folder in the share_init location. That's where all the glsp files are located and that's alright this way.

          The two .cfg files in the shaderset folder though - they determine which shaders are used in the first place for each system when either scanlines or retro are selected through the GUI.

          I successfully edited the scanlines.cfg and retro.cfg located in share_init/system/configs/shaderset, but because of the read_only file system that's a real nuissance if I want to experiment.

          I'm just wondering what the two files in share/system/configs/shaderset are doing, if editing them has no effect whatsoever. Maybe there's a cfg entry somewhere which I can edit, so recalbox uses the these two files instead of their share_init incarnations.

          And another related question: is there an easy way to add a third or fourth shader preset, so I'm not limited to two shaders available from recalbox's GUI ?

          Again, thanks for any advice!

          Nachtgarm 1 Reply Last reply Reply Quote 0
          • Nachtgarm
            Nachtgarm @Fudoh last edited by Nachtgarm

            @Fudoh To edit the share_init/system/configs/shaderset/retro.cfg you must first remount the partition as writeable.

            mount -o remount,rw /

            You are not limited to any shader, since you can change a shader on the fly while being in a game by pressing Hotkey+R2 or define a shader per core in the recalbox.conf 🙂

            Further you could just add more shaders into /recalbox/share_init/shaders/ and then choose them in game, or define them as described above

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

              Thanks so much! I know about the mount/remount option, I just find it a bit of a nuissance when you you're doing that a lot.

              Thanks for the tip with the cycling through the shaders on the fly. I didn't realize that it accesses all the available shaders. My controller doesn't have enough buttons, so I didn't try that before.

              It would still be GREAT though if I was able to add more shader presets to the recalbox GUI option (not just scanlines and retro). Is there a way ?

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

                There is a way : edit ES code, tweak it, then recompile. I think you should also edit configgen, didn't check

                There are some dev basics on the wiki

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                Want to support us ?

                76
                Online

                98.6k
                Users

                28.1k
                Topics

                187.0k
                Posts

                Copyright © 2021 recalbox.com