AdvanceMAME no longer working
-
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 -
@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)
-
@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 onlydir_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. -
@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 ?
-
@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
-
@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. -
@BuZz
The content of log.txt is in http://paste.ubuntu.com/24112848/ -
@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. -
Actually, I think I can do a fix for this in the code to avoid this situation.
-
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.
-
@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.
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.