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

    Making premade gamelist.xml with xtra media collections

    Scheduled Pinned Locked Moved Ideas and Development
    gamelist.xmlpremade scrapeeasy config
    448 Posts 16 Posters 150.5k 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.
    • Used2BeRXU
      Used2BeRX @meleu
      last edited by

      @meleu For starters, I have trouble getting a help function to work. lol

      Now that I got that far, I have no idea how to do anything with the program, and I have a feeling that doing it this way is going to require me typing out hundreds of lines of commands to get everything done instead of being able to just point and click from a GUI.

      I'm trying to learn out of necessity here since it looks like we won't be able to do this the easy way.

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

        @NeMesiS Hey dude, I was trying to help @Used2BeRX with this crazy conversion but, as we have different OS backgrounds, we were having some - let's say - communication issues. I saw you wrote a script to make the conversion and posted on the other forums, I'll try to test that script and we can continue the conversation there.

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

          @meleu Yea, sweet...
          I'll have to catch up with this thread,
          is 6am atm I really should go to bed...
          What have you guys got so far?

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

            @NeMesiS said in Making premade gamelist.xml with xtra media collections:

            What have you guys got so far?

            This. But I think it's better you go to bed for now. :)

            edit: and @UDb23 made a Windows program to convert from txt to xml. My script only looks for the full path to the ROM...

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • meleuM
              meleu @Used2BeRX
              last edited by meleu

              @Used2BeRX Please, mark true or false for the following sentences, assuming you're saying them:

              1. I understand that, despite being a more user-friendly environment, making the conversion from txt to xml on Windows is more painful.

              2. I understand that Linux has powerfull tools to process text files, and my coders friends will be happy to help me if I am able to run their programs and provide feedback.

              3. I'm not used to Linux but, as we are generating files to be used on Linux, I want to learn at least the basics (e.g.: how to execute simple commands from the prompt).

              4. I prefer to spend some hours learning the basics of Linux than months generating xml files manually.

              5. I want to share the results with the RetroPie community.

              6. I don't want to use the results for commercial purpposes.

              Thanks.

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              Used2BeRXU 1 Reply Last reply Reply Quote 0
              • dankcushionsD
                dankcushions Global Moderator
                last edited by

                do it all in python and stop worrying about linux vs windows ;)

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

                  @meleu

                  1. False (I think. I don't know if I understand the question)
                  2. True
                  3. True
                  4. True
                  5. True
                  6. True
                  1 Reply Last reply Reply Quote 1
                  • meleuM
                    meleu @dankcushions
                    last edited by

                    @dankcushions said in Making premade gamelist.xml with xtra media collections:

                    do it all in python and stop worrying about linux vs windows ;)

                    What about C:\windows\path\style vs /UNIX/style/one?

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    dankcushionsD Used2BeRXU 2 Replies Last reply Reply Quote 0
                    • dankcushionsD
                      dankcushions Global Moderator @meleu
                      last edited by

                      @meleu said in Making premade gamelist.xml with xtra media collections:

                      @dankcushions said in Making premade gamelist.xml with xtra media collections:

                      do it all in python and stop worrying about linux vs windows ;)

                      What about C:\windows\path\style vs /UNIX/style/one?

                      the python OS/sys/io libraries deal with that i think... although i never bothered with my one python script :)

                      1 Reply Last reply Reply Quote 0
                      • Used2BeRXU
                        Used2BeRX @meleu
                        last edited by

                        @meleu Thought you may have missed my edit. I'd like to try your script out as-is now, but I can't get it to do anything... any ideas?

                        Help works now with the new download (went from 65kb to only 3kb???)

                        Don't know what to do from there though. I put the XML files in /home/pi/RetroPie/Media/NES/XMLTest/

                        Then I ran ./fullpath-gamelist.sh /home/pi/RetroPie/Media/NES/XMLTest/ gamelist.xml

                        : file not found.

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

                          @Used2BeRX said in Making premade gamelist.xml with xtra media collections:

                          Then I ran ./fullpath-gamelist.sh /home/pi/RetroPie/Media/NES/XMLTest/ gamelist.xml

                          : file not found.

                          Looks like there's a unecessary space after the last / and before gamelist.xml

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          Used2BeRXU 1 Reply Last reply Reply Quote 0
                          • Used2BeRXU
                            Used2BeRX @meleu
                            last edited by Used2BeRX

                            @meleu said in Making premade gamelist.xml with xtra media collections:

                            Ah... I thought that was a separated part of the command. I'll try it and edit this post with my results. Thanks

                            EDIT: No. Same result.

                            Is the script expecting there to be a gamelist.xml file that already exists?

                            If it does, does it matter if it's just an empty file called gamelist.xml?

                            meleuM UDb23U 2 Replies Last reply Reply Quote 0
                            • meleuM
                              meleu @Used2BeRX
                              last edited by

                              @Used2BeRX

                              Is the script expecting there to be a gamelist.xml file that already exists?

                              Sure. It's supposed to be used with the xml files generated by the @UDb23 's program.

                              If it does, does it matter if it's just an empty file called gamelist.xml?

                              The script does nothing with empty files.

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              Used2BeRXU 1 Reply Last reply Reply Quote 0
                              • UDb23U
                                UDb23 @Used2BeRX
                                last edited by

                                @Used2BeRX said in Making premade gamelist.xml with xtra media collections:

                                Is the script expecting there to be a gamelist.xml file that already exists?
                                If it does, does it matter if it's just an empty file called gamelist.xml?

                                Surely yes.
                                Just take one of the files converted to xml and it should be ok

                                UDb23U 1 Reply Last reply Reply Quote 0
                                • UDb23U
                                  UDb23 @UDb23
                                  last edited by

                                  @UDb23 renaming it to gamelist.xml.

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

                                    @UDb23 actually there's no need to make it named as gamelist.xml ;-)

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

                                      @meleu said in Making premade gamelist.xml with xtra media collections:

                                      Please, I'm not disrespecting your work on that program at all.

                                      Don't worry; I understand what you mean. As said, regardless of final results, it was and is a good opportunity for refresh my VB knowledge under Windows.
                                      I really like the Raspberry with all the opportunities it offers thru Linux... it reminds me when I started with the Vic20 so many years ago... no GUI... just commands and programming line by line... I loved it !!

                                      That's why I think that making everything on one environment should be less confusing.

                                      And it does of course make sense if @Used2BeRX is ok with your proposal.
                                      I will not get offended if you'd like to manage the whole conversion + folder process with a single script. ;-)
                                      Take care by the way... as said I have a significant amount of metadata (in a different format) for Vic20 that I may end up asking you to convert on top of @Used2BeRX txt files.

                                      1 Reply Last reply Reply Quote 1
                                      • UDb23U
                                        UDb23 @meleu
                                        last edited by

                                        @meleu If command is used with the right filename.. of course not. lol.

                                        Used2BeRXU 1 Reply Last reply Reply Quote 1
                                        • Used2BeRXU
                                          Used2BeRX @meleu
                                          last edited by Used2BeRX

                                          @meleu Is your script only converting one file at a time now then? I thought I was just pointing it to the folder and it was converting all of them to the gamelist.xml . If we're just testing single files then, I was mistaken.

                                          EDIT:

                                          I just tried ./fullpath-gamelist.sh /home/pi/RetroPie/Media/NES/XMLTest/MEGA MAN I.XML and got "MEGA": file not found.

                                          UDb23's program doesn't create a gamelist.xml It just converts the {gamename}.TXT to {gamename}.XML

                                          meleuM 2 Replies Last reply Reply Quote 0
                                          • meleuM
                                            meleu @Used2BeRX
                                            last edited by

                                            @Used2BeRX @UDb23 hey guys, forget my script for a while.

                                            I understood that the MetaX output was a complete gamelist.xml but it's not the case. Looks like it creates an individual game entry in a gamelist.xml format.

                                            Right now I'm downloading the @Used2BeRX files and trying to understand their structure, etc.

                                            Go play some games! :D

                                            • Useful topics
                                            • joystick-selection tool
                                            • rpie-art tool
                                            • achievements I made
                                            Used2BeRXU 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.