RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Updated Gamelist XML Creator

    Scheduled Pinned Locked Moved Projects and Themes
    gamelist.xmlgamelist
    24 Posts 10 Posters 25.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.
    • RookervikR
      Rookervik Global Moderator
      last edited by Rookervik

      Here's a Windows-based xml maker I made for 'gamelist.xml' files. This is for people that have their own collection of box art or screenshots and just want to attach those images to their games. No meta-data. This is updated from the old DOS batch file I made.

      alt text

      Notes:

      • This is best used if you have a folder on your desktop computer with all of your roms. Run the program on that folder. Though you can specify a network folder and have it write the gamelist there. You might have to map the Pi's roms folder to a "drive" on your computer.
      • Be sure all of your game names match the image names, exactly. Including case. While Windows doesn't care about case, Linux does, and won't load an image if there is a single letter not in the right case.
      • Be sure all images are png format. And their extension is lowercase. (.png)
      • Put your images inside an "images" folder inside the rom folder. Eg. "~/RetroPie/roms/atari2600/images"
      • This program will write the gamelist.xml to the folder you specify as your roms folder. 'Gamelist.xml' should be copied, with your roms and images folder, over to the Pi.
      • I suck at making programs. So I doubt there will be many additional features I can squeeze in. I wanted to have it check and make sure the images are there and named correctly, and then give you a list of incorrect or not-found images. Perhaps I can add that later.

      Download: ES_XML_Maker.rar

      1 Reply Last reply Reply Quote 4
      • RionR
        Rion
        last edited by

        @Rookervik Thank you for this. I used your dos script when i was adding my c64 collection.

        About png extension. I just renamed all my jpeg files extensions using a free bulk batch renamer ran the script in a dos command line. Renamed them back to jpeg and edited the xml file using notepad++. That also worked without problems.

        FBNeo rom filtering
        Mame2003 Arcade Bezels
        Fba Arcade Bezels
        Fba NeoGeo Bezels

        1 Reply Last reply Reply Quote 0
        • RookervikR
          Rookervik Global Moderator
          last edited by Rookervik

          I could probably add a toggle for jpg or png. I wanted to have it check the images to see if the JPG or PNG was there but my brain melted. Maybe I can get it to work some time. LOL

          Also, you don't have to have images in any folder to make the xml. Right now it doesn't even check to see if the images are there. It just looks at every file in the specified folder, checks their file extension, then writes an XML entry for it.

          I really really want to add an image check, have it look for JPG and PNG and warn you in a pop-up which images it can't find. So I'll try. :D

          RionR 1 Reply Last reply Reply Quote 1
          • RionR
            Rion @Rookervik
            last edited by Rion

            @Rookervik Just tried this now on my MSX collection.

            Sadly it don't work as expected only creating a handful of entries where there are over 1120 *.rom files.

            I used the No-Intro Romset for MSX 1-2 with RetroArch's snap archive.

            Folder Structure:
            e:\roms\msx\images

            Tried all the setting for file extensions .rom , .zip , *.rom , ..rom and so on.

            I don't have you old bat file to test because i lost it and the download link is gone in the old forum.

            Edit: Folder & Rom directory

            FBNeo rom filtering
            Mame2003 Arcade Bezels
            Fba Arcade Bezels
            Fba NeoGeo Bezels

            RookervikR 1 Reply Last reply Reply Quote 0
            • RookervikR
              Rookervik Global Moderator @Rion
              last edited by

              @Rion No reason it shouldn't work. You don't need an images folder to actually make the xml. If you use rom as your extension it should find them all. Make sure to use ".rom" and not "rom" and make sure your folder is "e:\roms\msx" and not "e:\roms\msx\"

              1 Reply Last reply Reply Quote 0
              • RionR
                Rion
                last edited by Rion

                That is exactly what i did.

                Setup before scan
                http://imgur.com/yjWTsGy

                After Scan
                http://imgur.com/LwA1e0j

                test
                Generated gamelist.xml

                Just did the same thing to "wonderswan" and same thing happened there.

                Do you still have the bat file avaliable so i can test with that instead?

                Edit :

                When i removed the images folder from "wonderswan" it worked. I then copied over the images folder again.
                This did not work for msx.

                So this is what i did.

                Renamed all the images in the \msx\images folder
                From

                3-D Golf Simulation (Japan) (Alt 1).png
                to
                3-D Golf Simulation (Japan) (Alt 1)-image.png

                and so on...

                Using a Bulk Rename Utility.

                Used sselph/scraper (latest) whit these commands in the command prompt.

                scraper -add_not_found=true -append=true -download_images=true -thumb_only=true -missing=missing.txt -gdb_img=b,s,f,a,l
                

                Now everything works.

                This is the ouput xml file.

                The missing.txt also tells you what screenshots are missing.

                FBNeo rom filtering
                Mame2003 Arcade Bezels
                Fba Arcade Bezels
                Fba NeoGeo Bezels

                1 Reply Last reply Reply Quote 0
                • RionR
                  Rion
                  last edited by

                  Bump @Rookervik

                  FBNeo rom filtering
                  Mame2003 Arcade Bezels
                  Fba Arcade Bezels
                  Fba NeoGeo Bezels

                  1 Reply Last reply Reply Quote 0
                  • RookervikR
                    Rookervik Global Moderator
                    last edited by

                    I guess I don't know what I'm looking for. Not going to read through a 4000+ line xml file. LOL. To me it looks like it did the job. I did every system I have with this program and didn't run into any issues. If you need the old bat file, I have that somewhere...

                    MakeXML.bat

                    1 Reply Last reply Reply Quote 1
                    • iCLintI
                      iCLint
                      last edited by

                      the app did not work just produced a rubbish xml file.

                      makexml.bat worked perfectly though thankyou

                      1 Reply Last reply Reply Quote 0
                      • D
                        derebo
                        last edited by

                        @Rookervik Thank you for your software. The Windows file did not create a full .xml file However, the .bat file has produced a successful gamelist.xml file. Big thanks! Much time saved!

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

                          I love this tool, I used it a lot in the past for transitioning my files from HyperSpin to EmulationStation.

                          Now that videos are native to RetroPie/ES, is there any chance this will get updated to generate such gamelists?

                          1 Reply Last reply Reply Quote 0
                          • L
                            LorThe3rd
                            last edited by

                            @Rookervik Hi, the link is broken, I have my own collection of images & videos, is it possible to update to attach videos as well? Thank in advance!

                            RookervikR 1 Reply Last reply Reply Quote 0
                            • RookervikR
                              Rookervik Global Moderator @LorThe3rd
                              last edited by

                              @LorThe3rd I don't have that file saved in any location I can link, anymore. So I don't know how you get hold of it anymore. I guess ask for it and I will email it to you. LOL.

                              As far as adding videos... I could edit it to add videos... maybe if I can figure out the program and learn how to add videos in the first place. Since I have no clue. Don't have any desire for noisy videos to play on my ES all day.

                              L IgorHenriqueTechI 2 Replies Last reply Reply Quote 0
                              • L
                                LorThe3rd @Rookervik
                                last edited by

                                @Rookervik The would be great Rookervik, thanks!

                                RookervikR 1 Reply Last reply Reply Quote 0
                                • RookervikR
                                  Rookervik Global Moderator @LorThe3rd
                                  last edited by

                                  @LorThe3rd I'm sure it would be great. As far as me going back and modifying something, that's another story. Haha! I, first, have to learn how to do videos. And I'm not all that excited about it since I couldn't care less about video previews. LOL

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    LorThe3rd @Rookervik
                                    last edited by

                                    @Rookervik LOL .. no worries, It would be ok if you can email me the Gamelist XML Creator, for the video, I can use Nismo powershell code to generate. :)

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jayjayn
                                      last edited by

                                      the original dropbox link isn't working anymore is there a way to get a new link please? thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        LorThe3rd
                                        last edited by

                                        Hi @Rookervik , someone named Jax just post a Gamelist XML Generator tht I need, https://retropie.org.uk/forum/topic/9486/gengal-gamelist-xml-generator
                                        Thank you for answering my question so promptly :)

                                        RookervikR 1 Reply Last reply Reply Quote 0
                                        • RookervikR
                                          Rookervik Global Moderator @LorThe3rd
                                          last edited by

                                          @LorThe3rd Ooh that's sexy. I like it a lot! Way better than mine. :D

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Steuv
                                            last edited by

                                            @Rookervik Hi! Your XML Maker seems exactly what I'm looking for ! But the dropbox link seems broken, is it possible to re-upload it ? :)

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