Raspberry Pi OS: RetroPie does not run roms
-
For first: yes this topic does exist already. However, there is no fix yet.
I installed RetroPie on top of Raspberry Pi OS with the git clone command using the shell. I used the basic install.
I put the rom files into the home/RetroPie/roms folder, you know .nes files into /rom/nes and so on. So the roms are on the sd card.
When i start emulationstation per command line the games are visible. but once i start a game - no matter which one - he shows me an error message very shortly and then returns to the game list.
The error code is the following:
/opt/retropie/supplementary/runcommand/runcommand.sh: line 423: printf: 60.02 unvalid number
After that i get redirected to the game list.
The line 423 says:
#get refresh rate (stripping Hz, rounded to integer mode_info[5]="$(LC_NUMERIC=C printf '%.0f\n' $(status[3]::-2))"
I looked into this path /opt/retropie/emulators and noticed there is only Mupen64+ listed.
I opened the latest Log file and it says the following:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-gambatte/gambatte_libretro.so --config /opt/retropie/configs/gb/retroarch.cfg "/home/pi/RetroPie/roms/gb/Avenging Spirit.gb" --appendconfig /dev/shm/retroarch.cfg /opt/retropie/supplementary/runcommand/runcommand.sh: line 1304: /opt/retropie/emulators/retroarch/bin/retroarch: file or directory not found
The line 1304 in the script says (eval part):
else eval $COMMAND </dev/tty &>>"$LOG" ret=$?
Does anyone know what the problem is? Is there a configuration error?
Notes: i did not edit the runcommand script. The roms work perfectly on Android and Windows 10
-
addendum:
Pi Model: Pi 4B with 4gb Ram
RetroPie version: 4.7.3
Power supply: official Raspberry Pi power supply
Build from: installation per git clone -
Are you running EmulationStation from the desktop ?
This is not supported on the Pi and it might be the cause for the 1struncommand
error. Run EmulationStation from the console and not from the desktop in this case./opt/retropie/supplementary/runcommand/runcommand.sh: line 1304: /opt/retropie/emulators/retroarch/bin/retroarch: file or directory not found
This looks like the file in question doesn't exist - did the installation completed without errors ?
-
@mitu i tried both. Neither works. If i remember right he said the package for the nes emulator could not complete
-
If i remember right he said the package for the nes emulator could not complete
This means the installation was from source, you don't have a binary install option for the packages ? Are you running an
arm64
installation (64 bit) ?You can try re-installing the
retroarch
andlr-fceumm
(NES emulator) packages and if you get any errors, post the latest log file from$HOME/RetroPie-Setup/logs
on pastebin.com. -
@mitu i tried to reinstall RetroArch, it failed. I reinstalled RetroPie completely now and now it seems to work, but once i try a game the game seems to have small graphic issues. I dont know where they come from though. The Raspy 4 should have enough power to run Snes9x flawless.
-
@lilian3004 it does. we need more information - please describe exactly what you see, and provide verbose logs and full info as per https://retropie.org.uk/forum/topic/3/read-this-first
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.