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.8m 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 said in Development of module-script generator for lr-mess and mame standalone:

      No luck with the lmame_libretro.so nightly on pi4, it seems a 64bit one, and I run 32bit OS.
      So tried on my x86_64 ubuntu 20.04.
      Well boomzoo loaded, but others, no.

      Like you, It doesn't work on my side for all games. I played with UI parameters and everything stopped working ! The 5 options above are the best ones for me.

      For

      mame-basename = "/opt/retropie/emulators/mame/mame -v -c supracan %BASENAME%"
      

      It works well for me. It's strange if it doesn't work on your side
      Seems to be a picky emulator.

      I'll retry hhtien1408 solution

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

        @dteam

        Seems the mame basename line doesn't work on both x86_64 and the pi4.
        But it works if I force the rompath.

        Where is your mame.ini located ?
        Mine is in :
        /home/pi/RetroPie/roms/mame/mame.ini

        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:

          Seems the mame basename line doesn't work on both x86_64 and the pi4.

          It works on my Pi4

          Where is your mame.ini located ?

          in
          opt/retropie/configs/mame

          new edit:
          I added the location in my comment above

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

            @dteam

            Perfect !
            That works !

            Just tried the lr-mame_libretro.so nightly on my x86_64 renaming it as /opt/retropie/libretrocores/lr-mess/mess_libretro.so
            It just runs trough the runmess.sh script just like mess_libretro.so does.
            The file-size is a bit different but other than that it's looks the same package but just the name is different.

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

              @folly

              Just tried the lr-mame_libretro.so nightly on my x86_64 renaming it as /opt/retropie/libretrocores/lr-mess/mess_libretro.so
              It just runs trough the runmess.sh script just like mess_libretro.so does.
              The file-size is a bit different but other than that it's looks the same package but just the name is different.

              Good to know

              H 1 Reply Last reply Reply Quote 0
              • H
                hhtien1408 @DTEAM
                last edited by

                @dteam Ok. Because I use softlists and cart type so I do not need -cart. All roads lead to Roma in the end. Different methods, same result. All supracan games should work as they are.

                1 Reply Last reply Reply Quote 0
                • H
                  hhtien1408 @Folly
                  last edited by hhtien1408

                  @folly Sound weird. Do you download the suggested lr-mame nightly I gave you download link? Do you use the same method with me via softlist and cart type chosen? I do not use automatic script just do manually. It should work under Ubuntu. Maybe you miss some points on the road.

                  FollyF 1 Reply Last reply Reply Quote 0
                  • H
                    hhtien1408 @DTEAM
                    last edited by hhtien1408

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

                    @folly

                    Just tried the lr-mame_libretro.so nightly on my x86_64 renaming it as /opt/retropie/libretrocores/lr-mess/mess_libretro.so
                    It just runs trough the runmess.sh script just like mess_libretro.so does.
                    The file-size is a bit different but other than that it's looks the same package but just the name is different.

                    Good to know

                    Thanks for letting me know. I will try run_mess.sh when I have free time later.

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      hhtien1408 @hhtien1408
                      last edited by hhtien1408

                      @Folly @DTEAM @dmmarti
                      Here are some pictures for my Retropie.
                      ![Pictures](https://ibb.co/k3rgyzQ
                      https://ibb.co/xSLPgTG
                      https://ibb.co/9vjVTPn
                      https://ibb.co/ZGL714N
                      https://ibb.co/bgcVyK6
                      https://ibb.co/bWczbyM
                      https://ibb.co/2WW0yMf
                      https://ibb.co/XZjcjbk
                      https://ibb.co/tY7kSpJ
                      https://ibb.co/phXKtQH)

                      1 Reply Last reply Reply Quote 1
                      • FollyF
                        Folly @hhtien1408
                        last edited by Folly

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

                        @folly Sound weird. Do you download the suggested lr-mame nightly I gave you download link? Do you use the same method with me via softlist and cart type chosen? I do not use automatic script just do manually. It should work under Ubuntu. Maybe you miss some points on the road.

                        I tried as you suggested, but it seems i am missing something here.
                        Not sure what though.

                        Don't have that much time to try every time, I will try again later.

                        Btw. how good are you games running ?

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          hhtien1408 @Folly
                          last edited by hhtien1408

                          @folly perfect as it used to be in official MAME. Tested! See some pictures above for fun!

                          FollyF 1 Reply Last reply Reply Quote 0
                          • FollyF
                            Folly @hhtien1408
                            last edited by Folly

                            @hhtien1408

                            Pictures are looking good :-)

                            Can you check your sha1sums with mine ?

                            pi@raspberrypi:~/RetroPie/roms/supracan $ sha1sum *
                            d642db0ff9bb4986d62b4676da31e536e9595058  boomzoo.zip
                            7cc99d26a1a3062fe8869d6d99eb1bd914fb54b0  gamblord.zip
                            56e71e6f6f8a7ab0eb1af44dbe0eaf9aad8e75a2  jttlaugh.zip
                            3c3f5ba50a3e3062eb7536168341b8866de858ab  magipool.zip
                            5588e33b23d61781428a9bb953b1d07a3b274501  monopoly.zip
                            ca92963db119fe94455532c2fcb9c76f98ef0eb5  sangofgt.zip
                            113fc81d6f46a822d73c759dba3dda58397797d8  slghtsag.zip
                            42e48389323247d9e3806c2fdcbe2aaa1a34a946  sonevil.zip
                            d6712a946b80cb22c4c49b78bb2a29f4408f8ec6  speedyd.zip
                            0b5ca6c00d9040918afdb60a5af446718426f9d3  staiwbbl.zip
                            
                            H 1 Reply Last reply Reply Quote 0
                            • H
                              hhtien1408 @Folly
                              last edited by

                              @folly If you download from MAME Softlist 0.202 archive, they should be the same. I will check SHA later and tell you results soon.

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

                                hhtien1408 about 4 hours ago
                                @folly If you download from MAME Softlist 0.202 archive, they should be the same. I will check SHA later and tell you results soon.

                                @hhtien1408
                                You don't need to download the softlist. It's already in / opt / retropie / emulators / mame / hash with the latest standalone version of MAME if you updated it.

                                The problem is that MAME points there but not Lr-Mess and maybe also lr-MAME. You need to force them to go there or "cut and paste" the hash files into the appropriate folders for lr-Mess and / or lr-mame (only if you want to use softlists - not an obligation - advantage = cheat codes and MAME artworks).

                                Do you have sound with your Supracan games.
                                I have no sound on my side

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  hhtien1408 @DTEAM
                                  last edited by hhtien1408

                                  @dteam Could you share me your compiled mame standalone you are using to test?
                                  I would like to use script run_mess.sh without using softlist just for my trial.
                                  No sound with all games of supracan system due to emulator even with the lastest official MAME 0.232.
                                  Thanks!

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

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

                                    @dteam thanks a lot. Could you share me your compiled mame standalone you are using to test? Thanks!

                                    Now, I'm using MAME 0.229 on my Pi4 (usually, I update it from source). If I do the update, it will be 0.332 0.232 probably.

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      hhtien1408 @DTEAM
                                      last edited by hhtien1408

                                      @dteam 232 not 332. Could you share me your current version?

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

                                        @hhtien1408
                                        sorry my mistake. My current version is MAME 0.229

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

                                          @hhtien1408 @Folly

                                          For Datach, I'm able to run it with those lines:

                                          mame-system-nes_datach-cart = "/opt/retropie/emulators/mame/mame -v -c nes datach -cart2 %ROM%"
                                          mame-system-nes_datach-cart-autoframeskip = "/opt/retropie/emulators/mame/mame -v -c -autoframeskip nes datach -cart2 %ROM%"
                                          

                                          I'm not able to run it with Lr-Mess and softlist for now

                                          imageedit_5_5554480790.png
                                          launching.png

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

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

                                            nes datach

                                            Perhaps I will try and implement this in the 2v2 version.
                                            I already have done some work on 2v2.
                                            There are many thing I want to change or add in this version.

                                            Also adding just lines for specific systems.
                                            Problem, for now, is that the if functions are at the moment coming inside the generated module-scripts.
                                            I want these if functions outside the generated module-scripts. Perhaps I can find a way.
                                            This can be done in a similar way for nes detach, I think.

                                            Perhaps nes detach will work on lr-mess with my discovered lr-mess direct line.
                                            Maybe I will have some time to test that.

                                            We will have to see how it goes.

                                            edit:
                                            The mame lines work for me too.
                                            Tested some experimental lr-mess direct lines, not working right now.

                                            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.