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.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.
    • P
      profiteer @Folly
      last edited by

      @Folly

      1. Yeah, it's a bit of a shame. They said it's been in the works since nearly a decade ago, but nothing's really came of it. When I said I'd love to pick it up and maybe help brainstorm some ideas, I got met with some rather uncalled for hostility. I think they're hoping for interest to simply die off and people not bring it up, tbh.

      2. Installing cdimono1 was probably the most seamless part of the whole process. I did see the message saying a patch was being installed to make everything work.

      3. Controls for Hotel Mario are a bit hit-or-miss. Moving left and right are pseudorandom when using the mouse and keyboard and my PS4 and Xbox controllers simply don't remap properly. Clicking the mouse does register as the correct button press and allows me to jump, but I've died on level 1 more times than I care to count simply because I sat there and watched Mario do a swan dive off the edge of the platform.

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

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

        @Folly

        1. Yeah, it's a bit of a shame. They said it's been in the works since nearly a decade ago, but nothing's really came of it. When I said I'd love to pick it up and maybe help brainstorm some ideas, I got met with some rather uncalled for hostility. I think they're hoping for interest to simply die off and people not bring it up, tbh.

        Indeed they are not that friendly on that forum, experienced the same sort of things sadly.

        1. Installing cdimono1 was probably the most seamless part of the whole process. I did see the message saying a patch was being installed to make everything work.

        Ok, that's a good sign for me.
        It basically means that the basics of the script is how it should be ;-)

        1. Controls for Hotel Mario are a bit hit-or-miss. Moving left and right are pseudorandom when using the mouse and keyboard and my PS4 and Xbox controllers simply don't remap properly. Clicking the mouse does register as the correct button press and allows me to jump, but I've died on level 1 more times than I care to count simply because I sat there and watched Mario do a swan dive off the edge of the platform.

        Haha, yes it needs some getting used to.

        I have to look into it is the patches still work like it should.
        I noticed that all input settings of standalone mame were at the default settings although I noticed that the screen patch was applied in the config. So I think it still works.
        I think the joy/mouse patch was mainly for lr-mess.

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

          @profiteer

          What is your sha1sum of the hotmario.chd ?
          I managed to softload without changing the sha1 in the hash.
          Although working it's indeed a bit of a hassle to get it working.
          Found from the runcommand.log that the chd searches a specific name in a specific folder.
          If you want a clean roms/cdimono1 roms folder with only hotmario.chd then that file need to be a link of :
          /home/pi/RetroPie/BIOS/mame/cdi/hotmario/hotel mario (1994)(philips)(eu).chd
          or (not ideal but will work technically)
          /home/pi/RetroPie/roms/cdimono1/cdi/hotmario/hotel mario (1994)(philips)(eu).chd

          As both paths are added in the runcommand as search paths.

          You can also make a dummy file but then the checksum is not correct for scraping gamelists.

          Hope you understand this information.

          1 Reply Last reply Reply Quote 0
          • retropieuser555R
            retropieuser555
            last edited by

            Apologies for a bit of a bump, but I see most recent Mame version has fixed a bunch of Sega Model 2 games such as Daytona USA and House of the dead, so that's pretty cool to see, especially if the pi 5 can handle it

            Pi 5 4GB

            Retroflag GPI with raspberry pi zero 2 w/ wifi

            Retroachievements:- lovelessrapture

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

              @retropieuser555

              No problem.
              Indeed, seems to be a nice update again.
              Will make a binary asap.

              Edit :
              Added the binary.
              Can you let us know what your experience is ?

              retropieuser555R 1 Reply Last reply Reply Quote 0
              • retropieuser555R
                retropieuser555 @Folly
                last edited by retropieuser555

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

                @retropieuser555

                No problem.
                Indeed, seems to be a nice update again.
                Will make a binary asap.

                Edit :
                Added the binary.
                Can you let us know what your experience is ?

                For sure, I'll have a mess with the pi 5, although it's worth noting my install has mesa 25.1.4 so it might be a little your milage may vary.

                I did have a quick go on my MacBook M1 and everything Sega model 2 I threw at it was perfect. house of the dead, Virtua cop, Virtua fighter 2, Daytona, it all seems good to me. But I'll try pi 5 and report back

                Pi 5 4GB

                Retroflag GPI with raspberry pi zero 2 w/ wifi

                Retroachievements:- lovelessrapture

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

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

                  I did have a quick go on my MacBook M1

                  Assuming on linux via a Virtual Machine, right ?

                  retropieuser555R 1 Reply Last reply Reply Quote 0
                  • retropieuser555R
                    retropieuser555 @Folly
                    last edited by

                    @Folly No sorry I meant the OSX Mame nightly built of 0.278. so standalone Mame works and boots up on my Raspberry pi 5. Games like Daytona USA, Dynamite Cop I tried and they booted. Only problem is I'm not getting audio, I imagine I need to add some dependancies or change some settings to get it to look for alsa

                    Anyway, I'm building lr-mame first and if that works as well or if the fps is a significantly lower

                    Pi 5 4GB

                    Retroflag GPI with raspberry pi zero 2 w/ wifi

                    Retroachievements:- lovelessrapture

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

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

                      @Folly No sorry I meant the OSX Mame nightly built of 0.278. so standalone Mame works and boots up on my Raspberry pi 5. Games like Daytona USA, Dynamite Cop I tried and they booted. Only problem is I'm not getting audio, I imagine I need to add some dependancies or change some settings to get it to look for alsa

                      Anyway, I'm building lr-mame first and if that works as well or if the fps is a significantly lower

                      No problem running it directly on OSX.
                      But if you like and can then try to run debian12 or above with mate desktop on your M1 and you can just install RetroPie on top. You can even use the raspberry pi binaries and you can also make the binaries for the rpi on your M1 (only 64bit though). mame compiles within an hour on the M1. If you have enough ram (16Mb+) then half an hour can be possible (vs 4-5 hours on an rpi).
                      That is how I do it and these binaries are placed on the gdrives to share within the script. So if you want you could help me with that building lr-mame versions for example.

                      I added code for creating model2/model3 ini files containing the systems that are model2 or model3 systems. that way the systems can be added to the next databases to be able to categorize model2 and model3 into separate roms folders.
                      The commit of model2.ini can be found here.

                      I also added the model2 data to the old 277 database here, so it's possible now to install model2 as a category and easily link the roms using the 277 database.
                      Remember to update the script, then it will get the updated database too.

                      With linking the roms remember to remove (&& /@good@/) in the search input option to link all model2 roms as most of them are marked "preliminary".

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

                        @Folly

                        Here's the list of new handhelds for us (based on MAME 0.278). It's a lot for a MAME new version.

                        0.278.png

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

                          @DTEAM

                          My script detected also these 2 for classich :
                          uchitari (Uchitel' arifmetiki (prototype?)) Elektronika
                          vesarif (Vesolaya arifmetika) Elektronika

                          For jakks these 2 are also detected :
                          jak_mpaco (Ms. Pac-Man Collection 5-in-1 (JAKKS Pacific TV Game) (01 APR 2004 A))
                          jak_mpacq (Ms. Pac-Man Collection 7-in-1 (JAKKS Pacific TV Game) (QVC version, 12 JUL 2004 A))

                          I will add these too.

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

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

                            uchitari (Uchitel' arifmetiki (prototype?)) Elektronika
                            vesarif (Vesolaya arifmetika) Elektronika

                            Read this post and the one after

                            https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=124522#Post124522

                            no evidence of a real unit yet. Not sure we should add it for now. The other one is a clone

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

                              @DTEAM

                              I see what you mean.
                              I will keep manually removing those 2 until we think we should add it again.

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

                                @Folly
                                I don't have the time to do it now, but someday, maybe we should add Elektronica as a system
                                https://en.wikipedia.org/wiki/Elektronika

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

                                  @DTEAM thing is, would you add Dendy as a system? As all these old Soviet games were basically clones of others (most of these like Nu pogodi are game and watch clones)

                                  Pi 5 4GB

                                  Retroflag GPI with raspberry pi zero 2 w/ wifi

                                  Retroachievements:- lovelessrapture

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

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

                                    @DTEAM thing is, would you add Dendy as a system? As all these old Soviet games were basically clones of others (most of these like Nu pogodi are game and watch clones)

                                    Somehow you mentioned something in your post that we missed somehow.
                                    Seems nupogodi wasn't in our lists.
                                    After some investigation the manufacturer part is not Elektronika but bootleg Elektronika so my ini-creation script missed the bootlegs.
                                    After all it turns out there are far more Elektronika handhelds.

                                    I see what you mean by saying you don't install dendy as a default system as it's basically the same as the nes.
                                    I agree with that.
                                    I think however with the Elektronika handhelds this is a bit different as they are clones but the looks is very different.
                                    So it's probably not a bad idea to separate them from the classich category after all.
                                    I detected 21 Elektronika handhelds where only 2 of them were in the classich category and recently 2 others which we didn't want in the classih category.
                                    So making it separately could be a win win here.

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

                                      @DTEAM

                                      I added code for detecting here and here.
                                      I removed the Elektronika drivers from classich.ini here.
                                      I added elektronikah.ini here.

                                      I think this is the way to go.

                                      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.