RetroPie / EmulationStation

A Fork of Emulation Station for RetroPie. Emulation Station is a flexible emulator front-end supporting keyboardless navigation and custom system themes.
Other
863 stars 344 forks source link

resources: update MAME files and resource generator #866

Closed cmitu closed 9 months ago

cmitu commented 9 months ago

Updated the generation script to account for Python 3.12 deprecation of 'datetime.now()'. Re-generated the MAME resource files from the following DATs:

Generated using the follwing script:

#!/usr/bin/env bash

# MAME version
ver=262

# Download DAT files
curl -o fbneo.dat --location 'https://github.com/libretro/FBNeo/raw/master/dats/FinalBurn%20Neo%20(ClrMame%20Pro%20XML%2C%20Arcade%20only).dat'
curl -o mame.7z --location "https://www.progettosnaps.net/download/?tipo=dat_mame&file=/dats/MAME/packs/MAME_Dats_${ver}.7z"
curl -O --location https://github.com/libretro/mame2003-plus-libretro/raw/master/metadata/mame2003-plus.xml

7z e mame.7z "DATs/MAME 0.${ver} (arcade).dat" "DATs/MAME 0.${ver}.dat"

# generate files
## For arcade games and bioses
python3 mameres.py "MAME 0.${ver} (arcade).dat" fbneo.dat mame2003-plus.xml

# save mamenames.xml and mamebioses.xml
mv mamenames.xml mamenames-.xml
mv mamebioses.xml mamebioses-.xml

## For MAME/MESS devices, use the main MAME DAT file
python3 mameres.py "MAME 0.${ver}.dat"

# restore names/bioses
mv mamenames-.xml mamenames.xml
mv mamebioses-.xml mamebioses.xml
A summary comparison between the current and the updated bios/devices/names: list previous 2022 update 2024
Devices 918 1081
BIOS 86 89
Games 35375 36691
pjft commented 9 months ago

Thank you!