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

    roms take me back to main menu

    Scheduled Pinned Locked Moved Help and Support
    nes romsretroarcherrormissing filecore
    16 Posts 3 Posters 5.7k 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.
    • J
      juan6uerra
      last edited by juan6uerra

      Hello,

      I'm new.. been stuck here for a couple days, so I thought I would reach out and see if I could get some support with it. Any assistance would be much obliged. The situation is pretty much what the subject says. Some systems play, others do not. I'd like to just focus on the NES for now tho. Here are the details -

      Pi Model or other hardware: Pi Zero
      Power Supply used: CanaKit DCAR-RSP-1A (have also tried EasyAcc and CheTech)
      RetroPie Version Used 4.2
      Built From: retropie-4.2-rpi1_zero.img
      USB Devices connected: Logitech Wireless K400 Keyboard, Controller, USB Drive (sometimes)
      Controller used: Next USB (also tried Xbox 360, and NES30Pro 8Bitdo Bluetooth)
      Error messages received: None, it just takes you back to the menu
      Log found in /dev/shm/runcommand.log : (verbose launch, took a picture of this, so I am recreating): RetroArch [ERROR] :: Failed to load content
      RetroArch [ERROR] :: This core requires a content file

      Guide used: "Build your own Raspberry Pi retro gaming rig using RetroPie" by Zach
      File: all my nes roms seem to have this problem, 419 of them
      Emulator: I tried all 3 that come on there
      Attachment of config files: I have to see about getting them, I just got passed the shift+3 problem with the keyboard so I was finally able to get it on wifi since i needed the # key ugh, maybe I can ssh to it and get some logs, not sure. Its updating everything now via the setup in hope of resolving it.
      I have tried reimaging, different power supplys, resoluton settings, emulators, cables, boards, sd cards, anything I can swap, I have swapped. The first board I got had an issue, and this is the second one, so it may very well be the board again, not sure.
      How to replicate the problem: Try to launch an NES game using one of the 3 default emulators and you get thrown back out to the screen.

      SNES, Vectrex, MAME seem to work.
      NES, and Genesis, and PSX don't

      Let me know if you need any additonal details, Thanks!

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @juan6uerra
        last edited by mediamogul

        @juan6uerra

        maybe I can ssh to it and get some logs

        See if you can and then post the contents of /dev/shm/runcommand.info directly after trying to launch an NES game. The error your getting seems to indicate that RetroArch is unaware that you're passing viable content to it.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 0
        • J
          juan6uerra
          last edited by

          Thanks for you response!
          Here is what I am seeing in that file -

          nes
          lr-quicknes
          /home/pi/RetroPie/roms/nes/M.C. Kids (USA).nes
          /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/$

          No luck after updating everything :(

          mediamogulM 1 Reply Last reply Reply Quote 0
          • mediamogulM
            mediamogul Global Moderator @juan6uerra
            last edited by

            @juan6uerra said in roms take me back to main menu:

            /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/$

            To quote the big book of mechanic clichés, there's your problem. That's the full launch command and it's not being formatted to launch a specific libretrocore or any content. I'm not really sure how this could have gotten messed up, but post the contents of /opt/retropie/configs/nes/emulators.cfg if you would.

            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

            J 1 Reply Last reply Reply Quote 0
            • J
              juan6uerra @mediamogul
              last edited by

              @mediamogul

              yep...

              lr-fceumm = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/l$
              lr-nestopia = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie$
              lr-quicknes = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie$
              default = "lr-quicknes"

              thanks again

              1 Reply Last reply Reply Quote 0
              • SanoS
                Sano
                last edited by

                Seems you edited the file but cropped the lines somehow.
                Here is what you shoul have :

                lr-fceumm = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"
                lr-nestopia = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-nestopia/nestopia_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"
                default = "lr-fceumm"
                lr-quicknes = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-quicknes/quicknes_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"
                
                1 Reply Last reply Reply Quote 1
                • J
                  juan6uerra
                  last edited by juan6uerra

                  my bad, sorry -

                  lr-fceumm = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.$
                  lr-nestopia = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-nestopia/nestopia_libretro.so --config /opt/retropie/configs/nes/retr$
                  lr-quicknes = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-quicknes/quicknes_libretro.so --config /opt/retropie/configs/nes/retr$
                  default = "lr-quicknes"

                  am I just missing the %ROM% variable at the end?

                  mediamogulM 1 Reply Last reply Reply Quote 0
                  • mediamogulM
                    mediamogul Global Moderator @juan6uerra
                    last edited by mediamogul

                    @juan6uerra

                    Copy and paste what @Sano has above and you should be good.

                    Edit: Of course, it looks like your default would be:

                    default = "lr-quicknes"
                    

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    J 1 Reply Last reply Reply Quote 1
                    • J
                      juan6uerra
                      last edited by

                      no dice :( this is what I have now after the update and failed run -

                      /dev/shm/runcommand.info =

                      nes
                      lr-fceumm
                      /home/pi/RetroPie/roms/nes/M.C. Kids (USA).nes
                      /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg "/home/pi/RetroPie/roms/nes/M.C$

                      ========================================================

                      /opt/retropie/configs/nes/emulators.cfg =

                      lr-fceumm = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"
                      lr-nestopia = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-nestopia/nestopia_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"
                      default = "lr-fceumm"
                      lr-quicknes = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-quicknes/quicknes_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"

                      1 Reply Last reply Reply Quote 0
                      • J
                        juan6uerra @mediamogul
                        last edited by

                        @mediamogul

                        I tried putting it back to "lr=quicknes" and it didn't work either. Ugh.. so frustrating.
                        I might try reimaging the sdcard with a USB card reader instead of the builtin one on my laptop, havent tried that yet. . thx

                        1 Reply Last reply Reply Quote 0
                        • SanoS
                          Sano
                          last edited by

                          Again the line is trucated.
                          But I can't say if it's just your copy-paste that truncate it, or the if it's really in the log file...

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            juan6uerra @Sano
                            last edited by

                            @Sano

                            Its gotta be the file itself
                            I did a 'copy all to clipboard', pasted to notepad, and then made sure i got everything here.
                            So whatever is missing is really missing.

                            mediamogulM 1 Reply Last reply Reply Quote 0
                            • mediamogulM
                              mediamogul Global Moderator @juan6uerra
                              last edited by

                              @juan6uerra

                              Windows Notepad can create all kinds of problems. Try using either WordPad, Notepad++ or EditPadLite

                              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                juan6uerra
                                last edited by

                                I am investigating this right now -

                                Error "Verification failed at sector: 8192"

                                I am unable to verify the image after I create it with the Win32DiskImager tool.

                                I tried a couple different sd cards, and now different readers and different USB ports. Same error on verification. Not sure if its a red herring or what, but I am investigating all possible avenues.

                                Looks like others are having the issue as well -

                                https://sourceforge.net/p/win32diskimager/tickets/50/

                                I am not sure what other tool I can use, since I was followign that guide by Zach, thoughts?

                                1 Reply Last reply Reply Quote 0
                                • J
                                  juan6uerra @mediamogul
                                  last edited by

                                  @mediamogul

                                  10-4, ill test with Notpad++ after I get this new image up.. thx

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    juan6uerra
                                    last edited by juan6uerra

                                    the post above has some merit..

                                    "... I immediately clicked "verify only" and got the error "Verification failed at sector: 8192".
                                    Then I tried the following:
                                    READ the contents of the SD card back to a file TEST.IMG.
                                    WRITE the file TEST.IMG back to the SD card.
                                    Run "verify only".
                                    This time, the verify succeeded without any errors."

                                    I performed the same steps and got the same outcome.
                                    It took 3-4x as long this time to read,write, verify the image.
                                    Some of the NES Roms now play, still working on it
                                    Thanks again for everyones help :)

                                    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.