• 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

Transfer ROM's with USB - Issue with files being stored as ".XML"

Scheduled Pinned Locked Moved Help and Support
rom not loadinusb rom servicexml
35 Posts 5 Posters 9.5k 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.
  • R
    Rohan82
    last edited by 8 May 2017, 16:10

    It's hard to read from the photo resizing, but the log file only has one line:
    Parameters:
    Execution: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-nestopia_libretro.so --config /opt/retropie/configs/config /dev/shm/retroarch.cfg

    It's worth noting that I tried all three installed emulators with the same results.
    0_1494259404532_upload-352daae9-b2d8-401b-a3df-606d5ea1f0e9

    1 Reply Last reply Reply Quote 0
    • S
      Sano
      last edited by 8 May 2017, 17:22

      Ok, can't explain this at all. Strange as f**k.
      A nice test would be to compare original roms and renamed ones (byte size, md5, diff, ...) to see if the files are modified or just renamed.
      Another approach would be to manually copy roms by other means, such as samba, winscp, or just a cp from the USB thumbdrive.

      1 Reply Last reply Reply Quote 0
      • R
        Rohan82
        last edited by 8 May 2017, 18:03

        Well, I'm glad, at least, that it seems strange to others. It definitely doesn't make sense to me. I may not be an expert with the Pi or the distro, but I can't think of a reasonable explanation for a file copy action to add the file extension.

        My next plan is to find my USB hub to give me a couple extra ports so I can manually copy from the USB stick and go from there. In the mean time, I'll some file comparisons to see if there's any differences and post the results.

        1 Reply Last reply Reply Quote 0
        • R
          Rohan82
          last edited by 8 May 2017, 18:10

          Here is a file size comparison for Battletoads.nes on the USB stick, vs Battletoads.nes.xml on the Pi (just above the highlighted file.)

          It's blurry, but you can see the USB file size is 262,160 bytes while the Pi file size is 263,696. That would seem to indicate something is happening during the automated file copy. I really need to try a different copy method for comparison to see if I get different results.

          I will put a fresh RetroPie image on the card (using the same one I downloaded, for consistancy) before I try a new file copy method.

          0_1494266799591_upload-a3bb565f-040f-4c3f-9989-0da324604e54

          1 Reply Last reply Reply Quote 0
          • R
            Rohan82
            last edited by 9 May 2017, 16:01

            I'll have my USB hub sometime tomorrow, so I'll post the results of manually copying files via wifi or USB later in the day.

            1 Reply Last reply Reply Quote 0
            • R
              Rohan82
              last edited by 11 May 2017, 11:41

              Well, I feel a little bit dumb here. I was asked several times if the files on the thumb drive were, in fact, xml files. Everything I checked from the Windows OS showed that the files were of the correct type (SMC, NES, GB, SG, etc). The files showed the correct file extensions and file associations.

              For some reason though, the Pi was reading them as XML. I can only guess that something strange happened with the formatting of the USB stick that cause the Pi to view them as XML. When I used file manager to view the files on the USB drive, before transferring them, found they each had the XML extension following the true file extension.

              I was able to transfer the files using the \RETROPIE\ unc path and everything worked fine. I'm still stumped as to why the XML showed up in the first place. I'm going to reformat the USB stick and copy some fresh roms to it and see if I can reproduce the issue. I will do one transfer manually, without putting anything in the roms folder on the USB stick. Then I will try one using the roms folder and the auto-transfer feature.

              So far, All the consoles I've tested have worked except GBA (but I'm pretty sure that is because the bios file was saved using all caps.) I only found Super Mario All-Stars controller not working, which I think I read this is a known issue.

              S 1 Reply Last reply 11 May 2017, 12:16 Reply Quote 1
              • S
                Sano @Rohan82
                last edited by 11 May 2017, 12:16

                @Rohan82 Haha !
                Now we are sure the file change is between your computer and the USB drive, we can narrow down the reasons of this behaviour.

                After a quick search, it seems that Symantec Endpoint Encryption (and maybe other) automatically encrypt files as XML when copied on external storage.
                Could you check this ?

                1 Reply Last reply Reply Quote 2
                • R
                  Rohan82
                  last edited by 11 May 2017, 13:13

                  I didn't even think of that. I recently started a new job and I was using my work computer to transfer the file from my media server (over UNC path) to my thumb drive. My previous work computer didn't really have any extra software on it like that, but this one does. I can almost guarantee that is exactly what happened.

                  I definitely feel like this is a Homer Simpson moment. Doh!! And i'm a little irritated I spent so much time on it knowing now what was happening. I could have transferred the files directly from my server and saved a couple days.

                  S 1 Reply Last reply 11 May 2017, 15:02 Reply Quote 2
                  • S
                    Sano @Rohan82
                    last edited by Sano 5 Nov 2017, 16:04 11 May 2017, 15:02

                    I definitely feel like this is a Homer Simpson moment. Doh!! And i'm a little irritated I spent so much time on it knowing now what was happening. I could have transferred the files directly from my server and saved a couple days.

                    Absolutely, but we all would have missed this little bit of knowledge :)
                    Moreover op @duviuvi has the same problem. Hope this thread can help him too.

                    Anyway, my work here is done
                    flying away

                    P 1 Reply Last reply 11 May 2017, 15:10 Reply Quote 1
                    • P
                      pjft @Sano
                      last edited by 11 May 2017, 15:10

                      @Sano If I am to be nitpicky, flying away is a bit out of character for Sano. :) I'd expect you to go back to being a regular at Akabeko instead!

                      Well done on the investigation piece here, though!

                      1 Reply Last reply Reply Quote 0
                      • R
                        Rohan82
                        last edited by 11 May 2017, 15:12

                        I really appreciate you both steering me in the right direction. This project is for my Brother-in-Law for his birthday in June. He's a big fan of retro games and cartoons. He's going to love it. However, now I want to build one for myself... lol

                        P D 2 Replies Last reply 11 May 2017, 15:12 Reply Quote 0
                        • P
                          pjft @Rohan82
                          last edited by 11 May 2017, 15:12

                          @Rohan82 Definitely do so, and stay around for the fun!

                          1 Reply Last reply Reply Quote 0
                          • D
                            DarkWolf @Rohan82
                            last edited by 11 May 2017, 15:13

                            @Rohan82 My parents want one too, they love it :D

                            System: Raspberry 3 Model B, RetroPie 4.2.1
                            Storage: 16gb Micro SD, 64gb USB Drive
                            Theme: Updated NBBA

                            Documentation solves many problems: https://retropie.org.uk/docs/

                            1 Reply Last reply Reply Quote 0
                            • R
                              Rohan82
                              last edited by 11 May 2017, 15:20

                              The next one will be a Pi 3 B so I can have the option to include PS1 and N64 games as well as flexibility to try a bunch of other IoT stuff that's been on my mind for a couple years. :)

                              1 Reply Last reply Reply Quote 0
                              35 out of 35
                              • First post
                                35/35
                                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