** Do not use this on your MAME or any other arcade gamelist.
This batch file creates a gamelist for a single system at a time and only links images to that xml. No Scraping. For use on RetroPie 3.0 (perhaps later) directory structure. This batch file works in Windows. It must be run from cmd.exe (command line). It requires you to have a folder on your PC with all of the roms you want to link images to. The images need to have the same name (minus file extension) as the roms.
example: Starfox.zip needs Starfox.png
Super Mario RPG.zip needs Super Mario RPG.png
1) Decide what system you would like to generate a gamelist for. On your Raspberry Pi, enter that rom directory (/home/pi/Retropie/rom/<system>) and create a folder named “images”.
2) On your PC, copy the ‘makexml.bat’ file to the folder containing all of the roms that you copied to your Raspberry Pi. Ensure the files are named exactly as they are on your Raspberry Pi. Make sure no additional files are in that folder. Such as ram states and save states.
3) Enter a command line (Windows Key + R, type cmd, press enter) and browse to the folder the roms are located.
Useful commands: dir=directory listing, cd=change directory, c:, d:, e:, etc= change drive focus
4) Once in a command line and inside the folder containing the roms and the makexml.bat, type “makexml <system>”
example: makexml pcengine
5) Exit EmulationStation on your Raspberry Pi. If you do not, EmulationStation will overwrite the new gamelist.xml. Then copy this gamelist.xml to your Raspberry Pi (do not use sudo) to the /home/pi/.emulationstation/gamelists/<system> folder.
Note: I would personally back-up the gamelist.xml that is in that folder before you overwrite it.
6) Type “exit” on your Raspberry Pi to get back into EmulationStation. Alternatively, you can reboot it. “sudo reboot”
You would need to run this batch file in each folder you need a gamelist.xml created. It’s a little annoying, since this is used on Windows, but so much easier than making your own XML.
I hope everything works out well. And I hope this can be useful to some people.
This topic was modified 1 year, 7 months ago by rookervik.