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

    [solved] "The destination has 12 files with the same names."

    Scheduled Pinned Locked Moved Help and Support
    sambanetworkbackuperrorsolved
    2 Posts 2 Posters 777 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.
    • S
      sleve_mcdichael
      last edited by

      This started out as a question post but in documenting it I've come across the solution. I kept getting a problem when backing up over network share. It tells me there are a handful of files that already exist in the destination, and interrupts the transfer until I choose what to do with the duplicates. This is strange because I am backing up into an empty folder that I have just created, there should not be any files in the destination.

      I tracked it down to a handful of files in configs/all/retroarch/assets that are duplicated with both Xbox and XBOX capitalization. These are in fact duplicates, each of the 12 files (six each in xmb/monochrome/png and ozone/png/icons) with the XBOX spelling are identical to the corresponding file with Xbox in the same location:

      pi@retropie:/opt/retropie/configs/all/retroarch/assets/xmb/monochrome/png $ diff -s "Microsoft - Xbox.png" "Microsoft - XBOX.png"
      Files Microsoft - Xbox.png and Microsoft - XBOX.png are identical
      

      Files with XBOX are present on the retropie-buster-4.7.1-rpi4_400.img.gz image; files with Xbox are copied when updating or reinstalling RetroArch. Since Windows is case-insensitive, these are seen as the same filename, hence the conflict.

      To reproduce: write the retropie-buster-4.7.1-rpi4_400.img.gz image to a card, then update the Setup script and update RetroArch. Then copy the configs folder over Samba-shares into an empty folder on a Windows PC.

      To remedy: delete the existing /opt/retropie/configs/all/retroarch/assets directory, then update or re-install RetroArch. Or just delete all files with the all-caps XBOX spelling:

      find /opt/retropie/configs/all/retroarch/assets -name "*XBOX*" -exec rm {} \;
      

      To prevent: make sure to only use the Xbox spelling on distributed image in future release.

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

        Looks like the upstream libretro assets repository renamed them and the upgrade script just adds the new files, without removing the older ones. Maybe we should clear up the folder before the upgrade, to avoid this issue.

        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.