Merge pull request #471 from RobLoach/mame-versions

Update MAME DBs for targeted MAME versions
This commit is contained in:
Twinaphex 2017-06-22 19:17:46 +02:00 committed by GitHub
commit fbc8f970ef
7 changed files with 23 additions and 8 deletions

View File

@ -5,7 +5,7 @@ corename = "MAME 2000 (0.37b5)"
manufacturer = "Various"
categories = "Emulator"
systemname = "Arcade (various)"
database = "MAME"
database = "MAME 0.37b5"
license = "MAME"
permissions = ""
display_version = "0.37b5"

View File

@ -5,7 +5,7 @@ corename = "MAME 2003 (0.78)"
manufacturer = "Various"
categories = "Emulator"
systemname = "Arcade (various)"
database = "MAME2003"
database = "MAME 0.78"
license = "MAME"
permissions = ""
display_version = "0.78"

View File

@ -5,7 +5,7 @@ corename = "MAME 2003 Midway (0.78)"
manufacturer = "Various"
categories = "Emulator"
systemname = "Arcade (various)"
database = "MAME2003"
database = "MAME 0.78"
license = "MAME"
permissions = ""
display_version = "0.78"

View File

@ -5,7 +5,7 @@ corename = "MAME 2010 (0.139)"
manufacturer = "Various"
categories = "Emulator"
systemname = "Arcade (various)"
database = "MAME"
database = "MAME 0.139"
license = "MAME"
permissions = ""
display_version = "0.139"

View File

@ -5,7 +5,7 @@ corename = "MAME 2014 (0.159)"
manufacturer = "Various"
categories = "Emulator"
systemname = "Arcade (various)"
database = "MAME"
database = "MAME 0.159"
license = "MAME"
permissions = ""
display_version = "0.159"

View File

@ -5,7 +5,7 @@ corename = "MAME 2016 (0.174)"
manufacturer = "Various"
categories = "Emulator"
systemname = "Arcade (various)"
database = "MAME"
database = "MAME 0.174"
license = "MAME"
permissions = ""
display_version = "0.174"

View File

@ -170,6 +170,17 @@ build_libretro_database() {
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/hacks/${1}.dat"'
fi
#Check for the MAME folders
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/mame-nonmerged/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/mame-nonmerged/${1}.dat"'
fi
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/mame-split/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/mame-split/${1}.dat"'
fi
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/mame/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/mame/${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"'
@ -290,8 +301,12 @@ build_libretro_databases() {
build_libretro_database "VTech - CreatiVision" "rom.crc"
build_libretro_database "VTech - V.Smile" "rom.crc"
build_libretro_database "Watara - Supervision" "rom.crc"
build_libretro_database "MAME" "rom.name"
build_libretro_database "MAME2003" "rom.name"
build_libretro_database "MAME" "rom.crc"
build_libretro_database "MAME 0.37b5" "rom.crc"
build_libretro_database "MAME 0.78" "rom.crc"
build_libretro_database "MAME 0.139" "rom.crc"
build_libretro_database "MAME 0.159" "rom.crc"
build_libretro_database "MAME 0.174" "rom.crc"
build_libretro_database "FB Alpha - Arcade Games" "rom.name"
build_libretro_database "DOOM" "rom.crc"
build_libretro_database "Cave Story" "rom.crc"