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

    Missing ROMs from gamelist.xml tool?

    Scheduled Pinned Locked Moved Help and Support
    gamelisttoolmissingroms
    8 Posts 4 Posters 1.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.
    • matchamanM
      matchaman
      last edited by

      I was messing (removing non-working ROMs) and now I ended up with 2 files less in comparison to the gamelist.xml

      Is there a tool for windows to find out what's missing?

      Cheers :)

      meleuM 1 Reply Last reply Reply Quote 0
      • DwarfboysimD
        Dwarfboysim
        last edited by

        Hi,
        Are u wanting to compare two folders of ROMS or compare a folder against the XML file?

        Dwarfboysim

        1 Reply Last reply Reply Quote 0
        • matchamanM
          matchaman
          last edited by

          I need to compare a folder's content to an xml file. A tool like this exists for HyperSpin-specific xml files but it won't work with RetroPie's formatting.

          1 Reply Last reply Reply Quote 0
          • matchamanM
            matchaman
            last edited by

            Bump! There doesn't seem to be such a tool... would anyone be kind enough to help with a PowerShell script?

            1 Reply Last reply Reply Quote 0
            • meleuM
              meleu @matchaman
              last edited by

              @matchaman If you didn't put very clear that you are looking for a tool for Windows, I would suggest my gamelist.xml cleaner tool, which is intended to run on the same system as your RetroPie.

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              cyperghostC 1 Reply Last reply Reply Quote 2
              • cyperghostC
                cyperghost @meleu
                last edited by cyperghost

                @meleu Just for head-up... Did you ever plan to merge the changes @Kaltinril did to your script? The reason why I ask is... if you update the branch of Kaltnitril with u-parameter it will revert back to your script.

                @matchaman Try the script from meleu. This will search ROM-entries from gamelist and will search for ROM existance. If no ROM is found then entry from gamelist will be removed. Afaik the script will output ROMS that are not in gamelist.

                A windows solution....

                For a file comparisem use some fingertricks ;)
                Extract ROM names manually from gamelists.xml (Notepad++)

                1. Start notepad++
                2. Select menu Search -> Find
                3. Set Option "Mark Line"
                4. Now search for <path>
                5. Click again Search and expand "Bookmark" menu (one of the last option points)
                6. Select there "Delete Lines without bookmark"
                7. Then remove <path> and </path> tags
                8. Sort via ABC and save file to gamelist.txt

                no go to windows command
                Select ROM-folder with cd "y:\path\to your\roms"
                type command dir /b > roms.txt

                compare rom.txt and gamelist.txt via notepad++ diff addon

                Of course you can do a regex request on the gamelists.xml file, too ;)

                meleuM 1 Reply Last reply Reply Quote 1
                • meleuM
                  meleu @cyperghost
                  last edited by

                  @cyperghost merged, I completely forgot that PR :P

                  Thanks!

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  1 Reply Last reply Reply Quote 1
                  • matchamanM
                    matchaman
                    last edited by

                    Thanks guys! Notepad++ did the trick for me. Most likely the most essential piece of software for windows for me :)

                    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.