Possibly to combine two gamelists for one console?
-
I'm on Windows 10, running RetroArch and EmulationStation. I had a folder that had all my games scraped, but got more that I want to add to it. I didn't want to rescrape everything, and used a third-party scraper to do so. Now I have two folders for the same console with two gamelist.xml files. Is there a simple way to merge the two into one folder/gamelist.xml file?
-
You can copy the contents of one gamelist into the other, but make sure you omit the start and end tags from the copied file - the lines with
<gamelist>
(at the beginning) and</gamelist>
(at the end).So if the source gamelist is like:
?xml version="1.0"?> <gameList> <game> <path>./Pitfall! (1982) (Activision).rom</path> .... .... </game> </gamelist>
copy just
<game> <path>./Pitfall! (1982) (Activision).rom</path> .... ... </game>
part. Add the copied content just before the
</gamelist>
line in the destination file. Make sure you take a backup of the destination file before you modify it.
After you merge the gamelist, don't forget to copy the actual scraped data to the new folder. -
@mitu got it. i guess my OCD-ness won't like that it's not in alphabetical order unless I manually do it, but I appreciate it
-
@goestohollywood Don't worry about the order in the file: ES is always shuffling that around anyway if you have 'save metadata' enabled. The list SHOULD be in alphabetical order inside ES either way (or else it's conforming to any <sortname> tags you might have).
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.