Hi I just installed RetroPie on a B model running Raspbian Wheezy and found out that when Scraping from EmulationStation the scraped data was lost on exit.
Also when launching something a list of errors appears, one for each folder you have in .emulationstation/gamelists:
“lvl0: Could not find <gameList> node in gamelist home/pi/.emulationstation/gamelists/**EMULATOR_NAME**/gamelist.xml”
That gave me a clue, checked out xml files in those folders and surprise, they’re blank.
You can solve this by manually adding the required lines in every gamelist.xml file, one for each folder in ~/.emulationstation/gamelists
Required Lines = <?xml version="1.0" ?> <gameList> </gameList>
That’s tedious isn’t it? But wait, we got BASH automation!
Just fire up a terminal and
#NAVIGATE TO GAMELISTS DIRECTORY
cd ~/.emulationstation/gamelists
#FOR EACH SUBDIRECTORY ECHO REQUIRED LINES TO THE gamelist.xml FILE
for F in */; do echo "<?xml version='1.0' ?> <gameList> </gameList>" > ${F}gamelist.xml; done
Thats’ all.
BEWARE You’ll loose any previously scraped data. But if you’re looking at this post probably you already haven’t any.