What about putting all of the read-only files that are required by each MAME version into some kind of a container format so that they are all bundled together into one file?
Java does this with "JAR" files. It groups class/properties files together into a single file and there's a manifest file included that provides build and versioning info.
Or just compile them into the MAME EXE. Who really cares how big it is?