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

    Editing an "gamelist.xml" file without it getting corrupted

    Scheduled Pinned Locked Moved Help and Support
    retropiegamelistxmledit
    5 Posts 5 Posters 773 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
      Winklepicker
      last edited by

      Hi guys

      As the title suggests, what is the easiest method and best way for me to edit a gamelist.xml file?
      I have tried opening it in "WinSCP", but everytime I make a change to it it becomes corrupted.

      Is there an easy way I can add paths, change file names, add game descriptions without causing it to become corrupted?

      Any help would be greatly appreciated, thank you

      H B 2 Replies Last reply Reply Quote 0
      • H
        herts101 @Winklepicker
        last edited by

        @Winklepicker I just open mine in any text editor then save it back again.

        In what way does it become corrupted?

        1 Reply Last reply Reply Quote 0
        • B
          BJRetro @Winklepicker
          last edited by

          @Winklepicker I just use sudo nano in the terminal on the pi itself for the file and edit entries. I have done all of my dreamcast games like that. Are you sure you are properly using the tags? I think the only time mine has had an issue is when I realize I have made a typo like forgetting the closing tag (ex- the other part of image tag) or don’t put the slash in one of the tags that need it.

          1 Reply Last reply Reply Quote 0
          • EfriimE
            Efriim
            last edited by Efriim

            Is there some sort of gamelist cleaner? I get blank entries, they won't show up but they do give errors, as well when it is set to parse only they do show up and I can't delete them.

            I think the gamelist should be saved as UTF-8 possibly it doesn't matter.
            Using WinSCP, are you using SCP protocol with the added Shell "- sudo", that shouldn't matter either because the rom folder is shared r/w.
            What editor are you using? Try programmer's notepad

            and this ↓↓↓

            1 Reply Last reply Reply Quote 0
            • G
              grant2258 Banned
              last edited by

              close emulation station before editing it

              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.