[SOFT] Universal XML Scraper V2 - Easy Scrape with High Quality picture
-
@moisessdm I don't know what to change, but @screech will tell you that as soon as he reads this.
The only thing I can tell is that flyers are a very new media type so you'll probably first need to add them to the database before scraping. NeoGeo has a few, but general mame games don't. -
Hi @screech you seem to be the goto guy. Are you able to help me?
-
@swandog I missed your question.
You can find instructions to add new roms to the database here:
https://github.com/Universal-Rom-Tools/Universal-XML-Scraper/wiki/Rom-Missing-on-ScreenscraperOnce they are added and associated (works automatically most of the time, although with empty systems it doesn't), you'll be able to scrape them.
-
@moisessdm I took a look at the web api and you'll probably find what you need there:
https://www.screenscraper.fr/webapi.php?alpha=0&numpage=0Just look for flyer
-
@paradadf thanks. Will have a good read tomorrow.
Do you know how to sort the multiple disk issue or is that covered in the article too?
-
@paradadf Hi. I saw this link. The problem is that I'm not finding the address to put in the MIX XML. I tried "<Source_Value> Date/jeu/media/media_flyer/media_flyer_% COUNTRY% </ Source_Value>", for example, and did not work.
-
@moisessdm what about xx instead lf %country%?
-
@paradadf According to the API documentation, xx must be replaced by a variable (xx = "nomcourt" variable of the regionsListe.php API). The% COUNTRY% is a variable to say that the flyer will be downloaded according to the ROM region. I believe the error is in the directory where the images of the flyers are. The directory I'm putting in the XML is wrong or does not yet exist.
-
Is there a way to get it to download png for the images when using the standard profile and downloading video? Right now if you change it from default to png or jpg it will save your video files as jpg or png, and default defaults to jpg. I would like to be able to save images and save 2d box art and wheels as pngs. Obviously you could rename the incorrect extension video files from png or jpg back to mp4 but that isn't ideal.
-
@Furluge There is an option in the Scrape Profile called
<Source_Download_Ext>
so for videos you can set<Source_Download_Ext>mp4</Source_Download_Ext>
, for logos and box-art you can set<Source_Download_Ext>png</Source_Download_Ext>
and for screenshots you can set<Source_Download_Ext>jpg</Source_Download_Ext>
This PasteBin dump is a work-in-progress Scrape Profile I made. It does this:
- scrapes the video as mp4, appends "-video" to the filename and dumps it into the <video> tag within the gamelist.xml so it comes out as
<video>/path-to-media/aladdin-video.mp4</video>
. - scrapes the screenshot as jpg, appends "-screenshot" to the filename and dumps it into the <image> tag within the gamelist.xml so it comes out as
<image>/path-to-media/aladdin-screenshot.jpg</image>
- scrapes the select MIX image as png, appends "-mix" to the filename and dumps it into the <marquee> tag within the gamelist.xml so it comes out as
<marquee>/path-to-media/aladdin-mix.png</marquee>
I designed the MIX image to scrape the logo, box-art and cartridge image, and then format them to a shape that sits around the screenshot. I think it looks good. You can see that MIX Profile here. It's also a work in progress.
The Scrape and MIX Profiles listed above worked great in UXS v5, but I haven't tested them in the new v6, so I make no promises.
- scrapes the video as mp4, appends "-video" to the filename and dumps it into the <video> tag within the gamelist.xml so it comes out as
-
Hello @screech!
Thanks for the awesome tool and your work!
Now I am having a problem hence why I am writing ;)Everything is working great except... Emulationstation is not showing me the information or images.
I do.
- Boot retropie
- Quit ES
- Run your tool
- Scrape (works like a charm).
- The images and xml files are in the correct folder and everything.
- restart ES
- No images or information is shown :(
I noticed that the XML file your tool creates and the XML file the standard ES scraper is creating have a very different layout. Can this be the problem or am I missing something?
Thanks!
-
You said support is not only by money but also by uploading images, logos or anything that might help to improve the database.
Well, I did upload a couple of company logos and system logos.
Now it looks like they accepted the logos but it says Terscreenator as uploader.
I think credit should be given if due unless it is technically not possible to do and only those Top 3-4 guys can upload stuff.
UPDATE: turned out that it was a minor bug that has been taken care off by the screenscraper crew. Awesome guys over there, very quick and friendly. -
@FlyingTomahawk sorry but I have never seen that problem. Everyone I know gets its statistics correctly. And believe me, if that isn't your case, it wasn't intentionally (maybe even a bug).
Please join IRC
https://kiwiirc.com/client/irc.freenode.net/#screenzone
and share your experience with the developers. MarbleMad can track it down and correct it. -
Thanks for your reply.
I am sure it was unintentional. I think I know what happened.
When you upload images there it says Source: there I wrote "Self made, Inkscape, exported to PNG file."
Maybe I should have just simply have written FlyingTomahawkAnyways I am working on a new logo and will upload it when done and then I will just write FlyingTomahawk. Let's see if it works then.
-
UPDATE: It seems to be a bug and it has been taken care of. Those guys are very fast! I just joined the IRC and he already replied within seconds.
Thanks again for pointing me in the right direction.
-
@FlyingTomahawk your're welcome.
One suggestion about your self-made logos. I recommend you to, instead of creating two different version depending on the possible backgrounds, create just the "original" one and add a very small white contour to the graphics. That's very easy done on whatever tools you wanna use and so you have one single logo that can be used anywhere. Otherwise it is very difficult to manage it by the scraper. -
That is a good idea.
-
Hi @screech
First of all I absolutely love your work on UXS and the screenscraper database - amazing stuff! I have a question related to something @hansolo77 mentioned in the MAME thread on UXS.I have all my MAME ROMS listed with not only their names - but the description in the title as well, e.g. 720 degrees rev 1, 720 degrees rev 2 etc etc. These are not in brackets in my setup just part of the name. When I run the UXS setup however it renames these files so now I have multiple 720 degrees all with the same name (720 degrees is just an example, this is true of a lot of my roms such as Street Fighter II etc). So my question is given I have the names how I want them pre-scrape but want to scrape everything else using UXS - artwork, description, year, genre etc etc, is there a way to prevent UXS overwriting the names? I have tried editing one of the xml files in the profile to strip out what I think is the name element, but to no success :-(
Any tips on how to achieve this? This would complete my setup as it only seems to be MAME where I have this issue - all the console scraps work fine!
Thank you...!
-
So I finally got this to work, with 3x threads, and over the course of two days (about 40 hours) scraped all 15,000 or so ROMs...
BIG PROBLEM however - it renamed every single game's name in the RetroPie game menu. Like before I could tell the difference in ROM's between Rev 1 and Rev 2 (or Revision A and B), the difference between the EU version, Asia version, USA, beta version, etc....now everything is just named generic. Like I have three "Castlevania", four "Super Mario Bros", etc. etc. etc. Nothing differentiates the different versions of ROMs now.
If I attempt another 40+ hour scraping convention (like my 6th with this program...), what option should I change so this doesn't happen? Is it:
Options Configuration > Item to Change (Name Format) > Parameter to Change (Filename)
Sidenote: After scraping and rebooting, this is the like 4th SD card where I'm unable to exit to EmulationStation through the RetroPie menu. I just get a black screen no matter how long I wait. Running
killall emulationstation
via SSH kills it and exits me to the Terminal....but this has happened on literally 4 different images of this setup (where every single one BEFORE running Universal XML Scraper were just fine...). -
@Dochartaigh said in [SOFT] Universal XML Scraper V2 - Easy Scrape with High Quality picture:
Sidenote: After scraping and rebooting, this is the like 4th SD card where I'm unable to exit to EmulationStation through the RetroPie menu. I just get a black screen no matter how long I wait. Running
killall emulationstation
via SSH kills it and exits me to the Terminal....but this has happened on literally 4 different images of this setup (where every single one BEFORE running Universal XML Scraper were just fine...).I think Retropie is set to save metadata on exit by default so with 15,000 roms that's going to take a long, long while.
You can disable metadata saving within ES. See the FAQ here: Why does shut down and reboot take ages?
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.