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

      @DTEAM

      pce-cd is in the extra.
      neocd,neocdz and neocdzj are just regular system drivers, so they are in the default.

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

        @DTEAM

        I want to make these changes in 253.11 for matching next system drivers with better names :

        Detect as sega32 (cartridge only):
        Driver 32x (Genesis with 32X (USA, NTSC)): @game_console@home_videogame@lightgun@non-arcade
        Driver 32xe (Mega Drive with 32X (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
        Driver 32xj (Mega Drive with 32X (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade

        Detect as sega32-cd (cdrom and cartridge):
        Driver 32x_mcd (Mega-CD with 32X (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
        Driver 32x_mcdj (Mega-CD with 32X (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade
        Driver 32x_scd (Sega CD with 32X (USA, NTSC)): @game_console@home_videogame@lightgun@non-arcade
        (sega32-cd isn't in the cygnus-blue-flames theme yet !)

        Detect as segacd (cdrom and cartridge):
        Driver megacd (Mega-CD (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
        Driver megacd2 (Mega-CD 2 (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
        Driver megacd2j (Mega-CD 2 (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade
        Driver megacda (Mega-CD (Asia, PAL)): @game_console@home_videogame@lightgun@non-arcade
        Driver megacdj (Mega-CD (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade

        You see that all drivers have no @good tag so they can have issues.
        I have tested megacd2 ok with 1 game.

        Are you comfortable with detecting them as these RetroPie names ?

        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:

          @DTEAM

          I had a look at our cygnus-blue-flames theme and found the next directories :
          -> pce-cd
          -> neogeo-cd

          I will change the script so :

          • "pcecd"(not a real driver) will install as pce-cd
          • neocd,neocdz and neocdj will install as neogeo-cd

          Done, all updated to 253.10

          I installed them with your script and pce-cd works well but NeoCd doesn't . The problem seems to be my BIOS. I'll try to found another neocdz.zip file

          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:

            @DTEAM

            I want to make these changes in 253.11 for matching next system drivers with better names :

            Detect as sega32 (cartridge only):
            Driver 32x (Genesis with 32X (USA, NTSC)): @game_console@home_videogame@lightgun@non-arcade
            Driver 32xe (Mega Drive with 32X (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
            Driver 32xj (Mega Drive with 32X (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade

            Detect as sega32-cd (cdrom and cartridge):
            Driver 32x_mcd (Mega-CD with 32X (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
            Driver 32x_mcdj (Mega-CD with 32X (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade
            Driver 32x_scd (Sega CD with 32X (USA, NTSC)): @game_console@home_videogame@lightgun@non-arcade
            (sega32-cd isn't in the cygnus-blue-flames theme yet !)

            Detect as segacd (cdrom and cartridge):
            Driver megacd (Mega-CD (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
            Driver megacd2 (Mega-CD 2 (Europe, PAL)): @game_console@home_videogame@lightgun@non-arcade
            Driver megacd2j (Mega-CD 2 (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade
            Driver megacda (Mega-CD (Asia, PAL)): @game_console@home_videogame@lightgun@non-arcade
            Driver megacdj (Mega-CD (Japan, NTSC)): @game_console@home_videogame@lightgun@non-arcade

            You see that all drivers have no @good tag so they can have issues.
            I have tested megacd2 ok with 1 game.

            Are you comfortable with detecting them as these RetroPie names ?

            Too many options! , we should forget it . The actual lr- options in Retropie seem to be better. Are you agree?

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

              @DTEAM

              I agree for these Sega CD/Mega CD/Genesis CD systems there are better options in RetroPie.

              Indeed quite some options but basically it comes down to a few drivers.
              Somehow I need to add recognition otherwise they will be installed somehow in the wrong place, when installed.
              So I still want to add this recognition.
              I think the sorting will be a good choice once implemented.

              Edit : updated to 253.11

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

                @DTEAM

                How is it going with the other systems ?

                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, lr-mame and mame standalone:

                  @Folly

                  How is it going with the other systems ?

                  PCE-CD and NEO-CD working well now. I tried also your new script with NES and it works well!

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

                    @DTEAM

                    PCE-CD and NEO-CD working well now

                    Perfect !
                    Thanks

                    I tried also your new script

                    Which one do you use now ?

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

                      @Folly
                      The one from the hyperlink in your first post (253.11)

                      FollyF 3 Replies Last reply Reply Quote 0
                      • FollyF Folly referenced this topic on
                      • FollyF
                        Folly @DTEAM
                        last edited by Folly

                        @DTEAM

                        I made some rigorous changes to the way systems are displayed when installing.
                        Can you do some tests for me ?

                        https://github.com/FollyMaddy/RetroPie-Share/commit/43355c6efd3549d07ee8c44242f3b2ec2427a31f

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

                          @DTEAM

                          Another improvement to test :
                          https://github.com/FollyMaddy/RetroPie-Share/commit/1b4a5b038d4e105c4f87b3585b1ccad4a948dfb3

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

                            @DTEAM

                            MAME 0.255 is out.

                            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, lr-mame and mame standalone:

                              @DTEAM

                              MAME 0.255 is out.

                              Yes! Many good systems for us in their list

                              FROM MAME 0.255:

                              New working systems

                              TMBASKB Basketball (Tomy) [hap, Sean Riddle]
                              KTMNT3 Konami Teenage Mutant Ninja Turtles 3: Shredder's Last Stand (handheld) [algestam, Sean Riddle, Mr. Do]
                              KTMNTBB Konami Teenage Mutant Ninja Turtles: Basketball [algestam, Sean Riddle, Mr. Do]
                              TRSGKEEP Tronica Super Goal Keeper [algestam]
                              TMVOLLEYB Volleyball (Tomy) [hap, Sean Riddle]

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

                                @DTEAM

                                Yes indeed, quite some nice stuff ;-)
                                If I can then I will update the database next month.

                                For the libretro cores :
                                I don't expect the libretro syncing for lr-mess/lr-mame with mame come any soon.
                                And more problems are arising with lr-mess/lr-mame ;-(

                                1 Reply Last reply Reply Quote 0
                                • duglorD
                                  duglor
                                  last edited by

                                  Does the lr-mess-apple2 or lr-mame-apple2 --- need specific bios(es) and in a certain location for that to work? Currently not launching games for me. Be well! Thanks for everything! KudoS!

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

                                    @duglor

                                    If you run apple2 with mame in the command prompt and not having any bios files installed it will show this :

                                    pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame apple2 -ui_active
                                    a2.chr NOT FOUND (tried in apple2)
                                    OPTIONAL 341-0016-00.d0 NOT FOUND (tried in apple2)
                                    341-0001-00.e0 NOT FOUND (tried in apple2)
                                    341-0002-00.e8 NOT FOUND (tried in apple2)
                                    341-0003-00.f0 NOT FOUND (tried in apple2)
                                    341-0004-00.f8 NOT FOUND (tried in apple2)
                                    sc01a.bin NOT FOUND (tried in votrax apple2)
                                    341-0027-a.p5 NOT FOUND (tried in a2diskiing apple2)
                                    341-0028-a.rom NOT FOUND (tried in d2fdc apple2)
                                    

                                    So you need to find all bios roms from above, which means :

                                    • apple2.zip
                                    • votrax.zip
                                    • a2diskiing.zip
                                    • d2fdc.zip

                                    My runcommands will force the rompath into using BIOS/mame so the bios files need to go there when using this project and it's runcommands.
                                    Otherwise, with above command, it will depend on what rompaths there are in your /opt/retropie/configs/mame/mame.ini.

                                    After adding the files the apple2 should be able to run.

                                    P.s.
                                    Be aware that I am not talking about lr-mess here but if it works for mame it will ultimately work with my lr-mess runcommands.

                                    duglorD 1 Reply Last reply Reply Quote 1
                                    • duglorD
                                      duglor @Folly
                                      last edited by

                                      @Folly thank you

                                      1 Reply Last reply Reply Quote 0
                                      • AshpoolA
                                        Ashpool @Folly
                                        last edited by Ashpool

                                        @Folly Even if it took me somewhat longer, maybe it is time to open a separated topic for vm(ware) and retropie ... [even if it is just being used once in some while].?.
                                        As I never tried pure Debian (always used Distros based on Debian) for now, this questions of mine could/should(?) belong in such a new thread, but just to mentioning 'em (here 1st, as examples of eventually Q's to be A'd):

                                        • what debian iso/version to be used for retropie? (currently I've started with 11.7.0, but maybe the 10.# branche would be better suited? [as of June 23])
                                        • what desktop environment? (I've choosen LXDE, as the Raspion OS Desktop is based/derived from that (afair/?))
                                        • I was totally flabberghasted when the installer asked me about a domainname/url ending thereof... so what is common practice, or best choice: <.yourchoice>/<.locale>/[empty] ?
                                        • haven't tried it, but is leaving the admin pw blank an option to auto-add the created user to group sudoers?

                                        (a basic retropie install went fine on that (11.7), but I wanted to raise those concerns/questions before I going on ;]

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

                                          @Ashpool

                                          Good idea.

                                          Though I am not having much time right now but in time we can start a topic (in general discussions i presume).
                                          I would suggest to preserve the fist 5 posts for summarizing stuff.

                                          Sadly I have an issue again with the newest versions of "lr-mame/lr-mess" in Debian 11 now :
                                          https://github.com/libretro/mame/issues/371
                                          Seems Ubuntu 22.04 isn't affected.
                                          Edit : Issue seems to be solved now

                                          Other news for "lr-mame/lr-mess" is that we are waiting for 0.255.
                                          Hopefully it will come soon, this seems promising :
                                          https://github.com/libretro/mame/issues/373

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

                                            @DTEAM @Ashpool

                                            Seems I broke all my scripts with my previous updates.
                                            Something to do with skipping things when we install a predefined systems or categories.
                                            Seems I was skipping a bit too much, so it did not install many stuff at all.

                                            The problem was quite ugly.
                                            I hope I have fixed it all with my updates to 253.15 ;-)

                                            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.