Forum Replies Created
-
AuthorPosts
-
brakanjeParticipant
When I hit ctrl+c it interupts just that rom and moves to the next one saddly.
brakanjeParticipantI’m gonna say I think it would be handy if there was a way to interupt the script. :P I’ve been scrapign for like an hour on NES and I’m going to be getting picked up in like half an hour. :P
brakanjeParticipantK so manual mode is working. Not sure why auto mode wouldn’t be. Must be some error with my systems though if all we did was bypassed systems. :P
brakanjeParticipantpi@raspberrypi /ES-scraper $ python scraper.py -pisize -l -v ES-scraper, a scraper for EmulationStation Using Raspberry Pi boxart size: (375px x 350px) Verbose mode enabled. All done! pi@raspberrypi /ES-scraper $
Not sure how much that will help. That is some kind of verbose log indeed. :P
brakanjeParticipantOk I had it running. My putty window crashed I reopened it and tried running your script. “All Done” massive amounts of missing scrapses though. So I delete my gamelist directory and run it again. still “All Done” so I regit it and same thing. I dunno how I could have broken it when I finally had it working. >.<
brakanjeParticipantHrm. When I was at uni we were told that no matter what was in a comment it was valid code as a comment should never be run by any parser/interpreter/compiler. That aside even if those double hyphens are not in a comment your script seems to choke on it probably because it’s still not valid XML it is however needed when passing some Linux directives. Unless of course the ES team wrote their parser to replace something else with the double hyphen needed. But that’s a slightly different topic. :P
Just to be clear this whole time I have not been trying to be needy or demanding. I apologize if I at all came off poorly.
brakanjeParticipantpi@raspberrypi /ES-scraper $ python scraper.py -pisize -l Traceback (most recent call last): File "scraper.py", line 586, in <module> ES_systems = readConfig(config) File "scraper.py", line 90, in readConfig platform = child.find('platform').text AttributeError: 'NoneType' object has no attribute 'text'
Got through all of the errors where your code didn’t like double hyphens and double anpersants and even removed any place where my theme was empty and I’m still getting this error although now it’s not giving me any specifics.
I would suggest that perhaps you rig your parser to ignore comments as that was half the trouble.
brakanjeParticipantI am using a heavily self modified XML that is a combo of the PC xml and the xml that came with the image. As far as me and NP++ can see the XML is valid though. I’ll have a look again to see what may be invalid about it.
brakanjeParticipantlogin as: pi pi@192.168.1.129's password: Linux raspberrypi 3.18.3+ #740 PREEMPT Wed Jan 21 23:55:56 GMT 2015 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jan 22 16:47:59 2015 .~~. .~~. Thursday, 22 January 2015, 5:33:34 pm UTC '. \ ' ' / .' Linux 3.18.3+ armv6l GNU/Linux .~ .~~~..~. : .~.'~'.~. : Filesystem Size Used Avail Use% Mounted on ~ ( ) ( ) ~ rootfs 29G 7.1G 21G 26% / ( : '~'.~.'~' : ) Uptime.............: 0 days, 00h45m51s ~ .~ ~. ~ Memory.............: 64268kB (Free) / 250872kB (Total) ( | | ) Running Processes..: 76 '~ ~' IP Address.........: 192.168.1.129 *--~-~--* The RetroPie Project, www.petrockblock.com pi@raspberrypi /ES-scraper $ python scraper.py -pisize -l Traceback (most recent call last): File "scraper.py", line 586, in <module> ES_systems = readConfig(config) File "scraper.py", line 84, in readConfig config = ET.parse(file) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse tree.parse(source, parser) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse parser.feed(data) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed self._raiseerror(v) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror raise err xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 101, column 237 pi@raspberrypi /ES-scraper $
I am guessing I did something wrong but am not exactly sure what.
brakanjeParticipantAh I did not know about that. Good to know. Thanx
brakanjeParticipantOk I must have done something wrong. I edited the window.cpp and found the splash.svg and replaced it with my splash.svg. After compiling I ran it and while the background color was mine the svg was that of ES. Any tips on what I may have done wrong?
brakanjeParticipantIs there some trick I’m missing to change the font that “Loading…” is rendered in? I can clearly see how to change the color just not the font face.
brakanjeParticipantIn my definition of clone both Puckman and Pacman were clones just to clarify I wasn’t using the official MAME jargon which is probably where we misunderstood eachother. Most people would concider Pacman to be the real game so that is why calling Pacman the clone is just weird.
But anyway editing GAMELIST wouldn’t work as when you reboot ES would rescan and repopulate. My trick is not so much an attempt to trick ES it’s what ES does by default for the ports and such. And would work especially nice for MAME since it wants the filename not the filelocation.
brakanjeParticipantDoesn’t MAME need some clones to function properly? It seems like it’d work better if you tell MAME one folder for toms and ES a different one then put a text file for each non clone game in the es rom folder and tell es that roms are *.TXT. Then it maintains dependencies (like needing Puck-Man for Pac-Man) but only shows one (Pac-Man but not Puck-Man.)
brakanjeParticipantpi@raspberrypi ~ $ ./es_scraper.pl --in-file .emulationstation/gamelists/nes/gamelist.xml --out-file .emulationstation/gamelists/nes/gamelist.xml --downloads .emulationstation/downloaded_images/nes "RetroPie/roms/nes/*" Not an ARRAY reference at ./es_scraper.pl line 49.
I got this error when trying to run after I figured out how to remove the redundant line feed from windows. I am going to research perl and see if i can fix it but as a stay at home mum i may not get around to it so I figured I’d show you what i got.
brakanjeParticipanthow did you remove the boot text?
What I meant to say is that I am trying to figure out how to do this. I read several guides that all say you loose access to the terminal which is not ideal as I want to be able to get into X to manage things and also don’t want to have errors happening blindly.Some method that reroutes all console text to a log file would be ideal i think.
brakanjeParticipantsince 5200 and 7800 are both supported by stella all you need to do is copy the 2600 in the systems menu and change the instances of 26 to 52 or 78 respectively. I just tested it with the 52 and played “2 pak special dark blue wall defender &…” without any issue.brakanjeParticipantHow do you replace the publisher and controller data with pics? that’s bloody awesome. I had thought about using a custom font for the controllers as long as it isnt’ just an int/float so i could have snes mouse and stuff to. :P
brakanjeParticipantYes that grabs the mouse but that doesn’t do anything if the emulator isn’t being told controller 1 or 2 is a mouse.
brakanjeParticipantThank you so much that worked perfectly. And I ended up keeping it I just moved it off the esc so I could actually use other keys too. :P
-
AuthorPosts