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 35 Posters 6.1m 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.
    • V
      valerino @Folly
      last edited by

      @folly heya :) i've read the first post, yes. but i haven't tried anything, sorry but i've very few time to dedicate to my hobbies at the moment.

      anyway, i have some suggestions:

      1. forget the 1st post, have a github (being my repo, or a new one doesn't matter.... and list issues/ideas there)
      2. decide if we want to use my fork or have another, merging mine+folly+dteam work. just, having a single repo imho is the way to go to avoid fragmentation.
      3. push retropie admins to merge this stuff in the official repo :)
      F 1 Reply Last reply Reply Quote 2
      • DTEAMD
        DTEAM @Folly
        last edited by DTEAM

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

        @dteam
        Indeed, but he is very busy.
        He has to read quite some stuff, we already know.
        I think he will get the jist.

        I was talking about the new thread you mentionned above. I had an answer from him. He is a Global Moderator on this site and he gave me his impression about what we are doing.

        https://retropie.org.uk/forum/topic/30155/lcd-handhelds-mame-0-229-dat

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

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

          @dteam
          

          Indeed, but he is very busy.
          He has to read quite some stuff, we already know.
          I think he will get the jist.

          I was talking about the new thread you mentionned above. I had an answer from him. He is a Global Moderator on this site and he gave me his impression about what we are doing.

          https://retropie.org.uk/forum/topic/30155/lcd-handhelds-mame-0-229-dat

          Sorry , misunderstood, haha.
          I wasn't aware of that because I didn't read the stuff.
          Will do that.

          Edit :
          Read it, indeed, seems he isn't aware of specific things,
          but strangely enough said that he was inspired by our threads.
          Mmmm,......

          I did an extra post on the thread !

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

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

            @folly heya :) i've read the first post, yes. but i haven't tried anything, sorry but i've very few time to dedicate to my hobbies at the moment.

            anyway, i have some suggestions:

            1. forget the 1st post, have a github (being my repo, or a new one doesn't matter.... and list issues/ideas there)
            2. decide if we want to use my fork or have another, merging mine+folly+dteam work. just, having a single repo imho is the way to go to avoid fragmentation.
            3. push retropie admins to merge this stuff in the official repo :)

            Ok, Seems a good plan.

            Although you have to take into account, not everyone is that keen on github.
            And also, not everyone has a github account.
            For me, the syncing and pushing things is something that's still blurry for me too.
            So that is why I keep everything here, so everyone can help to improve.

            But indeed, with your way of doing, we all could learn quite a bit more.

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

              @folly

              Hi Folly,

              I've try (for saturn)

              curl "https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scripts-00/generate-systems-lr-mess_mame-2v0-alpha.sh" | bash -s saturn
              

              And It doesn't work. Did I do something wrong.

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

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

                curl "https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scripts-00/generate-systems-lr-mess_mame-2v0-alpha.sh" | bash -s saturn

                I tried your command.
                Works on my end, these are generated in /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/libretrocores :
                install-saturn-cmd.sh
                install-saturn-from-mamedev-system-saturn-cart.sh
                install-saturn-from-mamedev-system-saturn-cdrm.sh
                It pushes the files to the new separate external repository directory.

                If they are not found by the RetroPie-Setup then perhaps you don't have an up to date Setup.
                Use this to move your generated files back to the old location.

                mv /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/libretrocores/* /home/pi/RetroPie-Setup/scriptmodules/libretrocores
                
                

                EDIT :
                For others who read this.
                You can miss third party module-scripts easily because,
                third party module-scripts are the very bottom of the list in the RetroPie-Setup.
                So then above mv command is not necessary.

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

                  @folly
                  It works for me with 1.8 version and not 2.0 . I don't know why
                  i'll try what you said in you last post.

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

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

                    @folly
                    It works for me with 1.8 version and not 2.0 . I don't know why

                    Well I explained in the last post.
                    Ok. You can also use 1.8 that will create it in the old location.

                    Perhaps I am already too much busy in the future 😁

                    Curious how saturn will run.

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

                      @Folly

                      Now, It works

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

                        @dteam

                        Now, It works

                        Great, let me know how it goes.

                        I am trying also to keep 1.8 updated.
                        But if we run it now with the curl command, our own added platform information can't be used because it extract's it from the script.
                        With 2.0, it will create a new platforms.cfg in the /home/pi/RetroPie-Setup/ext/RetroPie-Share .
                        With 1.8 I want to do the same so it can work with curl but with this version, meant for older versions of RetroPie, you don't have the ext directory.
                        If I create that, it will be more confusing. So I am still dubbing about it.
                        I could do the file somewhere else, but that's not really consistent.

                        I Think it's just a matter of time, about a month or so, every one will use the ext directory, don't you think too ?

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

                          @folly
                          Yes, I agree.
                          It worked also before (sorry for the confusion). I didn't see It, because with ext folder, the "package installation lines" are at the deep end of the "manage experimental packages" section (good to know). Probably I was too lazy

                          Curious how saturn will run.

                          For now, I have .bin (BIOS) issue, but I'll try to fix that today. see here I'm using .chd.

                          With

                          mame-system-saturn-cdrm = "/opt/retropie/emulators/mame/mame -v -c saturn -cdrm %ROM%"
                          

                          gave this in runcommand.log

                          cdb106.bin NOT FOUND (tried in satcdb saturn)
                          Fatal error: Required files are missing, the machine cannot be run.
                          

                          I need satcdb file

                          NEW EDIT
                          I'm running It. It's slow, bad experience with lr-mess and MAME for Sega Saturn. Even if i'm using autoframeskip.

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

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

                            👉 open : Discovered by @DTEAM :
                            C64 and Atari Jaguar not working

                            For C64, It seems to be a BIOS issue. It's not the script... I think. I'll continue to dig It.
                            New edit:
                            I give up, I am unable to make it work, even with the real romset

                            New edit: Same thing for Jaguar. I can't figure out why

                            lr-mess-basename = "/opt/retropie/emulators/retroarch/bin/retroarch --config /opt/retropie/configs/jaguar/retroarch.cfg -v -L /opt/retropie/libretrocores/lr-mess/mess_libretro.so %BASENAME%"
                            

                            Doesn't work and this

                            lr-mess = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mess/mess_libretro.so --config /opt/retropie/configs/jaguar/retroarch.cfg %ROM%"
                            

                            works

                            I'm using jaguar and not atarijaguar for testing only

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

                              @dteam

                              I think BASENAME will only work good with systems that use no media,
                              like the handhelds.

                              I tried Arari Jaguar using atarijaguar with :

                              lr-mess-system-jaguar-cart = "/home/pi/RetroPie-Setup/scriptmodules/run_mess.sh /opt/retropie/emulators/retroarch/bin/retroarch /opt/retropie/libretrocores/lr-mess/mess_libretro.so /opt/retropie/configs/atarijaguar/retroarch.cfg \jaguar /home/pi/RetroPie/BIOS/mame -autoframeskip -cart %ROM%"
                              

                              2021-03-29-204649_800x600_scrot.png

                              I tried C64, I got this far :
                              2021-03-29-203613_800x600_scrot.png

                              Seems lr-mess/mame problem.

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

                                @DTEAM

                                Seems I have some luck with c64 prg files that run with the quik option (will try some more tomorrow) :
                                2021-03-29-211607_800x600_scrot.png

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

                                  @folly
                                  I'll do more test tomorrow. It seems you have solved the open issue!

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

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

                                    @folly
                                    I'll do more test tomorrow. It seems you have solved the open issue!

                                    Partly, C64 part is not perfect.
                                    I can play Blagger (1983)(Alligata Software).prg now in lr-mess (lr-mess-system-c64-quik).
                                    I had to add a hotkey disable button, in the retroarch.cfg :
                                    input_enable_hotkey_btn = "end"
                                    So hotkey's will not be in the way,
                                    (perhaps there is an other solution though)

                                    In basic you have to type run to run the game.
                                    With above end key enabled you have to press scroll-lock so you can use esc to exit (just like in mame)

                                    2021-03-29-215907_800x600_scrot-resized.png 2021-03-29-215915_800x600_scrot-resized.png

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

                                      @folly @valerino

                                      So now, the next step is to try to put it on the official Retropie (like we already said above) and I think we should come up with something for this outdated link: https://retropie.org.uk/docs/MESS/

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

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

                                        @folly @valerino

                                        So now, the next step is to try to put it on the official Retropie (like we already said above) and I think we should come up with something for this outdated link: https://retropie.org.uk/docs/MESS/

                                        Yes, indeed pretty outdated.

                                        I think we first have to have the module-script ready. (with menu)
                                        If that works, we should focus on the doc.

                                        @valerino ,
                                        Did you have some time to make some module-script with a basic menu ?

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

                                          @DTEAM

                                          I read in the c64 hash tables, they use pretty much only .g64 format discs.
                                          Perhaps we have to try the .g64 formats for the c64.

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

                                            @folly
                                            Good to know. My files are .D64 or T64. I'll do more test. Did you try .zip from Mess romset?

                                            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.