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

    METADATA not saving - Favorites will never remain tagged

    Scheduled Pinned Locked Moved Help and Support
    nespi casemetadata issuesfavoritesshutdown scriptgameslist.xml
    121 Posts 7 Posters 17.6k 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.
    • cyperghostC
      cyperghost @Semper 5
      last edited by cyperghost

      @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

      S 1 Reply Last reply Reply Quote 0
      • S
        Semper 5 @cyperghost
        last edited by

        @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 :(

        cyperghostC 1 Reply Last reply Reply Quote 0
        • cyperghostC
          cyperghost @Semper 5
          last edited by

          @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.

          S 1 Reply Last reply Reply Quote 0
          • S
            Semper 5 @cyperghost
            last edited by Semper 5

            @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

            1 Reply Last reply Reply Quote 0
            • cyperghostC
              cyperghost
              last edited by

              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.

              S 1 Reply Last reply Reply Quote 1
              • S
                Semper 5 @cyperghost
                last edited by

                @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)

                cyperghostC 1 Reply Last reply Reply Quote 1
                • cyperghostC
                  cyperghost @Semper 5
                  last edited by cyperghost

                  @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.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Semper 5 @cyperghost
                    last edited by

                    @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.

                    screenshot

                    cyperghostC 1 Reply Last reply Reply Quote 0
                    • cyperghostC
                      cyperghost @Semper 5
                      last edited by cyperghost

                      @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?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Semper 5 @cyperghost
                        last edited by

                        @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

                        cyperghostC 1 Reply Last reply Reply Quote 0
                        • cyperghostC
                          cyperghost @Semper 5
                          last edited by cyperghost

                          @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.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Semper 5 @cyperghost
                            last edited by

                            @cyperghost sadly this made no difference but it was a good idea

                            1 Reply Last reply Reply Quote 0
                            • cyperghostC
                              cyperghost
                              last edited by

                              @Semper-5 Did you use the same power device as Yahmez descriped in his tutorial?

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Semper 5 @cyperghost
                                last edited by

                                @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.

                                cyperghostC 1 Reply Last reply Reply Quote 0
                                • cyperghostC
                                  cyperghost @Semper 5
                                  last edited by

                                  @semper-5 No... I mean the device that switches power on/off to your Pie.
                                  Like a Mausberry or a Pololu Power Switch

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Semper 5 @cyperghost
                                    last edited by

                                    @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 Switch

                                    Oh I'm sorry, yes, I'm using the Pololu Power Switch

                                    cyperghostC 1 Reply Last reply Reply Quote 0
                                    • cyperghostC
                                      cyperghost @Semper 5
                                      last edited by

                                      @semper-5 Is the power suddenly cut if you press the power button?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Semper 5 @cyperghost
                                        last edited by

                                        @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 :)

                                        caver01C 1 Reply Last reply Reply Quote 0
                                        • caver01C
                                          caver01 @Semper 5
                                          last edited by

                                          @semper-5 and @cyperghost
                                          Did you see meleu's recent post:
                                          https://retropie.org.uk/forum/post/142911

                                          He 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.

                                          My 4-player cocktail style cabinet built as a custom "roadcase"

                                          cyperghostC 1 Reply Last reply Reply Quote 2
                                          • cyperghostC
                                            cyperghost @caver01
                                            last edited by cyperghost

                                            @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!

                                            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.