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

    Last Played Collection - Possible to limit?

    Scheduled Pinned Locked Moved Help and Support
    emulationstatiocollectionslastplayed
    65 Posts 9 Posters 13.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.
    • mediamogulM
      mediamogul Global Moderator @pjft
      last edited by mediamogul

      @pjft said in Last Played Collection - Possible to limit?:

      Do you confirm that those are the exact before and after versions of one such path?

      Yes. The image tag for every game that was played after the update was affected in that same way. I corrected them all with a find and replace.

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

      pjftP 1 Reply Last reply Reply Quote 1
      • pjftP
        pjft @mediamogul
        last edited by

        @mediamogul thank you. Interesting.

        What's your ROM path in the gamelist files for one of those ROMs, can you also share it?

        mediamogulM 1 Reply Last reply Reply Quote 0
        • mediamogulM
          mediamogul Global Moderator @pjft
          last edited by

          @pjft

          Sure. Here's 'Cosmo Gang: The Video' from my arcade system gamelist.xml.

          <path>./AdvanceMAME/cosmogng.zip</path>
          

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

          pjftP 1 Reply Last reply Reply Quote 1
          • hiulitH
            hiulit
            last edited by

            Just wanted to let you all know that I've released the script I was talking about on this thread.

            RetroPie Limit Last Played Games: A tool for RetroPie to limit the number of 'last played' games. https://retropie.org.uk/forum/topic/16608/script-retropie-limit-last-played-games

            My little contributions to the RetroPie project:

            • Shell-Script-Boilerplate
            • Fun-Facts-Splashscreens
            • Limit-Last-Played-Games
            1 Reply Last reply Reply Quote 3
            • pjftP
              pjft @mediamogul
              last edited by

              @mediamogul thank you. I take it you don't have one exact before and after path for the images in your specific scenario anymore as you fixed them, but I'll try to dig into it.

              Thanks.

              mediamogulM 1 Reply Last reply Reply Quote 0
              • mediamogulM
                mediamogul Global Moderator @pjft
                last edited by

                @pjft

                Actually, the post here details one such before and after example. Outside of that, everything has been fixed, but the image paths in each affected gamelist.cfg file were all altered in exactly the same way.

                <image>/home/pi/.emulationstation/downloaded_images/
                

                Was altered in each occurrence to

                <image>./ownloaded_images/
                

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

                ClydeC 1 Reply Last reply Reply Quote 0
                • ClydeC
                  Clyde @mediamogul
                  last edited by

                  @mediamogul said in Last Played Collection - Possible to limit?:

                  Was altered in each occurrence to

                  <image>./ownloaded_images/
                  

                  I think you've a typo there (although „ownloaded“ could grow into a nice gamer slang word ;) ).

                  mediamogulM pjftP 2 Replies Last reply Reply Quote 1
                  • mediamogulM
                    mediamogul Global Moderator @Clyde
                    last edited by

                    @clyde

                    Ha, it does look like it would be a typo, but that's just how it was truncated. However, the next time I hear a gamer tell me I was "ownloaded" over my headset, I'm gonna have to ask if his name is Clyde.

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

                    1 Reply Last reply Reply Quote 1
                    • pjftP
                      pjft @Clyde
                      last edited by pjft

                      @clyde no, that's actually correct, it's a big that's changing the paths because it's shortening those strings. I was just trying to figure out if there was a pattern, but mine was different. :)

                      I'll need to test the code.

                      ClydeC 1 Reply Last reply Reply Quote 1
                      • pjftP
                        pjft
                        last edited by

                        I just submitted a fix for the behavior and it has been accepted. You may now update from the dev branch and see if all works well.

                        Thanks.

                        1 Reply Last reply Reply Quote 3
                        • ClydeC
                          Clyde @pjft
                          last edited by

                          @pjft said in Last Played Collection - Possible to limit?:

                          @clyde it's a big

                          I hope that's a typo and not a bug in the "pjft" script. :D

                          pjftP 1 Reply Last reply Reply Quote 0
                          • pjftP
                            pjft @Clyde
                            last edited by

                            @clyde that is indeed a phone induced typo :)

                            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.