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 35 Posters 6.1m 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.
    • B
      bbilford83 @Folly
      last edited by

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

      @bbilford83

      I found the problem with zemmix and the joystick not working when there are 2 connected.

      When we talk about 1942 we use that romname and file.
      However, for zemmix we need to use the zemina version of 1942 which is called 1942k.
      The rom 1942k exists in the 1942.zip file.
      So we need to rename 1942.zip to 1942k.zip in order to load 1942k with the basename loader.
      With the -cart1 loader you need to extract the k version and load that rom or remove the regular rom from the archive.

      Now, when selecting player 2 and both joysticks connected, no problem anymore.
      Seems there are some hardware differences with regular msx types.
      So it seems there is no issue with mame after all.

      @Folly I actually was already using the 1942k rom. But that reminded me that there is a 1942k rom for msx1_cart and one for msx2_cart. I was using the latter. I switched to the msx1_ cart version and it worked right away as you said, but the graphics are far worse than the msx2 version. So there would still be value in figuring out how to disable the first joystick by default, I think.

      1 Reply Last reply Reply Quote 1
      • B
        bbilford83 @Folly
        last edited by bbilford83

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

        @duglor

        Nice to hear you have made some overlays.
        Perhaps you can share them in the future somehow.

        About the paddle speed.
        I think the best option is to change some settings in the RetroArch menu as the settings from the slider options in the regular mame menu will not stick.
        However I am not that fanatic with microvsn and don't know much about paddles either.
        So I can't really help or I have to dig into it.
        Perhaps @bbilford83 knows.

        @bbilford83 can you help @duglor with this ?

        @duglor @Folly I had a lot of trouble adjusting this as well, but I think the way you do it is go into the mame menu, then input settings (first option), analog input adjustments (second option), then tweak things there. I just checked and I put my increment/decrement speed way down to 5 and sensitivity down to 5 as well. My main problem is that the location of the paddle automatically defaults to the far right of the screen, so to center the paddle you have to be pulling the analog stick to the left. If you don't have that problem, or find a solution to it, I'd love to know how!

        Edit: I went back and looked at Folly's post and see he was concerned the slider settings wouldn't save. They do for me, but that's probably because I was already using the game_specific emulator choice you pick in the runcommand (that's how I got it to use the right art before Folly had made the script to it automatically). So you may need to do that for each game that you want to adjust the sensitivity if it won't save otherwise.

        And I second @folly in asking for your art. In particular for Connect Four, the art I made and shared earlier is off and it makes the game unplayable. The ones that I couldn't successfully make were: Bowling, Connect 4, Vegas Slots.

        duglorD 2 Replies Last reply Reply Quote 1
        • B
          bbilford83
          last edited by bbilford83

          @Folly a few notes after testing all the games on the Zemmix list you made from #-F.

          There are a couple games that just don't work at all for some reason, and oddly they seem to be the games made Zemima (the Korean company). Dr. Hello, a ridiculous Dr. Mario clone, won't load in any version of the emulator, and it just enters an endless reboot cycle. And Eagles 5 just loads to a black screen after booting up... I left it on for several minutes and it never leaves. I tried everything I could with those and nothing helped, so maybe they are bad dumps? I don't know.

          There are several games (I didn't keep track of them) that really needed a keyboard for full functionality, so I removed them - my final gamelist will obviously have them removed.

          And, maybe most important, there are games that make pretty clear to me that the list must be really underinclusive of games that could be played perfectly on a zemmix, though I don't think there's any such list in existence and it would take days and days of testing (because the MSX library is so huge) to figure it out from scratch. But for example, the shmup "Exoide-Z Area 5" is on the list you made because there was a korean version, but that game is a sequel to "Exoide-Z," which plays exactly the same and just as much doesn't need a keyboard, but isn't the list (I guess because there was no Korea-specific version). Or another example, the Korean version of Final Zone Wolf - which, strangely, seems to just be named "Final Zone" with "Zemina" replacing the word "wolf" - doesn't display any words, and the game has a lot of dialogue - maybe the emulator is having trouble with the Korean characters? But playing the regular version of the rom works fine (in that it displays Japanese). I had to watch some videos to figure this out as I thought the game just wasn't registering inputs at all.

          I can't think of any easy solution here on how to figure out which games wouldn't use a keyboard at all, but it seems clear to me now that the "just Korean-made games" list isn't really the "Zemmix list" in any real way. For now I will keep testing all the games on that list you made because obviously the Korean-made games is a a good start - these would've been most accessible to the Koreans buying the Zemmix console. But I thought I'd explain my thinking/why this isn't going to be nearly all the "Zemmix" games in the sense that it could play many others I'm not testing.

          Long post, sorry!

          Edit: I realized one other possible source of good games for it would be to look at that list you found of the "zuul" romset. Just like the korea-only filter, that also seems to include some that shouldn't be there but about 3/4 of what's on there that I've tested so far also works (either doesn't use the keyboard at all or offers for you to use it but you don't need to for any reason). So I've been adding that as I go along too.... so far up to the alphabet all games including F, there are 41 working games, so even with the underinclusive list I am making it is a huge library. It also seems to me like the msx2 games are a major step up from the msx1 ones, so maybe at the end I will take extra time to test which others of those can be added.

          1 Reply Last reply Reply Quote 1
          • DarksaviorD
            Darksavior @Folly
            last edited by Darksavior

            @Folly 12288 worked, thanks. Unfortunately, lr-mame is still too slow with Killer Instinct on the pi5. I will have to test on older mame's. It seems to be fine for the rest of the games I wanted to run like the konamigx games.

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

              @Darksavior

              Good to know it worked.

              Did you also try frameskipping with lr-mame ?
              I tested the game on my VM on a I7 2,5Ghz macbook pro.
              The game works perfectly on standalone mame.
              With lr-mame (still 255 on this computer) I needed to skip 8 frames to get it to 100%.
              Use F11 to see performance and use F9 to change skipping frames.

              I can remember that some updates in the sourcecode made lr-mame and lr-mess, sadly, much slower which started from 0251 or so.
              On the other hand it's great to see that lr-mame and lr-mess are maintained again.

              Curious if the game will work with standalone mame on a pi5 ?
              You can try to install standalone mame from binary in my script, try the aarch64,gcc10 one from stickfreaks so you don't have to install from source.
              Also curious if the binary will work on the pi5.

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

                @bbilford83 Do you suggest a site to host the overlays? I would have to give you the video settings custom numbers to so that they match. I would upload the bin and cfg files with a text for the custom video settings requirements. connect 4 is not perfect, but it works ok. It took a long time.

                F B 2 Replies Last reply Reply Quote 1
                • F
                  Folly @duglor
                  last edited by Folly

                  @duglor

                  We share most stuff via google drive.
                  If you have a google account you can access and use 15GB for free and share the links.

                  I also use gdrive links in my script.
                  So if the structure is good for sharing it that way, then I can implement it in the script.
                  If not sharable, in that way, I can add the link in my first post to share.

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

                    @duglor What @folly said :). I just create folders and make them visible to anyone who has the link.

                    The video setting custom numbers was one idea we had on how to make it work but I was too confused the moment I tried it. But I know how to input the numbers at least if you can share them!

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

                      @Folly I'll upload tonight or tomorrow. Thanks.

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

                        We reached a half million views in this topic ;-)
                        Something to celebrate !!!!

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

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

                          @Folly I'll upload tonight or tomorrow. Thanks.

                          Try to use sub-directories, something like this :
                          roms/microvsn/*.cfg
                          roms/microvsn/media/retroarch/overlays/*.cfg
                          roms/microvsn/media/retroarch/overlays/*.png

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

                            @Folly

                            HERE ARE THE OVERLAYS AND RULES TO SCALE THEM FOR THE MICROVISION GAMES - SEA DUEL, CONNECT 4, BLOCKBUSTER, and SUPER BLOCKBUSTER

                            https://drive.google.com/drive/folders/1TV2uGzbM2NmpD1hXFtTqs9h90qjHdC2F?usp=drive_link

                            Feel free to use them anywhere in whatever way you wish and even edit them, modify them, turn them upside down or what have you. In other words, I claim nothing for these.

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

                              @duglor

                              Thanks for sharing.
                              Can you change the directory structure and place the files inside :
                              /microvsn/<files>
                              And share the links of the directory structure ?

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

                                @Folly

                                https://drive.google.com/drive/folders/1TV2uGzbM2NmpD1hXFtTqs9h90qjHdC2F?usp=drive_link

                                is the new link with what you asked for. It is also editable by yourself if you'd like.

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

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

                                  sensitiv

                                  My slider adjustements stick for all games using that core. I can't get my adjustment to stick for only one game. Do you just go in and rename the mame.ini after you made the adjustement to the <gamename>.ini ? and then go back and change the mame.ini back to it's old sensitivities so the other games are back to their regular ways and only your one game with its new ini has different sensitivities that stick? For example, my analog changes in one vectex game stuck for all vectrex games using lr-mess-vectrex. I wish i could save the sensitivity for the one vectrex game.

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    bbilford83 @duglor
                                    last edited by

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

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

                                    sensitiv

                                    My slider adjustements stick for all games using that core. I can't get my adjustment to stick for only one game. Do you just go in and rename the mame.ini after you made the adjustement to the <gamename>.ini ? and then go back and change the mame.ini back to it's old sensitivities so the other games are back to their regular ways and only your one game with its new ini has different sensitivities that stick? For example, my analog changes in one vectex game stuck for all vectrex games using lr-mess-vectrex. I wish i could save the sensitivity for the one vectrex game.

                                    I hate to say it but now I realize I probably was setting it for the whole system, I'm not sure it was game-specific. I'll check later tonight but I may not be of help :(.

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      bbilford83 @bbilford83
                                      last edited by

                                      @duglor I think it was system-wide, sorry for the false hope on that. Though is there a reason to have the sensitivity higher for any other games? It seems way too high by default across the board to me.

                                      Unrelated, I am testing out your overlays now, thank you so much for sharing them. Only one I tested so far though is connect four and after following your scaling instructions I don't think it's working for me... I can't see the piece on the top to know where I'm putting things and when they land they are going too low. See following picture. Are you getting better results or was this just how it was for you too?

                                      alt text

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

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

                                        @Folly

                                        https://drive.google.com/drive/folders/1TV2uGzbM2NmpD1hXFtTqs9h90qjHdC2F?usp=drive_link

                                        is the new link with what you asked for. It is also editable by yourself if you'd like.

                                        Sadly not the way I want it.
                                        It has to look like this :
                                        https://drive.google.com/drive/folders/1f_jXMG0XMBdyOOBpz8CHM6AFj9vC1R6m

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

                                          @bbilford83

                                          My experience with "Orionsangels Realistic Overlays" is that overlays are always customized by the resolution from the initial user.
                                          So if @duglor runs with 1920x1080 and you with 1600x900 then the values don't match up anymore.
                                          Then @duglor made it for 1920x1080, for example.

                                          So back to my example with "ORO".
                                          These overlays are made for 1920x1080 and I run on 1600x900 so the widht (x) and height (y) values have to be re-calculated.
                                          So if we want to re-calculate the values when using, for example 1600x900, we can do it like this for the width (x) :
                                          new_x=initial_x * 1600/1920
                                          or for the height (y) :
                                          new_y=initial_y * 900/1080

                                          So what you need to know is on which resolution you both run and then you can re-calculate it.

                                          Not 100% sure but I expect it will work like this.

                                          B duglorD 2 Replies Last reply Reply Quote 0
                                          • B
                                            bbilford83 @Folly
                                            last edited by

                                            @Folly good point, I should've guessed that. @duglor could you share what resolution you are running at? Mine is 1920x1080 and probably that is not what you're using.

                                            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.