Correct way do delete ROMs?
-
I've been using RetroPie 4 on a Pi 3 with FileZilla to transfer and delete ROMS. Occasionally I notice when deleting roms on my Pi (through FileZilla), the next time I boot up the pi the changes don't always appear to be saved. As in, if I deleted some files through FileZilla and in FileZilla they appear to be "gone", somehow upon rebooting the pi, they come "back" and show in RetroPie.
Is there a correct way to exit out of RetroPie that I may be missing which would be affecting proper saving of my changes (addition or deletion of roms)?
Thank you.
-
@Ghost-Note I bet this has to do with files that have "root" permissions and not the user "pi" permissions. You'll have to either press F4 on the attached keyboard to the RPi or SSH in and do a
sudo rm <filename>
After you delete something in FileZilla and then press F4 (or refresh) and that file returns, it's because you don't have the proper permissions to delete that file because it's probably owned by "root"
FileZilla will tell you in that status log box above if a file is getting deleted or copied correctly. Any errors will be in red text.
You can enable "root" login in RetroPie and set FileZilla to login as "root" but I wouldn't recommend it.
Also make sure you're not just pulling the power to your Raspberry Pi to shut it down. Need to do a graceful shutdown either using the shutdown menu in EmulationStation or
sudo halt
from the command prompt. -
I was also wondering if you're using a generic microSD card because sometimes those will act weird like this. If you are, try getting a name brand microSD card like one from Samsung, Sandisc, Kingston, etc.
-
Thank you - I will try that. As for the cards, I'm using decent companies per others who have noted that advice as well.
-
@Ghost-Note You could also use Midnight Commander ( sudo mc), to navigate thru folders and copy/rename/delete files.
For those remembering it it's a Norton Commander 'clone' :-)
Also samba shares access ( mac and Windows) works fine to me to load or delete roms. -
Things like FileZilla, Midnight Commander, WinSCP, etc should work fine to do that (It shouldn't matter for doing this but you may want to have emulationstation closed), but honestly, for ease of access, i'd just enable the samba sharing feature and access the roms folder from the file explorer.
Depending on how much you've scraped and whether you'd want to do it again, you could try deleting the gamelist.xml also.
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.