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

    Development of module-script generator for lr-mess, lr-mame and mame standalone

    Scheduled Pinned Locked Moved Ideas and Development
    developmentlr-messmamelr-mamescripts
    2.3k Posts 37 Posters 7.3m 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.
    • DTEAMD
      DTEAM @Folly
      last edited by DTEAM

      I reinstalled everything and now all overlays working fine with retroarch. Great job.

      @folly said in Development of module-script generator for lr-mess and mame standalone:

      I have rewritten the readme on the github page :
      https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scripts-00/readme.md
      I also reorganized the whole repository to get a better oversight.
      Improved ?

      Good "readme" on github. Everythings are easy to understand. It's fu%?$ng nice!

      F 1 Reply Last reply Reply Quote 1
      • F
        Folly @DTEAM
        last edited by

        @dteam

        That is really great to hear.

        We have done an incredible job here !!!

        I still have some ideas of implementing downloads into the module-scripts.
        So if we want, we can try that part in the future. :-)

        DTEAMD 1 Reply Last reply Reply Quote 0
        • DTEAMD
          DTEAM @Folly
          last edited by DTEAM

          @folly

          Just a reminder
          for :

          bash $version ablmini # creates cmd script for all_in1 # bootable 
          bash $version alnattck # creates cmd script for classich # bootable
          bash $version gnw_ball # creates cmd script for gameandwatch # bootable 
          bash $version jak_batm # creates cmd script for jakks # bootable
          bash $version kgradius # creates cmd script for konamih # bootable
          bash $version taddams # creates cmd script for tigerh # bootable
          bash $version rzbatfor # creates cmd script for tigerrz # bootable
          
          

          and more ...

          you can get gamelist.xml files here
          and images, marquees and videos for those gamelist.xml files , here

          F 2 Replies Last reply Reply Quote 0
          • F
            Folly @DTEAM
            last edited by Folly

            @dteam

            If I have some time, I can try to add it in the get...script.

            1 Reply Last reply Reply Quote 0
            • F
              Folly @DTEAM
              last edited by Folly

              @dteam

              I had a quick look at the gamelist files.

              It's quite simple now to download them all in the correct place with these commands ( this can be added to the get script ) :

              wget -nv -O /tmp/gdrivedl.py https://raw.githubusercontent.com/matthuisman/gdrivedl/master/gdrivedl.py
              python /tmp/gdrivedl.py https://drive.google.com/drive/folders/1f_jXMG0XMBdyOOBpz8CHM6AFj9vC1R6m -P /opt/retropie/configs/all/emulationstation/gamelists
              rm /tmp/gdrivedl.py
              
              

              This will not only download the handhelds but also the others.
              Is this a problem ?

              One problem I have is, I have .zip files.
              Gamelist files that only have .7z files in them, will not work for someone who has .zip files.

              Could you add them on the googles drive ?

              You can add them simply by using these commands once (!) on a gamelist and then putting them on google drive again.
              ( make a backup of the file before you use this ! )
              Go to the directory of the specific gamelist and do :
              (tested and should work)

              sed -i 's/..gameList.//g' gamelist.xml 
              cat gamelist.xml | grep -v ?xml | grep -v gameList | sed 's/\.7z/\.zip/' >> gamelist.xml
              echo "</gameList>" >> gamelist.xml
              
              

              Explanation :

              • sed removes the last line because otherwise we have "</gameList>" end halfway after adding the ".zip" files
              • cat shows (pipes it now to the next commands) the file in the terminal, except the lines containing ?xml and gameList using grep
              • sed looks for ".7z" entry's and replaces them with ".zip
              • ">> gamelist.xml" will write and add all lines, that went trough sed and grep, to the same gamelist file
              • so all game entry's double, keeping the originals and adding the ones for ".zip"
              • echo makes sure the file gets the last line "</gameList>" end again

              Make sure you do this only once to the file, otherwise the game entry's will triple etc...

              ps.
              You can also do this with gamelist that only have ".zip" files, adding ".7z" :

              sed -i 's/..gameList.//g' gamelist.xml 
              cat gamelist.xml | grep -v ?xml | grep -v gameList | sed 's/\.zip/\.7z/' >> gamelist.xml
              echo "</gameList>" >> gamelist.xml
              
              
              DTEAMD 1 Reply Last reply Reply Quote 0
              • DTEAMD
                DTEAM @Folly
                last edited by DTEAM

                @folly

                This will not only download the handhelds but also the others.
                Is this a problem ?

                No problem, but most gamelist.xml files are made for mess/mame romset (excepted pockstat and svmu). It doesn't work if people use No Intro or TOSEC romsets.
                I'll do the modification for 7z/zip this week.
                Regards

                DTEAMD 1 Reply Last reply Reply Quote 1
                • DTEAMD
                  DTEAM @DTEAM
                  last edited by DTEAM

                  @dteam
                  sed fonction only works in Linux. Doesn't work in PowerShell or as a .bat

                  so all game entry's double, keeping the originals and adding the ones for ".zip"

                  Show me an example of that and I'll do It manually with the basic search and replace tool.

                  Starting example :

                  <path>/home/pi/RetroPie/roms/tigerh/taddams.7z</path>
                  

                  new edit

                  I'll do it directly on the Pi

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Folly @DTEAM
                    last edited by

                    @dteam

                    I have added them all in 00-gamelists-00 :
                    https://github.com/FollyMaddy/RetroPie-Share

                    So you can copy them to the googledrive.

                    DTEAMD 1 Reply Last reply Reply Quote 0
                    • DTEAMD
                      DTEAM @Folly
                      last edited by DTEAM

                      @folly

                      The transfer with your files on Google Drive is done. Thanks for the conversion/addition . Sorry for that.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        Folly @DTEAM
                        last edited by

                        @dteam said in Development of module-script generator for lr-mess and mame standalone:

                        @folly

                        The transfer with your files on Google Drive is done. Thanks for the conversion. Sorry for that.

                        No problem.
                        It was a fast conversion.

                        DTEAMD 1 Reply Last reply Reply Quote 0
                        • DTEAMD
                          DTEAM @Folly
                          last edited by DTEAM

                          @folly
                          Do you know if anyone started creating these systems in official Retropie themes?

                          It's a kind of request if an artist read this 😉

                          F 2 Replies Last reply Reply Quote 0
                          • F
                            Folly @DTEAM
                            last edited by

                            @dteam

                            I don't know.
                            We have to take a look.

                            BTW. Did you make a backup of your old gamelists if something went wrong ?

                            DTEAMD 1 Reply Last reply Reply Quote 0
                            • DTEAMD
                              DTEAM @Folly
                              last edited by

                              @folly said in Development of module-script generator for lr-mess and mame standalone:

                              BTW. Did you make a backup of your old gamelists if something went wrong ?

                              yes

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                Folly @DTEAM
                                last edited by

                                @dteam said in Development of module-script generator for lr-mess and mame standalone:

                                @folly said in Development of module-script generator for lr-mess and mame standalone:

                                BTW. Did you make a backup of your old gamelists if something went wrong ?

                                yes

                                super !

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Folly @DTEAM
                                  last edited by

                                  @dteam said in Development of module-script generator for lr-mess and mame standalone:

                                  @folly
                                  Do you know if anyone started creating these systems in official Retropie themes?

                                  It's a kind of request if an artist read this 😉

                                  Good idea.
                                  Perhaps you can also drop this, somewhere else.

                                  DTEAMD 1 Reply Last reply Reply Quote 0
                                  • DTEAMD
                                    DTEAM @Folly
                                    last edited by

                                    @folly

                                    BTW. Did you make a backup of your old gamelists if something went wrong ?

                                    I tested one of your gamelist file with .zip and .7z. It's working for Both .

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      Folly @DTEAM
                                      last edited by

                                      @dteam

                                      Yeah, It's working, that's quite nice.
                                      We are improving bit by bit, very cool !

                                      Curious, if someone will reply on your new thread ;-)

                                      DTEAMD 1 Reply Last reply Reply Quote 1
                                      • DTEAMD
                                        DTEAM @Folly
                                        last edited by DTEAM

                                        @folly said in Development of module-script generator for lr-mess and mame standalone:

                                        Curious, if someone we'll reply on your new thread ;-)

                                        Request for artists working on themes - needs for (lr-mess/MAME) additions is not a popular thread for now... we'll see. If nothing happen this month, I'll try to poc artists directly in their themes threads.

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          Folly @DTEAM
                                          last edited by

                                          @dteam said in Development of module-script generator for lr-mess and mame standalone:

                                          @folly said in Development of module-script generator for lr-mess and mame standalone:

                                          Curious, if someone will reply on your new thread ;-)

                                          Request for artists working on themes - needs for (lr-mess/MAME) additions is not a popular thread for now... will see. If nothing happen this month, I'll try to poc artists directly in their themes threads.

                                          Good idea !

                                          DTEAMD 1 Reply Last reply Reply Quote 0
                                          • DTEAMD
                                            DTEAM @Folly
                                            last edited by

                                            @folly

                                            I posted this this morning
                                            RetroPie - Convert Non-Functional Videos - Easy free batch method on Windows

                                            It works really well

                                            F 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.