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

      @Folly
      The rom is fine. When I put this rom in the JAKKS folder, it works. I don't know what's going on with my classich folder. Roms with MAME artwork and retroarch overlays (at the same time) do not work. I'll see what I can do. The problem is 100% on my side, not related to the script.

      Solved: It was my emulators.cfg file in /opt/retropie/configs/all . It seems it was corrupted. I deleted everything inside. Now it's fine and I'll start to do MAME artworks (MAME format) for classich with @JIMMYFROMTHEBAY bezels if he agrees.

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

        @DTEAM

        Glad you found the problem ;-)

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

          @DTEAM

          I am thinking of adding DEMO tutorials inside the script.
          I found the program called asciinema.
          I used it for creating the base for the new animated gif in the first post.

          The nice thing about asciinema is that it creates a text based file which doesn't create huge files and asciinema can also be used to play the files.
          I think ascii-art and ascii-art movies could also be possible this way.

          You can have a look here :
          https://asciinema.org

          Here is a nice one :

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

            @mitu

            Is there a possibility to add asciinema .cast files as an attachment inside a post ?
            I tried some things but they didn't work.
            I now convert it from .cast to .gif to get a good result.

            Here you will find the docs :
            https://asciinema.org/docs/usage

            Do you have an idea ?

            mituM 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:

              You can have a look here :
              https://asciinema.org/

              I looked at the hyperlink with the animation videos. It looks very good. It doesn't look friendly user.. for me. A learning curve seems to be necessary.

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Folly
                last edited by

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

                Is there a possibility to add asciinema .cast files as an attachment inside a post ?
                I tried some things but they didn't work.

                You can post the URL to the Asciicast now and it will be embedded. The forum has an 'embedding' plugin that does some translation to make it look nice, but Asciinema wasn't one of the supported sites. Should be now (see your previous post).

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

                  @mitu

                  I used the share button to find what to insert and also found the better docs for this :
                  https://asciinema.org/docs/embedding

                  I used the markdown now, it works but the "video" is displayed outside the post.

                  Is it also possible to add script tags to play it inside the post ?

                  Markdown :

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Folly
                    last edited by mitu

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

                    I used the markdown now, it works but the "video" is displayed outside the post.

                    There was an error in my configuration. Now you should be able to post just the link and a player should be embedded automatically, you don't need any code added. Just provide the link to the cast as https://asciinema.org/a/<CAST_ID>.

                    Reload the page and look at your first post. Actually your first post has a gif embedded. Add the cast link under it and see how it works.

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

                      @mitu

                      I don't have the link right now of my cast.
                      Basically, I reloaded the page and accordingly the link of the matrix should play now, if I understood correctly.
                      Or am I wrong ?

                      I will do some tests later, Have to go to work now ;-)

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @Folly
                        last edited by

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

                        Basically, I reloaded the page and accordingly the link of the matrix should play now, if I understood correctly.

                        Yes, doesn't it play already ?

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

                          @mitu

                          Just tried again.
                          Yep, it works now.
                          WOW ;-)

                          Thanks !

                          Edit (this is the first asciinema test) :

                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator
                            last edited by

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

                            Edit (this is the first asciinema test) :

                            Hm, it looks fishy in latest Firefox (the asciicast is cut on the right side), but Chrome seems to display it ok. Might have to fiddle with the embed plugin to make it look ok.

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

                              @mitu

                              Not sure why it looks strange on the right.
                              Ok, so it could be due to the browser.

                              I had the same sort of problem with converting it into an animated gif.
                              So I reduced the with to cut off the right part.

                              Edit :
                              I see you have changed it into a bigger window.
                              I see some improvements now.
                              The slider is gone, which is nice.
                              Here on Firefox it looks good now.
                              Here on Cromium the right part is still a bit strange.

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

                                @mitu

                                Weren't you happy with the embedded support and removed it ?
                                I can understand.

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @Folly
                                  last edited by

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

                                  Weren't you happy with the embedded support and removed it ?

                                  No, it's not removed - it's still active. What's the issue ?

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

                                    @mitu

                                    This morning my laptop it reacted like before. (redirected to external page)
                                    So I cleared the browser cache to see if it worked, but it was still the same.

                                    I tested it now again, to my surprise it's ok now.

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

                                      @mitu

                                      I was thinking that it worked again.
                                      But there is still a problem.
                                      Google Chrome and Safari in OSX react both the old way no matter what I wipe.

                                      On the same laptop using debian 11/firefox inside VMware it works ok.
                                      I probably used debian and I was thinking that it worked again.

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @Folly
                                        last edited by mitu

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

                                        Google Chrome and Safari in OSX react both the old way no matter what I wipe.

                                        Hm, Safari and Chrome seem to work fine for me (on macOS), though I may not have their latest version installed. I'll try with a recent Chromium. The only browser that doesn't seem to be working right is Windows Firefox.

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

                                          @mitu

                                          Here some info :
                                          I use Version 100.0.4896.75 (Officiële build) (x86_64) of Chrome.
                                          Safari is Version 15.3 (17612.4.9.1.8).
                                          On OSX 12.2.1 .

                                          Not the end of the world if we can't find it ;-)

                                          mituM 1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator @Folly
                                            last edited by

                                            @Folly Unfortunately there seem to be a limitation of embedding AsciiCast via iframe (which is what I've used to configure the embed link).

                                            • Firefox (latest) works, but (on Windows) cuts the right side of your cast.
                                            • Chrome (lastest, 100.x) and Edge just provide a link.
                                            • Safari (older version from macOS Mojave) seems to work, but shows some displaced characters on the right side of the cast.

                                            I've tried to work-around the issues appearing on the right side of the cast by fiddling with the width/height, but doesn't seem to work.
                                            I'll try to see we can embed the AsciiCast differently (i.e. not using iframe).

                                            F 1 Reply Last reply Reply Quote 1
                                            • 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.