Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › little Scraper helper tool
- This topic has 8 replies, 2 voices, and was last updated 9 years, 4 months ago by xenon-777.
-
AuthorPosts
-
08/04/2015 at 15:27 #103365xenon-777Participant
I have write a scraper helper tool and give it out to test. As close-open Beta.
http://www.augusta.de/~jojo/scrapertool.py
Sorry my englisch is to bad to give a long manual (my german to, i have no human lang skill). Read is ok but write …
!!! The Script change Rom name, delete Scraper Data and change the es_config !!! use of on Risk
here is an short Manual in German: http://www.forum-raspberrypi.de/Thread-andere-emulationstation-scraper-tool-zum-testen
I hope a little one of User can test it and give feetback. (You can try google translate, i don’t now how good it work)
08/04/2015 at 18:51 #103382sselphParticipantHi xenon-777,
I read the code and will attempt an English translation:
Usage:
scrapertool.py <command> [optional parameters]Commands:
clean
Remove all scraped data. Accepts an optional parameter, which is the system to clean. ie nes, psx, etc.rename
Renames all files to the name from the scraped data in gamelist.xml. Then removes the scraped data. This should make searching in the future more reliable.all
Remove the platform information from es_systems.cfg. This will tell the scraper to search for the game title on all platforms.org
Rollback the changes made by the ‘all’ command.disk
For PSX add disk information from the file name in to the gamelist.xml This allows you to distinguish between the different disks for the same game.08/04/2015 at 23:05 #103396xenon-777Participantvery very much thank you …
one little error. “disk” Change the title in the gamelist.xml, not the disk file. If it found (D1), (D2) etc. in filename it add ” – Disk 1″. ” – Disk 2″ etc. on the Title in the gamelist.xml.
but thank you very very much.
08/05/2015 at 00:19 #103408sselphParticipantNP, that makes more sense. I updated my original post to avoid confusion.
08/05/2015 at 01:25 #103412xenon-777Participanttanks :)
oh … if i have y here … one question … did your scraper ovrride from the intern scraper found titel?
08/05/2015 at 02:32 #103415sselphParticipantMy scraper, in the default mode, generates a completely new gamelist.xml file and uses the title given in the no-intro or redump database. If the entry was manually added, and not from one of those sources, it uses the title in thegamesdb(similar to the internal scraper). There are several flags to control the behavior.
08/06/2015 at 01:48 #103507xenon-777ParticipantHmmm … you now your scraper work in wrong Direction? The Scraper Data is in ~/.emulationstation . So -append can’t work.
08/06/2015 at 03:29 #103511sselphParticipantThis scraper was designed to run inside or outside a system running emulation station so you have to provide the paths where the roms are, the images should be saved and where those will be on the target system so the gamelist is correct. I prefer having the gamelist and images all contained in the romdir because it makes copying and backing things up easy. The author of emulation station prefers having the 2 separated.
To run it on retropie and use the other paths you’d have to do something like:
PLATFORM=nes
scraper -rom_dir /home/pi/RetroPie/roms/$PLATFORM -image_dir /home/pi/.emulationstation/downloaded_images/$PLATFORM -image_path /home/pi/.emulationstation/downloaded_images/$PLATFORM -output_file /home/pi/.emulationstation/gamelists/$PLATFORM/gamelist.xml08/06/2015 at 04:49 #103514xenon-777Participanthmmm … if you thing thats ok so … ok
Oh … i have add that -disk make savefile-links to the Disk 1 savefile so the save are present at change von disk to disk … and /etc/emulatorstation/es_systems.cfg will not override any more. I make a coston es_systems.cfg in .emulatorstation. And the Parameter are real Parameter with “-” and der is a help output.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.