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 neogeo and batch rename images.

    Scheduled Pinned Locked Moved Help and Support
    neo geocapcommame-mame4all
    9 Posts 4 Posters 3.4k 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
      trekdrop
      last edited by

      Sometimes I can punch my self in the face, I had a perfect retropie up and running and just wanted to change something s now I need to start all over again.

      So I am sorry for asking these questions.

      I can't seem to scrape my neogeo Roms and fba Roms. I have a work around, place it in a empty mame folder and copy everything.. I am probably doing something wrong. I use the scraper outside es of course.

      Second thing, the images aren't that nice from the scraper sometimes. I have flyers from mame games that I want to use. Now I need to rename every file -image. Does someone have a batch rename file?

      It would be so perfect if I can get my pi back to it old self again.

      P 1 Reply Last reply Reply Quote 0
      • P
        paradadf @trekdrop
        last edited by

        @trekdrop what kind of renaming do you need?
        There are actually tons of renaming softwares out there.

        1 Reply Last reply Reply Quote 0
        • T
          trekdrop
          last edited by

          I need to add -image behind every JPEG picture so it will show up in es.

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @trekdrop
            last edited by

            @trekdrop you can use bulk file renamer or there are plenty of Linux examples of doing it through the terminal eg

            http://stackoverflow.com/questions/25122884/appending-a-string-before-file-extension-in-bash-script

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • S
              sselph
              last edited by

              An easy way to rename is the rename command
              rename -n 's/\.jpg$/-image.jpg/' *.jpg
              Remove the -n when the dry run output looks correct. The command just finds .jpg at the end of the file name and replaces it with -image.jpg.

              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 Reply Quote 1
              • T
                trekdrop @sselph
                last edited by

                @sselph

                Nice. This batch file will add -image to every file in the folder.

                Like:

                Batman.jpg

                To:

                Batman-image.jpg

                S 1 Reply Last reply Reply Quote 0
                • S
                  sselph @trekdrop
                  last edited by

                  @trekdrop Yep

                  cd to the image folder then run that command. It will print what it wants to do. If that look right, remove the -n and it will actually do it.

                  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 Reply Quote 0
                  • T
                    trekdrop @sselph
                    last edited by

                    @sselph

                    Hmm.. cant seem to figure out how it works. use lay i use a batch file (that one i cant find).

                    herb_fargusH 1 Reply Last reply Reply Quote 0
                    • herb_fargusH
                      herb_fargus administrators @trekdrop
                      last edited by

                      @trekdrop not a batch file. Would be shell script meant to run on Linux. Or just a command in the Linux terminal.

                      If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                      Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                      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.