RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    [SCRIPT] RetroPie Limit Last Played Games

    Scheduled Pinned Locked Moved Projects and Themes
    shell scriptlast playedgameslimit
    57 Posts 5 Posters 6.0k 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.
    • M
      MadHorse
      last edited by

      Hi @hiulit I'm here again, unfortunately for another bug.
      Usually in the gamelist.xml the & character is written as &, probably there is something tricky with the escape of & because after you execute the script, it will transform it to &, if you execute it another time you will get &
      I'm so sorry to bring you bad news.

      hiulitH 1 Reply Last reply Reply Quote 1
      • hiulitH
        hiulit @MadHorse
        last edited by

        @madhorse Hey! Yeah, totally my bad... Such a noob thing to do :( Or in this case, NOT to do..

        I only check for unescaped & because in one of your gamelist.xml there were a lot of them and the software that parses the xml, which is xmlstarlet, was crashing because of that. So I assumed that scrapers would always add the unescaped & and I didn't take into account that it was possible for some scrapers to have the escaped version &.

        I'll fix it asap.

        Thanks for the heads up! ;)

        My little contributions to the RetroPie project:

        • Shell-Script-Boilerplate
        • Fun-Facts-Splashscreens
        • Limit-Last-Played-Games
        1 Reply Last reply Reply Quote 0
        • hiulitH
          hiulit
          last edited by

          New RetroPie Limit Last Played Games 2.1.2 is out!

          @MadHorse if you could give it a try.... hehe! ;) Thanks!

          CHANGELOG

          [2.1.2] - 2018-09-20

          Fixed

          • Escape special characters function.

          Added

          • Validate XML function.

          My little contributions to the RetroPie project:

          • Shell-Script-Boilerplate
          • Fun-Facts-Splashscreens
          • Limit-Last-Played-Games
          1 Reply Last reply Reply Quote 1
          • M
            MadHorse
            last edited by

            @hiulit hi, I made a quick test and now the & and & aren't changed, great work.
            I will do some more test hoping to not find more bugs, I don't want you to hate me :)

            Thank you very much, you and your script are awesome

            hiulitH 1 Reply Last reply Reply Quote 1
            • hiulitH
              hiulit @MadHorse
              last edited by

              @madhorse Cross fingers :P

              You are very welcome. I think you and I are the only ones using this script, haha!

              My little contributions to the RetroPie project:

              • Shell-Script-Boilerplate
              • Fun-Facts-Splashscreens
              • Limit-Last-Played-Games
              ClydeC M 2 Replies Last reply Reply Quote 0
              • ClydeC
                Clyde @hiulit
                last edited by

                @hiulit With me as an uninvolved onlooker. :)

                hiulitH 1 Reply Last reply Reply Quote 1
                • hiulitH
                  hiulit @Clyde
                  last edited by

                  @clyde haha, of course! ;)

                  My little contributions to the RetroPie project:

                  • Shell-Script-Boilerplate
                  • Fun-Facts-Splashscreens
                  • Limit-Last-Played-Games
                  1 Reply Last reply Reply Quote 0
                  • M
                    MadHorse @hiulit
                    last edited by

                    @hiulit said in [SCRIPT] RetroPie Limit Last Played Games:

                    @madhorse Cross fingers :P

                    You are very welcome. I think you and I are the only ones using this script, haha!

                    Hahah, maybe, probably because many peoples don't know about it :)

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

                      @madhorse Well, at least this thread will appear in the "unread" list every time a new post is posted here. :)

                      hiulitH 1 Reply Last reply Reply Quote 0
                      • hiulitH
                        hiulit @Clyde
                        last edited by

                        @clyde @MadHorse Shhhh.. don't say it out loud or we'll get banned for bumping posts xD

                        My little contributions to the RetroPie project:

                        • Shell-Script-Boilerplate
                        • Fun-Facts-Splashscreens
                        • Limit-Last-Played-Games
                        cyperghostC 1 Reply Last reply Reply Quote 0
                        • cyperghostC
                          cyperghost @hiulit
                          last edited by

                          @hiulit @Clyde

                          I like Raspberry Bumber, with white chocolat it's the best

                          The smell of

                          • Freedom
                          • Independence
                          • New Sources
                          • New Horizons

                          Bumber BAR

                          0_1538198981507_54ae4e7a-f96c-4fdc-8332-863491f7476a-grafik.png

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

                            @cyperghost You, sir, are my kind of silly. 😆

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

                              New minor version of Retropie Limit Last Played Games 2.1.3 is out!

                              Changelog

                              [2.1.3] - 2018-12-23

                              Fixed

                              • Files permissions.

                              Added

                              • Debug mode dialog when using the script via the EmulationStation's RetroPie menu.
                              • Debug mode text in script's title when debug mode is on.

                              My little contributions to the RetroPie project:

                              • Shell-Script-Boilerplate
                              • Fun-Facts-Splashscreens
                              • Limit-Last-Played-Games
                              1 Reply Last reply Reply Quote 1
                              • hiulitH
                                hiulit
                                last edited by

                                New minor version of Retropie Limit Last Played Games is out!

                                Changelog

                                [2.1.4] - 2019-02-14

                                Fixed

                                • The script won't ask anymore to restart EmulationStation (if it's running) when debug mode is on.

                                My little contributions to the RetroPie project:

                                • Shell-Script-Boilerplate
                                • Fun-Facts-Splashscreens
                                • Limit-Last-Played-Games
                                cyperghostC 1 Reply Last reply Reply Quote 2
                                • cyperghostC
                                  cyperghost @hiulit
                                  last edited by

                                  @hiulit The script can be improved by using joy2key. So you can rearchange the key input for joypad to make the checkboxes work ;)

                                  I've a small example of how to do here: Midnight Joy [Scriptlet]
                                  In this small script I rearranged the key input to make use of Midnight Commander with joypad ;) It might be usefull for this script,too ;)

                                  hiulitH 1 Reply Last reply Reply Quote 1
                                  • hiulitH
                                    hiulit @cyperghost
                                    last edited by

                                    @cyperghost Hey, thanks! I've never tried it with a game controller. Always with a keyboard or, in my case, arcade buttons mapped as a keyboard, so I've never though it wouldn't work with a controller. I'll try and take a look at your script. Thanks again! :)

                                    P.S. You are my first star on GitHub :D

                                    My little contributions to the RetroPie project:

                                    • Shell-Script-Boilerplate
                                    • Fun-Facts-Splashscreens
                                    • Limit-Last-Played-Games
                                    cyperghostC 1 Reply Last reply Reply Quote 1
                                    • cyperghostC
                                      cyperghost @hiulit
                                      last edited by

                                      @hiulit

                                      honor to whom honor is due
                                      Goethe (1749-1832)

                                      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.