I wrote a script to generate the Emulation Station xml, and thought others might be interested. The only alternative I've found is ES-scraper, which can take multiple days to run if you have thousands of roms. The big advantage of my script is that it runs entirely offline within a couple seconds.
From the readme:
mameGenXml.pl is a perl script that will create the xml for Emulation Station, attempting to populate real game names in place of the often cryptic mame/fba filenames. It will also add references to image files if it finds them in the rom directory. It runs entirely offline which makes it fast. You can use it for console roms as well.
Optional: If you'd like images, I'd suggest using the EmuMovies DSU, which is a free Windows program that will automatically fetch images for your roms within a couple minutes (http://emumovies.com/forums/index.php/f ... ovies-dsu/). Just make sure to copy the downloaded images to the appropriate rom directory on your Pi before running mameGenXml.pl
mameGenXml is available here with instructions if anybody would like to use it:
http://bobtailed-primes.000webhostapp.com/mame/
(edit: updated location)