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.2k Posts 36 Posters 6.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

      @folly
      For Google Drive issues, would it be easier if I put everything on GitHub?

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

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

        @folly
        For Google Drive issues, would it be easier if I put everything on GitHub?

        Let's wait for Matt first, perhaps he can improve his script.

        But indeed github could be a better way in the long run.

        There are some advantages like :

        • forking
        • easy collaborating
        • perhaps skipping files when cloning for an update

        But there could also be some downsides :

        • how much data will we have in the future and what is the data-limit of github ?
        • I think cloning doesn't work when we add files manual locally because it wants to sync with the repository. So testing files on the harddrive becomes more difficult.
        • Perhaps we also face some ownership issues

        We can do some tests with a few files and see how it works.

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

          @dteam

          Matt changed his script and added the option -m or --mtimes.
          link

          I added this in my script (not on github yet).

          It's downloading all again now, just as Matt explained.
          When I am ready we have to change 1 file and revert it back to test if this solution works.

          Edit:
          It has downloaded now.
          Tried to download everything again and now it said that the files exist.
          Looking good, so far !

          So now you can throw in an different file with the same name and I can test if it's working.
          For example, you could place your old pofo.zip back for a while.

          If you want to test it also, use this line (1058) with the added -m :

          python3 - https://drive.google.com/drive/folders/$1 -m -P "$2"
          
          DTEAMD 1 Reply Last reply Reply Quote 1
          • DTEAMD
            DTEAM @Folly
            last edited by

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

            o now you can throw in an different file with the same name and I can test if it's working.
            For example, you could place your old pofo.zip back for a while.
            If you want to test it also, use this line (1058) with the added -m :
            python3 - https://drive.google.com/drive/folders/$1 -m -P "$2"

            It seems to work well!

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

              @dteam

              Can you put in a file for me so I can test it too ?

              Can you put first a dummy "videopin.zip" onto the google drive ?
              And after I acknowledge, the real one ?

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

                @folly
                I put an arcade "artwork"
                look for berzerk.zip

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

                  @dteam

                  Got it.
                  You can now update berzerk

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

                    @folly
                    Done, I replaced them by a dummy

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

                      @dteam

                      Too bad, the file isn't updated.

                      It could depend on the time difference.
                      Perhaps it's a good idea to leave the file on google drive, so I can test tomorrow again.

                      Good idea ?

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

                        @folly
                        Google wrote "file with no data"
                        I did another dummy.

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

                          @dteam

                          Ok I will try again.

                          I looked in the log and the file isn't updated.

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

                            @dteam

                            Can you keep the dummy file for a while on google-drive ?

                            I will test again tomorrow.

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

                              @folly
                              No problem

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

                                @dteam

                                Is it working for you now or didn't you test ?

                                Have to go now.
                                Thanks for the effort ;-)

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

                                  @folly
                                  Instead of replace it by dragging I have deleted it and reloaded it. So now it's not version 1 or 2 (like Google Drive wrote), it's a new file. Is it change something on your side?

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

                                    @dteam

                                    I tried now (it's now 22 sept 7:49 on my clock).
                                    It worked.

                                    Perhaps we have to try your trick again and see if this works instandly.
                                    We can test around the same time as yesterday.

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

                                      @folly
                                      I replaced the artwork file (berzerk.zip) by a new dummy with different content inside.

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

                                        @dteam

                                        A bit later now but I just tried and it downloaded OK ;-)

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

                                          @dteam

                                          Do you have time to throw in the original berzerk again ?
                                          Seems you don't have time right now to test if files get downloaded instantly after adding.
                                          No hurry we can test it later.

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

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

                                            Do you have time to throw in the original berzerk again ?

                                            Done

                                            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.