• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

scraper script and screenshots instead of boxart.

Scheduled Pinned Locked Moved Help and Support
6 Posts 4 Posters 3.2k 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.
  • T
    tekn0
    last edited by tekn0 13 Jun 2016, 17:07

    Hello. I was looking at the scraper setup and was wondering if it would be possible to add a screenshot option instead of the boxart by default.

    The flag is -gdb_img="s" to do this.

    So I ran "ps -auex" in a ssh session, and then found the original command the script runs. I added the screenshot flag and reran on the ssh command line shell. It downloaded screenshots and everything seemed fine...

    The only issue is that the images will not display in any theme. They just come up empty. I have verified they are there and the folder structure is in tact checking the xml.

    Any Ideas? I thought it might be a width issue but the max=400 was the same in my command. I tried changing from png to jpg and that did nothing as well.

    I feel going for uniform screenshots instead of boxart scans would yield a much cleaner and more unified look. I have a Pi3 with the newest 3.8.1 build.

    1 Reply Last reply Reply Quote 0
    • S
      sselph
      last edited by 14 Jun 2016, 01:07

      I can't speak about the RetroPie script options but I wrote the scraper. I can't think of anything off the top of my head that would cause that issue and some quick testing seemed to work so I'm going to just ask a ton of questions and some possible suggestions.

      If you scraped before, it doesn't overwrite images so you'll need to clear those out but that doesn't sound like the issue.
      Have you opened one of the images? I'm curious if they have been corrupted in some way.
      Is it showing the other metadata?
      Is there a gamelist in the rom folder? maybe there are conflicting gamelists.
      Can you provide an example of one of the <image></image> tags from the xml?

      Auto-scraper: https://github.com/sselph/scraper
      Donate to Extra-Life 2018 and help save lives: https://goo.gl/diu5oU

      T 1 Reply Last reply 14 Jun 2016, 20:39 Reply Quote 0
      • T
        tekn0 @sselph
        last edited by tekn0 14 Jun 2016, 20:39

        @sselph Thank you for your response. I did sftp into the pi3 and downloaded a few of the images. They all displayed fine on my pc. No noticeable issues. I also deleted the images folder and re-downloaded several times with different command-line flags and no matter what variations I tried "-thumb settings" etc I could not get them to display.

        All of the other metadata is in tact and displays fine. Just the pictures are missing. I did not check for a games list in the roms folder. I will have to check again. I only checked the default location where all the games list live. I think it was in the pi home dir in .emulationstation in the "nes" folder in my testing.

        I will retry again this evening and supply one of the xml entries. Also the way they implemented your scraper into the retropie setup script works really well.

        Thanks again :)

        1 Reply Last reply Reply Quote 0
        • T
          tekn0
          last edited by 15 Jun 2016, 14:43

          I re-flashed and started over. It seems everything is ok now. Screenshots are displaying correctly. Using this command and nes for the test.

          sudo -u pi /opt/retropie/supplementary/scraper/scraper -image_dir /home/pi/.emulationstation/downloaded_images/nes -image_path /home/pi/.emulationstation/downloaded_images/nes -output_file /home/pi/.emulationstation/gamelists/nes/gamelist.xml -rom_dir /home/pi/RetroPie/roms/nes -workers 4 -skip_check -max_width 400 -use_gdb -gdb_img="s"

          Thank you again for your assistance and awesome scraper.

          V 1 Reply Last reply 4 Apr 2018, 03:04 Reply Quote 0
          • V
            vaylen @tekn0
            last edited by 4 Apr 2018, 03:04

            @tekn0 I have nearly the same issue with seeing some of the images on my retropie set up. My NES, Megadrive, N64, Atari2600 all work, but SNES just shows black instead of the image created. The images are in the right place (\opt\retropie\configs\all\emulationstation\downloaded_images\snes) just like the other images that show up correctly in their respective downloaded_images<system> directories. The gamelist.xml file in gamelists\snes\ has all the entries which point to /home/pi/.emulationstation/downloaded_images/snes/ for the <image> entries (just like they do for the other working systems). I'm not sure what to do to get the images to show up. I tried uninstalling and re-installing the snes emulator modules. I think originally I had images in home\pi\RetroPie\roms\snes\images\ but I deleted that directory. Is there a chance something is still pointing to that directory instead of to the emulationstation\downloaded_images\snes\ directory?

            M 1 Reply Last reply 4 Apr 2018, 03:07 Reply Quote 0
            • M
              mediamogul Global Moderator @vaylen
              last edited by 4 Apr 2018, 03:07

              @vaylen

              Please open up a new thread and follow the advice in https://retropie.org.uk/forum/topic/3/read-this-first being sure to give as much information as possible.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              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.

                This community forum collects and processes your personal information.
                consent.not_received