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 36 Posters 6.4m 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.
    • DTEAMD
      DTEAM @Folly
      last edited by

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

      @dteam
      I would like you to add the artwork for videopin for mame .
      It's described here :
      https://retropie.org.uk/forum/topic/31255/atari-video-pinball-backdrop
      Artwork :
      https://www92.zippyshare.com/v/9Gp7lzW5/file.html
      It comes from "mame202artworkall".
      Perhaps there is more, in there, that can be added.
      Though, for lr-mess there isn't a solution yet.

      videopin.zip is now in the GoogleDrive Artwork folder. Thanks for the download link (JDownloader must be used for that link 😲 OMG)

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

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

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

        @dteam
        

        I would like you to add the artwork for videopin for mame .
        It's described here :
        https://retropie.org.uk/forum/topic/31255/atari-video-pinball-backdrop
        Artwork :
        https://www92.zippyshare.com/v/9Gp7lzW5/file.html
        It comes from "mame202artworkall".
        Perhaps there is more, in there, that can be added.
        Though, for lr-mess there isn't a solution yet.

        videopin.zip is now in the GoogleDrive Artwork folder. Thanks for the download link (JDownloader must be used for that link 😲 OMG)

        Thanks for adding them.
        We didn't try the instant test with google-drive, but I am confident it will work for us adding the -m option.

        I will add the -m option in the script soon on github.

        Indeed, i tried that zippyshare now.
        Damn, it worked so nice the last time I used it.
        Looks like they have changed things.
        Gives me a headache now, I should not use it any more.

        Btw. just search google or duckduckgo for "mame202artworkall"
        Perhaps you can use these too.

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

          @dteam

          Last few days I am reading the e-book on how to use the git command.
          I learned quite a bit already, as it contains very useful information.
          If you are interested too, you can find the e-book through this link :
          https://git-scm.com/docs/gittutorial

          If we know how, then we can use this information for our project.

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

            @dteam
            Last few days I am reading the e-book on how to use the git command.
            I learned quite a bit already, as it contains very useful information.
            If you are interested too, you can find the e-book through this link :
            https://git-scm.com/docs/gittutorial
            If we know how, then we can use this information for our project.

            Thanks for the link. Very interesting

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

              @dteam

              I updated the script on github.

              J 1 Reply Last reply Reply Quote 0
              • J
                JimmyFromTheBay @Folly
                last edited by JimmyFromTheBay

                This is so incredibly frustrating. The old artwork files from Mr Do's site work perfectly in mame2003plus, and Video Pinball lines up beautifully, but Video Pinball has no sound in mame2003plus. It has sound in mame2010-2016, but mame2010-2016 don't support the old artwork files.

                The NEW type of artwork file, meanwhile, lines up all the LEDs in Video Pinball properly with the backdrop in mame2010-2016, BUT you can't see the ball, targets or flippers :(

                ALL THE PIECES ARE HERE, DAMMIT!

                Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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

                  @jimmyfromthebay

                  I read your thread and tried some things but indeed it's not directly within reach to get a proper solution.

                  For just lr-mame I tried cropping the background and pulling it into perspective with gimp, but then you crop the text from the picture.
                  Then basically you have to redo the background image and that's quite difficult.

                  I tried videopin in lr-mess, but could not get it to run.
                  For this project I want to know if it can be loaded with lr-mess.
                  Have you tried running the rom in lr-mess ?

                  Meanwhile I had the artwork for videopin and that worked with mame standalone.
                  That's why I wanted to add it.
                  Now it is there, perhaps we won't forget, and later we can try some things again.

                  This is a combined screenshot of service and normal mode, and if used as a background overlay, you will see that it will be in line with the game. (just test)
                  So you can use this in gimp an try to make a good overlay that matches this picture.
                  (Now it could be as easy as just adding a handmade background picture in our artwork zip file and then our script could automatically create the overlay config files.)
                  videopin-service-leds-v1.png

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    JimmyFromTheBay @Folly
                    last edited by

                    @folly I've just got it working nicely with the old ugly backdrop. The prettier new backdrop doesn't line up with the old one AT ALL so no luck with that yet. Will post the PNG and settings tomorrow when I'm at the right machine.

                    Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JimmyFromTheBay @JimmyFromTheBay
                      last edited by JimmyFromTheBay

                      @jimmyfromthebay Okay, here's the backdrop that works (it looks better onscreen than it does here):

                      vidpin.png

                      Run it with these settings in your CFG file and all the lights will be in something very acceptably close to the right place:

                      aspect_ratio_index = "23"

                      input_overlay_scale = 1.190000

                      custom_viewport_x = "596"
                      custom_viewport_y = "0"
                      custom_viewport_width = "792"
                      custom_viewport_height = "1084"

                      This is the prettier backdrop but as you can see it doesn't line up the same as the other one and I'm having a lot of trouble making it fit.

                      vidpin2.png

                      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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

                        @jimmyfromthebay

                        Have you sent the originals, not resized or something like that ?

                        I tried to push the nice one into perspective but I can't get it to work.
                        I have to use some other tool.

                        Here is what it looks like when I place the nice one over the old one.
                        There is so much difference as you can see in the next picture.

                        2021-09-27-160407_1600x900_scrot.png

                        jamrom2J J 2 Replies Last reply Reply Quote 0
                        • jamrom2J
                          jamrom2 @Folly
                          last edited by jamrom2

                          @folly Hi. Not sure you're the one to ask, but I'm trying to get lr-mess-dragon32-cass (and any other version) to work. I have the d32.rom and ddos10.rom (zipped and unzipped) placed in /home/pi/RetroPie/BIOS per the docs (https://retropie.org.uk/docs/Dragon/). But I keep getting errors in my runcommand.log file that says they are missing.

                          07NOT FOUND (tried in dragon32)
                          ddos10.rom NOT FOUND (tried in dragon_fdc dragon32)

                          [libretro ERROR] d32.rom NOT FOUND (tried in dragon32)
                          ddos10.rom NOT FOUND (tried in dragon_fdc dragon32)
                          [INFO] [Environ]: SET_MESSAGE: `¦b07ror: Required files are missing, the machine cannot be run.

                          [libretro ERROR] Fatal error: Required files are missing, the machine cannot be run.

                          Do I have them in the right location for the lr-version? Where is dragon_fdc? The docs are really for Xroar which works fine with what I have.

                          Thank you!

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

                            @jamrom2

                            Did you use the valerino module-script ?

                            Edit :
                            Looked at the name of the valerino's script again it lacks cass.
                            So you are using an older generated module-script of my script generator.
                            Then I think you have to put your BIOS file in :
                            /home/pi/RetroPie/BIOS/mame
                            I changed it long ago into this so that both mame and lr-mess can use the same bios files.
                            Second advantage is that the are now seperated from the root BIOS directory.
                            So you should try that directory.

                            I checked my emulators.cfg lines and I have dragon32 running with external ram because otherwise some games did't work.
                            You can install this from the front-end from the special systems with slotdevices.

                            jamrom2J 1 Reply Last reply Reply Quote 0
                            • jamrom2J
                              jamrom2 @Folly
                              last edited by

                              @folly yes, but I've since switched back over to the correct RetroPie repository. I had issues with updating because his script left me on 4.7.11.

                              I have a bunch of other emus from the Mess build running without issue. If that matters.

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

                                @jamrom2

                                Strange, I have updated my post, have a look at that first.
                                Can you try the other BIOS directory first ?

                                Check your runcommand.log and look at line 19 containing -rp, after the -rp you will have the path where the bios has to be in.

                                jamrom2J 1 Reply Last reply Reply Quote 0
                                • jamrom2J
                                  jamrom2 @Folly
                                  last edited by jamrom2

                                  @folly \t_biosdir: /home/pi/RetroPie/BIOS

                                  In line 19 after the -rp the directory is the same as above. Maybe it's my BIOS files? I've pulled a few different one. The ones I have seem to work without issue on Xroar.

                                  here's my runcommand.log I tried two more d32.rom files. still the same.

                                  https://pastebin.com/hvtTZJ0k

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

                                    @jamrom2

                                    I will have a look at your log later.

                                    My working bios sha1sums are :
                                    pi@raspberrypi:~/Desktop/dragon32 $ sha1sum *

                                    f2dab125673e653995a83bf6b793e3390ec7f65a  d32.rom
                                    a8918c71d319237c1e3155bb38620acb114a80bc  ddos10.rom
                                    27a2a6bf5c98fb69e174b927f240973033881826  dragon32.zip
                                    77bb4c81d1078d7bd0b2378bbf831c007e2252ff  dragon_fdc.zip
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      isidoro80
                                      last edited by isidoro80

                                      hi i have installed your script but i have problems. i want to install apfm1000 games. Your script created the folder opt / config / apfm1000 then I put the bios in home / pi / RetroPie / BIOS / mame; I put the zip files of the roms in / home / pi / RetroPie / roms / apfm1000. I tried all the various runcommand launch systems: lr-mess cmd; lr-mess; mame-cmd; etc ... if I try to start a retroarch rom it crashes and I have to force it to close. in the runcommand log file it says WARN ... driver not found .... what is the problem?
                                      i have already installed lr-mess manually before trying your script to play arcadia games. arcadia games work very well. i dont understand why apfm1000 games don't work. the roms are correct.

                                      F 2 Replies Last reply Reply Quote 0
                                      • F
                                        Folly @isidoro80
                                        last edited by Folly

                                        @isidoro80

                                        Nice to hear that arcadia works oob for you.

                                        I am not able to test your desired system at the moment.
                                        When I am in the right place I will test it for you.
                                        (over 11 hours, or so)

                                        jamrom2J 1 Reply Last reply Reply Quote 0
                                        • jamrom2J
                                          jamrom2 @Folly
                                          last edited by jamrom2

                                          @folly got it working... your BIOS file list there helped. From there I did a little more searching to find what I needed which was the answer. I needed to create two more .zip files with the names dragon32.zip and dragon_fdc.zip with the files in it listed like this...

                                          dragon32.zip -- contains d32.rom, and ddos10.rom
                                          dragon64.zip -- contains d64_1.rom , d64_2.rom , and ddos10.rom
                                          dragon_fdc.zip -- contains ddos10.rom

                                          This little list might need to be added to docs at some point. I know a lot of these Emus are very finicky as to what they need for BIOS files and how they need to be named.

                                          I created the dragon32.zip file with what is listed above and it boots to a DragonDOS prompt. But no games run.

                                          so... how do the games play? I have a ton of CAS based files. All that happens it the emulator goes to DOS.

                                          Thanks for the help!

                                          JamR

                                          J F 3 Replies Last reply Reply Quote 0
                                          • J
                                            JimmyFromTheBay @jamrom2
                                            last edited by JimmyFromTheBay

                                            @jamrom2

                                            I created the dragon32.zip file with what is listed above and it boots to a DragonDOS prompt. But no games run.

                                            so... how do the games play? I have a ton of CAS based files. All that happens it the emulator goes to DOS.

                                            Thanks for the help!

                                            With a .CAS file you need to load it. Most games will be in machine code so you need to type CLOADM. If you get an "FM ERROR" it was in BASIC, so you'd type CLOAD instead.

                                            Most will autorun on loading, but if they don't you need to type EXEC for machine-code games or RUN for BASIC ones.

                                            HOWEVER, if you're working from a Dragon DOS prompt you may find that games appear to have loaded but then don't run properly. That's because lots and lots of them really don't like the DDOS BIOS. The solution is to edit your EMULATORS.CFG to include this line:

                                            lr-mess-system-dragon32-cass = "/home/pi/RetroPie-Setup/scriptmodules/run_mess.sh /opt/retropie/emulators/retroarch/bin/retroarch /opt/retropie/libretrocores/lr-mess/mess_libretro.so /opt/retropie/configs/dragon32/retroarch.cfg \dragon32 /home/pi/RetroPie/BIOS/mame -autoframeskip -ui_active -ext ram -cass %ROM%"
                                            

                                            and run it from that. That should boot from the standard Dragon OS, not the disk one, and your games should work.

                                            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                                            jamrom2J 1 Reply Last reply Reply Quote 1
                                            • 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.