RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Does MAME even run on Pi4+retropie 4.6? And what happened to Mame4All?

    Scheduled Pinned Locked Moved Help and Support
    mamemame4all4.6pi4
    24 Posts 9 Posters 5.9k 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.
    • RiverstormR
      Riverstorm
      last edited by

      @dankcushions - Ah, ok, good to know it won't work on the 4. So will it be removed from future 0/1 and 2/3 Pi images? I think it would be worthy to leave it in the future images. lr-mame2000 has several things that need fixed. I would prefer 2003 over 2000 obviously but mame4all-pi over 2000.

      I understand the recommended is different but I would still consider it a relevant choice depending on feature needs and availability in future images. If you're not using shaders, save states and what not it's a good clean build that works well for a simple setup. I prefer mame4all-pi when using GPIO inputs.

      The original 0.37b5 code is roughly 20 years old but was later updated/optimized for portability and renamed to mame4all, then picked up again and optimized for the Pi. Technically the main code is 20 years old but it's been refreshed somewhere between the Pi 1 and 2 release dates I would guess 7 maybe 8 years old.

      It will be interesting to see how current MAME runs on the Pi 4. I'm a bit skeptical considering, well it's MAME!

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @Riverstorm
        last edited by

        @Riverstorm i believe mame4all-pi refers to the old pre-fkms graphics drivers so wouldn't work on pi4 without code fixes.

        1 Reply Last reply Reply Quote 0
        • RedMarsBlueMoonR
          RedMarsBlueMoon
          last edited by

          I was just going to upgrade mu 3.5.17 to 3.6 to see if it fixed the problems I'm having with lr-mame2003. (the default Mame)
          I had a bunch of old ROMs that didn't even start up, they just crash. They are all 0.78 stand alone ROMs and I have tried them on my PCs retroarch mame2003 and all the ones that crash on my Pi4 work perfectly on the PC.

          1 Reply Last reply Reply Quote 0
          • RiverstormR
            Riverstorm
            last edited by

            @dankcushions - Ah ok, yeah if it's a bunch of extra work it's probably not going to happen. I do keep all the old releases around and several patched releases shrunk as tight as they will go to a few gig using virtual box and pishrink that would work for all intents and purposes.

            The other thing that I find handy is having mame4all-pi as a reference test set so to speak. It gives you an alternative emulator to test ROMs if a Libretro core (2000 that also uses 0.37b5) comes into question due to several modifications that make it a Libretro core! :)

            If mame4all-pi crashes then it probably never worked and isn't related to the Libretro conversion. Then you would need to fall back to arcadez, grant, barbudreadmon or one of the MAME code guys to potentially see if it's an easy fix in the core.

            Plus you can't beat the size of that itty-bitty-tiny mam4all emulator, weighing in at few MB! ;)

            1 Reply Last reply Reply Quote 0
            • ClassicGMRC
              ClassicGMR
              last edited by

              If I remember right on the 3B+ I needed MAME4ALL for one game - Tapper and it had to be running the MAME 0.37 rom version.

              Growing older is mandatory. Growing up is optional!
              Enjoy the ride!

              DarksaviorD 1 Reply Last reply Reply Quote 0
              • G
                grant2258 Banned
                last edited by

                not looked at mame4all didnt it have a sdl code path to work on windows and linux anyway? It shouldnt be a big issues fixing that if it is the case just the video needs reworked if there is enough people wanting it. it actually pretty easy to port mame078 to the pie as well.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @grant2258
                  last edited by

                  @grant2258 In RetroPie, mame4all is actually a fork created for the RPI, using the native legacy GL driver - https://github.com/squidrpi/mame4all-pi.

                  This is a highly optimised version for the Raspberry Pi, using GLES2/dispmanx for graphics, ALSA for sound and SDL for input. It also uses the GPU for post-processing effects like scanlines.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    grant2258 Banned
                    last edited by grant2258

                    im guessing anything using dispmanx will need reworked for the pi4 :(. Look like i was looking at the wrong repo the one i checked was here. https://github.com/RetroPie/mame4all-pi

                    1 Reply Last reply Reply Quote 0
                    • RiverstormR
                      Riverstorm
                      last edited by

                      @mitu said in Does MAME even run on Pi4+retropie 4.6? And what happened to Mame4All?:

                      It also uses the GPU for post-processing effects like scanlines.

                      That's a major drawback of mame4all, the scanline effects are a turd for sure compared to the Libretro shaders. =/

                      @grant2258 - I don't think there's much demand. I'm just an advocate of that lean, mean, little core. I even have a version that runs well on my iPad albeit the controls are less than optimal but thanks a lot for the considering it!

                      1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned @mitu
                        last edited by

                        @mitu https://drgeoffathome.wosrdpress.com/2020/02/03/opengl-without-x-on-raspberry-pi-4-part-1/

                        1 Reply Last reply Reply Quote 0
                        • RiverstormR
                          Riverstorm
                          last edited by

                          @grant2258 - The word wordspress has flipped letters.

                          1 Reply Last reply Reply Quote 0
                          • RiverstormR
                            Riverstorm
                            last edited by

                            Sorry, to correct the link I mean.

                            1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator
                              last edited by

                              @grant2258 The links doesn't work, but that's how almost everything works in RetroPie - we don't use X unless the emulator/game requires it.

                              1 Reply Last reply Reply Quote 0
                              • G
                                grant2258 Banned
                                last edited by

                                https://drgeoffathome.wordpress.com/2020/02/03/opengl-without-x-on-raspberry-pi-4-part-1/
                                

                                try it that way not sure why its not working

                                1 Reply Last reply Reply Quote 0
                                • RiverstormR
                                  Riverstorm
                                  last edited by

                                  @grant2258 said in Does MAME even run on Pi4+retropie 4.6? And what happened to Mame4All?:

                                  try it that way not sure why its not working

                                  I think it needs to be wordspress. Words is plural and then it worked.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned
                                    last edited by grant2258

                                    anyway there is a part 2 gles2 and 3 can be compiled and used without x

                                    1 Reply Last reply Reply Quote 0
                                    • RiverstormR
                                      Riverstorm
                                      last edited by

                                      @grant2258 said in Does MAME even run on Pi4+retropie 4.6? And what happened to Mame4All?:

                                      https://drgeoffathome.wosrdpress.com/2020/02/03/opengl-without-x-on-raspberry-pi-4-part-1/

                                      Here's the working link:
                                      https://drgeoffathome.wordspress.com/2020/02/03/opengl-without-x-on-raspberry-pi-4-part-1/

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

                                        @ClassicGMR Tapper works in mame2003plus (not sure about non-plus). It also works fine in finalburn-neo but tapper.zip requires midssio.zip. What I do, is insert the contents from midssio.zip to tapper.zipso it doesn't clutter up my menu.

                                        1 Reply Last reply Reply Quote 1
                                        • sirhenrythe5thS
                                          sirhenrythe5th
                                          last edited by

                                          to make this list complete: Tapper also works wonderful with AdvanceMame ;)

                                          -- Retro-Achievements Username: SirALX --
                                          RetroRatio: 1.88
                                          Started Games beaten: 2,47%
                                          Site Rank: 4382/93743 ranked users (TOP 4.76%)
                                          Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                                          1 Reply Last reply Reply Quote 1
                                          • RiverstormR
                                            Riverstorm
                                            last edited by

                                            Just tested it and It does work in regular 2003 also.

                                            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.