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-mame2014 and lr-mame not working

    Scheduled Pinned Locked Moved Help and Support
    mamemame2014lr-mamedie hard arcadewget
    26 Posts 6 Posters 12.2k 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.
    • M
      Melvin.FoX
      last edited by Melvin.FoX

      Hello everyone!

      I am running RPi3 with RetroPie 4.1. I made setup script update.
      I installed RetroPie 4.1from img without earlier updates. As far as I can remember there was no apt-get update and upgrade made yet.

      Before anyone will ask the question What do you need mame2014 and 2016 for?! I will answer: Die Hard Arcade.
      I am finishing up my Arcade Stick Console project and that's a must have for me so I am really determined to make it work. On mame2003 games lacks 3d objects like floors and works quite choppy. On mame2010 has no sound at all.
      I checked MAME 159 on PC and it works like charm so I thougt that maybe I will use those experimental packages.

      When I compiled mame2014 and tried to make it run it just immediately gets back to EmulationStation. On bash I found out that when trying to run mame with 2014 core .so file it gives me segmentation fault.
      On lr-mame it won't compile at all. It just gives me an error that after cloning the git repo and starting MAKE it just lakes some file or something (sorry but I don't really remember the dialog and my rasp is right now trying to build mame2014 once more which takes a lot of time).

      Maybe You could help me somehow? Maybe someone have some older RP setup script which allows to successfully build one of those builds and could send me? Or tell me how to make some magic so it will work?
      I would put some golden on that person and would be really grateful!

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @Melvin.FoX
        last edited by

        @Melvin.FoX said in lr-mame2014 and lr-mame not working:

        It just gives me an error that after cloning the git repo and starting MAKE it just lakes some file or something

        You should post the log of this error. It's in ~/RetroPie-Setup/logs/. The file name has a timestamp.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • M
          Melvin.FoX
          last edited by Melvin.FoX

          That was for yesterday:

          mame/src/devices/cpu/m68000'
          GCC version 5.0 or later needed
          makefile:1243: recipe for target 'build/projects/retro/mamearcade/gmake-linux/Makefile' failed
          make: *** [build/projects/retro/mamearcade/gmake-linux/Makefile] Error 255
          make: *** Waiting for unfinished jobs....
          Removing additional swap
          /home/pi
          Could not successfully build MAME emulator - MAME (current) port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame/mamearcade_libretro.so not found).

          Log ended at: Fri 13 Jan 20:34:46 UTC 2017
          Total running time: 0 hours, 12 mins, 37 secs


          Now it's

          Log started at: Sat 14 Jan 11:08:27 UTC 2017

          = = = = = = = = = = = = = = = = = = = = =
          Installing dependencies for 'lr-mame' : MAME emulator - MAME (current) port for libretro
          = = = = = = = = = = = = = = = = = = = = =

          Sorry, you need an OS with gcc 5.0 or newer to compile lr-mame

          Log ended at: Sat 14 Jan 11:08:27 UTC 2017
          Total running time: 0 hours, 0 mins, 0 secs


          Ialso tried to compile and try lr-mess and it also told that there mess_libretro.so was not found.

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @Melvin.FoX
            last edited by

            @Melvin.FoX hummm... since it's not a trivial config problem I think it can be promoted to an issue in the RetroPie-Setup's issue tracker.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator
              last edited by

              these emulators are marked as 'experimental' for this reason :)

              even if you get it running, die hard arcade (and any 3d arcade games) are not going to be playable on a pi.

              1 Reply Last reply Reply Quote 1
              • M
                Melvin.FoX
                last edited by

                @dankcushions said in lr-mame2014 and lr-mame not working:

                these emulators are marked as 'experimental' for this reason :)

                I do know that they are experimental but still - why the hell are they there if you can't even install it (experimental for me means that you can experiment with it) and try to run it?!

                even if you get it running, die hard arcade (and any 3d arcade games) are not going to be playable on a pi.

                If I'll see it on my own eyes I will believe it.

                dankcushionsD 1 Reply Last reply Reply Quote -1
                • M
                  Melvin.FoX
                  last edited by Melvin.FoX

                  And another problem, now with "optional package" vice:

                  Unable to install binary for sdl2

                  Is there anything working there?

                  1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator @Melvin.FoX
                    last edited by

                    @Melvin.FoX said in lr-mame2014 and lr-mame not working:

                    @dankcushions said in lr-mame2014 and lr-mame not working:

                    these emulators are marked as 'experimental' for this reason :)

                    I do know that they are experimental but still - why the hell are they there if you can't even install it (experimental for me means that you can experiment with it) and try to run it?!

                    it's true they should install, but as you can see from the error, whatever you last compiled requires GCC 5.0. i think this is due to the latest changes lr-mame. GCC 5.0 is not available in raspian, so there's nothing that can be done, unless you do some advanced stuff (search raspian gcc 5).

                    all we can do is wait for the next version of raspian. i think stretch has gcc 5+.

                    perhaps we could use an older version of lr-mame, but my understanding is that was pretty broken even on systems that could run it properly (PCs, etc).

                    1 Reply Last reply Reply Quote 0
                    • M
                      Melvin.FoX
                      last edited by

                      Ok so vice problem was totally my fault.
                      I made a typo in wgetrc inet4_only = om and that was enough to stop downloading some of the necessary libs.
                      Right now I will try one more time with mame2014 hoping that maybe that was also causing the problem. Will update as soon as I will know anything new.

                      1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators
                        last edited by

                        lr-mame and lr-mess won't work now on older gcc and there is nothing i can do really for Raspbian. I might implement a lr-mess2014/lr-mess2010 but for now you will need to wait. I will look into lr-mame2014 building when I have time

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Melvin.FoX @BuZz
                          last edited by

                          @BuZz said in lr-mame2014 and lr-mame not working:

                          lr-mame and lr-mess won't work now on older gcc and there is nothing i can do really for Raspbian. I might implement a lr-mess2014/lr-mess2010 but for now you will need to wait. I will look into lr-mame2014 building when I have time

                          Buzz I think that was absolutely my fault with mame2014 build because now it just went fine after wgetrc fix. I think that RPi couldn't connect to some repos for necessary libs and that's the thing.

                          Right now I managed to install mame2014 from source but when trying to run diehard.zip it hangs on screen with white border (as it was some disclaimer or gameinfo screen) and you can only close it via SSH :/

                          I will try to compile gcc5 or 6 and try to install lr-mame.

                          BuZzB edmaul69E 2 Replies Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators @Melvin.FoX
                            last edited by BuZz

                            @Melvin.FoX diehard works to a degree on advancemame 1.4 (although I didn't get in game sound) - (you need to run it from commandline with -bios us parameter.) However it is completely unplayable on a rpi as has been mentioned earlier.

                            maybe 5-6 fps

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Melvin.FoX @BuZz
                              last edited by

                              @BuZz said in lr-mame2014 and lr-mame not working:

                              @Melvin.FoX diehard works to a degree on advancemame 1.4 (although I didn't get in game sound) - (you need to run it from commandline with -bios us parameter.) However it is completely unplayable on a rpi as has been mentioned earlier.

                              maybe 5-6 fps

                              Thanks for your answer. I already tried it and it performs better than You mentioned. I get a playable fps number but it still lacks sound. Right now I am just screwed because after I used gcc6 I have some serious system issues and can't get ES to work anymore. Problably I will have to do a fresh install and start all over again... Still guys thanks for your help and concern. I learned a lot today.

                              1 Reply Last reply Reply Quote 0
                              • edmaul69E
                                edmaul69 @Melvin.FoX
                                last edited by edmaul69

                                @Melvin.FoX so i installed mame 2014 last night on my pi 3 with retropie 4.whatever the lastest version was as of last night and nothing works. Do i need to update linux to get it to work? Im not familiar with what gcc is.

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

                                  http://www.progettoemma.net/index.php?gioco=diehard
                                  This game has sound and graphic issues in mame. Also, it is stvbios, which means sega saturn arcade : i have troubles running radiant silvergun (another stvbios game) in mame at constant full speed on an intel core i7@3.4Ghz. You are expecting way too much of mame and your raspberry.

                                  FBNeo developer - github - forum

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Melvin.FoX @edmaul69
                                    last edited by

                                    @edmaul69 I managed to run few things on mame2014 like pacman, frogger just to see if it works. However when I tried to run this Die Hard Arcade I just got this white border as I told you and it freezed so I had to ssh reboot the RPi.

                                    As for gcc (which is a Gnu Compiler Collection) it's a bunch of tools needed to compile (make) some binary from source. I tried it some nasty with installing it from a newer Raspberry repo but after that my whole system screwed up :/
                                    You will have to compile it all by yourself (just Google Raspberry Pi - Install GCC 6 and compile C++14 and C++17 programs) but it takes a lot of time (from 6 to even 24 hours) and can always crash so I am not sure if it's worth an effort.

                                    For now on I will leave Die Hard (and just install Sega Saturn port) and I will try to get back to it after some time (maybe gcc 5 will be implemented or raspberry will get a core update?). Thanks for your help guys!

                                    B edmaul69E 2 Replies Last reply Reply Quote 0
                                    • dankcushionsD
                                      dankcushions Global Moderator
                                      last edited by

                                      saturn will perform even worse :) https://github.com/retropie/retropie-setup/wiki/saturn#emulator-lr-yabause-small_red_triangle

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        barbudreadmon @Melvin.FoX
                                        last edited by

                                        @Melvin.FoX said in lr-mame2014 and lr-mame not working:

                                        For now on I will leave Die Hard (and just install Sega Saturn port) and I will try to get back to it after some time (maybe gcc 5 will be implemented or raspberry will get a core update?). Thanks for your help guys!

                                        Some facts you'll have to accept :
                                        Saturn / stvbios won't run at decent speed on current raspberry without a jit/dynarec, search "High Level Emulation" if you wanna learn more about that.
                                        MAME won't add a jit/dynarec to their emulator since anything which is not "Low Level Emulation" is against their policy.
                                        Yabause standalone have some preliminary jit/dynarec (it was added a few months ago), but as far as i know, it is far from finished. Yabause libretro currently don't have this jit/dynarec.

                                        FBNeo developer - github - forum

                                        1 Reply Last reply Reply Quote 0
                                        • edmaul69E
                                          edmaul69 @Melvin.FoX
                                          last edited by

                                          @Melvin.FoX yeah i cant even get the mame2014 to even try to run on anything. It just goes to a black screen and back to the gamelist.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            Melvin.FoX @edmaul69
                                            last edited by

                                            @edmaul69 so try to do this in bash (you can try with ssh). Type this command:

                                            /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2014/mame2014_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%

                                            and swap %ROM% with full path eg.:

                                            /home/pi/RetroPie/roms/arcade/pacman.zip

                                            Then you'll see what's going on. If there is segmentation fault as I had then it was compiled with some errors (probably compiler couldn't find or download some needed library). Paste what's going on when turning on some rom.

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