• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.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.
  • D
    DTEAM @Folly
    last edited by DTEAM 13 Dec 2023, 16:41

    @Folly
    OMG, it will not be my favorite system to play 🤣 Pull request merged !!

    F 2 Replies Last reply 13 Dec 2023, 16:58 Reply Quote 1
    • F
      Folly @DTEAM
      last edited by 13 Dec 2023, 16:58

      @DTEAM

      Indeed, but I had some fun making it.
      Good exercise ;-)

      1 Reply Last reply Reply Quote 1
      • F
        Folly @DTEAM
        last edited by Folly 13 Dec 2023, 17:00

        @DTEAM

        Btw. I am thinking of removing the forum.ini data from the database and from the script as it is of no extra value anymore, I think.
        At least I don't use it.
        What do you think ?

        D 1 Reply Last reply 13 Dec 2023, 18:07 Reply Quote 1
        • F
          Folly @bbilford83
          last edited by Folly 13 Dec 2023, 17:10

          @bbilford83

          I just tested 261 lr-mess on my aarch64 VM and indeed videtart is not working too.
          So I am compiling a full lr-mame/lr-mess containing all drivers (arcade and non-arcade) to see if that works.
          If it works I would you like you to ask and do that too for RPI4 and share that binary if you can.

          Btw :
          It's not just about videoart but there are probably many others that are not in the list.

          Edit :
          I added aarch64 lr-mame / lr-mess full_mame versions to the binary lists, which work now for videoart.
          Btw. compiling it with a module-script needs adjustments of the module-script and renaming etc. But the .so file can be used for both lr-mame and lr-mess.

          B 1 Reply Last reply 13 Dec 2023, 22:19 Reply Quote 0
          • D
            DTEAM @Folly
            last edited by 13 Dec 2023, 18:07

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

            Btw. I am thinking of removing the forum.ini data from the database and from the script as it is of no extra value anymore, I think.
            At least I don't use it.
            What do you think ?

            Yes sure

            F 1 Reply Last reply 13 Dec 2023, 18:11 Reply Quote 1
            • F
              Folly @DTEAM
              last edited by 13 Dec 2023, 18:11

              @DTEAM

              Ok will probably will do in next version.

              1 Reply Last reply Reply Quote 0
              • D DTEAM referenced this topic on 13 Dec 2023, 19:42
              • B
                bbilford83 @Folly
                last edited by 13 Dec 2023, 22:19

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

                @bbilford83

                I just tested 261 lr-mess on my aarch64 VM and indeed videtart is not working too.
                So I am compiling a full lr-mame/lr-mess containing all drivers (arcade and non-arcade) to see if that works.
                If it works I would you like you to ask and do that too for RPI4 and share that binary if you can.

                Btw :
                It's not just about videoart but there are probably many others that are not in the list.

                Edit :
                I added aarch64 lr-mame / lr-mess full_mame versions to the binary lists, which work now for videoart.
                Btw. compiling it with a module-script needs adjustments of the module-script and renaming etc. But the .so file can be used for both lr-mame and lr-mess.

                I don't have any idea how to do any of what you describe here (I am not even sure what some of those things mean), but I am happy to help however I can testing on the pi 4 :).

                1 Reply Last reply Reply Quote 0
                • B
                  bbilford83 @Folly
                  last edited by 14 Dec 2023, 02:56

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

                  Creating an extra install to create a runcommand with paddles would be possible.
                  Then adding the games into the /opt/retropie/configs/all/emulators.cfg would be possible to load a few games with a different runcommand.
                  Read here how you can add stuff to the emulators.cfg.

                  Can you remind me, isn't there one system you have already where the runcommand options include one that uses a particular controller? I think I remember seeing it in something you made when we were trying to get it to turn off one controller in zemmix. I definitely know how to add extra options in the emulator.cfg and assign it to games (you can just do it in the runcommand menu rather than add it into /configs/all/emulators.cfg), but I don't remember what the edit to the command line looks like to get it to use a particular controller.

                  F 1 Reply Last reply 14 Dec 2023, 08:39 Reply Quote 0
                  • F
                    Folly @bbilford83
                    last edited by Folly 14 Dec 2023, 08:39

                    @bbilford83 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:

                    Creating an extra install to create a runcommand with paddles would be possible.
                    Then adding the games into the /opt/retropie/configs/all/emulators.cfg would be possible to load a few games with a different runcommand.
                    Read here how you can add stuff to the emulators.cfg.

                    Can you remind me, isn't there one system you have already where the runcommand options include one that uses a particular controller? I think I remember seeing it in something you made when we were trying to get it to turn off one controller in zemmix. I definitely know how to add extra options in the emulator.cfg and assign it to games (you can just do it in the runcommand menu rather than add it into /configs/all/emulators.cfg), but I don't remember what the edit to the command line looks like to get it to use a particular controller.

                    I have done that in the script with c64gs adding "-joy2 joybstr" to the default install.
                    Can't do that with zemmix or xegs because then it will create all default runcommands with paddles.
                    I can however add an extra line in the systems with extras installs but it will only produce media runcommands not basename.
                    Sadly, That is the limit of my script right now.

                    If you want to do it manually then you have to know the slot-options for the particular system, you can use this command (using a zemmix system here) :

                    /opt/retropie/emulators/mame/mame -listslots cpg120
                    

                    You will see that you can add (-gen1 and/or -gen2):

                    gen1                             hypershot        (Konami Hyper Shot (JE 502/JE 503, MSX))
                                                     joystick         (MSX Digital Joystick)
                                                     libbler          (Micomsoft Libble Rabble Joypad (XPD-1LR))
                                                     martypad         (FM Towns Marty Pad)
                                                     mouse            (MSX Mouse)
                                                     sega             (X68000 Sega Controller Adapter)
                                                     towns6b          (FM Towns 6-button Pad)
                                                     townspad         (FM Towns 2-button Pad)
                                                     vaus             (MSX Arkanoid Vaus)
                                                     xe1ap            (Dempa Micom Soft Analog Controller (XE-1AP, PC))
                    

                    However can't find any paddles you have to pick one that suits and add it manually to newly created runcommands.
                    You need the old runcommands too, you know, because that will run with the default joystick.

                    Adding (MSX Arkanoid Vaus) to the runcommand would be like adding this :

                    -gen1 vaus
                    

                    Hopefully it's not being saved when entering the mame gui, otherwise the main runcommands will load with that joystick too, as you know what I mean.

                    B 1 Reply Last reply 14 Dec 2023, 09:08 Reply Quote 1
                    • B
                      bbilford83 @Folly
                      last edited by bbilford83 14 Dec 2023, 09:08

                      @Folly thank you very much for the very clear explanation, I think I can figure out how to make it automatically load with paddles in the XEGS now too.

                      BTW the XEGS went faster than I thought, I should be done by tonight or tomorrow at the latest. I'll convert to your nested folders and share when I am done.

                      Edit: -ctrl1 pad worked perfectly to get XEGS to load with paddles in the first controller slot. I just added it as a new emulator ending in -paddles. I couldn't actually get the command you gave me to use to list them in the linux commandline to work, but I just looked at the options listed in the "slot devices" in the mame menu and it shows all the abbreviations there. Thanks again!

                      F 1 Reply Last reply 14 Dec 2023, 09:26 Reply Quote 1
                      • F
                        Folly @bbilford83
                        last edited by 14 Dec 2023, 09:26

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

                        but I just looked at the options listed in the "slot devices" in the mame menu and it shows all the abbreviations there.

                        Indeed you can find it there too but it's not always obvious how to implement that info into the commandline.

                        1 Reply Last reply Reply Quote 0
                        • B
                          bbilford83
                          last edited by 14 Dec 2023, 10:24

                          OK @Folly and @DTEAM, I uploaded my gamelist for Atari XEGS in the same place as the rest, 252 games included. I believe I set up the folders and images correctly again, replaced the filepaths in the gamelist.

                          Like with Zemmix, this is all games that are in the mame software list that work appropriately on the stock XEGS - i.e. that don't need a keyboard (making them a lot easier to emulate). There are a couple games that partially work - like there are modes or features that don't fully work but the game is still playable without them - and for those I note that in the gamelist. Best example: one educational game would let you add your own words to test your kid's spelling, so you can't do that without the keyboard, but you can still play the game as normal without that. I don't have videos again, but there are a lot of games here that aren't scrapable anywhere and I had to dig up info off atari hobbyist websites.

                          Note that I even tried to get the lightgun games working with my Sinden because you can emulate the "light pen" in mame (it is a slot device), but that didn't work. The XEGS lightgun isn't implemented in mame so as of now I don't think it's possible.

                          Feel free to integrate or not in whatever way you see fit. I will move onto C64GS next. When I'm done I'll return to all three to add games that aren't in the mame software list... I think from what I've seen that may be hundreds and hundreds more. But I won't add those to the ones I uploaded - or if you want I can upload them as a separate file. I just want the games on my system :).

                          1 Reply Last reply Reply Quote 1
                          • B
                            bbilford83
                            last edited by bbilford83 15 Dec 2023, 04:43

                            @Folly I am wondering if you could help me brainstorm a bit on C64GS whenever you have a chance. I installed it, and I have the c64gs.zip bios where it should be, and I can launch games. The first few I tested, however, all took me to this screen:

                            6867a48b-0347-405f-85e7-05fec8b81fae-image.png

                            Then, weirdly, one game loaded as it should - ablitz.zip which is Astroblitz Deluxe. That loads to the title screen and looks great, but I can't do anything in-game, which I suspect is correct - probably it is one of the majority of C64 cartridge games that needs a keyboard, so none of my joystick buttons are doing anything. So I decided I should test a few games that I know (from here) were definitely meant to be compatible with the C64GS, and they don't work at all - straight to the blue screen above.

                            All of this was in lr-mess-c64-cart but I also tried standalone mame with same results except worse sound (it makes an awful grating background noise). And it also loads Astroblitz. I tried in lr-mess-c64-quik - I don't know what that is/means - but it gave me the same blue screen above with the added message "Error loading 'batman - the movie (1998)(ocean).80': %4$s." And it doesn't load Astroblitz at all.

                            Any idea what I might be doing wrong? I assume it isn't a bios problem since it is getting into the actual c64 machine, but I have no idea why it would load at least one game if it isn't loading the other ones I know should work.

                            Edit: I tested a few more and a few more loaded: Arnie Armchair's Cricket Game (needs keyboard), Adventure Creator (seems to partially work with joystick), Aegean Voyage (needs keyboard) Alf in the Color Caves (fully playable with joystick). I noticed for the Alf in the Color Caves I did have to tell it to have player 1 plugged in with with joybster... not sure why but it defaults to only having it in joy2.

                            Edit 2: I went back with joy1 plugged in and and Astroblitz does work (though without sound?), I think that Cricket game too. But I am still stumped as to why games that were meant specifically for C64GS aren't working - Batman and Battle Command both I tested and don't load.

                            Edit 3: Sorry for all the text! It seems joy2 only as default maybe makes more sense, there are a lot of games as I keep testing that work with joy2 only on but not with both on. I think now in retrospect I remember you saying something about this. But there are definitely some games that need 1 on, so I am setting up two other runncommand lines in emulator.cfg so I can test easily and save. I still am only getting about half the games to load at all, so I think something must be wrong, but for now I am not deleting ones that don't load, just ones that load and clearly require a keyboard to play.

                            Edit 4 (last one, I promise): I just tested a non-mame version of Batman (the NoIntro one) and it worked! I would never have thought the mame romset was the problem but I guess they have a bad dump? I'll progress testing games that won't load with ones from that set and hope that helps, though I will still limit it to only games that are in the mame software list. If you would rather I not take this approach let me know, but otherwise it doesn't seem like the gamelist will have many games from the mame set that should be playable.

                            F 1 Reply Last reply 16 Dec 2023, 00:07 Reply Quote 0
                            • F
                              Folly @bbilford83
                              last edited by 16 Dec 2023, 00:07

                              @bbilford83

                              Will have a look next week if I can
                              Busy weeks, I don't have much time at the moment.

                              B 1 Reply Last reply 16 Dec 2023, 00:35 Reply Quote 0
                              • B
                                bbilford83 @Folly
                                last edited by 16 Dec 2023, 00:35

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

                                @bbilford83

                                Will have a look next week if I can
                                Busy weeks, I don't have much time at the moment.

                                No rush, after all that I think I have everything working right now, I just have to use no-intro roms for a lot of games instead of mame. Only real question for you is if you are OK with that for a gamelist I share to the script so long as I still limit it to the mame software list (even if I have had to replace some of those roms).

                                F 1 Reply Last reply 16 Dec 2023, 08:44 Reply Quote 0
                                • F
                                  Folly @bbilford83
                                  last edited by 16 Dec 2023, 08:44

                                  @bbilford83

                                  Yes you can add those too, I don't mind.
                                  Perhaps add that no-intro part so they are easier to find..

                                  B 1 Reply Last reply 17 Dec 2023, 05:35 Reply Quote 0
                                  • F Folly referenced this topic on 17 Dec 2023, 02:22
                                  • B
                                    bbilford83 @Folly
                                    last edited by 17 Dec 2023, 05:35

                                    @Folly and @Dteam, to procrastinate on work I should be doing last night I spent a little time looking for other systems that I don't have but that are working on MAME and I found two that I think I am going to try to add sometime in the next couple months. One I am not sure you would be all that interested in my gamelist for - it seems to be a lot like the CD-i, called the Tandy Video Information System. See here. Some edutainment stuff, but also some games I have never seen before.

                                    But the second one I think is very interesting and you might like me to share my gamelist when I am done because it is an early handheld like lots of the others you have integrated. I had heard of the Entex Select-a-Game - it came before the Adventure Vision and is sort of like the Microvision but with better graphics and a VFD display. Only 6 games were released. See here. MAME does emulate it and your script should work to install it, but the games used inserted overlays (like the Microvision) so the games won't really be playable without those. I found four of them in tif format here, but the ones for Football and Basketball are missing. Either way I will try to get the four with art working, and will share my gamelist when I am done, but if either of you have any ideas on where I might find the overlays for the other two games please let me know.

                                    Cheers and happy holidays.

                                    F 1 Reply Last reply 17 Dec 2023, 08:38 Reply Quote 0
                                    • F
                                      Folly @bbilford83
                                      last edited by Folly 17 Dec 2023, 08:38

                                      @bbilford83

                                      I see you are digging, you mean these 2 drivers, right :

                                      • advision (Adventure Vision)
                                      • vis (Video Information System MD-2500)

                                      I would search for artwork, before you make anything.
                                      And pictures from artwork can be used for overlays, as overlays aren't that common to be shared.

                                      Happy holidays to you too.

                                      See next post for the driver meant :

                                      • sag (Select-A-Game Machine)
                                      B 1 Reply Last reply 17 Dec 2023, 08:56 Reply Quote 0
                                      • B
                                        bbilford83 @Folly
                                        last edited by 17 Dec 2023, 08:56

                                        @Folly Yes for vis, but not advision actually, that one is the system Entex made after that is much more common and I already have installed (maybe from even before your script?). The one I mean is just "sag," stands for "select-a-game."

                                        It was easy to install and I have it running, doesn't use bios. It is pretty similar to some of the handhelds from the same era - only red and blue colors - but did actually use cartridges (mame software list has all six known).

                                        I am figuring out gimp a little better and managed to create a pretty good overlay for the first game, baseb4, with all the "cutout" parts turned into transparencies. It's here. But again the problem is the scaling is all wrong when I try to make it a retroarch overlay - same issue we had with microvsn that you fixed with mame art.

                                        I know you're busy so no worries if you can't, but if when you have more time you have any interest in making the basic structure for the mame art like you did there, I could try to duplicate it for the other three games that there are overlays for. And keep digging for the other two overlays of course. In any case I will make the other three overlays correctly transparent like I did for baseball - it would be nice to get it to work if possible.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bbilford83
                                          last edited by bbilford83 17 Dec 2023, 09:22

                                          Btw the baseball one doesn't work in retroarch as an overlay for me without shrinking down the screen display in a way I can't figure out - same issue as with the microvision - but that is only necessary because the area outside the handheld's display says stuff that makes you understand the game (what inning it is, strikes and balls, etc.). I just tested out Pacman2 and that one actually can be played with a "cropped" retroarch overlay, even though it is uglier. Hopefully this will be clear...

                                          "Full" overlay image that doesn't align to gameplay at all:

                                          sag-pacman2.png

                                          "Cropped" overlay image that works perfectly for gameplay but looks kind of ugly:

                                          sag-pacman2cropped.png

                                          Btw it is correct that the overlay is rotated 90 degrees like that. Because it was designed for all games to be two-player, controls were on the left and the right of the screen. I confirmed through gameplay that if you rotated the screen 90 degrees the buttons would not work right (up would be right, etc.), so this is the "view" you would've actually played with back then even when playing one-player (maybe why it was discontinued so quick!).

                                          This pac-man is pretty awful but still charming.

                                          1 Reply Last reply Reply Quote 0
                                          1741 out of 2231
                                          • First post
                                            1741/2231
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received