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

    lr-mame compile in raspberry pi3b+

    Scheduled Pinned Locked Moved Help and Support
    lr-mame
    45 Posts 9 Posters 3.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.
    • D
      dukeforest @jlopezvl
      last edited by

      @jlopezvl How did you then?

      J 3 Replies Last reply Reply Quote 0
      • J
        jlopezvl @dukeforest
        last edited by

        @dukeforest said in lr-mame compile in raspberry pi3b+:

        @jlopezvl How did you then?

        Not yet … It gives an error in a file and download git files again and start to compile again … It goes slow slow … Im patient but not get it yet ….

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

          @dukeforest said in lr-mame compile in raspberry pi3b+:

          @jlopezvl How did you then?

          I found one hour ago an error in the file src/devices/cpu/dspp/dspp.cpp thas was corrected in mamedev but not in libretro/mame.
          Error was in line

          //-------------------------------------------------
          // decode_sqxd - Decompress an SQXD coded sample
          //-------------------------------------------------

          int16_t dspp_device::decode_sqxd(int8_t data, int16_t prev)
          {
          int16_t temp = sign_extend8(data & 0xfe);
          int32_t expanded = (temp * abs(temp)) << 1;

          it must be int32_t expanded = (temp * iabs(temp)) << 1;

          As I say, correction was on git mamedev its not mine … I only change the error in my libretro/mame downloaded source ...
          Now its ending compiling .. When its finished i put the so file here if is possible and if its allowed to put it here …

          D 1 Reply Last reply Reply Quote 0
          • D
            dukeforest @jlopezvl
            last edited by

            @jlopezvl
            It was not possible to do with "not found" error when compiling before.
            I'm waiting for further report. Thanks...

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

              @dukeforest said in lr-mame compile in raspberry pi3b+:

              @jlopezvl How did you then?

              Done and working … v205 lr-mame ….
              Test it …

              https://mega.nz/#!GMlUBSza!einXD2gzFySJvR5TM2yx44dLs2333JIJVzM2ocKoE2o

              D 1 Reply Last reply Reply Quote 0
              • D
                dukeforest @jlopezvl
                last edited by

                @jlopezvl
                Thank you thank you
                I am trying it right away, but I need to replace the 0.186 rom that I used

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

                  @dukeforest said in lr-mame compile in raspberry pi3b+:

                  @jlopezvl
                  Thank you thank you
                  I am trying it right away, but I need to replace the 0.186 rom that I used

                  Viewing it Works well, now im compiling last v206 … it Will cost aproximately 36 hours to compile .. Left only 8 now ….
                  But you can test the v205 libretro that Works … my first compiled in the pi3b+.
                  IF you wants i tell you how modify the sh compile file to let compile use 64 bits and fastcompily wih -j5 .. :)
                  But first test it and check it Works ….

                  D 1 Reply Last reply Reply Quote 0
                  • CyborgbobC
                    Cyborgbob
                    last edited by

                    So how would someone install this so File? I happen to have the .205 rom set and I would love to give this a go....

                    J 1 Reply Last reply Reply Quote 0
                    • D
                      dukeforest @jlopezvl
                      last edited by

                      @jlopezvl
                      I want to compile by my Pi3B+

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

                        @Cyborgbob said in lr-mame compile in raspberry pi3b+:

                        So how would someone install this so File? I happen to have the .205 rom set and I would love to give this a go....

                        There is a experimental emulator in retropie named lr-mame ... This makes the compile and the install in retropie after the compile ... I only have modified this file a little to let pi3b+ to compile lr-mame ....
                        Little changes made was for let fastbuild and use quadcore in the compile and not clean source and object files created if the compile was stopped an restarted later ...

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          barbudreadmon @jlopezvl
                          last edited by

                          @jlopezvl Having latest mame on your rpi is nice and all, but what about performances ? What are the systems playable full speed ? Especially, what are the systems that weren't playable full speed previously with latest romsets through fbalpha ? What about support for features involving savestates (netplay, rewind, input read ahead, ...) in latest mame ?

                          FBNeo developer - github - forum

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

                            @barbudreadmon said in lr-mame compile in raspberry pi3b+:

                            @jlopezvl Having latest mame on your rpi is nice and all, but what about performances ? What are the systems playable full speed ? Especially, what are the systems that weren't playable full speed previously with latest romsets through fbalpha ? What about support for features involving savestates (netplay, rewind, input read ahead, ...) in latest mame ?

                            Sorry, I have tested only a few games and i cannot answer you about speeds and compares ... Only note that this compile is for lr-mame (libreto) and in my test (five-ten games) speeds was 100% with no frame skip ... But i have not time yet to test other games ... Games tested was "tokio scramble formation" , battle garega, metal slug ....
                            Some months ago i compile mame for linux (not libreto) and speed was slow in this games ... But with libretro speeds are good compare to mame without libretro that i tried some months ago (was mame .199)

                            Now im compiling v206 and after this i will do more test with different systems and roms ...

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              barbudreadmon @jlopezvl
                              last edited by

                              @jlopezvl said in lr-mame compile in raspberry pi3b+:

                              Games tested was "tokio scramble formation" , battle garega, metal slug ....

                              All games already playable with latest romsets through fbalpha. What about input lag and the features i mentioned ? If input lag is higher and/or you can't use those features in mame, i don't see the point of using mame over fbalpha to play those games, with read ahead all those games are playable at 0 input lag with fbalpha, and it's already at roof level without it. It is just my (probably biased) opinion though.

                              FBNeo developer - github - forum

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

                                @barbudreadmon said in lr-mame compile in raspberry pi3b+:

                                @jlopezvl said in lr-mame compile in raspberry pi3b+:

                                Games tested was "tokio scramble formation" , battle garega, metal slug ....

                                All games already playable with latest romsets through fbalpha. What about input lag and the features i mentioned ? If input lag is higher and/or you can't use those features in mame, i don't see the point of using mame over fbalpha to play those games, with read ahead all those games are playable at 0 input lag with fbalpha, and it's already at roof level without it. It is just my (probably biased) opinion though.

                                My only desire was to compile lr-mame, not to compare with great fbalpha ….. Im not a game tester but i trust you opinión ….

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

                                  @jlopezvl said in lr-mame compile in raspberry pi3b+:

                                  @barbudreadmon said in lr-mame compile in raspberry pi3b+:

                                  @jlopezvl said in lr-mame compile in raspberry pi3b+:

                                  Games tested was "tokio scramble formation" , battle garega, metal slug ....

                                  All games already playable with latest romsets through fbalpha. What about input lag and the features i mentioned ? If input lag is higher and/or you can't use those features in mame, i don't see the point of using mame over fbalpha to play those games, with read ahead all those games are playable at 0 input lag with fbalpha, and it's already at roof level without it. It is just my (probably biased) opinion though.

                                  My only desire was to compile lr-mame, not to compare with great fbalpha ….. Im not a game tester but i trust you opinión ….

                                  Also I havent the answer to your lag question … Maybe if you can test it and answer me ..

                                  B 1 Reply Last reply Reply Quote 0
                                  • J
                                    jlopezvl
                                    last edited by

                                    lr-mame compiled to last v206
                                    https://mega.nz/#!yYVkQQ6Q!eOpzm2Sq4rSvrtgd5l9KdYgpF4Ft1ohQhKpmYmWq_UU

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dukeforest @jlopezvl
                                      last edited by

                                      @jlopezvl thank you for your kindness

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        barbudreadmon @jlopezvl
                                        last edited by

                                        @jlopezvl said in lr-mame compile in raspberry pi3b+:

                                        Also I havent the answer to your lag question … Maybe if you can test it and answer me ..

                                        Apparently lr-mame is 1 frame behing standalone mame for input lag, while lr-fbalpha is the same as standalone fbalpha. Otherwise the 2 standalone emulators generally have the same input lag for a game, which means lr-mame must be 1 frame behing lr-fbalpha on average. Savestate support is partial in mame, while all games in fbalpha have savestate support to my knowledge, furthermore savestates in fbalpha were optimized for the libretro features i mentioned.
                                        To sum it up, fbalpha is better integrated with libretro than latest mame, so it gives a lead in terms of features, it's also lighter in memory and overall faster. I wouldn't recommend using lr-mame for a game supported by either lr-fbalpha or lr-mame2003-plus (which has the best libretro integration of all the mame cores).

                                        FBNeo developer - github - forum

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

                                          @barbudreadmon said in lr-mame compile in raspberry pi3b+:

                                          @jlopezvl said in lr-mame compile in raspberry pi3b+:

                                          Also I havent the answer to your lag question … Maybe if you can test it and answer me ..

                                          Apparently lr-mame is 1 frame behing standalone mame for input lag, while lr-fbalpha is the same as standalone fbalpha. Otherwise the 2 standalone emulators generally have the same input lag for a game, which means lr-mame must be 1 frame behing lr-fbalpha on average. Savestate support is partial in mame, while all games in fbalpha have savestate support to my knowledge, furthermore savestates in fbalpha were optimized for the libretro features i mentioned.
                                          To sum it up, fbalpha is better integrated with libretro than latest mame, so it gives a lead in terms of features, it's also lighter in memory and overall faster. I wouldn't recommend using lr-mame for a game supported by either lr-fbalpha or lr-mame2003-plus (which has the best libretro integration of all the mame cores).

                                          Id prefer when its possible fbalpha, but also i wanna to get lrmame206 runnig for games that can run on mame at good speed and not run on fbalpha. Only its for have more chances to run games ....

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

                                            My experience in trying .206 wasn't positive. It was crashing when loading any game until I deleted my retroarch.cfg and auto generated a new one. I enabled threaded video since it was off by default from this newly generated cfg. Metal Slug 5 ~50fps. Battle Garegga ~50fps as well. Any cps1 or cps2 game freezes the pi with a "loading machine 99%" or similar screen. I really wanted something that could run system32 games properly and fullspeed. ~20fps in spiderman. Mame2003/plus is fullspeed but it has those shadow graphic bugs.
                                            Pi3b+ at 1450mhz.

                                            J B 2 Replies 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.