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

    MAMEdev MAME Installation Script Broken

    Scheduled Pinned Locked Moved Help and Support
    mamedev installretropie-setup
    31 Posts 5 Posters 2.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.
    • johnodonJ
      johnodon @BuZz
      last edited by

      @BuZz said in MAMEdev MAME Installation Script Broken:

      @johnodon you ran out of memory. Increase your system swap maybe or build with

      sudo MAKEFLAGS=-j1 ~/RetroPie-Setup/retropie_setup.sh

      Or -j2 maybe. (Number of threads).

      I didn't even have a swapfile. :-\

      Created one and retrying.

      Thanks @BuZz. Sorry for hijacking.

      1 Reply Last reply Reply Quote 0
      • johnodonJ
        johnodon
        last edited by

        Completed successfully.

        1 Reply Last reply Reply Quote 0
        • B
          bluestang
          last edited by

          So the Libretro team updated lr-mame to v222 and I tried installing from binary and v220 was installed...and then I compiled from source and it was v222 but it errors out when trying to play a rom.

          So what is the binary source for lr-mame?

          And the compile time for the latest v222 source was somewhere about 3 hours.

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

            @bluestang said in MAMEdev MAME Installation Script Broken:

            So what is the binary source for lr-mame?

            On the PI systems, probably the source when it was last compiled - 21 May, lr-mame using 0.220 upstream.

            And the compile time for the latest v222 source was somewhere about 3 hours.

            On a Pi ? I highly doubt it.

            B 1 Reply Last reply Reply Quote 0
            • B
              bluestang @mitu
              last edited by bluestang

              @mitu said in MAMEdev MAME Installation Script Broken:

              @bluestang said in MAMEdev MAME Installation Script Broken:

              So what is the binary source for lr-mame?

              On the PI systems, probably the source when it was last compiled - 21 May, lr-mame using 0.220 upstream.

              And the compile time for the latest v222 source was somewhere about 3 hours.

              On a Pi ? I highly doubt it.

              My point is something is broken again with the lr-mame because I know that compiling from source for lr-mame and/or mamedev is about 6-8 hrs on a Pi4

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

                @bluestang said in MAMEdev MAME Installation Script Broken:

                My point is something is broken again with the lr-mame because I know that compiling from source for lr-mame and/or mamedev is about 6-8 hrs on a Pi4

                lr-mame should be fine - when did you try to install it from source ?

                B 1 Reply Last reply Reply Quote 0
                • B
                  bluestang @mitu
                  last edited by

                  @mitu last night - Here is the install log - https://pastebin.com/h8mxUE7n

                  132/132 projects (line 1942) seems rather low compared to previous compiles I've done in the past.

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

                    @bluestang I don't see an error in the log, I'm not sure what's the error ?

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      bluestang @mitu
                      last edited by

                      @mitu let me clarify my issue:

                      compiling lr-mame is fine - no issues as you can see from the install log, albeit the number of projects seems lower than usual.

                      However, when I try to start a rom with lr-mame it errors out. Unfortunately, I do not have the log for the exact error. I got carried away with trying to clean out old files and the log file with error accidentally got deleted.

                      The only way to reproduce the error on my end will be to re-compile lr-mame again. I'll post that log if I can later today.

                      So that is why I also asked the question about the latest compiled binary earlier, because I was under the impression that the binary would have been recompiled with the new v222 mame source files. (i.e. - like the librtro nighty builds)

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

                        @bluestang said in MAMEdev MAME Installation Script Broken:

                        However, when I try to start a rom with lr-mame it errors out. Unfortunately, I do not have the log for the exact error. I got carried away with trying to clean out old files and the log file with error accidentally got deleted.

                        You don't need a build log for that (the one you posted is fine), get a verbose log from running the game and post it on pastebin.com.

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

                          @bluestang said in MAMEdev MAME Installation Script Broken:

                          So that is why I also asked the question about the latest compiled binary earlier, because I was under the impression that the binary would have been recompiled with the new v222 mame source files. (i.e. - like the librtro nighty builds)

                          The binaries are not automatically updated each time the upstream changes/releases a new version.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bluestang @mitu
                            last edited by

                            @mitu I will get the verbose log for you later today. As for the binaries, are the ones the LibeRetro folks compile not the same? - http://buildbot.libretro.com/nightly/linux/armhf/latest/

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

                              @bluestang said in MAMEdev MAME Installation Script Broken:

                              As for the binaries, are the ones the LibeRetro folks compile not the same? - http://buildbot.libretro.com/nightly/linux/armhf/latest/

                              No, we don't use the Libretro buildbot binaries.

                              1 Reply Last reply Reply Quote 0
                              • B
                                bluestang @mitu
                                last edited by

                                @mitu almost 4 hours later - here is the error - https://pastebin.com/zMQtmSTK

                                This seems pretty important:

                                line 192 [libretro ERROR] System not found: arcade
                                line 193 [libretro WARN] Driver arcade not found -1

                                I updated the source compile log as well - https://pastebin.com/h8mxUE7n

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

                                  @bluestang said in MAMEdev MAME Installation Script Broken:

                                  line 192 [libretro ERROR] System not found: arcade
                                  line 193 [libretro WARN] Driver arcade not found -1

                                  I think that's a red-herring. I get the same error even when a game is correctly booted, for instance 1942:

                                  [libretro INFO] Starting game:/home/pi/RetroPie/roms/arcade/1942.zip
                                  [libretro INFO] Game name: 1942, Game description: 1942 (Revision B)
                                  [libretro ERROR] System not found: arcade
                                  [libretro WARN] Driver arcade not found -1
                                  [libretro INFO] Creating frontend for game: 1942
                                  [libretro INFO] Softlists: 1
                                  Error opening translation file English
                                  Adding monitor screen0 (640 x 480) a:1.333333
                                  [libretro INFO] SOURCE FILE: ../../../../../src/mame/drivers/1942.cpp
                                  [libretro INFO] PARENT: 0
                                  [libretro INFO] NAME: 1942
                                  [libretro INFO] DESCRIPTION: 1942 (Revision B)
                                  [libretro INFO] YEAR: 1984
                                  [libretro INFO] MANUFACTURER: Capcom
                                  [libretro INFO] RES:1
                                  [libretro INFO] MAIN FIRST
                                  [INFO] SET_GEOMETRY: 224x256, aspect: 0.750.
                                  w:224 h:256 a:0.750000
                                  [INFO] [KMS]: New FB: 1600x1200 (stride: 6400).
                                  [INFO] [KMS]: New FB: 1600x1200 (stride: 6400).
                                  

                                  I'm using the currenty binary, not a source update - if something is not working that was previously working, then it might be from the update.
                                  As always with Arcade emulation, I'd double check if your romset is correct for the MAME version you're trying to use.

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    bluestang @mitu
                                    last edited by

                                    @mitu there is an issue for this opened up in the lr-mame Github - https://github.com/libretro/mame/issues/163

                                    Romset is the correct version.

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

                                      Then it might be something with the latest update. I tried to test the libretro builbot version, but for some reason, the armv7-neon-hf build for the lr-mame core is build for aarch64 and it can't be used on RetroPie.

                                      B 2 Replies Last reply Reply Quote 0
                                      • B
                                        bluestang @mitu
                                        last edited by

                                        @mitu said in MAMEdev MAME Installation Script Broken:

                                        Then it might be something with the latest update. I tried to test the libretro builbot version, but for some reason, the armv7-neon-hf build for the lr-mame core is build for aarch64 and it can't be used on RetroPie.

                                        Hmmm...I installed RA on 64bit Raspian but I couldn’t get it to work.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bluestang @mitu
                                          last edited by

                                          @mitu said in MAMEdev MAME Installation Script Broken:

                                          Then it might be something with the latest update. I tried to test the libretro builbot version, but for some reason, the armv7-neon-hf build for the lr-mame core is build for aarch64 and it can't be used on RetroPie.

                                          The issue is being looked at upstream - https://github.com/libretro/mame/issues/163

                                          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.