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.5m 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 @profiteer
      last edited by Folly

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

      @Folly It look QUITE a bit of finessing, but I did manage to get Hotel Mario to work. Not sure when or how, but the sha1 did change on the CHD. So, I just hopped into the xml file, changed it to the current sha1 of the rom, had to rename and relocate some bios files (this was a big roadblock due to unforeseen renaming as a result of duplicate unzipping), and then it FINALLY got up and running.

      Ok, good for you.
      Doing this make you learn a lot.
      I would recommend to find the correct CHD if you can, as the hash tables will be overwritten when mame updates.
      But what the heck if it works for you, so be it, just remember to change it next time again.

      Can you explain to me a bit more about the mpeg cartridge compatibility issue? I've been trying to get a couple of other obscure titles loaded on, but the xml says they need the DVC.

      Well DVC support is not added in the mame driver so the games will not work.
      There have been some improvements added lately but I don't think DVC support is going to be added soon.


      I want to ask you something.
      Did you came across the patch-fix message when installing cdimono1 from the script ?
      Do the controls work like expected ?

      P 1 Reply Last reply Reply Quote 0
      • 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 1 Reply Last reply Reply Quote 0
                                  • 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

                                    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.