RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    common-shaders - Unify Directory Structure for RPi and other Platforms?

    Scheduled Pinned Locked Moved Ideas and Development
    x86rpishaders
    2 Posts 2 Posters 1.0k Views
    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.
    • vbsV
      vbs
      last edited by

      I just learned that the shaders repository https://github.com/RetroPie/common-shaderscontains two different branches masterand rpi. For RPis rpiis used and other platforms use master.
      A problem in my opinion is that the directory structure in those branches is not identical. This means that config files referencing shaders with absolute pathes have to be platform specific.

      E.g. the path to the shader crt-pi is on non-RPi-platforms:
      /opt/retropie/emulators/retroarch/shader/retropie/crt-pi.glslp
      but on Rpi it is:
      /opt/retropie/emulators/retroarch/shader/crt-pi.glslp

      So, would it be a good idea to unify the structure?
      I am currently writing a tool to install different presets with shaders and overlays (similar to rp-video-manager) but it won't work on RPi when it uses a different directory structure :(

      BuZzB 1 Reply Last reply Reply Quote 1
      • BuZzB
        BuZz administrators @vbs
        last edited by

        @vbs they were the same before. We flattened the RPI structure so shader previous/next hotkeys worked as they don't work with subfolders

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.