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

    How can I relocated AdvMame samples so they don't show in ES Menu

    Scheduled Pinned Locked Moved Help and Support
    advmamesampleses-menu
    7 Posts 4 Posters 4.2k 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.
    • theroamerT
      theroamer
      last edited by theroamer

      Hey all,

      I use advmame as my default emulator in the arcade folder as it works well for most of the games I play. In order to get sounds for games like donkey kong, I have to put the samples in the advmame rom folder. The audio works great but the ES menu shows a mame folder with just the samples folder in it. I'm looking for a way to either hide the advmame folder with the samples. I assume I need to relocate the samples folder and specify that in a configu somewhere. Any help would be greatly appreciated. Thanks!

      1 Reply Last reply Reply Quote 0
      • caver01C
        caver01
        last edited by caver01

        @theroamer I did this exact thing on my system. I made a new directory: /home/pi/RetroPie/BIOS/mame-advmame and put the samples folder inside here. This is similar to how lr-mame2003 does it, so I figured it would be a good location (it's also accessible via SMB shares which makes it easy).

        After you do this move, you need to edit your /opt/retropie/configs/mame-advmame/advmame-1.4.rc file (if you are using 1.4) and find the line that points to the samples directory and update it to the new location, like: /home/pi/RetroPie/BIOS/mame-advmame/samples or wherever you put yours.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        1 Reply Last reply Reply Quote 1
        • G
          gorgar
          last edited by

          I would like to know this as well, another problem with it is i have a full sample folder but not all the games (i am too lazy to just use the ones i have) but the scraper parses this folder as well and it takes forever...

          caver01C 1 Reply Last reply Reply Quote 0
          • caver01C
            caver01 @gorgar
            last edited by

            @gorgar See my post above. Moving this out of the way makes a lot of sense. You just need to edit your .rc file and point to where you put the samples. Same for artwork, if you use it.

            My 4-player cocktail style cabinet built as a custom "roadcase"

            1 Reply Last reply Reply Quote 0
            • theroamerT
              theroamer
              last edited by

              Thanks! While looking at the .rc file I realized that there is a sample folder in the Arcade roms folder as well. I ended up just moving my samples there and removing them from the mame-advmame folder.

              caver01C 1 Reply Last reply Reply Quote 0
              • caver01C
                caver01 @theroamer
                last edited by

                @theroamer Yeah, that's true, but one day you might decide to use the Arcade folder for all of your arcade ROMs, and you are back to the same problem.

                For example, if you end up using FBA for some games (Street Fighter, Metal Slug series, and many others), or lr-mame2003 to take advantage of the excellent shaders in RetroArch, but you still need AdvanceMAME for vector games and trackball games. . . you end up with your arcade games spread out over three different emulators. The Arcade folder solves this by letting you put all of the ROMs in one place (though you must take care not to duplicate/overwrite) and you can choose which emulator to launch per-rom using the runcommand. When you get to that point, you will want to move the Samples folder again!

                My 4-player cocktail style cabinet built as a custom "roadcase"

                1 Reply Last reply Reply Quote 0
                • D
                  darkside1exisle
                  last edited by

                  I did the same thing too except I created a sub-folder within the roms directory and called it mame-samples and edited both the 1.4x and the 0.9x versions of the mame-advmame.rc file and referenced my folder there as I found some of my games were using the 0.94 version while others were using the 1.4 version of the rc file.

                  On the sample path line, I appended the updated folder path to the existing entry.

                  dir_sample /home/pi/RetroPie/roms/mame-advmame/samples:/home/pi/RetroPie/roms/arcade/sample:/home/pi/RetroPie/roms/mame-samples

                  Any new audio samples I'll download will go to this folder instead of within the samples folder of ADV-MAME.

                  The samples work when they're zipped, not extracted.

                  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.