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

      Thanks for the feedback.

      I will have a look at it If I can use or implement some things.

      category.ini (0.236) looks good !

      1 Reply Last reply Reply Quote 0
      • jamrom2J
        jamrom2 @Folly
        last edited by

        @folly I'm happy to test this as well...

        Do I need to remove the other mess emulators installed with the previous script and where do I put this to run it? \scripts?

        I just finished the logos for Epoch and Bambino so I'll post them to the other logo thread.

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

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

          @folly I'm happy to test this as well...

          Do I need to remove the other mess emulators installed with the previous script and where do I put this to run it? \scripts?

          Yes, if you want to, that would be great.
          No need to de-install things.
          Just remove the old add-mamedev-systems.sh and replace it by the new one in :
          /home/pi/RetroPie-Setup/scriptmodules/supplementary

          I will give you a sign when I upload the next one !

          I just finished the logos for Epoch and Bambino so I'll post them to the other logo thread.

          Perfect !

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

            @DTEAM @jamrom2

            I just uploaded the files.

            https://github.com/FollyMaddy/RetroPie-Share/tree/9c10b1288f264f8c9f36ba691df0b24c548f2494/00-workdir-00/add-mamedev-systems-2v4.sh
            (edit for those who don't know : right-click on raw and save as)

            Btw.
            No need to do the source install of mame.
            When you install the binary you are on mame0236.

            Here you can see what I updated :
            https://github.com/FollyMaddy/RetroPie-Share/commit/72cc916784d1bf0b57477c3f85209409dae695e9
            https://github.com/FollyMaddy/RetroPie-Share/commit/9c10b1288f264f8c9f36ba691df0b24c548f2494

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

              @dteam

              When you are busy with the gamelists.
              Can you check for me if they are added correctly when you add them to the google-drive ?
              The script should detect the new ones and add them in the list.

              1 Reply Last reply Reply Quote 1
              • I
                isidoro80
                last edited by isidoro80

                Hello what is name of bios file for arcade game sega model 1. I want play game arcade: arabian fight, f1 exaust, radrally. If i run this games with lr-mame i have error driver model1 not found.

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

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

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

                  @folly I'm happy to test this as well...

                  Do I need to remove the other mess emulators installed with the previous script and where do I put this to run it? \scripts?

                  Yes, if you want to, that would be great.
                  No need to de-install things.
                  Just remove the old add-mamedev-systems.sh and replace it by the new one in :
                  /home/pi/RetroPie-Setup/scriptmodules/supplementary

                  I will give you a sign when I upload the next one !

                  I just finished the logos for Epoch and Bambino so I'll post them to the other logo thread.

                  Perfect !

                  OK, I'll test this tomorrow.

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

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

                    Hello what is name of bios file for arcade game sega model 1. I want play game arcade: arabian fight, f1 exaust, radrally. If i run this games with lr-mame i have error driver model1 not found.

                    For Model1 try this:
                    model1io
                    model1io2

                    But for those games, you can use lr-fbneo. You need Sega system 32 , not model 1

                    see: https://retropie.org.uk/forum/topic/19741/goodbye-fbalpha-welcome-fbneo/300

                    According to that link some games work better with lr-mame2016

                    I 1 Reply Last reply Reply Quote 1
                    • jamrom2J
                      jamrom2 @Folly
                      last edited by jamrom2

                      @folly

                      Just tried the script... I get this. I'm not surprised I have an issue. My build seems to have issues with everything... I ask it to make a ham and cheese sandwich and I get a reply "with what?". Lol.

                      error.jpg

                      Is it asking for something I don't have? Your test script worked without an issue.

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

                        @jamrom2 You downloaded the file wrong, you need to click the 'Raw' button on the Github interface first. You downloaded the HTML page, which is - obviously - not a valid .sh script file.

                        jamrom2J 1 Reply Last reply Reply Quote 1
                        • I
                          isidoro80 @DTEAM
                          last edited by

                          @dteam hello I put the bios in the folder / bios / mame and roms / arcade but still lr-mame gives me the same error. i can try the other emulatoelri but i prefer to use mame.

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

                            @mitu
                            yep... that was it...

                            So it's ham, bread, cheese, bread, mustard to make a Ham and Cheese... man...I'm bad at this.

                            Thanks as always for your all-seeing eye.

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

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

                              @dteam hello I put the bios in the folder / bios / mame and roms / arcade but still lr-mame gives me the same error. i can try the other emulatoelri but i prefer to use mame.

                              You should always check your /dev/shm/runcommand.log after you tried to run a game.
                              If there isn't enough information then you have to press a key just before the game boots.
                              This will get you in the retropie-boot-dialog.
                              Choose the launch with verbose option.
                              Then check your /dev/shm/runcommand.log again after you tried.

                              I would advise you to make a new help thread for your problem.

                              Describe a bit better, what game, from what system, you want to run and, with which emulator.
                              It seems you mix a lot of things up.
                              Also describe if you want to do it the regular way or using this project.

                              Please also read the docs thoroughly :
                              https://retropie.org.uk/docs/Arcade/

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                isidoro80 @Folly
                                last edited by isidoro80

                                maybe because I don't write well in English. I believe my problem is consistent with this post. I have installed lr-mame and would like to play the segamodel 1 games emulated by lr-mame. one of these is arabian fight and another is f1 exaust. I read the game log and despite having installed the bios in the correct directories I read as an error: model file not found. essentially the bios are missing. I have installed the bios Model1IO.zip, Model1IO2.zip, M1COMM.zip, HD44780_A00.zip but i can't play games. the question is this. can anyone play arcade model 1 games with le-mame?

                                jamrom2J F 2 Replies Last reply Reply Quote 0
                                • jamrom2J
                                  jamrom2 @isidoro80
                                  last edited by

                                  @isidoro80

                                  Problem might not be the BIOS files... it might be that the ROMs you are using are not correct to the version of MAME you have loaded.

                                  What version are the ROMs from? They have to match the version of MAME correctly in order to work. They change/merge ROMs often between version of MAME so everything must match.

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

                                    @isidoro80

                                    I looked in the mame databases for you.
                                    The games you want to run are "system drivers" and not found in the software databases (softwarelist hash tables).

                                    mame0236_systems:Driver arabfgt (Arabian Fight (World)):
                                    mame0236_systems:Driver arabfgtj (Arabian Fight (Japan)):
                                    mame0236_systems:Driver arabfgtu (Arabian Fight (US)):
                                    mame0236_systems:Driver f1en (F1 Exhaust Note (World, Rev A)):
                                    mame0236_systems:Driver f1enj (F1 Exhaust Note (Japan, Rev A)):
                                    mame0236_systems:Driver f1enu (F1 Exhaust Note (US, Rev A)):
                                    

                                    This basically means that the game files are the bios files.
                                    Confusing perhaps, but we don't put game-bios-files in the BIOS or BIOS/mame directory normally. We put them in the normal roms/*** directory.

                                    According to this : https://www.progettosnaps.net/renameset/
                                    Here you have a file category.ini (0.236) (always up to date) .
                                    Inside, you have a file named arcade.ini and one mess.ini.
                                    Here we can see that they are arcade ones, so you should be able to run them with lr-mame or mame.
                                    You have to place the f1en.zip (.7z) and arabfgt.zip (.7z) in the regular rom directory :

                                    • /home/pi/RetroPie/roms/mame-libretro
                                      or
                                    • /home/pi/RetroPie/roms/arcade

                                    Technically speaking, then you are doing it just the normal/regular way.

                                    Let me know if this works.

                                    Here it works :
                                    2021-10-16-094542_800x600_scrot-resized.png 2021-10-16-094623_800x600_scrot-resized.png

                                    jamrom2J 1 Reply Last reply Reply Quote 0
                                    • jamrom2J
                                      jamrom2 @Folly
                                      last edited by

                                      Maybe I can help a little with this as well...

                                      The best way to see what you are missing when it comes to MAME is to run native MAME on a PC.

                                      Grab the ROMs from the correct MAME version number, run it in MAME and it will tell you what you need. Many of the missing files need to be added to the main MAME ROM folder (as Folly pointed out). They are no longer placed in the BIOS folder.

                                      Great example is Gorf. It needs very specific VOX files to properly emulate the voice sounds in the game as they don't use "samples" any more. Without those VOX files, Gorf will not work and will flag an error. You then add those files to the MAME roms folder, and all is happy.

                                      Having said that... Retropie did not run the most modern version of MAME, until this new script was added...so now you have to see what version of MAME this script pulls down and make sure that the games you are trying to run are supported by that version of MAME.

                                      MAME has never been a quick dump and go emulator. It has always been this way, and requires things to be the correct version, in the correct place...and named correctly.

                                      So try there before you go any further. You might be chasing this meanwhile, this version of MAME might not even support the game you are trying to run.

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

                                        @jamrom2

                                        Here you can learn/read everything about mame :
                                        https://docs.mamedev.org/

                                        Here you can read almost everything about the commandline options :
                                        https://docs.mamedev.org/commandline/commandline-all.html

                                        1 Reply Last reply Reply Quote 0
                                        • dankcushionsD
                                          dankcushions Global Moderator
                                          last edited by dankcushions

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

                                          Retropie did not run the most modern version of MAME, until this new script was added...

                                          standard retropie has supported current, standalone MAME for over a year now: https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/emulators/mame.sh (experimental packages)

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

                                            @DTEAM

                                            All changes up until now :


                                            (18-10-2021)

                                            • all slotdevice parameters converted to "extra options"
                                            • added lr-mess overlay config creation for .7z files
                                              (because roms are often in .7z format now)
                                            • improvements in menu : Download > Download/update

                                            (14-10-2021)

                                            • fix : first line of the CSV was not displayed in some menus
                                            • now the front-end uses the mame0236 database
                                            • added the possibility to install the available gamelists and media per system
                                              • should be future proof when adding new system on the google-drive
                                            • added the older and newer missing mame databases (now we have 0228 - 0236 )
                                            • add systems in the generator part script for : classich and gameandwatch
                                            • updated the handheld databases

                                            https://github.com/FollyMaddy/RetroPie-Share/blob/0b3a8f2fa4588098411eda5b860cde8a9f00ac6c/00-workdir-00/add-mamedev-systems-2v4.sh
                                            (right-click on raw to download)

                                            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.