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 being changed on exit

    Scheduled Pinned Locked Moved Help and Support
    metadata issuesgamelist.xml
    10 Posts 2 Posters 825 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.
    • W
      weltyn
      last edited by weltyn

      I've looked all over for a solution to this and I haven't been able to find anything. So if this has been posted and I missed it. I'm sorry.

      So my issue is that the built in metadata editing has been changing the image directory path on exit. Any time I change something, including just adding a favorite, it changes the path to that games image to ~/emulationstation/... from ~/.emulationstation/... Any time it edits the gamelist file, it changes the path, whether it needs to or not. Even when I manually change it back. If anything is changed for the game, it changes it again.

      I've been racking my brain for hours. Any help would be appreciated.

      BTW, I'm running emulationstation 2.8.0 on Windows if that makes any difference.

      Edit: Also just noticed that it does it when I play a game, because it's editing the gamelist entry to update the last played time.

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @weltyn
        last edited by

        @weltyn Can you paste your configuration file (es_settings.cfg) and how are you starting Emulationstation ? Remove the es_log.txt, then start ES with the --debug flag and then attach paste the es_log.txt to pastebin.com to take a look at it.

        1 Reply Last reply Reply Quote 0
        • W
          weltyn
          last edited by

          @mitu

          This is my es_settings.cfg https://pastebin.com/N06EH8w3
          And this is the log file https://pastebin.com/Fbw6sgnU

          I'm using launching it using the launch portable batch file. The plan was to put it on a jump drive and use it when going to friends houses. Also, the log file says I'm on 2.7.4 because I rolled it back to see if it was something in the newer version.
          Thanks for taking a look.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            Looking at the log file, there doesn't seem to be anything wrong in particular besides the double // in the paths, which I think they're ok. I also ran - for testing - the ES windows version with the portable toolkit and I don't get these problems.
            Can you try and reproduce the problem by running ES with --debug and performing the steps you mention ? Use an empty system, add 1 game to it, scrape it and then post again the log the gamelist.xmlgenerated. Note that you'll need to use the 2.8.0 version since I think that 2.7.4 will no longer be able to use the scraper in combination with thegamesdb.net site.

            W 1 Reply Last reply Reply Quote 0
            • W
              weltyn @mitu
              last edited by

              @mitu Here's the new log. https://pastebin.com/7wgGuWtX

              And here's the gamelist. https://pastebin.com/zz1AFtK2

              What's really throwing me off, is that it's putting everything in the right place it's just putting the wrong path in the gamelist.

              Also, I'm a real noob with this stuff, but this line in the log looks like maybe it's looking for a /etc/ directory that doesn't exist.

              lvl2: Added/Updated 1 entities in '/etc/emulationstation/gamelists/nes/gamelist.xml'

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                I'll try to see if I can reproduce this - right now I don't have access to the Windows system for test. Can you also post the .bat file you use to start ES ?

                W 1 Reply Last reply Reply Quote 0
                • W
                  weltyn @mitu
                  last edited by weltyn

                  @mitu https://pastebin.com/ZtNG91Bj

                  This is the default batch file that came with the official download. I just assumed it was right.

                  I added the --debug. Obviously.

                  Thanks again

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    OK, I managed to reproduce the error. Let's see if we can find out how to fix it.

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by

                      Reported as https://github.com/RetroPie/EmulationStation/issues/473, we'll see to get this fixed.

                      1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator
                        last edited by

                        The issue has been fixed in the latest dev release, can you grab the @jdrassa's continuous build for Windows and check it out ?

                        1 Reply Last reply Reply Quote 1
                        • 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.