RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Tutorial: Handheld and Plug & Play systems with MAME

    Scheduled Pinned Locked Moved Ideas and Development
    game&watchjakkskonami handheldmametiger handheld
    280 Posts 10 Posters 130.4k 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 DTEAM

      @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

      Well it's an improvement. ;-)

      🤣 ahah 👍🏻 But honestly, It's great. It's so simple and I wasn't able to set It. Thanks again.

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

        @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

        @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

        Well it's an improvement. ;-)

        🤣 ahah 👍🏻 But honestly, It's great. It's so simple and I wasn't able to set It. Thanks again.

        Your welcome !

        Read your configs in the first post, are you going to improve/edit them later on ?

        I think it should be something like this, so you can switch between "with" or "without" (with autoframeskip as default) :

        mame = "/opt/retropie/emulators/mame/mame %BASENAME%"
        mameafs= "/opt/retropie/emulators/mame/mame -autoframeskip %BASENAME%"
        default = "mameafs"
        

        edit :
        Perhaps you can also do :
        "mame-autoframeskip" in stead of "mameafs".
        You have to try if this works, but i think it will.

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

          @folly
          Yes good point.
          Knowing the problems between Lr-Mess and frameskip = auto via retroarch. Do you think this approach could also work for slow systems like GP32.

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

            @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

            @folly
            Yes good point.
            Knowing the problems between Lr-Mess and frameskip = auto via retroarch. Do you think this approach could also work for slow systems like GP32.

            If I remember correctly, I already tried something with GP32.
            If I could improve it, but it keeps working slow.

            I will search the post, it was this post ( to you also I see ) :
            https://retropie.org.uk/forum/topic/25576/new-scriptmodules-lr-vice-xvic-gsplus-proper-lr-mess-integration/230

            Perhaps we can add the frameskipping. Did you try it manually ?

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

              @folly
              Yes, with no succes, but I'll retry It tomorrow.

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

                @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

                Perhaps you can also do :
                "mame-autoframeskip" in stead of "mameafs".
                You have to try if this works, but i think it will.

                Done!

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

                  @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

                  @folly
                  Yes, with no succes, but I'll retry It tomorrow.

                  Are you going to try GP32 in mame ?

                  Try this options :
                  -[no]cheat / -[no]c

                  Activates the cheat menu with autofire options and other tricks from the cheat database, if present.
                  This also activates additional options on the slider menu for overclocking/underclocking.

                  So you only have to add it like this, I think :

                  mame-GP32= "/opt/retropie/emulators/mame/mame -c -autoframeskip %BASENAME%"
                  

                  If you run the game, go to the slider menu for overclocking/underclocking.

                  DTEAMD 2 Replies Last reply Reply Quote 0
                  • TPRT
                    TPR @DTEAM
                    last edited by

                    @dteam @Folly Seriously great work, guys! I'm in the middle of downloading all the artwork, images, and gamelists from the repositories you've posted. I cannot thank you enough!

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

                      @tpr said in Tutorial: Handheld and Plug & Play systems with MAME:

                      @dteam @Folly Seriously great work, guys! I'm in the middle of downloading all the artwork, images, and gamelists from the repositories you've posted. I cannot thank you enough!

                      Enjoy !

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

                        @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

                        Are you going to try GP32 in mame ?
                        Try to find the overclock option for mame.

                        Honestly, the easiest way would be to use MESS without Lr (retroarch) to see what happens with auto frameskip and systems performance in general. I don'T know how to get It. to install It.

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

                          @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

                          @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

                          Are you going to try GP32 in mame ?
                          Try to find the overclock option for mame.

                          Honestly, the easiest way would be to use MESS without Lr (retroarch) to see what happens with auto frameskip and systems performance in general. I don'T know how to get It.

                          MESS is now a part of MAME.
                          In the lr- versions, arcade and computers are still somewhat splitted.
                          Therefor It's not needed to use MESS anymore because it's 1 package now.

                          Perhaps you can still compile standalone MESS,
                          but then you have to edit the makefile of the MAME source and compile MESS manually.
                          Finding out how to, will be difficult, I think.

                          Edit :
                          Alle these packages are compiled from the MAME source :

                          • lr-mame
                          • lr-mess
                          • MESS (if still possible)
                          • MAME
                          DTEAMD 1 Reply Last reply Reply Quote 0
                          • DTEAMD
                            DTEAM @Folly
                            last edited by

                            @folly
                            Great. I'll try It with MAME first.

                            TPRT 1 Reply Last reply Reply Quote 0
                            • TPRT
                              TPR @DTEAM
                              last edited by

                              @dteam @Folly Is there a repository to download some of the missing artwork, for example, the overlay for astrocmd.zip - I don't see it on the Google Drive that you linked to, or did I miss it?

                              Thank you!

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

                                @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

                                So you only have to add it like this, I think :
                                mame-GP32= "/opt/retropie/emulators/mame/mame -c -autoframeskip %BASENAME%"

                                If you run the game, go to the slider menu for overclocking/underclocking.

                                It works if I switch %BASENAME% by gp32 !!!!!
                                But something missing, we can see the introduction logos but the game won't load. May Be wrong Bios location. I'm digging to see where the problem come from.
                                I tested nes, fmtmarty, gp32, jaguar, supracan.
                                For FM-Marty, I hope It will fix saves bugs.

                                TPRT DTEAMD 2 Replies Last reply Reply Quote 0
                                • TPRT
                                  TPR @DTEAM
                                  last edited by

                                  @dteam @Folly As I'm going through more of the "classich" roms, I take it there are just some games that don't have overlays? I want to make sure I'm not missing something here.

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

                                    @tpr
                                    No,It’s normal. Some games have no overlay

                                    TPRT 1 Reply Last reply Reply Quote 1
                                    • TPRT
                                      TPR @DTEAM
                                      last edited by

                                      @dteam Thank you!

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

                                        @folly

                                        @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

                                        @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

                                        So you only have to add it like this, I think :
                                        mame-GP32= "/opt/retropie/emulators/mame/mame -c -autoframeskip %BASENAME%"
                                        If you run the game, go to the slider menu for overclocking/underclocking.

                                        It works if I switch %BASENAME% by gp32 !!!!!
                                        But something missing, we can see the introduction logos but the game won't load. May Be wrong Bios location. I'm digging to see where the problem come from.
                                        I tested nes, fmtmarty, gp32, jaguar, supracan.
                                        For FM-Marty, I hope It will fix saves bugs.

                                        jaguar works like this:

                                        mame-jaguar= "/opt/retropie/emulators/mame/mame -c -autoframeskip jaguar -cart %ROM%"
                                        

                                        fmmarty like this

                                        mame-fmmarty= "/opt/retropie/emulators/mame/mame -c -autoframeskip fmtmarty -ram 96M -cdrm %ROM%"
                                        

                                        NES like this:

                                        mame-nes= "/opt/retropie/emulators/mame/mame -c -autoframeskip nes -cart %ROM%"
                                        

                                        Gamecom

                                        mame-gamecom= "/opt/retropie/emulators/mame/mame -c -autoframeskip gamecom -cart1 %ROM%"
                                        

                                        It works with regular game names !!!! Not just with MAME naming... Awesome!! Nothing to do in mame.ini

                                        It’s scary how It’s simple!

                                        @folly, You could have two emulators (lr-mess and mame/mess) with your script if you want !!!! (-;

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

                                          @dteam

                                          WOW, nice. Haha.
                                          Indeed, Now that you say. I was a bit aware of it.
                                          And indeed it's simple if you got the "aha" effect !
                                          I can confirm, I have to look at that some time to implement this it the script, I was aware of it.
                                          Thank you for the suggestion ! ;-).

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

                                            @dteam

                                            In your earlier post I can't really tell if you got GP32 working or not.

                                            But I had a look. This is the media type you have to load with GP32 :

                                            pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listmedia GP32
                                            SYSTEM           MEDIA NAME       (brief)    IMAGE FILE EXTENSIONS SUPPORTED
                                            ---------------- --------------------------- -------------------------------
                                            gp32             memcard          (memc)     .smc
                                            

                                            Try this :

                                            mame-GP32= "/opt/retropie/emulators/mame/mame -c -autoframeskip GP32 -memc %ROM%"
                                            
                                            DTEAMD 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.