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

    Is Setting gamelist.xml As Read-Only OK?

    Scheduled Pinned Locked Moved Help and Support
    gameslist.xml
    8 Posts 4 Posters 737 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.
    • A
      AlphaBetaPie
      last edited by

      I have multiple gamelist.xml files that go in my various rom folders. I work tirelessly tweaking each one, to ensure all the information is just-so. Which is to say I wouldn't want anything overwriting it or adding/changing any of the current data for my games once I've finished it. Is it OK to mark these XML files read-only in Windows first, to stop them from being editable or overwritten on the Retropie? Or would that cause some kind of accessing issues when trying to play/launch?

      IanDaemonI mituM muldjordM 3 Replies Last reply Reply Quote 1
      • IanDaemonI
        IanDaemon @AlphaBetaPie
        last edited by IanDaemon

        @alphabetapie I'd make backup copies. Isn't there a "last played time/date" saved in there?

        • 5 Favorite Arcade Games in MAME
        • Cocktail Cabinet Games
        • Check out the MAME RoW
        A 1 Reply Last reply Reply Quote 0
        • A
          AlphaBetaPie @IanDaemon
          last edited by

          @iandaemon It does indeed add that. Which is why I was hoping to avoid it. I keep copies, but if i ever wanted to make an image of something later that has been changed, I wouldn't want to have to go through and remove the last played/number of times played lines it adds. I don't find the need for that. So hoping read-only will work ok, and it won't screw up anything in the overall setup (by not being able to write something to the XML.

          IanDaemonI 1 Reply Last reply Reply Quote 0
          • IanDaemonI
            IanDaemon @AlphaBetaPie
            last edited by

            @alphabetapie Oh, so you don't want to save that information. You can always make a backup of the whole system and give your idea a shot. If things break you can always go back to your backup.

            Or (after backing up XML files) you could write a script or a macro to highlight the differences after some time. I dunno, I'm just throwing things out there.

            • 5 Favorite Arcade Games in MAME
            • Cocktail Cabinet Games
            • Check out the MAME RoW
            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @AlphaBetaPie
              last edited by

              @alphabetapie said in Is Setting gamelist.xml As Read-Only OK?:

              Is it OK to mark these XML files read-only in Windows first, to stop them from being editable or overwritten on the Retropie?

              No, marking them 'read-only' from windows is not going to make them read-only on Linux. If you wish the files to not be updated, there's an EmulationStation option to not save the metadata (last played/favorite/kid/etc.).

              A 1 Reply Last reply Reply Quote 1
              • muldjordM
                muldjord @AlphaBetaPie
                last edited by

                @alphabetapie Yeah, I wouldn't ever rely on anything to be secured by a read-only flag. Other tools could go in and change it back and you'd end up loosing your hours of hard work. Create backups from time to time instead.

                1 Reply Last reply Reply Quote 0
                • A
                  AlphaBetaPie @mitu
                  last edited by

                  @mitu said in Is Setting gamelist.xml As Read-Only OK?:

                  @alphabetapie said in Is Setting gamelist.xml As Read-Only OK?:

                  Is it OK to mark these XML files read-only in Windows first, to stop them from being editable or overwritten on the Retropie?

                  No, marking them 'read-only' from windows is not going to make them read-only on Linux. If you wish the files to not be updated, there's an EmulationStation option to not save the metadata (last played/favorite/kid/etc.).

                  Funny you should mention this, as I did try to do an experiment. But I found that I'd mark them in Windows read only, copy them over to the pie, then when I'd copy them back, the read only was not being honored. Had me pulling my hair out, now I see why (thought it might have been my FTP client too). Thanks for the tip.

                  Also, when I set that part about ES not saving meta data, will that be saved to a config file somewhere (and which one). I like to back up my settings so I don't have to keep remembering everything I did.

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

                    @alphabetapie said in Is Setting gamelist.xml As Read-Only OK?:

                    Also, when I set that part about ES not saving meta data, will that be saved to a config file somewhere (and which one).

                    EmulationStation's setttings are saved in $HOME/.emulationstation/es_settings.cfg.

                    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.