METADATA not saving - Favorites will never remain tagged
-
@cyperghost ok i'll try removing and readding everything -_-#
do you have a pastebin of the old script, and does it work(ish)? heh
EDIT: I disabled the service, deleted the script, service files. redid everything from step 1, following instructions immaculately, and biiiiig NOPE to getting it working. the only way I get the metadata to save is by restarting or quitting ES from within the menu :(
I know I can't be the ONLY person having this problem and I have this exact same problem on 3 Nespi's I've set up with the same scripts, wiring and configs
-
Yes... I've a script here in this thread
You may need to modify it a bit. It provides a shutdown if you press the power button and if you press restart any emulator will be terminated. If you are in ES and press restart, then ES will restart.
-
@cyperghost I recently hit a snag with DOSBox that was easily corrected with a binary update. This made me think back to what you mentioned about updating the runcommand.sh
May I ask how I would do that (in case I, unwittingly, haven't done so)
-
@semper-5 Uff... Per system update by RetroPie setup
You can renew Basic Packages like ES and runcommand (afaik)
But I think there is nothing wrong with this ... if you still facing problems with this. You can use the "old" method by directly calling the shutdown scripts via power button action. Tell me more about your (hardware) power setup. -
@cyperghost oh I meant to follow up a weird little anomaly I found. and I only see it when Im in the setup or command line, I'll get the odd "exitemulator" pop up at random. Ive made 2 systems using the same scripts and wirings outlined in James' documents and they both do this. I have followed them to a tee so I don't know why they're doing this or if this is even related to the issue with metadata not saving. Even more strangely, that command SHOULD kick me out of any running emulator but I've never been kicked out of a game. I only see this pop up in command line screens.
-
@semper-5 Can you send me link to this documents? The exit emualator seems to pop out by a script! Or can you post the scripts you used via PasteBin?
-
@cyperghost this is what I used so the reset button would exit the emulator and the power off would shut it down
soft shutdown w/ exit emulator script
this can be found in his shared online PDF
-
@semper-5 Okay I see. In your case I would use the first script - the one without exiting emulators. Then check if the metadata is saved this way. I'm not fit in python so I can't say if the PID detection works.
-
@cyperghost sadly this made no difference but it was a good idea
-
@Semper-5 Did you use the same power device as Yahmez descriped in his tutorial?
-
@cyperghost said in METADATA not saving - Favorites will never remain tagged:
@Semper-5 Did you use the same power device as Yahmez descriped in his tutorial?
Do you mean Power Supply? I'm not aware of any specific power supply he used in his tutorial, but I've tried 5V 2.5A, 5V 3A, and finally a VERY good high end power supply that's 5.25V 3A. all 3 have given me the same result.
-
@semper-5 No... I mean the device that switches power on/off to your Pie.
Like a Mausberry or a Pololu Power Switch -
@cyperghost said in METADATA not saving - Favorites will never remain tagged:
@semper-5 No... I mean the device that switches power on/off to your Pie.
Like a Mausberry or a Pololu Power SwitchOh I'm sorry, yes, I'm using the Pololu Power Switch
-
@semper-5 Is the power suddenly cut if you press the power button?
-
@cyperghost nope, it goes through it's proper shutdown sequence.
BTW, I just wanted to thank you immensely for the help and followup thus far :)
-
@semper-5 and @cyperghost
Did you see meleu's recent post:
https://retropie.org.uk/forum/post/142911He is basically acknowledging that there appears to be a problem with the shutdown not saving metadata, but apologizing that he has not had time to look into it.
-
@caver01 Yes... Saw the post of meleu after I answered on this thread.
But I think I can make it through a working script without the need of reading the emulator name out of a log-file. So Iet me test things out ;)@Semper-5
I will create a new topic regarding this specific shutdown script. I hope that meleu will also take part on this - if he finds some time. I won't use a service because I'm not firm in this one. Be prepared! -
Please test this script if it's working
For setup
- Save the script to some place maybe
/home/pi/RetroPie/scripts/switch.sh
- Make the script executable like
chmod +x /home/pi/RetroPie/scripts/switch.sh
- Now edit ES autostart with
nano /opt/retropie/configs/all/autostart.sh
and add script to like .... sudo /home/pi/RetroPie/scripts/switch.sh &
but BEFORE the last line emulationstatio #auto- Report back ;)
** DELETED OLD SCRIPT VERSION **
This version is just stripped down and gots just support for power button.
- Save the script to some place maybe
-
@cyperghost unfortunately its a no go.
but before I say that, should I remove the python script entry from rc.local? -
@semper-5 yes... remove the python script please and the shutdown service ;) I added a sleep timer to the script. To make errors and PIDs visible. Sorry I can't test
this as I don't have that switch device.
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.