EmulationStation Scraper saving html file as image
-
If you only need to update a couple games and just want a picture for now and don't care about the rest of the meta data...
You can download an image from the internet, save it to /configs/emulationstation/downloaded_images/"system"/ (sorry if I got the path wrong but you get the idea).
Then find the associated rom coding in the gameslist.xml file... /configs/emulationstation/gamelists/"system"/
Add the appropriate image path
<path>"image name.jpg"<path/>
You can also rename the rom meta data here that you want.
Restart emulationstation.
-
@Keltron3030 not sure what I am doing wrong but when I edit the gamelist.xml and restart ES, the xml goes back to the original state w/o my changes (yes I am saving my changes!) The changes show when I cat the file, but once I restart ES the changes are reverted.
I ended up moving the new rom to a tmp directory, restarted ES, edited xml file again, moved rom back, restarted ES again now it's happy.
-
Do you have "save meta data on exit" enabled in emulationstation?
I believe that will need to be enabled for the changes to persist.
It should be on by default.
-
Also, make sure there's only 1 entry in gameslist.xml for the rom your working on.
-
@Keltron3030 yea it was the only entry in the xml file. Save meta on exit is on.
pi@retropie:/opt/retropie/configs/all/emulationstation $ more es_settings.cfg | grep -i SaveGamelistsOnExit
<bool name="SaveGamelistsOnExit" value="true" />I wonder if that was actually my problem since I was manually editing the xml while ES was running, it was saving what it had active back to the xml. I bet if I shutdown ES and just did the edit and relaunched it would have been fine. I have a couple others I need to add that I will test that with but that makes sense to me.
-
Funny, I was just thinking the same thing however I'm almost positive that I made changes to XML with emulationstation open. So all I can think is, did you at the same time make a change to the metadata in emulationstation for the rom you were editing? Like an unsuccessful scrape then save. Even saving nothing could trigger a commit of blank entries to the XML file on exit. In this case you're probably right turning off the save metadata on exit and making the changes while running would probably work or making the changes with emulationstation off would probably also work. This is of course all speculation since I haven't thoroughly tested it.
-
@Keltron3030 I did a couple more, they worked fine with ES open while editing. I also added more data to the one that was giving me issues previously (player and release date) and it was there after restart. I'll just chalk it up to zinc whiskers. Hopefully the gamesdb is working soon...
-
Yep, zinc whiskers... 😉 or like I said maybe you saved metadata in emulationstation (failed scrape then save). That could trigger a data write to XML for that entry (albiet a blank one).
Anyway, glad it's working and hopefully dbgames will be up soon and we can forget this nightmare😋
-
@RedZombieHD it should be fixed now, thegamesdb.net admins have promptly fixed the issue and the scraping should be fine.
-
Awesome thanks everyone for the quick fix.
btw @mitu has anyone ever told you your megaman looks like he is playing ping pong... (with the online status)
-
@stoney66 said in EmulationStation Scraper saving html file as image:
megaman looks like he is playing ping pong
Yep, it's all I see in the forums :).
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.