From 6ea3baddb999345a21a2dc0bd7ab37a5a9f2546a Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Fri, 6 Oct 2017 02:36:44 -0400 Subject: [PATCH] Split FB Alpha into split and merged sets --- libretro-build-database.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libretro-build-database.sh b/libretro-build-database.sh index 4a13caa8..fc8d840d 100755 --- a/libretro-build-database.sh +++ b/libretro-build-database.sh @@ -181,6 +181,14 @@ build_libretro_database() { COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/mame/${1}.dat"' fi + #Check for Final Burn Alpha folders + if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/fba-merged/${1}.dat" ]; then + COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/fba-merged/${1}.dat"' + fi + if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/fba-split/${1}.dat" ]; then + COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/fba-split/${1}.dat"' + fi + #Check if meta libretro-dats folder is there if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/libretro-dats/${1}.dat" ]; then COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/libretro-dats/${1}.dat"' @@ -311,7 +319,7 @@ build_libretro_databases() { build_libretro_database "MAME 2010" "rom.crc" build_libretro_database "MAME 2014" "rom.crc" build_libretro_database "MAME 2016" "rom.crc" - build_libretro_database "FB Alpha - Arcade Games" "rom.name" + build_libretro_database "FB Alpha - Arcade Games" "rom.crc" build_libretro_database "DOOM" "rom.crc" build_libretro_database "Cave Story" "rom.crc" build_libretro_database "Quake1" "rom.crc"