METADATA not saving - Favorites will never remain tagged
-
@cyperghost I receive the following:
sed: can't read /dev/shm/runcommand.info: No such file or directory
/etc/killes.sh: line 20: wait: pid 794 is not a child of this shellI can also confirm that directory is completely empty and said file doesn't exist anywhere on my system :/
-
Sorry I'm a systemd-noob!
The wait command in the shell does not work because the process called by terminal. With the manual command you open a process that is isolated to the current running instance. Therefore wait does not work...The sed error can be ignored!
You do not run any emulator.... so there is no file created!Please try following
login via SSH and user pi
then run command
touch /tmp/es-shutdown
This will create an empty file es-shutdown in folder tmp and this "says" ES to go in shutdown mode. This worked in the older scripts - I have no clue if it will work as service ... read line 1 in my posting again ;)then powerdown with button (after you have set some favourites....)
EDIT:
This works only once per startup but if this works we can resolve that
If it does not work we have to wait for meleus suggestion in the other thread -
@cyperghost lol no worry, I'm more of a n00b of all trades with RPi, but hey I'm learning ;)
Unfortunately it didn't save a fav I added after I followed your instructions.
-
Hmm, anybody? Updates? :/
-
@semper-5 Well does the service work if you perform a
sudo poweroff
via SSH?EDIT: Well somebody deserved you a downvote for pushing two threads up again
-
@cyperghost lol yeah forgive my lack of forum etiquette - I almost felt ignored for a moment there.
and the sudo poweroff did not save the metadata :(
-
@semper-5 Then there is 100% something wrong with your/the service installation.
Sorry can't help you anymore in this. As workaround you may use the old route....A script that watches the state of your buttons and if the state changes then it terminates ES.
-
@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
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.