As it happens for OVLs multiple BD may be available for the same rom.
Currently mame2003plus can (and will) install just one BD per rom. BD is submitted to mame2003plus repo and those in that folder will be installed during the core installation process.
Actually the installation script will simply copy the contents of the repo artwork folder into the dedicated folder on the pi:
bios/mame2003-plus/artwork/
When launching a rom, mame2003plus looks for a zip file, with the same name of the rom, inside that folder and, if found, uses it.
You script should manage BD similarly to OVL:
check for available BDs, per ROM, by checking the info.txt in my overlay repo in the specific ROM folder. BD are inside of the BD subfolder.
Info.txt should have a: “backdrop=“ parameter. In case of multiple BD they should be separated by ; (same as OVL)
default BD should be named romname.zip, additional romname_1.zip etc
ask user to select the preferred BD
copy corresponding zip from the overlay repo to pi’s destination folder (/bios/mame2003-plus/artwork)
rename the copied file at destination folder to romname.zip
An additional nice function could be BD backup&restore, as current mame2003plus installation overwrites whatever BD it will find in that Pi folder.
Not sure about best method to do this, maybe creating a copy of the actual Pi BD folder in another folder on the Pi and then have an option to copy the files back to the official folder when needed.
As it happens for OVLs multiple BD may be available for the same rom. Currently mame2003plus can (and will) install just one BD per rom. BD is submitted to mame2003plus repo and those in that folder will be installed during the core installation process. Actually the installation script will simply copy the contents of the repo artwork folder into the dedicated folder on the pi: bios/mame2003-plus/artwork/
When launching a rom, mame2003plus looks for a zip file, with the same name of the rom, inside that folder and, if found, uses it.
You script should manage BD similarly to OVL:
check for available BDs, per ROM, by checking the info.txt in my overlay repo in the specific ROM folder. BD are inside of the BD subfolder. Info.txt should have a: “backdrop=“ parameter. In case of multiple BD they should be separated by ; (same as OVL) default BD should be named romname.zip, additional romname_1.zip etc
ask user to select the preferred BD
copy corresponding zip from the overlay repo to pi’s destination folder (/bios/mame2003-plus/artwork)
rename the copied file at destination folder to romname.zip
An additional nice function could be BD backup&restore, as current mame2003plus installation overwrites whatever BD it will find in that Pi folder. Not sure about best method to do this, maybe creating a copy of the actual Pi BD folder in another folder on the Pi and then have an option to copy the files back to the official folder when needed.
THANKS!!