RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Can't Scrape & Save SNES Info

    Scheduled Pinned Locked Moved Help and Support
    scrapping issue
    11 Posts 2 Posters 992 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by

      What image did you use to install RetroPie ?

      However, I will note there is no /home/pi/.emulationstation/gamelists/nes/gamelist.xml directory/file. [...]
      Further, there is no /home/pi/.emulationstation/gamelists/snes/gamelist.xml directory/file

      The gamelist.xml file(s) should be created regardless of whether you scraped or not the system, but if you had a prior gamelist.xml in the ROMs folder, this is where EmulationStation will save it. Did you disable metadata saving from EmulationStation's options ?

      dsquaredD 1 Reply Last reply Reply Quote 0
      • dsquaredD
        dsquared @mitu
        last edited by dsquared

        Hello:

        "What image did you use to install RetroPie ? "

        As I said in my original post I used the "retropie-buster-4.7.12." I know this is not an "official release" but it was the only way I could fix my network problems that persisted over 4 days as I explained here.

        Please Note: While switching to the terminal I saw the following message:

        "Error parsing XML file '/home/pi/.emulationstation/gameslists/snes/gamelist.xml'!
        No document element found"

        This despite my having created the directory and an empty file.

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @dsquared
          last edited by

          @dsquared said in Can't Scrape & Save SNES Info:

          Please Note: While switching to the terminal I saw the following message:
          "Error parsing XML file '/home/pi/.emulationstation/gameslists/snes/gamelist.xml'!
          No document elementfound"
          This despite my having created the directory and an empty file.

          The file should not be empty, hence the error logged. Do you have enough space on your sdcard ?
          Run EmulationStation with the --debug parameter from the command line and reproduce the issue with the scraping, then post the log file from $HOME/.emulationstation/es_log.txt on pastebin.com.

          dsquaredD 1 Reply Last reply Reply Quote 0
          • dsquaredD
            dsquared @mitu
            last edited by

            Thank you for getting back to me. Here is the es_log.txt file pastebin link. It looks like at line 242 - it stops checking for any rom directories after PSX.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @dsquared
              last edited by

              @dsquared said in Can't Scrape & Save SNES Info:

              It looks like at line 242 - it stops checking for any rom directories after PSX.

              No, it doesn't. I don't see any errors related to scraping either and also, the nes gamelist file seems to be fine (whereas you reported earlier that's missing):

              May 07 19:16:01 lvl2: 	Parsing XML file "/home/pi/.emulationstation/gamelists/nes/gamelist.xml"...
              ...
              May 07 19:16:01 lvl1: 	File "/home/pi/RetroPie/roms/nes/Rollergames (Europe).nes" does not exist! Ignoring.
              May 07 19:16:01 lvl1: 	File "/home/pi/RetroPie/roms/nes/U-Force Test (USA).nes" does not exist! Ignoring.
              

              Run EmulationStation again, with the debug parameter, do a - unsuccessful - scrape for the SNES then exit EmulationStation. Take the log again and post it.

              dsquaredD 1 Reply Last reply Reply Quote 0
              • dsquaredD
                dsquared @mitu
                last edited by

                Hello again:

                Yes the NES gamelist.xml seems to have corrected itself. A partial victory!

                I copied 20 SNES roms over to the MicroSD card. They are all in 7z format and in the /home/pi/RetroPie/roms/snes folder.

                I then scraped the ROMS - this time I was successful in scrapping 18 of the 20 games. I consider this progress because I was not scraping anything related to SNES games before now.

                I then restarted emulationstation - but no data/images were saved. (There is no gamelist.xml file in the /home/pi/.emulationstation/gamelists/snes/ folder - as I deleted the empty file I had placed in there.)

                I am attaching my new es_log.txt on pastebin here. I do not see the log recording anything to do with my SNES scrape. Remember in my earlier post, that I said - it stops checking for any ROM directories after PSX. - I suspect something may have got tweaked in this part of ES.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @dsquared
                  last edited by

                  @dsquared said in Can't Scrape & Save SNES Info:

                  I am attaching my new es_log.txt on pastebin here.

                  This doesn't contain the info I was asking - from the scraping and ES shutdown.

                  I do not see the log recording anything to do with my SNES scrape. Remember in my earlier post, that I said - it stops checking for any ROM directories after PSX.

                  You keep saying that, but there's nothing in the logs to support this.

                  • I suspect something may have got tweaked in this part of ES.

                  I don't understand what that means. There's no difference between nes/snes as far as EmulationStation is concerned, they're both systems where the games are stored.

                  dsquaredD 1 Reply Last reply Reply Quote 0
                  • dsquaredD
                    dsquared @mitu
                    last edited by dsquared

                    "This doesn't contain the info I was asking - from the scraping and ES shutdown."

                    I realize that - nothing is being recorded regarding the scraping -despite my scraping the ROMS. - i don't know why it's not there...... I entered the command emulationstation --debug in the terminal and go to scraping the snes games.

                    "You keep saying that, but there's nothing in the logs to support this."

                    Sorry I have been looking at these files for so long - I am getting confused.

                    What I am trying to say is that ES examines each ROM folders - for example "n64" are checked for games. If no games are found ES responds with:

                    (from included file "/etc/emulationstation/themes/carbon/n64/../carbon.xml")
                    could not find file ""
                    May 08 10:07:14 lvl1: System "n64" has no games! Ignoring it.

                    When ES gets to "nes" it responds with:

                    May 08 10:07:14 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/nes/gamelist.xml"...

                    ES seems to go along checking each game system folder and then goes along and scans "sg-1000" and ES responds with:

                    (from included file "/etc/emulationstation/themes/carbon/sg-1000/../carbon.xml")
                    could not find file ""
                    May 08 10:07:14 lvl1: System "sg-1000" has no games! Ignoring it.

                    The next ROM folder is "snes"

                    ES checks "snes" and responds with:

                    May 08 10:07:14 lvl1: Warning from theme "/etc/emulationstation/themes/carbon/snes/theme.xml"
                    (from included file "/etc/emulationstation/themes/carbon/snes/../carbon.xml")
                    could not find file "

                    There is no parsing of a snes/gamelist.xml file or "the System has no games ignoring it "message. It is like it just ignores this folder all together.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @dsquared
                      last edited by

                      @dsquared said in Can't Scrape & Save SNES Info:

                      I realize that - nothing is being recorded regarding the scraping -despite my scraping the ROMS

                      The info I was most interested in is the exit messages, where the metadata saving (writing the info to the gamelist.xml file for a system) takes place.

                      There is no parsing of a snes/gamelist.xml file or "the System has no games ignoring it "message. It is like it just ignores this folder all together.

                      Since there is no System snes has no games message in the log, it means EmulationStation doesn't ignore the folder and there are games there. The lack of Parsing ... gamelist file means there is no gamelist saved yet. Nothing out of the ordinary on a first run, but exiting EmulationStation should save a gamelist file, that's why I asked for a complete log (including ES exiting).

                      dsquaredD 1 Reply Last reply Reply Quote 0
                      • dsquaredD
                        dsquared @mitu
                        last edited by dsquared

                        Thank you for being so patient with me. The problem is solved now. If I believed in gods, I would call you a retropie god. I guess Global Moderator will have to do.

                        "that's why I asked for a complete log (including ES exiting)." I was giving you what ES was producing.

                        • I launched ES from terminal with the command emulationstation --debug

                        • I went and scraped the snes ROMS - data and images were retrieved.

                        • Exited ES and restarted it with just the emulationstation command

                        • copied the es_log.txt file to a rom folder - so I could transfer it to my PC

                        How I fixed the problem:

                        • Moved the SNES ROM's to a folder called SNESBAK

                        • There was no /snes/gamelist.xml file

                        • I found a bucket load of image files in /home/pi/.emulationstation/downloaded_images/snes/ I deleted them all

                        • I rebooted retropie

                        • Copied the snes ROMs from the SNESBAK folder to the snes folder

                        • restarted ES

                        • Tried scraping 10 of the snes ROMS and was succesful

                        • Restarted ES and the 10 ROM's data and images were saved.

                        • Deleted SNESBAK and ROMS

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        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.