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

    Raspberry Pi OS: RetroPie does not run roms

    Scheduled Pinned Locked Moved Help and Support
    runcommandscript githubroms not loadinretropie 4.7.3
    7 Posts 3 Posters 785 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.
    • L
      Lilian3004
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • L
        Lilian3004
        last edited by

        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

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

          Are you running EmulationStation from the desktop ?
          This is not supported on the Pi and it might be the cause for the 1st runcommand 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 ?

          L 1 Reply Last reply Reply Quote 0
          • L
            Lilian3004 @mitu
            last edited by

            @mitu i tried both. Neither works. If i remember right he said the package for the nes emulator could not complete

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

              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 and lr-fceumm (NES emulator) packages and if you get any errors, post the latest log file from $HOME/RetroPie-Setup/logs on pastebin.com.

              L 1 Reply Last reply Reply Quote 0
              • L
                Lilian3004 @mitu
                last edited by

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

                dankcushionsD 1 Reply Last reply Reply Quote 0
                • dankcushionsD
                  dankcushions Global Moderator @Lilian3004
                  last edited by

                  @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

                  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.