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.8m 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 @DTEAM
      last edited by

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

      You are able to boot them but you struggle too with the keys or joystick buttons ?

      They don't start either. Which line do you use when you select your emulator line from the blue menu? I am always on "Rocket Patrol" no matter what the game is.

      We talk about apfm1000, right.
      I use this :
      default = "mame-system-apfm1000-cart"

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

        We talk about apfm1000, right.

        Yes, I'll do more test today

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

          @dteam

          Do you want my sha1sums ?

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

            @folly
            Yes please (sorry double messages)

            1 Reply Last reply Reply Quote 0
            • DTEAMD
              DTEAM
              last edited by DTEAM

              @folly
              Yes, please. I don't know what's wrong for that emulator.

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

                @dteam

                pi@raspberrypi:~/RetroPie/roms/apfm1000 $ sha1sum *
                9579e760c4532295a07b0ef0f849bbcddddc39c2  backgamm.zip
                6fae423ac7af3bd59d2897ecbb9508c6737e41ee  baseball.zip
                865317d042f5848f33dd57b7de2d2326cf625565  blckjack.zip
                859ff072135fe9e5bc325cf3c5a2b39e75d7c774  bowling.zip
                a7615a2eada80cdfc1446a14b06bebc39cafaf29  boxing.zip
                4119cb1589d68efd560936080f12475b57337b33  brickdwn.zip
                c72e7ffafb3818a2dd6b46d4f95ea7c5b497f64b  casino.zip
                0a025850f57cba6ef2df9af6512d169233795a81  catena.zip
                7aee1189144e53393ddb4e4bc6ea73cb95c941af  catenaa.zip
                497387a7410e86e7cf6711a37192ff2d24e4e53e  hangman.zip
                7e1ec8f8e1ff78e6ee730ae9f27e05eebea34979  pinball.zip
                da39a3ee5e6b4b0d3255bfef95601890afd80709  rocketp.zip
                c1dd72fb8853c08ffacea77226c656439c0c5674  spacedst.zip
                b6f287ee37e6016d9910afcf664476e14023423b  ufo.zip
                
                jamrom2J 1 Reply Last reply Reply Quote 0
                • jamrom2J
                  jamrom2 @Folly
                  last edited by

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

                  9579e760c4532295a07b0ef0f849bbcddddc39c2 backgamm.zip

                  I'm up and running with just the pack-in game Rocket Patrol. I did like you did, just made a dummy .zip file. All good.

                  Just can't seem to locate the rest of them. .236?

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

                    @jamrom2

                    Something to read :
                    https://docs.mamedev.org/techspecs/luaengine.html

                    Here is the reference manual of lua 5.3 :
                    http://www.lua.org/manual/5.3/

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

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

                      9579e760c4532295a07b0ef0f849bbcddddc39c2 backgamm.zip

                      I'm up and running with just the pack-in game Rocket Patrol. I did like you did, just made a dummy .zip file. All good.

                      Just can't seem to locate the rest of them. .236?

                      I think they are in mame_sl, if you understand what I mean.

                      Fix, get the apfimag_cass.zip, it's in : mame-sl

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

                        @folly

                        I found this today
                        MESS and MAME: The Guide

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

                          @dteam

                          I have spacedst.zip running with the new test method.
                          In the hash table it describes that this cart has extra ram on board.
                          Using the new test method it runs the file using the softlist and adds the ram extension automatically.
                          Bios file apfm1000.zip has to be added in /home/pi/RetroPie/roms/apfm1000 for now.
                          I hope we can come up with a nice fix for this problem.

                          It runs by using this line in /opt/retropie/configs/apfm1000/emulators.cfg :
                          mame-driver-rompath-basename = "/opt/retropie/emulators/mame/mame apfm1000 -rompath /home/pi/RetroPie/roms/apfm1000 -v -c %BASENAME%"

                          2021-10-08-190310_800x600_scrot.png

                          Keyboard keys to play :
                          LEFT RIGHT KPAD_ENTER

                          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:

                            mame-driver-rompath-basename = "/opt/retropie/emulators/mame/mame apple2gsr1 -rompath /home/pi/RetroPie/roms/apple2gsr1 -v -c %BASENAME%"

                            Why apple2gsr1 in the line

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

                              @dteam

                              Oops a mistake ;-), fixet it ! (updated)
                              This is because I also did tests with that line on apple2gsr1 just picked the wrong one.

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

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

                                @folly

                                I found this today
                                MESS and MAME: The Guide

                                I will read some, perhaps some interesting stuff to find.

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

                                  @folly

                                  Strange, those lines work with .bin and not .zip

                                  mame-system-apfm1000-cart-autoframeskip = "/opt/retropie/emulators/mame/mame -rompath /home/pi/RetroPie/roms/apfm1000 -v -c -autoframeskip -ui_active apfm1000  -cart %ROM%"
                                  mame-system-apfm1000-cart = "/opt/retropie/emulators/mame/mame -rompath /home/pi/RetroPie/roms/apfm1000 -v -c -ui_active apfm1000 -cart %ROM%"
                                  
                                  FollyF 1 Reply Last reply Reply Quote 0
                                  • FollyF
                                    Folly @DTEAM
                                    last edited by Folly

                                    @dteam

                                    I will try here in ES.
                                    But I think both work on my side.

                                    Edit:
                                    .zip works for me.

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

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

                                      mame-sl

                                      Yup.. sniffed it out. Thanks! I'll get it loaded and see where I'm at.

                                      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:

                                        Edit:
                                        .zip works for me.

                                        Now it works for me with .zip. I deleted everything and restart from scratch and now it works

                                        1 Reply Last reply Reply Quote 1
                                        • I
                                          isidoro80
                                          last edited by

                                          Is possible play sega arcade game in follow link with lr-mess?
                                          https://www.gamesdatabase.org/all_system_games-sega_model_2

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

                                            @folly I've got everything loaded that's a cart.

                                            All 13 games start and run using "lr-mess-systemapfm100-cart" and a BIOS file that has
                                            apf_4000.rom
                                            basic_80.rom
                                            basic_68.rom

                                            Only issue I had was Sapce Detroyers says "rocket Patrol" as the title and the graphics are a mess.

                                            Other than that, everything worked as .zip files

                                            nevermind... I see what you wrote up there about this game needing extra ram.

                                            I've got everything working now. Easy install as well. My controller works, but does not fire. I'll keep playing with this and see where it gets me. Like you said, it's a bit strange that Space Destroyers requires a seperate path that is nothing like the rest. I hope that can be changed to the same as everything else.

                                            FollyF 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.