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

    Using external repositories for scriptmodules and platforms.cfg

    Scheduled Pinned Locked Moved Ideas and Development
    setupplatforms.cfgemulators
    4 Posts 2 Posters 690 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.
    • G
      George
      last edited by

      Hello,

      I saw that there is a new feature in RetroPie where you can place scripts into an ~/RetroPie-Setup/ext/[reponame]/scriptmodules/ folder. This is a great way to add script modules to RetroPie without messing up the rest of your RetroPie-Setup directory and sometimes preventing you from doing updates.

      I noticed though that if I am adding a new emulator, I will still need to edit the file ~/RetroPie-Setup/platforms.cfg so that emulation station will recognize the file types that are associated with the new emulator. It would be great if one could create a ~/RetroPie-Setup/ext/[reponame]/platforms.cfg, which would be read by the RetroPie-Setup during installation.

      I noticed in helpers.sh there is getPlatformConfig(), but that is only looking in the main configuration directory and the top level script directory.

      Would love to hear some thoughts about this.

      - George

      BuZzB 2 Replies Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @George
        last edited by

        @george I think it's a good point and I overlooked it. I'll see what I can do.

        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
        • BuZzB
          BuZz administrators @George
          last edited by BuZz

          @george although it should be possible for 3rd party modules to add extensions via addSystem (3rd parameter). I'll have a think though - maybe can incorporate multiple platform.cfg files also.

          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
          • G
            George
            last edited by

            Thanks @BuZz! I had forgotten about the addSystem option. I'll have to test that out. Thanks for considering platforms.cfg too.

            - George

            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.