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

    [IDEA] Use RetroArch's built-in per-ROM config functionality, rather than runcommand and -appendconfig

    Scheduled Pinned Locked Moved Ideas and Development
    runcommandconfigcfgretroarchidea
    11 Posts 6 Posters 5.7k 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.
    • meleuM
      meleu @dankcushions
      last edited by

      @dankcushions

      • if you have 'save config on exit' turned on, your overrides will not migrate into your main .cfg

      This pro is enough to go ahead!! :D

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      1 Reply Last reply Reply Quote 0
      • Z
        Zigurana
        last edited by Zigurana

        I agree that editing the settings from within the RetroArch interface makes a bit more sense, UI-wise.

        Questions :

        • where does RA store those per-game settings?
        • can we access these from anywhere else, for instance from the command line or via SCP?
        • can we provide a conversion from the current per-game cfgs to the other?

        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

        dankcushionsD 1 Reply Last reply Reply Quote 1
        • dankcushionsD
          dankcushions Global Moderator @Zigurana
          last edited by

          @Zigurana said in [IDEA] Use RetroArch's built-in per-ROM config functionality, rather than runcommand and -appendconfig:

          I agree that editing the settings from within the RetroArch interface makes a bit more sense, UI-wise.

          Questions :

          • where does RA store those per-game settings?

          "it will generate a gamename.cfg file in a subdirectory (named after the core) of your config directory"

          eg /opt/retropie/configs/mame-libretro/MAME 2003/pacman.cfg

          • can we access these from anywhere else, for instance from the command line or via SCP?

          they're just text files so sure :)

          • can we provide a conversion from the current per-game cfgs to the other?

          sure - just moving and renaming would do it, which you could do via linux commands.

          Z 1 Reply Last reply Reply Quote 1
          • Z
            Zigurana @dankcushions
            last edited by

            @dankcushions well then, there is not much of a difference is there?
            We can write a conversion script to move any existing cfg from the rom folder to the new /opt/... location, so ppl will not have start from scratch if they have shaders/overlays installed.
            There's probably a couple of Retropie specifics that need to be updated, but some of the @administrators will be able to comment on that.

            What about the use case of someone wanting to switch from one libretto-core to another? He/she will start with a blank config in that case, right?
            Now I think about it, that's probably a good thing, as a different core will also need different configurations.

            I say, its a minor change, with minor impact, and brings some improvements towards the hassle of setting up a game. Good plan!

            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

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

              Thanks - looks good.

              There is another thing to consider with the current method. I have my roms on a network mount, and so any rom overrides affect all systems that use it. With the new method, that would be lost but I don't see why we can't allow for both.

              I will look into it. I would prefer to do the code though (Although not much will be needed I think - mostly just switching it on). I will want to do some testing to make sure it all works etc.

              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 1
              • GreenHawk84G
                GreenHawk84
                last edited by

                I would also enjoy per-rom overlays savable in RetroArch GUI. But maybe that already exists and I can't figure it out. I don't want to do anything complicated. Just let me select an overlay per rom in the GUI. No command line stuff and no .cfg editing.

                dankcushionsD 1 Reply Last reply Reply Quote 0
                • dankcushionsD
                  dankcushions Global Moderator @GreenHawk84
                  last edited by

                  @GreenHawk84 said in [IDEA] Use RetroArch's built-in per-ROM config functionality, rather than runcommand and -appendconfig:

                  I would also enjoy per-rom overlays savable in RetroArch GUI. But maybe that already exists and I can't figure it out. I don't want to do anything complicated. Just let me select an overlay per rom in the GUI. No command line stuff and no .cfg editing.

                  it exists and i describe how in my first post :) if you can't find the option it might only be in later versions of retroarch. i'm not sure how long it's been there.

                  FloobF 1 Reply Last reply Reply Quote 0
                  • GreenHawk84G
                    GreenHawk84
                    last edited by

                    @dankcushions , whatever you can do you simplify Retropie, is great news to me.

                    1 Reply Last reply Reply Quote 0
                    • FloobF
                      Floob @dankcushions
                      last edited by

                      @dankcushions I think the stock RetroArch in RetroPie 4.02 is from July, whereas this change was about 26 Aug.
                      https://github.com/libretro/RetroArch/pull/3429

                      I'll update mine and try it out, although I guess until its within the RetroPie image download most users probably wont come across it as I doubt they would update RetroArch.

                      Please read the Docs before asking a new question.
                      RetroPie Help Guides: https://goo.gl/3gcNsT

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

                        @Floob yeah - it was after the 1.3.6 release - when the next retroarch release is out I will do some testing etc. (well may test before, but it won't be enabled in retropie until after the point release).

                        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.