• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Diagnosing ROM problems?

Scheduled Pinned Locked Moved Help and Support
loading gameserror finding
23 Posts 6 Posters 4.6k 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.
  • C
    Colstar
    last edited by 26 Apr 2021, 16:36

    I just wondered if there was a way of finding out why roms fail to load?
    Sometimes I do get a small line of text stating an error, before the Pi returns to the main menu, while over times the screen flashes blue a few times and then back to the main menu without any messages.

    J 1 Reply Last reply 26 Apr 2021, 16:53 Reply Quote 0
    • J
      jamrom2 @Colstar
      last edited by 26 Apr 2021, 16:53

      @colstar speaking in complete general terms because each emulator is different...

      MAME... each revision effects the rom in its own way, some get bits added, others have them removed. So one rom that worked in one version, may not work in another. The correct ROMs versions MUST match to the correct version of MAME.

      Atari800 - it's an emulator that requires a lot of other things to work. One of them being BASIC, and the OSa and OSb depending on the roms requirements. It's not just a plug and go emulator. Takes some time and tweaking.

      Amiga - same as A800. It's not a simple plug and go and does require the games to be built in a certain way.

      A5200 - same as A800 as it uses the same basic emulator to run. Needs some tweaking but once it works, it works really good.

      BIOS files... some require specific BIOS files. You need to read more than just assume putting roms into a folder makes it all work. There is a lot to making systems work, it just takes time and paitence... and reading.

      That's just a few to get started... so you can see where I'm going with this... and this still doesn't account for the crappy ROM dump some games get... so you have to try several versions...etc.

      So to answer your question again... there is no simple answer.

      What exact system are you having issues with?

      C 1 Reply Last reply 26 Apr 2021, 17:51 Reply Quote 1
      • C
        Colstar @jamrom2
        last edited by 26 Apr 2021, 17:51

        @jamrom2 Thanks, that about sums things up I guess. Mostly with MAME games but also ATARI 5200 and from what you have just mentioned they do take a little more work to become playable. 👍

        I 1 Reply Last reply 26 Apr 2021, 17:56 Reply Quote 0
        • I
          IanDaemon @Colstar
          last edited by IanDaemon 26 Apr 2021, 17:56

          @colstar Can you check the \\retropie\configs\all\emulationstation\es_log.txt /dev/shm/runcommand.log ? Do you have the file after "going back to the main menu"?

          • 5 Favorite Arcade Games in MAME
          • Cocktail Cabinet Games
          • Check out the MAME RoW
          C 1 Reply Last reply 26 Apr 2021, 17:59 Reply Quote 0
          • C
            Colstar @IanDaemon
            last edited by 26 Apr 2021, 17:59

            @iandaemon Do you mean can I select it and try and load again? Then yes, the screen fades out then flickers blue before going back to the roms list.

            I 1 Reply Last reply 26 Apr 2021, 18:03 Reply Quote 0
            • I
              IanDaemon @Colstar
              last edited by IanDaemon 26 Apr 2021, 18:03

              @colstar I mean the specific error may be logged in /dev/shm/runcommand.log.

              https://retropie.org.uk/docs/Runcommand/

              • 5 Favorite Arcade Games in MAME
              • Cocktail Cabinet Games
              • Check out the MAME RoW
              S C 2 Replies Last reply 26 Apr 2021, 18:23 Reply Quote 0
              • S
                sleve_mcdichael @IanDaemon
                last edited by sleve_mcdichael 26 Apr 2021, 18:23

                @iandaemon said in Diagnosing ROM problems?:

                @colstar I mean the specific error may be logged in /dev/shm/runcommand.log.

                https://retropie.org.uk/docs/Runcommand/

                Don't forget to launch with verbose logging enabled for the detailed report.

                The log file location is not accessible via the network share. To access it more easily, plug a keyboard into the Pi and press F4 to exit EmulationStation, or connect via SSH (Windows has a built-in SSH client; from a command prompt, use ssh pi@retropie.local or, if your network doesn't recognize host names, you can use ssh pi@<your.pi's.ip.address>. The default password, if you haven't changed it previously, is raspberry.) Then copy the file to your roms folder with the command:

                cp /dev/shm/runcommand.log /home/pi/RetroPie/roms
                

                This will put a copy of the log file in your roms folder where it can easily be accessed via the network share.

                I 1 Reply Last reply 26 Apr 2021, 21:05 Reply Quote 1
                • C
                  Colstar @IanDaemon
                  last edited by 26 Apr 2021, 18:25

                  @iandaemon said in Diagnosing ROM problems?:

                  @colstar I mean the specific error may be logged in /dev/shm/runcommand.log.

                  https://retropie.org.uk/docs/Runcommand/

                  Ah thanks, I have never delved into any of this as yet. May have to take a look!

                  J 1 Reply Last reply 27 Apr 2021, 00:30 Reply Quote 0
                  • I
                    IanDaemon @sleve_mcdichael
                    last edited by IanDaemon 26 Apr 2021, 21:05

                    @sleve_mcdichael After I posted and walked away I thought "I should have said something about verbose logging." And for the location...Couldn't you just use a symbolic link to the file?

                    • 5 Favorite Arcade Games in MAME
                    • Cocktail Cabinet Games
                    • Check out the MAME RoW
                    S 1 Reply Last reply 27 Apr 2021, 00:33 Reply Quote 0
                    • J
                      jamrom2 @Colstar
                      last edited by jamrom2 27 Apr 2021, 00:30

                      @colstar even without the verbose logging, you'll be able to see where the emulator is failing.

                      As for the MAME roms... you have to match them to the correct version. Which version of MAME did you load?

                      Each version we can run on Retropie correlates to a specific version number of MAME. So they're not the same.

                      As for Atari 5200... it's a bitch to configure... but start with a good BIOS and .a52 roms. They can be zipped, but make sure they are not .atr/.atx roms. Those are for the Atari 800.

                      To setup A5200 and Atari 800 properly.. follow this... we found a problem with the Atari 800 loading script at the end and I think rkoster was going to edit it. If it's not, and it doesn't work... let me know. I helped him with it. I know how to fix it. He did a rock-solid job and everything works better than any other guide I've tried in the past 5 years.

                      https://retropie.org.uk/forum/topic/22392/lr-atari800-5200-artifacting-basic-and-other-guidance/44?_=1619483254571

                      best,

                      Jam

                      1 Reply Last reply Reply Quote 0
                      • S
                        sleve_mcdichael @IanDaemon
                        last edited by sleve_mcdichael 27 Apr 2021, 00:33

                        @iandaemon said in Diagnosing ROM problems?:

                        And for the location...Couldn't you just use a symbolic link to the file?

                        (Edit: Yeah, that didn't work. Doesn't work without some additional configuration. See @mitu's post #20 below.)

                        I suppose you could, yeah. Then it would always just "be there" and you wouldn't have to re-copy it every time you needed it. So instead of cp you would use ln -s:

                        ln -s /dev/shm/runcommand.log /home/pi/RetroPie/roms
                        

                        This link will act like a pointer, like a Windows "shortcut," that always points to the most recent version of the log file, instead of a copy which is just a snapshot in time of what the file looked like when you copied it.

                        J 1 Reply Last reply 27 Apr 2021, 00:38 Reply Quote 0
                        • J
                          jamrom2 @sleve_mcdichael
                          last edited by 27 Apr 2021, 00:38

                          @sleve_mcdichael lol... I was thinking the same thing... you have a really good idea though, so much better than hunting for it every time via WinSCP. With that link you can just open the ROMS folder on your desktop and view it that way.

                          I 1 Reply Last reply 27 Apr 2021, 22:59 Reply Quote 0
                          • I
                            IanDaemon @jamrom2
                            last edited by 27 Apr 2021, 22:59

                            I thought of a possible issue. If Windows "can't see" a Linux partition, may the symbolic link be pointed to a location the Windows machine "couldn't see"? (Windows machines aren't the Kwisatz Haderach.)

                            So symbolic links may be A solution, but they definitely are not THE solution.

                            • 5 Favorite Arcade Games in MAME
                            • Cocktail Cabinet Games
                            • Check out the MAME RoW
                            S 2 Replies Last reply 27 Apr 2021, 23:15 Reply Quote 0
                            • S
                              sleve_mcdichael @IanDaemon
                              last edited by sleve_mcdichael 27 Apr 2021, 23:15

                              @iandaemon Windows can "see" the roms folder just fine over the network, though. Isn't that already on the Linux partition? That's why we have to use WiFi or a USB stick and can't just add roms directly to the SD card, right?

                              I 1 Reply Last reply 28 Apr 2021, 04:00 Reply Quote 0
                              • I
                                IanDaemon @sleve_mcdichael
                                last edited by IanDaemon 28 Apr 2021, 04:00

                                @sleve_mcdichael There are multiple Linux partitions on a RetroPie SD card. The ROMs are just on one that a Windows machine can see. (e.g. accessing over network not ssh) If your Windows computer is on the same network as your Pi you may be able to type \\RETROPIE in Windows Explorer or Internet Explorer and get to the partition that the ROMs are stored via Samba-Shares.

                                You can see more details here: https://retropie.org.uk/docs/Transferring-Roms/

                                • 5 Favorite Arcade Games in MAME
                                • Cocktail Cabinet Games
                                • Check out the MAME RoW
                                1 Reply Last reply Reply Quote 0
                                • S
                                  sleve_mcdichael @IanDaemon
                                  last edited by 28 Apr 2021, 05:44

                                  @iandaemon you're right it doesn't work. I just tried it just now and when I tried to open the file or copy it to another location it failed, and said I needed permission from the system's administrator.

                                  I 1 Reply Last reply 28 Apr 2021, 11:54 Reply Quote 0
                                  • I
                                    IanDaemon @sleve_mcdichael
                                    last edited by IanDaemon 28 Apr 2021, 11:54

                                    @sleve_mcdichael Did you rename your Pi? I have two so on my Windows laptop I go to \\THINCOCKTAIL and \\GOLDENTEE2005. I believe the login information is by default Raspberry and Pi.

                                    https://retropie.org.uk/docs/Transferring-Roms/#samba-shares

                                    You can't access every file via Samba Shares, but I find it really useful. Is Samba Shares turned on?

                                    • 5 Favorite Arcade Games in MAME
                                    • Cocktail Cabinet Games
                                    • Check out the MAME RoW
                                    J S 2 Replies Last reply 28 Apr 2021, 13:25 Reply Quote 0
                                    • J
                                      jamrom2 @IanDaemon
                                      last edited by 28 Apr 2021, 13:25

                                      @iandaemon opposite... pi is the user, raspberry is the password by default

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sleve_mcdichael @IanDaemon
                                        last edited by sleve_mcdichael 28 Apr 2021, 15:57

                                        @iandaemon no, Samba is working fine. I just mean that, as you suggested earlier might be the case, linking the runcommand.log file in the roms directory does in fact not work (no bueno) to make the file always accessible via the network share. I can see that there is a runcommand.log file in the roms folder on the network, but I cannot open it or copy it or move it.

                                        M 1 Reply Last reply 28 Apr 2021, 16:00 Reply Quote 0
                                        • M
                                          mitu Global Moderator @sleve_mcdichael
                                          last edited by 28 Apr 2021, 16:00

                                          @sleve_mcdichael Symlinks are not 'followed' on Samba file shares when they point outside the shared folder, it's a security configuration enabled by default - https://unix.stackexchange.com/questions/5120/how-do-you-make-samba-follow-symlink-outside-the-shared-path.

                                          Y 1 Reply Last reply 28 Apr 2021, 16:14 Reply Quote 1
                                          20 out of 23
                                          • First post
                                            20/23
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received