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

      I found a some interesting gdrive links with probably some new stuff that is interesting to add to your gdrive.
      There are also manuals inside.

      Seems these are new, don't know if we have them in our database yet.

      in the non-nintendo :
      cc48ae76-6d8e-43ee-b9aa-6d3410331330-image.png

      https://drive.google.com/drive/folders/1vl9O-0jIGCHHY_lrWpOwBtqTXEKsVGOY

      d74ccb00-2a15-4215-ad57-44a6ef0f98ea-image.png

      https://drive.google.com/drive/folders/1Pv-LGpdKXlvgDXMEobhVfGbqVGA07v2a

      DTEAMD 1 Reply Last reply Reply Quote 0
      • M
        MrNoHolster
        last edited by

        Really hope someone can help here... I've followed the instructions to install Electron however when I try and launch a game I just get a grey screen? I've downloaded the required BIOS files and placed them in the MAME folder but still no joy. This is installed on a Pi4. I installed lr-mess and then added the extra core as stated in the instructions.

        Any help much appreciated!

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

          @Folly

          Yes, it's true, new stuffs are there

          Originally I took this guy's Artworks. Maybe we should add a reference to him in the first post because all of G&W's artworks are his.

          This is what we can read in the readme file. In fact, they seem to be three.

          Disclaimer: I'm fine if you print this fan art for personal use, but I don't agree to it being sold in any form.
          Credits:
          Design and layout by DarthMarino
          Background and case scans by Henrik Algestam
          Contains elements by Lee Robson (hydef).

          We don't sell it. It's just another depository place. It should be fine.

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

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

            Originally I took this guy's Artworks. Maybe we should add a reference to him in the first post because all of G&W's artworks are his.

            I added them in the first post of the credits list.

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

              @MrNoHolster

              Gray screen !, Seems you still miss some bios files.
              Have a look in your /dev/runcommand.log if some bios file aren't found.

              I've downloaded the required BIOS files and placed them in the MAME folder but still no joy.

              Bios files go into :
              ~/RetroPie/BIOS/mame

              I just did an electron reinstall.
              A good first test is to run "hopper" from the "electron_card" softlist zip file.
              Run hopper.zip with lr-mess of mame with -cart1 option.

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

                @DTEAM

                Just a few questions :
                Do you have the add-mamedev-systems.sh script and the generated scripts still in RetroPie-Setup/scriptmodules/* ?
                Shall we work towards using the ext directory structure for better future compatibility ?

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

                  @Folly

                  My setting now is based on the instruction in the first post.

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

                    @DTEAM

                    Technically it doesn't really matter where add-mamedev-systems.sh is.
                    I will basically detect if runs from the normal or the ext directory and places the created module-scripts it the directories (normal or ext) accordingly.

                    However, quite some time ago I made the add-ext-repos.sh script.
                    With this people are able to download multiple module-scripts in 1 go from a few different 3rd party repositories.
                    These are then dowloaded into the Retropie-Setup/ext/<repo-subdirectory>/.
                    That way all 3rd party repositories are separated from the normal/original Retropie module scripts.

                    So when I want to give advise if someone want's to add a different module-script of me.
                    Then I can just say copy and run add-ext-repos.sh from the config/tools section of the Retropie-Setup and then the instruction will be somewhat the same for every "install".

                    Duplicate errors can occur if the same module scripts are in the normal directory and also in the ext directory.
                    However my add-ext-repos.sh will skip downloading module-script if it finds module-scripts with the same name.
                    So when somebody has my add-mamedev-systems.sh script in the normal directories and also adds add-ext-repos.sh. I could mean that it still works.
                    However in this situation 3rd party module scripts are not concentrated in the same directory structure.

                    Summarized, it would be better if everything goes directly to the ext directory from the start, so no confusion can occur, no possible duplicate errors can occur and everything is nicely separated.

                    Long story, but do you get it ?

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

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

                      Summarized, it would be better if everything goes directly to the ext directory from the start, so no confusion can occur, no possible duplicate errors can occur and everything is nicely separated.

                      I get It. Good point.
                      For the formalization in Retropie, any progress?

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

                        @DTEAM

                        Ok good !
                        When I have time I will try change the instruction in the first post on how to install in the ext directory.
                        And how to convert from an earlier install to an ext install.
                        Will take some time I think.

                        For the formalization in Retropie, any progress?

                        You mean converting the script in a way so it will be accepted by RetroPie as a pull request ?

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

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

                          You mean converting the script in a way so it will be accepted by RetroPie as a pull request ?

                          yes

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

                            @DTEAM

                            Basically, that's a difficult one.
                            We only know that the part for generating module-scrips is something that they don't like and therefor it will never be accepted.
                            At some point I have been thinking, can I just install a system or even remove a system without generating a module script.
                            It might be possible to just use, for example, the functions mkRomDir, addEmulator and addSystem from within the script without the use of a generated module script.
                            Though, when above is possible, installing a system via the commandline using ./retropie_packages would, probably, not be possible because of the different structure of the module-script.
                            So that is also something that, I think, will not be liked too.
                            So basically what I am saying is that it's very difficult to make something that will be liked. unless there is a proper discussion and everything is build from the ground up.
                            I think that is the only way to prevent unnecessary loss of time and commitment.

                            1 Reply Last reply Reply Quote 1
                            • F Folly referenced this topic on
                            • F Folly referenced this topic on
                            • F
                              Folly
                              last edited by

                              @Widge

                              I would like to ask you, are you already familiar with the arcade "categories" I implemented in the script ?
                              ( shooter, puzzle etc )

                              Soon I will be able to update the database to mame 0.245.
                              This means that I probably can add the category "lightgun" to the database too.

                              Would that be a nice option ?

                              WidgeW 1 Reply Last reply Reply Quote 0
                              • WidgeW
                                Widge @Folly
                                last edited by

                                @Folly
                                Thanks for asking me. I apologise that it's taken so long to respond.

                                I'm not too familiar with the categories. All I did was use the script to install mess for Atari800, so I could see if I could use mess to play the Atari lightgun games.

                                Ultimately, I found that whilst mess has lightgun support the drivers for Atari800 do not appear to make use of it.
                                This file seems to indicate that all types of mouse-like input for A800 are completely off the table: https://github.com/libretro/libretro-atari800/blob/master/libretro/core-mapper.c

                                Adding a lightgun category to your database does sound like a good option to have, but at present I'm not familiar enough with your script to give a qualified answer.
                                But again, thank you for thinking of me.

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

                                  @Widge

                                  Ultimately, I found that whilst mess has lightgun support the drivers for Atari800 do not appear to make use of it.

                                  indeed, seems to be a problem with some drivers for MAME/lr-mame/lr-mess.

                                  This file seems to indicate that all types of mouse-like input for A800 are completely off the table: https://github.com/libretro/libretro-atari800/blob/master/libretro/core-mapper.c

                                  Correct, for that a800 libretro-core it looks like mouse is disabled when no android is used.
                                  You could open a new topic, and try to change or patch the source to test adding mouse support to it.

                                  Adding a lightgun category to your database does sound like a good option to have, but at present I'm not familiar enough with your script to give a qualified answer.

                                  When I can I will try to update the database with lightgun info.
                                  I am still waiting for updates on : https://www.progettosnaps.net/index.php .

                                  1 Reply Last reply Reply Quote 0
                                  • F Folly referenced this topic on
                                  • F
                                    Folly
                                    last edited by Folly

                                    The script has been updated to use the mame 0.245 data.

                                    Within the 0245 database the lightgun data has been added.
                                    So it's now possible to install the arcade category "lightgun".
                                    Because there are no vertically playable lightgun roms the "lightgun90º" entry's are missing.

                                    Although the category lightgun exists now, there are no artwork files or overlays files yet to support the sinden lightgun.
                                    So if you want to make use of that, you still have to add that manually.

                                    From the restricted part 122 of 329 lightgun games are available.

                                    1 Reply Last reply Reply Quote 1
                                    • F Folly referenced this topic on
                                    • J JimmyFromTheBay referenced this topic on
                                    • testudoT
                                      testudo
                                      last edited by

                                      @Folly
                                      Added the latest add-mamedev-systems.sh scriptmodule (0245.02) on my Ubuntu system and I am getting this error when trying to add new systems:

                                      /home/testudo/RetroPie-Setup/scriptmodules/supplementary/add-mamedev-systems.sh: line 806: /home/testudo/RetroPie-Setup/scriptmodules/supplementary/add-mamedev-systems.sh: line 791: /usr/bin/dialog: Argument list too long: syntax error: operand expected (error token is "/home/testudo/RetroPie-Setup/scriptmodules/supplementary/add-mamedev-systems.sh: line 791: /usr/bin/dialog: Argument list too long")
                                      /home/testudo/RetroPie-Setup/scriptmodules/supplementary/add-mamedev-systems.sh: line 809: /home/testudo/RetroPie-Setup/scriptmodules/supplementary/add-mamedev-systems.sh: line 791: /usr/bin/dialog: Argument list too long: syntax error: operand expected (error token is "/home/testudo/RetroPie-Setup/scriptmodules/supplementary/add-mamedev-systems.sh: line 791: /usr/bin/dialog: Argument list too long")
                                      
                                      

                                      Any idea on what I have done wrong?

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

                                        @testudo

                                        I am aware that there is somehow one bug in the script, only when using a x86 or x86_64 cpu or other OSes.
                                        The bug was there from the start of the front-end.

                                        The issue is that when you want to display all the systems, and install one from there, then the error occurs.
                                        2022-08-04-092124_1600x900_scrot.png

                                        When selecting system in alphabetical order there should be no problem

                                        So :
                                        Are you able to go into front-end ?
                                        Did you select to install a default system from the whole list ?
                                        Do the other menu options work ?

                                        testudoT 1 Reply Last reply Reply Quote 1
                                        • testudoT
                                          testudo @Folly
                                          last edited by

                                          @Folly

                                          Yes, I was attempting to access the full list of default systems. It has been awhile since I added anything new, so I may have forgotten that bug existed.

                                          Anyway, I am able to use the alphabetical listing options and get systems added, so all good now.

                                          Thanks for the instructions.

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

                                            @testudo

                                            Not sure why the error occurs because on a raspberry pi it's no issue.
                                            Perhaps I will dig in it once more.
                                            On the other hand, is it a solution to just remove the menu options 1 and 2 ?
                                            What do you think ?

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