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

what about adding a cheevos flag in gamelist.xml ?

Scheduled Pinned Locked Moved Ideas and Development
metadatacheevosemulationstatio
108 Posts 13 Posters 38.2k 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.
  • P
    pjft @meleu
    last edited by 25 Jul 2017, 17:23

    @meleu Would you have a way to scrape the data from retroachievements.org?

    Maybe a clumsy wget from http://retroachievements.org/gameList.php and regexping the hell out of it?

    And then having a script go through the user's gamelists and populating that tag?

    M 1 Reply Last reply 25 Jul 2017, 17:28 Reply Quote 0
    • M
      meleu @pjft
      last edited by 25 Jul 2017, 17:28

      @pjft said in what about adding a cheevos flag in gamelist.xml ?:

      @meleu Would you have a way to scrape the data from retroachievements.org?

      Yes. But it talks JSON. I'm able to easily parse JSON data in shell scripts using the very handy jq tool (btw,I use it to fill the ES repos/branches from opened PRs in my es-tests tool).

      That's how I'm planning to populate user's gamelist.xml.

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      P 1 Reply Last reply 25 Jul 2017, 17:35 Reply Quote 1
      • P
        pjft @meleu
        last edited by 25 Jul 2017, 17:35

        @meleu Sounds good. Let's do it then. So you'll be putting together a small script that will go through users' gamelists and populate a "<retroachievements>true/false</retroachivements>" tag. Is that the spec?

        M 1 Reply Last reply 25 Jul 2017, 17:49 Reply Quote 1
        • M
          meleu @pjft
          last edited by 25 Jul 2017, 17:49

          @pjft said in what about adding a cheevos flag in gamelist.xml ?:

          @meleu Sounds good. Let's do it then. So you'll be putting together a small script that will go through users' gamelists and populate a "<retroachievements>true/false</retroachivements>" tag. Is that the spec?

          yep!

          I suggested "cheevos" because it's a widely used slang for "retroachievements" (btw, the RetroArch config is cheevos_enable).

          If it would be "true/false" or "0/1" depends on how ES manage boolean data. What happens with the favorite field?

          Well, I became excited after reading that "Let's do it" part! :)

          I'm going to have some free hours tomorrow. I'll try my best to write the script! If I succeed, I'll try to convince/help @sselph to add this feature to his scraper. :-)

          Cheers.

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          P 1 Reply Last reply 25 Jul 2017, 17:53 Reply Quote 0
          • P
            pjft @meleu
            last edited by 25 Jul 2017, 17:53

            @meleu let's call it achievements then. It's more generic. Thinking about it, it's better if it's not tied to a source - in the future there may be others.

            Still unclear if the use case of every time filtering by achievements is really that functional as opposed to having a pre curated collection/list, though.

            Do you really see yourselves doing that use case on a day to day basis?

            M R 2 Replies Last reply 25 Jul 2017, 18:22 Reply Quote 1
            • M
              meleu @pjft
              last edited by meleu 10 Feb 2017, 12:03 25 Jul 2017, 18:22

              @pjft said in what about adding a cheevos flag in gamelist.xml ?:

              Do you really see yourselves doing that use case on a day to day basis?

              My answer is an emphatic yes! :-)

              When I was building my arcade cabinet I spent a lot of time curating games with cheevos for each system. It wasn't a pleasant task...

              Also, it's a dynamic info. Games that doesn't have cheevos today can have in the future. And then you have to curate games again. There are cheevos developers around that site. They are very friendly and like to develop cheevos as you like to develop ES stuff. :) (btw, I am really grateful to the guy who created cheevos for "G.I. Joe" (NES) when I requested it).

              For a cheevos hunter, it's better to leave all the ROMs he/she has, run the "cheevos scraper", and then filter the game list in ES.

              EDIT
              Tagging other guys who seems to like the retroachievements feature:
              @mediamogul @edmaul69 @Sano @grenade44 @hansolo77 @R1n0X @cabrunco @muehltime @orymer @backstander @fun4stuff @Trotts @Keysersoze77 @PokeEngineer

              Hey guys, can you please answer the @pjft 's question: Do you really see yourselves doing that use case on a day to day basis?

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              P 1 Reply Last reply 25 Jul 2017, 23:25 Reply Quote 0
              • R
                R1n0X @pjft
                last edited by 25 Jul 2017, 18:49

                @pjft Yeah man!! This is a great enhancement for Emulation Station!!! I always use cheevos function!!

                P 1 Reply Last reply 25 Jul 2017, 18:53 Reply Quote 0
                • P
                  pjft @R1n0X
                  last edited by 25 Jul 2017, 18:53

                  @r1n0x I'm specifically referring to the use case of filtering vs having a pre curated collection/system with the games that support achievements.

                  R 1 Reply Last reply 25 Jul 2017, 19:02 Reply Quote 0
                  • R
                    R1n0X @pjft
                    last edited by 25 Jul 2017, 19:02

                    @pjft i would love to use the filtering feature!!!!

                    1 Reply Last reply Reply Quote 2
                    • P
                      PokeEngineer @meleu
                      last edited by 25 Jul 2017, 23:25

                      @meleu said in what about adding a cheevos flag in gamelist.xml ?:

                      EDIT
                      Tagging other guys who seems to like the retroachievements feature:
                      @mediamogul @edmaul69 @Sano @grenade44 @hansolo @R1n0X @cabrunco @muehltime @orymer @backstander @fun4stuff @Trotts @Keysersoze77

                      Hey @meleu, you can add me to the list too.

                      Don't sweat it.
                      When in doubt, take a BYTE out of life.

                      😎

                      M 1 Reply Last reply 25 Jul 2017, 23:43 Reply Quote 1
                      • M
                        meleu @PokeEngineer
                        last edited by 25 Jul 2017, 23:43

                        @pokeengineer done! Now how about answering that question? :-)

                        You are looking at your EmulationStation, in the NES game list. If you had a chance to filter only the games that has cheevos would you use this filter frequently?

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        P 1 Reply Last reply 26 Jul 2017, 00:11 Reply Quote 0
                        • P
                          PokeEngineer @meleu
                          last edited by 26 Jul 2017, 00:11

                          @meleu

                          Yeah, I would.

                          Don't sweat it.
                          When in doubt, take a BYTE out of life.

                          😎

                          1 Reply Last reply Reply Quote 0
                          • H
                            hansolo77
                            last edited by 26 Jul 2017, 01:05

                            Absolutely count me in!!! I would test the bejesus out of that. :) But I'm not sure I really like the idea of having to go through a custom sort to get to my cheevo games. The way I have it now, my cheevo games are copied in the system folder in a subfolder. ES displays that folder as a ROM, so I select it and it opens up a list of games I've got in that folder. I know instantly that every game in there has cheevos. If I understand you current plans, it's to add an extra field in the metadata, which can be selected as a sort option. "Sort by Publisher, Genre, Players, Date Released, Cheevos". That would just make the gamelist present itself with games containing cheevos at the top, and the others at the bottom. BUT maybe I don't want to necessarily play a cheevo game. I'd hate to have the sort be to cheevos then have to go back in and change the sort to alphabetical. What I'd like to see is a metadata field (boolean meaning true or false right?) that allows me to create a collection like "Favorites" or "Last Played" so I can instantly select it from the main system menu without being limited to a sort, or even having to enter a system.

                            As for the scraping, this is a great idea. Up till now, I've had to manually go through my rom folders with a copy of the website up in a separate window looking at what's been added recently (once a week I check) and copy roms from one folder to the subfolder. It's long and tedious but gets the job done. If a method to scrape from the website lists automatically, and just add that "true" to the metadata can be made.. HELL YEA. :)

                            And yes, I would use this daily (when I'm not hacking around adding new features!). When I learned about RetroAchievements, that's pretty much guaranteed the 99% of the games I will play. I love trying to play for them. It is exposing me to a lot of games I wouldn't have even tried before. It's just more fun. And if we can make the RetroPie project include support in ES for this on the front lines, I can almost promise you more and more people will looking to use it. It's like before we had videos, people were happy with the way it was. Then video screens became a possibility, and now EVERYBODY is hopping on board. It really is the next best thing.

                            And @meleu is right. The RA team is developing cheevos on a daily basis. You literally can go there everyday and find a list of new cheevos and games that support them. Hell, I bet you could create a script as part of the ES boot up (if you have internet established) to check and see if any new games are supported and have it update your lists then and there. Although it would probably be better if it was an optional feature.

                            Keep me updated. I'd love to test out whatever you guys come up with!

                            Who's Scruffy Looking?

                            1 Reply Last reply Reply Quote 1
                            • G
                              grenade44
                              last edited by 26 Jul 2017, 06:58

                              This is a great idea. What would be cool if the flag changed colour to say if you have completed the game as well. But I know that would be hard to code.

                              1 Reply Last reply Reply Quote 0
                              • P
                                pjft
                                last edited by 26 Jul 2017, 09:07

                                So, just to make sure we're clear on what we're asking here:

                                Assuming ES will have a way to know if a game supports achievements, do you see yourself using that by manually setting a filter for games with achievements every time you want to play them, or would you manually create a list/collection of such games, for easy access?

                                That is the question.

                                @grenade44 As for the term "flag", it's not a visual flag. There will be no visual representation for whether a game supports achievements or not, at least not now.

                                Thanks all.

                                R 1 Reply Last reply 26 Jul 2017, 12:29 Reply Quote 1
                                • R
                                  R1n0X @pjft
                                  last edited by 26 Jul 2017, 12:29

                                  @pjft I think that we could use a filter in the option "SORT GAMES" in menu

                                  M 1 Reply Last reply 26 Jul 2017, 13:03 Reply Quote 1
                                  • M
                                    meleu @R1n0X
                                    last edited by meleu 26 Jul 2017, 13:03

                                    @r1n0x @grenade44 @hansolo77 and all cheevos users. I'm trying to be very clear now of what I am asking for ( @pjft please confirm).

                                    I want to "enter" in a system (that view where you see the games of a system), press select (it will open the "OPTIONS" screen), choose the "FILTER GAMELIST" option (it will open the "FILTER GAMELIST BY" screen) and there will be a filter named "ACHIEVEMENTS".

                                    Look the screenshots below:

                                    press select when you are in system's game list

                                    1_1501074119070_es_options.png

                                    in the menu below there will be an ACHIEVEMENTS option

                                    0_1501074119070_es_filters.png

                                    • Useful topics
                                    • joystick-selection tool
                                    • rpie-art tool
                                    • achievements I made
                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hansolo77
                                      last edited by 26 Jul 2017, 14:50

                                      Well, seems like I'm getting outvoted. Everybody is more or less going with the filter option. I'd still really like to have a custom menu on the systems screen. Might just have to use a collection like originally planned.

                                      Who's Scruffy Looking?

                                      M 1 Reply Last reply 26 Jul 2017, 15:06 Reply Quote 0
                                      • M
                                        meleu @hansolo77
                                        last edited by 26 Jul 2017, 15:06

                                        @hansolo77 maybe my "cheevos scraper" can be useful for your use case too. I'll post here when it's usable.

                                        • Useful topics
                                        • joystick-selection tool
                                        • rpie-art tool
                                        • achievements I made
                                        1 Reply Last reply Reply Quote 1
                                        • H
                                          hansolo77
                                          last edited by 27 Jul 2017, 01:07

                                          No doubt it'll be useful. Up till now it's all had to be done manually, but if a quick and easy automated way to at least identify the games in your list that ARE compatible can be done, that's the way to go.

                                          Who's Scruffy Looking?

                                          1 Reply Last reply Reply Quote 0
                                          16 out of 108
                                          • First post
                                            16/108
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received