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.
    • 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
                          • F
                            Folly @DTEAM
                            last edited by Folly

                            @dteam

                            Didn't try the mess romset.
                            I have to look for it.

                            btw.
                            What's the now at your place ?
                            Here it's almost 15:00 (30-03-2021)

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

                              @folly

                              9:00 am (2021-03-30)

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

                                @DTEAM

                                I tried a .T64 in the menu, because it would not start.
                                I got this :

                                2021-03-30-150145_800x600_scrot-resized.png

                                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

                                  9:00 am (2021-03-30)

                                  Aha, 6 hour earlier.
                                  So, you have a whole day ahead of you !

                                  I had a look in the mame output :

                                  pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listmedia c64        
                                  SYSTEM           MEDIA NAME       (brief)    IMAGE FILE EXTENSIONS SUPPORTED
                                  ---------------- --------------------------- -------------------------------
                                  c64              cassette         (cass)     .wav  .tap  
                                                   floppydisk       (flop)     .d64  .g64  .g41  .g71  .d77  .d88  .1dd  .dfi  .hfe  .imd  .ipf  .mfi  .mfm  .td0  .cqm  .cqi  .dsk  
                                                   cartridge        (cart)     .80   .a0   .e0   .crt  
                                                   quickload        (quik)     .p00  .prg  .t64
                                  

                                  Seems we have to use (quik) for .t64. (edit: didn't work)

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

                                    @folly
                                    It will be easier with this output. Thanks

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

                                      @dteam

                                      This is a .tap file with the (cass) option :
                                      2021-03-30-151133_800x600_scrot-resized.png 2021-03-30-151816_800x600_scrot-resized.png 2021-03-30-151820_800x600_scrot-resized.png
                                      2021-03-30-151907_800x600_scrot-resized.png 2021-03-30-152014_800x600_scrot-resized.png 2021-03-30-152135_800x600_scrot-resized.png

                                      The joystick doesn't work.
                                      But I think I have to change this in "slot devices" before load.

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

                                        @folly
                                        I'm fighting with Bios files. I'll be good to do something soon... I hope.

                                        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'm fighting with Bios files. I'll be good to do something soon... I hope.

                                          I am using old MESS-0.151.BIOS.ROMs .
                                          For many systems they still work.
                                          I think you know where to find it.

                                          I loaded the .prg of boulder-dash with (quik).
                                          Went to the menu, slot devices, turned off joy2, turned on joy1, reset, I think it will exit to basic.
                                          Then I did run in basic, now I could play boulder-dash.

                                          2021-03-30-154551_800x600_scrot.png

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

                                            @folly
                                            I'm using MAME 0.229. I'm gonna try 0.151

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