How can I relocated AdvMame samples so they don't show in ES Menu
-
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!
-
@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. -
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...
-
@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.
-
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.
-
@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!
-
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.
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.