RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    MAME cfg Folder Question...

    Scheduled Pinned Locked Moved Help and Support
    mame 2003mame 2003 plusmame 2010
    18 Posts 2 Posters 3.1k 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.
    • TPRT
      TPR
      last edited by

      Is it possible to change where the cfg folder is located for MAME-2003, MAME-2003-plus, and MAME-2010?

      I use subfolders and each subfolder has it's own set of MAME config folders. I'd like all those game configs to be all in one place instead of in 26 different folders, but I don't know what config file sets what folders to look for them in so I can change that to look in central folder for each of those cores.

      Thank you.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        By default, mame2003(-plus) will use the Save folder to create the necessary sub-folders (cfg/artwork/ctrlr/hi/nvram), which - for RetroPie - is the same as the ROM folder.

        You can re-configure the save folder on a per-system basis if you'd like, by modifying the retroarch.cfg in /opt/retropie/configs/<system> , but IMHO would be easier to use a single folder for each arcade emulator, based on the ROMset used, instead of spreading the ROMs from the same version in several folders.

        TPRT 1 Reply Last reply Reply Quote 0
        • TPRT
          TPR @mitu
          last edited by

          @mitu said in MAME cfg Folder Question...:

          By default, mame2003(-plus) will use the Save folder to create the necessary sub-folders (cfg/artwork/ctrlr/hi/nvram), which - for RetroPie - is the same as the ROM folder.

          You can re-configure the save folder on a per-system basis if you'd like, by modifying the retroarch.cfg in /opt/retropie/configs/<system> , but IMHO would be easier to use a single folder for each arcade emulator, based on the ROMset used, instead of spreading the ROMs from the same version in several folders.

          That's actually exactly what I want to do. One folder for each core: mame2003, mame2003-plus, and mame 2010.

          I'll go looking for those configs now to modify. Thank you.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @TPR
            last edited by

            @tpr said in MAME cfg Folder Question...:

            That's actually exactly what I want to do. One folder for each core: mame2003, mame2003-plus, and mame 2010.

            In this case there's no need to configure anything else. Use one folder (arcade) for MAME2003(-plus) and another (mame-libretro) for Mame 2010, each emulator's configuration folders will appear only under the used folder.

            TPRT 1 Reply Last reply Reply Quote 0
            • TPRT
              TPR @mitu
              last edited by

              @mitu said in MAME cfg Folder Question...:

              @tpr said in MAME cfg Folder Question...:

              That's actually exactly what I want to do. One folder for each core: mame2003, mame2003-plus, and mame 2010.

              In this case there's no need to configure anything else. Use one folder (arcade) for MAME2003(-plus) and another (mame-libretro) for Mame 2010, each emulator's configuration folders will appear only under the used folder.

              This is what I'm already doing, but I have my roms broken up into sub-folders, for example:
              /home/pi/RetroPie/roms/arcade/D/mame2003-plus

              And each letter has it's own mame2003, mame2003-plus, and mame2010 folder for the config files.

              How can I get that to be instead be in:
              /home/pi/RetroPie/roms/arcade/mame2003-plus

              I can't seem to find the core config file to tell it a specific folder to look for rom .cfg files.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @TPR
                last edited by

                @tpr said in MAME cfg Folder Question...:

                I can't seem to find the core config file to tell it a specific folder to look for rom .cfg files.

                You can re-configure the save folder on a per-system basis if you'd like, by modifying the retroarch.cfg in /opt/retropie/configs/<system> ...

                TPRT 2 Replies Last reply Reply Quote 0
                • TPRT
                  TPR @mitu
                  last edited by

                  @mitu said in MAME cfg Folder Question...:

                  @tpr said in MAME cfg Folder Question...:

                  I can't seem to find the core config file to tell it a specific folder to look for rom .cfg files.

                  You can re-configure the save folder on a per-system basis if you'd like, by modifying the retroarch.cfg in /opt/retropie/configs/<system> ...

                  I found that file, but all it says is this:
                  input_remapping_directory = "/opt/retropie/configs/mame-libretro/"

                  And that folder doesn't seem to be keeping the config files.

                  mituM 1 Reply Last reply Reply Quote 0
                  • TPRT
                    TPR @mitu
                    last edited by

                    @mitu said in MAME cfg Folder Question...:

                    @tpr said in MAME cfg Folder Question...:

                    I can't seem to find the core config file to tell it a specific folder to look for rom .cfg files.

                    You can re-configure the save folder on a per-system basis if you'd like, by modifying the retroarch.cfg in /opt/retropie/configs/<system> ...

                    And I don't seem to have a <system> folder for each mame core, just a general mame-libretro folder.

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @TPR
                      last edited by

                      @tpr said in MAME cfg Folder Question...:

                      input_remapping_directory = "/opt/retropie/configs/mame-libretro/"

                      Yes, the configuration file is minimal, since it includes the global RetroArch configuration file from /opt/retropie/configs/all/retroarch.cfg.

                      Add your configuration before the #include line:

                      savestate_directory="<your chosen directory>"
                      savefile_directory="<your chosen directory>"
                      
                      TPRT 1 Reply Last reply Reply Quote 0
                      • TPRT
                        TPR @mitu
                        last edited by

                        @mitu said in MAME cfg Folder Question...:

                        @tpr said in MAME cfg Folder Question...:

                        input_remapping_directory = "/opt/retropie/configs/mame-libretro/"

                        Yes, the configuration file is minimal, since it includes the global RetroArch configuration file from /opt/retropie/configs/all/retroarch.cfg.

                        Add your configuration before the #include line:

                        savestate_directory="<your chosen directory>"
                        savefile_directory="<your chosen directory>"
                        

                        Trying now... thank you.

                        TPRT 1 Reply Last reply Reply Quote 0
                        • TPRT
                          TPR @TPR
                          last edited by TPR

                          @tpr said in MAME cfg Folder Question...:

                          @mitu said in MAME cfg Folder Question...:

                          @tpr said in MAME cfg Folder Question...:

                          input_remapping_directory = "/opt/retropie/configs/mame-libretro/"

                          Yes, the configuration file is minimal, since it includes the global RetroArch configuration file from /opt/retropie/configs/all/retroarch.cfg.

                          Add your configuration before the #include line:

                          savestate_directory="<your chosen directory>"
                          savefile_directory="<your chosen directory>"
                          

                          Trying now... thank you.

                          For the location of that retroarch.cfg file....

                          Do I need to make a folder in configs for each of the MAME cores? For example:
                          /opt/retropie/configs.hdmi/mame2003
                          /opt/retropie/configs.hdmi/mame2003-plus
                          /opt/retropie/configs.hdmi/mame2010

                          or should that file stay in:
                          /opt/retropie/configs.hdmi/mame-libretro

                          mituM 1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator @TPR
                            last edited by

                            @tpr said in MAME cfg Folder Question...:

                            Do I need to make a folder in configs for each of the MAME cores? For example:
                            /opt/retropie/configs.hdmi/mame2003
                            /opt/retropie/configs.hdmi/mame2003-plus
                            /opt/retropie/configs.hdmi/mame2010
                            or should that file stay in:
                            /opt/retropie/configs.hdmi/mame-libretro

                            No, the configs folder hosts each system configuration, not the core configuration. It's /opt/retropie/configs/arcade, /opt/retropie/configs/mame-libretro, etc. Configurations for the arcade folder will apply to any Libretro core that's started for the arcade system, not just one.

                            TPRT 2 Replies Last reply Reply Quote 0
                            • TPRT
                              TPR @mitu
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • TPRT
                                TPR @mitu
                                last edited by TPR

                                @mitu said in MAME cfg Folder Question...:

                                @tpr said in MAME cfg Folder Question...:

                                Do I need to make a folder in configs for each of the MAME cores? For example:
                                /opt/retropie/configs.hdmi/mame2003
                                /opt/retropie/configs.hdmi/mame2003-plus
                                /opt/retropie/configs.hdmi/mame2010
                                or should that file stay in:
                                /opt/retropie/configs.hdmi/mame-libretro

                                No, the configs folder hosts each system configuration, not the core configuration. It's /opt/retropie/configs/arcade, /opt/retropie/configs/mame-libretro, etc. Configurations for the arcade folder will apply to any Libretro core that's started for the arcade system, not just one.

                                So here is what I currently have in retroarch.cfg:

                                Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

                                input_remapping_directory = "/opt/retropie/configs/mame-libretro/"
                                savestate_directory= "/pi/RetroPie/roms/arcade/"
                                savefile_directory= "/pi/RetroPie/roms/arcade/"

                                #include "/opt/retropie/configs/all/retroarch.cfg"

                                Yet it is still saving the cfg files to:

                                /home/pi/RetroPie/roms/arcade/A/mame2003-plus/cfg

                                What do I need to do so that all cfg files save to:

                                /home/pi/RetroPie/roms/arcade/mame2003-plus/cfg

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @TPR
                                  last edited by

                                  @tpr said in MAME cfg Folder Question...:

                                  savestate_directory= "/pi/RetroPie/roms/arcade/"
                                  savefile_directory= "/pi/RetroPie/roms/arcade/"

                                  This is an invalid location, this folder doesn't exist - you forgot the /home part.

                                  TPRT 1 Reply Last reply Reply Quote 0
                                  • TPRT
                                    TPR @mitu
                                    last edited by

                                    @mitu said in MAME cfg Folder Question...:

                                    @tpr said in MAME cfg Folder Question...:

                                    savestate_directory= "/pi/RetroPie/roms/arcade/"
                                    savefile_directory= "/pi/RetroPie/roms/arcade/"

                                    This is an invalid location, this folder doesn't exist - you forgot the /home part.

                                    This is what the file currently looks like:

                                    Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

                                    input_remapping_directory = "/opt/retropie/configs/mame-libretro/"
                                    savestate_directory= "/home/pi/RetroPie/roms/arcade/"
                                    savefile_directory= "/home/pi/RetroPie/roms/arcade/"

                                    #include "/opt/retropie/configs/all/retroarch.cfg"

                                    And same results.

                                    cfg files are still being saved to:
                                    /home/pi/RetroPie/roms/arcade/A/mame2003-plus/cfg

                                    1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator
                                      last edited by mitu

                                      In this case, it means MAME2003 does't act like I though and uses the content dir (where the ROM is located) to save those values. I don't have any other ideas, sorry.

                                      TPRT 1 Reply Last reply Reply Quote 0
                                      • TPRT
                                        TPR @mitu
                                        last edited by

                                        @mitu said in MAME cfg Folder Question...:

                                        In this case, it means MAME2003 does't act like I though and uses the content dir (where the ROM located) to save those values. I don't have any other ideas, sorry.

                                        Thank you for your help

                                        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.