Easiest way to merge FBA and Mame on the Arcade folder (?)
-
Hi,
I have a tabletop arcade that I have just finished configuring all the games I wanted.
I have configured them separately on the FBA and the mame (libretro) folders, and I'm now looking to join them all in the Arcade folder.
Does anyone know what is the best strategy to merge them as easily as possible?
I was thinking about merging the two gamelist.xml files into one, but that would not be all, would it?
P.S. - I tried to use the "all games" collection, but it shows the emulator after the name of the game and that is just ugly, so I'll have to get them all in the Arcade folder...
-
@nightshadowpt said in Easiest way to merge FBA and Mame on the Arcade folder (?):
I was thinking about merging the two gamelist.xml files into one, but that would not be all, would it?
You also need to take care of which emulator is used to launch the ROM. This is configured in
/opt/retropie/configs/arcade/emulators.cfg
, where the per-rom emulator configuration is stored. You can see how this would look like by copying one ROM in the arcade folder and them saving - from the Runcommand launch menu - a non-default arcade emulator for the ROM.
After merging the gamelists (and taking care of the paths to images/videos/marquees/etc.), you should also produce a list of overrides you can add to theemulators.cfg
file. -
@NightShadowPT It is possible to auto-populate the file that stores the per-rom configuration,
/opt/retropie/configs/all/emulators.cfg
, using the command line. For the FBA folder, you can use the following:ls -1 RetroPie/roms/fba | sed -e 's/\.zip$//' -e 's/_//g' -e 's/^/arcade_/' -e 's/$/ = "lr-fbalpha"/' >> /opt/retropie/configs/all/emulators.cfg
I suggest backing up your current
emulators.cfg
file before running this command in case it results in spurious entries. -
It worked like a charm... thanks for the code dudleydes.
If anyone else is thinking about doing something similar, please bear in mind that you will also need to copy the Mame configurations (overwrite the mame folder in arcade), otherwise you'll loose your keyboard mappings and other configurations.
Cheers,
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.