Homepage › Forums › RetroPie Project › Ideas for Further Enhancements › Adding scrapers to ES source? Questions (Was Hey Jools,,,,)
- This topic has 13 replies, 4 voices, and was last updated 8 years, 7 months ago by zerojay.
-
AuthorPosts
-
03/27/2016 at 20:26 #121670daboneParticipant
I’ve been trying to add systems to the scraper, and as Jools said over on github, the issue tracker is not really the place for advice on this.
Where should discussions like this take place?
(And I’m still wondering why my code change doesn’t work on the master, but does on the unstable.)
Later,
dabone03/29/2016 at 04:21 #121784zerojayParticipantThis is fine, really. What were you trying to add?
03/29/2016 at 04:29 #121785daboneParticipantI’ve been trying to add the coco to the scraper, but I’ve hit a wall.
I’ve been adding it to Platform.cpp, Platform.h and GamesDBScraper.cpp.
In PlatformId.h I add line 27
COCO,
In PlatformId.cpp I add line 27
“coco”,
And in GamesDBScraper.cpp I add line 27
(COCO, “TRS-80 Color Computer”)
The strange thing is that this works under the original es from Aloshi, and the unstable branch from retropie, but not in the main. I also did this with the vectrex with the same results, it’s like something else has been added as a check for the platforms but I’m not seeing it in the change logs.
Any suggestions?
03/29/2016 at 06:38 #121793petrockblogKeymasterPlease post a unified diff against RetroPie master branch (via pastebin or similar)
03/29/2016 at 14:00 #121816daboneParticipantIt sees the changes, but when I scrape, it returns no data.
03/29/2016 at 17:18 #121833petrockblogKeymasterok. I think the problem you are having is because we modified the getCleanName function to not strip parentheses and your COCO roms I suspect have data in parentheses? (the games db is quite fussy on input)
A quick fix is to add a removeParenthesis to the scraper code where it calls cleanName, but I think I will add a new FileData function for DisplayName and CleanName, or rename your roms of course.
03/29/2016 at 18:57 #121851daboneParticipantYep, that was it, parentheses in the names.
Works fine with renamed roms, so I don’t feel so dumb now.
Has anyone ever worked out a fix for games like pac-man?
Because of the “-” the game can’t scrape.Thank you.
Later,
dabone03/29/2016 at 19:32 #121860petrockblogKeymastereither it could be worked around in ES by replacing – with ” “, but tbh the gamesdb search probably needs improving.
Why not just use sselph’s scraper which uses checksums and does a much better job ?
03/29/2016 at 19:48 #121864daboneParticipantBecause it doesn’t work on other systems, like atari 5200, vectrex, coco, atari 800, apple2, amiga, etc….. There is still a real need for the original scraper.
The computer ones are the worse, because of multiple different releases of the same program.
My pi setup is very computer centric, being housed in a commodore 64 unit, using the original keyboard, and having a custom coco joystick interface for coco and apple2 games, dual db9 joysticks for atari 2600,800,commodore,amiga and then 2 wireless 360 controllers for newer systems. Currently I’m using a 120GB ssd as storage.
Later,
dabone03/29/2016 at 19:50 #121866herbfargusMemberPerhaps you should submit a request to sselph to improve his scraper as he pulls from the same source- he just does a better job. You could even help him add the hashes for the games.
03/29/2016 at 21:19 #121883petrockblogKeymastera good idea, then everyone can benefit.
03/29/2016 at 21:37 #121885daboneParticipantMy point was that the computer games should be able to scrape by name, not hashes.
03/30/2016 at 02:30 #121910herbfargusMemberhashes are more accurate.
03/30/2016 at 04:44 #121927zerojayParticipantThe MAME stuff in sselph’s scraper seaches by name so it shouldn’t be too difficult to get something similar working for computer systems if needed. Poke him and see what he says.
-
AuthorPosts
- The forum ‘Ideas for Further Enhancements’ is closed to new topics and replies.