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 8.0m 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.
    • FollyF
      Folly @TPR
      last edited by Folly

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

      @Folly Samurai Spirits is another one. Tried both chd and cue/bin and no matter what options in emulators.cfg I choose it just hangs on this screen:

      I got the boot-disk (sspirit.zip) from the mame-sl softlist in fmtowns_cd.
      Tried to get samurai spirits (japan).chd from the mame-chd set but it wasn't there so I got my file from elsewhere and pasted in :
      ~/RetroPie/BIOS/mame/fmtowns_cd/sspirits/samurai spirits (japan).chd
      Then I ran sspirit.zip from roms/fmtowns with a basename loader and got it running.
      I did this now on a 2.6Ghz intel I5 and it was a bit stuttering so I used some frameskipping to improve the speed in mame standalone.
      I did some fighting and it did not freeze in the time I played with it.
      I think this game might be too heavy for the pi4 or pi5.

      Here is my picture :
      sspirit.png

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

        @TPR

        This page might be interesting for you :
        https://arcade.vastheman.com/minimaws/softwarelist/fmtowns_cd

        BTW:
        I did all the tests on fmtowns not fmtmarty.

        1 Reply Last reply Reply Quote 0
        • TPRT
          TPR @Folly
          last edited by

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

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

          @Folly Was Tomy Tutor ever a consideration for your script?

          Not specifically.
          The consideration was that it could install and use all mame drivers if possible.
          Basically that what it does depending on the database.
          Mostly the rest depends on mame if the drive works or not.
          For some drivers I added some patches in the script in order to let them work better.
          I just tested tutor and this seems to work OOB ;-)

          Oh! If tutor works, if you could point me in the right direction to get it running that would be appreciated!

          As for the other fmtowns stuff, that all seems to make sense to me and I'll give it all a try this week.

          Thank you!

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

            @Folly Using the boot disk, this is what worked for me:
            Lr-mess-fmtowns-sspirits = "/opt/retropie/emulators/retroarch/bin/retroarch --config /opt/retropie/configs/fmtowns/retroarch.cfg --appendconfig /opt/retropie/configs/fmtowns/retroarch.cfg.add -S /home/pi/RetroPie/roms/fmtowns -s /home/pi/RetroPie/roms/fmtowns -v -L /opt/retropie/libretrocores/lr-mess/mamemess_libretro.so 'fmtowns -ram 6M -rompath /home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/roms/fmtowns/ -cfg_directory /opt/retropie/configs/fmtowns/lr-mess -c -ui_active -cdrm /home/pi/RetroPie/roms/fm_towns_disks/sspirits.chd -flop1 %ROM%'"

            Thanks again for your help!

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

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

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

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

              @Folly Was Tomy Tutor ever a consideration for your script?

              Not specifically.
              The consideration was that it could install and use all mame drivers if possible.
              Basically that what it does depending on the database.
              Mostly the rest depends on mame if the drive works or not.
              For some drivers I added some patches in the script in order to let them work better.
              I just tested tutor and this seems to work OOB ;-)

              Oh! If tutor works, if you could point me in the right direction to get it running that would be appreciated!

              As for the other fmtowns stuff, that all seems to make sense to me and I'll give it all a try this week.

              Thank you!

              Install tutor from my script.
              Place the bios file tutor.zip in BIOS/mame
              Extract the file tutor.zip from the mame softlist set and place these files in roms/tutor.

              You can check all drivers in my database.
              It's downloaded to your computer when using the script (/opt/retropie/emulators/mame/mame0xxx_systems_sorted_info)
              or check these files with a text editor :
              https://github.com/FollyMaddy/RetroPie-Share/tree/main/00-databases-00/mame

              You can use direct and quick install from my script and just enter tutor or whatever you want to install.
              Remember default installs are focused on non-arcade drivers.
              Arcade drivers can also be inserted but the script will check if it belongs to a category and install the most obvious category.

              TPRT 1 Reply Last reply Reply Quote 0
              • TPRT
                TPR @Folly
                last edited by

                @Folly Gotcha, I didn’t realize it was already part of your script but that’s probably because I was looking in the suggested console list and not the full list of every possible rom. I’ll give that a try tomorrow!

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

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

                  @Folly Gotcha, I didn’t realize it was already part of your script but that’s probably because I was looking in the suggested console list and not the full list of every possible rom. I’ll give that a try tomorrow!

                  The script depends heavily on the database.

                  tutor doesn't have the tag @game_console :
                  Driver tutor (Tomy Tutor): @computer@good@home_system@non-arcade@

                  That's why it's not listed in the game_console list

                  The tags mostly depend on the progettosnaps data.
                  Probably not added because it has a keyboard and can be used as regular computer that's why it has the tag @home_system.

                  For you I added the predefined list for home systems, look here :
                  https://github.com/FollyMaddy/RetroPie-Share/commit/da0b6070816126d340e5690c66ff374eaa589eae

                  Let me know if you understand how it works.

                  TPRT 1 Reply Last reply Reply Quote 0
                  • TPRT
                    TPR @Folly
                    last edited by

                    @Folly Awesome! Thank you! I can totally work with that! I’ll let you know if I run into any issues.

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

                      @TPR

                      Remember that the list is not filtered on the tag @good so the list contains also bad drivers.

                      Then the code would have been :

                      ",Home systems upon descriptions,,create_systems_list_mamedev descriptions @home_system @good,"
                      ",Home systems upon system names,,create_systems_list_mamedev systems @home_system @good,"
                      

                      If you want you can experiment with that.

                      Here you can see how many filter options you can add when running the function :
                      https://github.com/FollyMaddy/RetroPie-Share/blob/da0b6070816126d340e5690c66ff374eaa589eae/00-scriptmodules-00/supplementary/mamedev.sh#L1937-L1951

                      TPRT 1 Reply Last reply Reply Quote 0
                      • TPRT
                        TPR @Folly
                        last edited by

                        @Folly Yay! Thank you!
                        BACC6804-24D6-4978-8383-A1C2AD5BF121.JPEG

                        EA1262A2-056E-4C92-A892-554CC52F4A38.JPEG

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

                          @TPR

                          Perfect !
                          Seems you are getting the hang of it.

                          Let me know if you want to know more about the code.
                          I can teach you some stuff.
                          I could use some volunteers in the future, you know ;-)

                          TPRT 1 Reply Last reply Reply Quote 0
                          • TPRT
                            TPR @Folly
                            last edited by

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

                            @TPR

                            Perfect !
                            Seems you are getting the hang of it.

                            Let me know if you want to know more about the code.
                            I can teach you some stuff.
                            I could use some volunteers in the future, you know ;-)

                            I can understand it and I can tinker with it, but I'm not a "programmer" however I still try to contribute what I can! :D

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

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

                              I can understand it and I can tinker with it, but I'm not a "programmer" however I still try to contribute what I can! :D

                              That's fine too, thanks !

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

                                @TPR said in How to emulate Bally Astrocade, VTech Creativision, and Emerson Arcadia-2001 in lr-mess:

                                I finally figured it out, and in case anyone needs to know for future reference:

                                Option 1: Go into "Slot Devices" by pressing TAB to get into the MAME config menu and choose "Joy" under "ctrl2" - This is not set by default.

                                Option 2: Add -ctrl2 joy to your command line in emulators.cfg - This will force a controller to put put into controller port 2. So for example, my command line for Astrocade looks like this:

                                @TPR @LilaQ
                                I read both your posts and added this in my script for :
                                -astrocde
                                -astrocdl
                                -astrocdw
                                With a default install for these drivers "-ctrl2 joy" will be added automatically.
                                https://github.com/FollyMaddy/RetroPie-Share/commit/28939863494d9a124d02cf16fddb4b49cf5f1e32

                                Remember my script doesn't use "astrocade" (with an A) just :
                                -astrocde
                                -astrocdl
                                -astrocdw

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

                                  @Folly

                                  MAME 0.272 is release

                                  For All in one:

                                  Jungle Soft Classic Max Pocket Mx-10 - 12 in 1 (vertical) [TeamEurope, David Haywood, AJR] --> cmpmx10
                                  YSN GameU Joint TV Bank 108-in-1 (model AH9069) [TeamEurope, David Haywood] --> gujtv108
                                  Classic Max Pocket PCMX11 - 12 in 1 Colour Games Console (horizontal, France) -->cmpmx11
                                  NJ Pocket 60-in-1 handheld 'X zero' (NTSC) [David Haywood, AJR] --> njp60in1 (already in the list , but now promoted as a working system)
                                  Portable Game Station 268-in-1 [David Haywood, AJR] --> pgs268
                                  unknown VT1682-based 101-in-1 handheld (PAL) [David Haywood, AJR] --> unk1682 (already in the list , but now promoted as a working system)

                                  for MAME 0.271
                                  265-in-1 Handheld Game (SPG2xx based) [David Haywood, TeamEurope] --> 265games
                                  Digital Pocket Hand Held System 230-in-1 - Model 8630 / Model 8633 [David Haywood] --> dphh8630
                                  dreamGEAR My Arcade Gamer Mini 160-in-1 (DGUN-2953) [David Haywood]
                                  --> dgun2953
                                  Fizz Creations Arcade Classics Mini Handheld Arcade --> supreme
                                  Fizz Creations Mini Arcade Console (Arcade 10-in-1) [David Haywood] --> arcade10
                                  Millennium 2000 GmbH Millennium Arcade 250 --> marc250
                                  Orb Retro Arcade Game Controller 153-in-1 [David Haywood] --> ragc153
                                  Orb Retro Handheld Console 152-in-1 [David Haywood] --> rhhc152

                                  Recently, many "all in one" systems have been promoted as "working systems". I didn't saw that. I'll do a quick search in the previous MAME releases. A lot of work to update the gamelist.xml.

                                  New edit: That list above is ok. I revisited the old MAME journals.

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

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

                                    MAME 0.265 is released, see here

                                    Coleco_homebrew now supported by MAME
                                    New games for:
                                    gameking3:
                                    Diamond, Hemic Battle [sCZther, SSJ, Gaming Alexandria, TeamEurope]

                                    After 7 months , my gamelist.xml is now updated for Gameking3

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

                                      @DTEAM

                                      Nice to hear that you did some updates.

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

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

                                        @Folly

                                        MAME 0.272 is release

                                        For All in one:

                                        Jungle Soft Classic Max Pocket Mx-10 - 12 in 1 (vertical) [TeamEurope, David Haywood, AJR] --> cmpmx10
                                        YSN GameU Joint TV Bank 108-in-1 (model AH9069) [TeamEurope, David Haywood] --> gujtv108
                                        Classic Max Pocket PCMX11 - 12 in 1 Colour Games Console (horizontal, France) -->cmpmx11
                                        NJ Pocket 60-in-1 handheld 'X zero' (NTSC) [David Haywood, AJR] --> njp60in1 (already in the list , but now promoted as a working system)
                                        Portable Game Station 268-in-1 [David Haywood, AJR] --> pgs268
                                        unknown VT1682-based 101-in-1 handheld (PAL) [David Haywood, AJR] --> unk1682 (already in the list , but now promoted as a working system)

                                        for MAME 0.271
                                        265-in-1 Handheld Game (SPG2xx based) [David Haywood, TeamEurope] --> 265games
                                        Digital Pocket Hand Held System 230-in-1 - Model 8630 / Model 8633 [David Haywood] --> dphh8630
                                        dreamGEAR My Arcade Gamer Mini 160-in-1 (DGUN-2953) [David Haywood]
                                        --> dgun2953
                                        Fizz Creations Arcade Classics Mini Handheld Arcade --> supreme
                                        Fizz Creations Mini Arcade Console (Arcade 10-in-1) [David Haywood] --> arcade10
                                        Millennium 2000 GmbH Millennium Arcade 250 --> marc250
                                        Orb Retro Arcade Game Controller 153-in-1 [David Haywood] --> ragc153
                                        Orb Retro Handheld Console 152-in-1 [David Haywood] --> rhhc152

                                        Recently, many "all in one" systems have been promoted as "working systems". I didn't saw that. I'll do a quick search in the previous MAME releases. A lot of work to update the gamelist.xml.

                                        New edit: That list above is ok. I revisited the old MAME journals.

                                        I have manually added the all_in1 drivers in the 271 database.
                                        To get it just update the script and the database will be overwritten with a new one.
                                        https://github.com/FollyMaddy/RetroPie-Share/commit/5f45c53d414154087f56cfb3cb6a408824b249f0
                                        https://github.com/FollyMaddy/RetroPie-Share/commit/568454915cc701f0ac2ca66ea7bcaca1d84acd06

                                        Also updated for next update:
                                        https://github.com/FollyMaddy/RetroPie-Share/commit/0edbb4b9e81dd8464ba3f8dc5c3413f9c6aa2417

                                        P.s.
                                        Did you leave out marc101 because booting is a bit slow in the beginning ?

                                        DTEAMD 1 Reply Last reply Reply Quote 1
                                        • FollyF
                                          Folly
                                          last edited by Folly

                                          @DTEAM
                                          Found something that is interesting.
                                          Viewing on the progettosnaps website I found that he has a github page with the ini files over here :
                                          https://github.com/AntoPISA/MAME_SupportFiles/tree/main

                                          If needed we can still find the old ini files over there..

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

                                            The script and database have been updated to 272.

                                            1 Reply Last reply Reply Quote 2
                                            • 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.