Using external repositories for scriptmodules and platforms.cfg
-
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 yourRetroPie-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 isgetPlatformConfig()
, 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
-
@george I think it's a good point and I overlooked it. I'll see what I can do.
-
@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.
-
Thanks @BuZz! I had forgotten about the addSystem option. I'll have to test that out. Thanks for considering platforms.cfg too.
- George
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.