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

    AdvanceMAME no longer working

    Scheduled Pinned Locked Moved Help and Support
    advmamemamemame-libretro
    11 Posts 2 Posters 4.1k 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.
    • saccublendaS
      saccublenda
      last edited by saccublenda

      Hello,
      It was working fine before, but since AdvanceMAME has been split in three (0.94, 1.4 and 3) I'm not able to make it run any rom. I tried 0.94, 1.4 and 3 but always with the same result. Looking at runcommand.log it looks like it can't find the relevant files, but all these files are present in the zip archive. I tried lr-mame2003 and it does work, so I am a bit confused. Any help?
      Thanks.

      Pi Model or other hardware: 3
      Power Supply used: USB3.0
      RetroPie Version Used: 4.1.18
      Built From: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.1/retropie-4.1-rpi1_zero.img.gz
      USB Devices connected: 1x Keyboard / 1x Controller
      Controller used: 8bitdo sfc30 (USB plugged)
      Log found in /dev/shm/runcommand.log:

      Parameters:
      Executing: /opt/retropie/emulators/advmame-1.4/bin/advmame "1942"
      AdvanceMAME - Copyright (C) 1999-2003 by Andrea Mazzoleni
      MAME - Copyright (C) 1997-2003 by Nicola Salmoria and the MAME Team
      1-n3a.bin    NOT FOUND
      1-n4.bin     NOT FOUND
      1-n5.bin     NOT FOUND
      1-n6.bin     NOT FOUND
      1-n7.bin     NOT FOUND
      1-c11.bin    NOT FOUND
      1-f2.bin     NOT FOUND
      2-a1.bin     NOT FOUND
      2-a2.bin     NOT FOUND
      2-a3.bin     NOT FOUND
      2-a4.bin     NOT FOUND
      2-a5.bin     NOT FOUND
      2-a6.bin     NOT FOUND
      2-l1.bin     NOT FOUND
      2-l2.bin     NOT FOUND
      2-n1.bin     NOT FOUND
      2-n2.bin     NOT FOUND
      08e_sb-5.bin NOT FOUND
      09e_sb-6.bin NOT FOUND
      10e_sb-7.bin NOT FOUND
      f01_sb-0.bin NOT FOUND
      06d_sb-4.bin NOT FOUND
      03k_sb-8.bin NOT FOUND
      01d_sb-2.bin NOT FOUND
      02d_sb-3.bin NOT FOUND
      k06_sb-1.bin NOT FOUND
      01m_sb-9.bin NOT FOUND
      ERROR: required files are missing, the game cannot be run.
      

      File: 1942.zip
      Emulator: advmame-1.4

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

        @saccublenda Where did you put the zip file ? Check the rom path in /opt/retropie/configs/mame-advmame/advmame-1.4.rc

        Please confirm retropie version (4.1 is not current - and advmame wasn't split then so I assume you updated - please give the number in brackets to - version is found in retropie-setup)

        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

        saccublendaS 1 Reply Last reply Reply Quote 0
        • saccublendaS
          saccublenda @BuZz
          last edited by

          @BuZz The RetroPie version is 4.1.18.
          The roms were in

          /home/pi/RetroPie/roms/mame-advmame

          but in advmame-1.4.rc there was only

          dir_rom /home/pi/.advance/rom:/opt/retropie/emulators/advmame-1.4/share/advance/rom

          Modifying the dir_rom entry in advmame-1.4.rc fixed the problem, thanks.

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

            @saccublenda Sounds like you didn't have a default config previously for some reason or an old config - not sure as I can't reproduce. If you remove that config and re-install can you confirm it creates a correct configuration ?

            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

            saccublendaS 1 Reply Last reply Reply Quote 0
            • saccublendaS
              saccublenda @BuZz
              last edited by

              @BuZz Removing the config file and re-installing advancemame 1.4 re-creates the same advmame-1.4.rc with the line
              dir_rom /home/pi/.advance/rom:/opt/retropie/emulators/advmame-1.4/share/advance/rom

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

                @saccublenda I removed and reinstalled on mine and I am still unable to reproduce this issue. I would like to know why it is happening though -

                Please can you do the following - remove the config file again and then run this from a terminal

                sudo __debug=1 ~/RetroPie-Setup/retropie_packages.sh advmame-1.4 configure &>~/log.txt
                

                This will create a log.txt in /home/pi. Please can you then then upload log.txt to a pastebin site so I can see what is going on.

                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

                saccublendaS 1 Reply Last reply Reply Quote 0
                • saccublendaS
                  saccublenda @BuZz
                  last edited by

                  @BuZz
                  The content of log.txt is in http://paste.ubuntu.com/24112848/

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

                    @saccublenda somehow your system has got duplicate folders and the system is breaking trying to move and symlink /home/pi/.advance. I might be able to change the function somewhat to try and avoid this situation, but usually it shouldn't occur.

                    Please remove the folder /home/pi/.advance and /opt/retropie/configs/mame-advmame and reinstall (back them up if you have any important saves/configs)

                    it should then make /home/pi/.advance a symlink to the retropie configurations.

                    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

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

                      Actually, I think I can do a fix for this in the code to avoid this situation.

                      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

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

                        if you update retropie-setup it should resolve the situation. Note that any configs in /opt/retropie/configs/mame-advmame will be overwritten by the ones in /home/pi/.advance.

                        you can still remove both folders to get a fresh install of all configs.

                        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

                        1 Reply Last reply Reply Quote 0
                        • saccublendaS
                          saccublenda @BuZz
                          last edited by

                          @BuZz The procedure you suggested completely fixed the problem. The new advmame-1.4.rc contains the correct paths and /home/pi/.advance is now a symbolic link.
                          Thanks.

                          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.