Retropie not saving Favorites upon reboot
-
Good evening all,
I've followed these two tutorials as to how install retropie on my Pi3 ;
https://github.com/retropie/retropie-setup/wiki/First-Installation
https://github.com/retropie/retropie-setup/wiki/Transferring-RomsEverything is working fine, if I play a game such as OOT ( which is a big laggy, but playable) I can save, upon reboot my save will still be there.
Unfortunately, whenever I add something to my favorites, or that I create a new custom collection, upon reboot, everything is undone. Scrapper included.I've look threw dozens of forums but few seems to have my problem and yet not one has an answer to my question.
I don't know if it can help, but whenever I go in the file manager the gamelist.xml is red.
Edit :
-Yes, I've properly closed the emulsation before powering down my Pi3, still no change. Everything keeps disappearing.
-Metadata upon closing is on.
-Upon closing, going into audio and other transitory places the Pi3 keeps telling me "error parsing [Folder directory]...gamelist.xml " something something -
@chrissyhemond It looks like either a permission problem or a bad gamelist.xml formatted file.
Try resetting the permissions on your ROMs folders - https://retropie.org.uk/docs/FAQ/#reset-ownershippermissions-of-homepiretropie-roms. -
Did not work :
Here is the message given to me when I quit emulsation :
lvl0 error parsing XML file "home/pi/.emulationstation/gamelists/n64/gamelist.xml"!
no document element foundlvl0 error parsing XML file "home/pi/.emulationstation/gamelists/retropie/gamelist.xml"!
no document element foundIve manually deleted the items above, the error disappeared until i added new favorites.
-
@chrissyhemond said in Retropie not saving Favorites upon reboot:
home/pi/.emulationstation/gamelists/retropie/gamelist.xml
Seems like an empty file to me. Exit Emulationstation, then move the files where you get the errors out of the way, from the command line:
mv /home/pi/.emulationstation/gamelists/retropie/gamelist.xml /home/pi/.emulationstation/gamelists/retropie/gamelist.xml.bad mv /home/pi/.emulationstation/gamelists/n64/gamelist.xml /home/pi/.emulationstation/gamelists/n64/gamelist.xml.bad
Restart the system and see if you get the same errors.
-
Cannot move "/home/pi/.emulationstation/gamelists/n64/gamelist.xml to /home/pi/.emulationstation/gamelists/n64/gamelist.xml.bad"
no such file or directory exist -
@chrissyhemond Does the
/home/pi/.emulationstation/gamelists/
folder exist ? Try runningls -l /home/pi/.emulationstation/ ls -l /home/pi/.emulationstation/gamelists/
and see what't the output. The command should give you also the permissions on the folders, if they're not owned by the
pi
user, then I recommend reinstalling Emulationstation from the RetroPie-Setup script. -
@mitu said in Retropie not saving Favorites upon reboot:
-l
Really sorry, yes it works, I then proceeded to redo what you've told me MV etc.
It works and yes the message is gone.
Unfortunately, if I add a game to my favorite and reset the favorite thingy, then proceed to leave emulationstation, the message comes back
-
@mitu
what does it means when the text is red? -
@chrissyhemond said in Retropie not saving Favorites upon reboot:
what does it means when the text is red?
If we're talking about the listing in the command line, it usually means a broken symlink, i.e. the file file is a shortcut to another file - but the target shortcut file doesn't exist anymore.
-
@mitu
What can I do, if I move the said file with xml.bad as you told me, the moment i add a new favorite it justs come back the second i close emulationstation. -
@chrissyhemond Did you try re-installing the Emulationstation package from the RetroPie-Setup script ?
-
A quick workaround for this is restarting emulation station rather than rebooting. The favorites save when you do and then you can reboot or turn off as usual.
-
@mitu
I've done as you told me, I deleted it and re-installed it, it works now.
I can add favorites and they stay after shutdown.Thanks a lot.
My question now, how do I remove a game for the gamelist / favorite without having to go in file manager ?
I can add a favorite, but I can't remove it, if I do remove it and I restart the emulationstation, it stays there.
The only way I've found to do things is to go in file manager and delete both gamelist.xml from retropie and SNES. -
@chrissyhemond How are you removing the favorite flag ? It should be the same as adding it - pressing Y while the game is selected.
-
@mitu
Yeah that's exactly what I do.
But upon reboot or reset of the emulationstation it doesn't disappear, it stays in the favorite.I can add favorites, cannot remove them.
99 little bugs in the code, 99 little bugs.
Take one down, patch it around...
127 little bugs in the code. -
@chrissyhemond It could be a bug, but that's not what I'm experiencing - I can reliably add/remove favorites and the list stays the same when restarting Emulationstation. It could be something in your particular configuration/system that triggers this bug.
Do you see any errors in/home/pi/.emulationstation/es_log.txt
when you perform the actions ? -
@mitu
"Couldn't find entry in index! 1"
"Couldn't find entry in index! FALSE"
"Couldn't find entry in index! FALSE"
"Couldn't find entry in index! FALSE"that's what's added when i remove a favorite to the log.
-
@chrissyhemond Can you post the
gamelist.xml
file or at least the section for the game where that you added as favorite ? -
@mitu
I'm not too sure how to do that -
@chrissyhemond Use Winscp to login to the PI (details are in the https://github.com/retropie/retropie-setup/wiki/Transferring-Roms page) and copy the
/home/pi/.emulationstation/gamelists/nes/gamelist.xml
file to your pc.
Then paste the contents of the file to a site like pastebin.com and add the link in the topic post so we can take a look at it.
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.