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

    Game not shown in Kids mode, while Hidden + Kidgame tags are ON

    Scheduled Pinned Locked Moved Help and Support
    kids modehidden
    16 Posts 4 Posters 1.8k 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.
    • thelostsoulT
      thelostsoul
      last edited by

      I don't know if this is a problem with RetroPie, EmulationStation or with the webpage sentence. Me and someone else confirmed that the behavior described in the page is just not true. So, basically someone asked if this is normal and I tested it quickly.

      Items which are set to be both hidden and kidgame, will be visible while in UI mode kid, but not while in UI mode Kiosk.

      Source: https://retropie.org.uk/docs/Child-friendly-EmulationStation/

      If I set a games flag to Hidden=ON and Kidgame=ON, then the game should be visible in Mode=KID, as described in the webpage. But on my system and someone else's it is not shown, contrary to the site. Here my quick test with its results:
      Ok, I just tested it. My system is RetroPie 4.4.4 (updated yesterday). Here the results:

      • Adventure=Hidden + Kidgame
      • Asteroid=Hidden
      • Atlantis=Kidgame

      MODE: FULL

      • ALL games are shown.

      MODE: KIOSK

      • Adventure=NO
      • Asteroid=NO
      • Atlantis=YES
      • ALL other games=YES

      MODE: KID

      • Adventure=NO
      • Asteroid=NO
      • Atlantis=YES
      • ALL other games=NO

      📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        Yes, I briefly tested this with the -dev branch and I see the same behavior. Looking at the history of the page, it seems that the description was changed to the current version by @Zigurana after github.com/retropie/Emulationstation/pull/252. Before, it read

        This mode has all the restrictions of Kiosk mode, but in addition -only- lists games which are explicitly white-listed. This can be done by setting the metadata-tag Kid-game to true.

        which is more in-line with the behavior you're seeing.

        1 Reply Last reply Reply Quote 0
        • thelostsoulT
          thelostsoul
          last edited by

          Ok then, it is just a false information on the webpage and not a bug in RetroPie, right? So, this would be easy to fix.

          📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @thelostsoul
            last edited by

            @thelostsoul Can't really say - I'll have to look in the code. The PR does say

            1. Kiosk, where only specific items are hidden, and all else is shown.
            2. Kid, where only specific items are shown, and all else is hidden.

            so is more or less what the docs say, making the wiki page ok, but wondering if the bug is not in the code.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              Looks like a bug in the code (here):

              if (!ViewController::get()->isUIModeFull())
              	{
              		filterByHidden = true;
              		std::vector<std::string> val = { "FALSE" };
              		setFilter(HIDDEN_FILTER, &val);
              	}
              	if (ViewController::get()->isUIModeKid())
              	{
              		filterByKidGame = true;
              		std::vector<std::string> val = { "TRUE" };
              		setFilter(KIDGAME_FILTER, &val);
              	}
              

              Looks like the hidden games filter is applied both in Kid and Kiosk UI modes. We have the option to either correct the code or the documentation :).

              thelostsoulT 1 Reply Last reply Reply Quote 1
              • thelostsoulT
                thelostsoul @mitu
                last edited by

                @mitu This is awesome! ... I mean, didn't expect it so soon. So, it turns out to be a trivial bug... or is it a feature? ;-) From logical standpoint hidden means hidden and this is a bug, but thats only my opinion. I am not sure if this have some practical usefulness to somebody. On the contrary side it could break some configuration of people who set their settings like this.

                📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @thelostsoul
                  last edited by

                  @thelostsoul Since this is - seemingly - the 2nd report about this bug, it doesn't seem to affect a lot of people.

                  thelostsoulT 1 Reply Last reply Reply Quote 0
                  • thelostsoulT
                    thelostsoul @mitu
                    last edited by

                    @mitu You should not underestimate a bug, just because it did not get reported (although in this case it is really harmless and easy to work with). In example that guy in Reddit didn't report it and I can only assume many people reading this (including me since long time) thought this is something wrong with the personal setup or get confused and just ignore it. I think the easiest and most secure way would be to correct the webpage. That is not a suggestion, so don't take my word for it. In the end it is just a very unimportant detail.

                    📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

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

                      I think it makes sense to correct this behaviour, because then it allows for more configuration permutations than the current behaviour. That is:

                      • Show in Normal and Kiosk mode - no attribs
                      • Show in Normal, Kiosk and Kid mode - kidgame
                      • Show in Normal, but not Kiosk nor Kid - hidden
                      • Show in Normal and Kid, but not Kiosk - hidden kidgame

                      Notice that with current behaviour the last case is not possible. Meanwhile, if you want to retain current behaviour of hidden kidgame, just switch it to hidden and it's done.

                      In other words, current behaviour doesn't allow for "kid only" games. While it's probably marginally useful, it's better to have an option than not to have it.

                      1 Reply Last reply Reply Quote 1
                      • G
                        glastonberry
                        last edited by

                        I would like to second the suggestion to correct this in the code although @silent has put it better than I could.

                        I raised this originally on the retropie subreddit as I thought perhaps I was just misunderstanding the system. Just registered here for this and future queries.

                        Whilst I understand the different modes limiting the available options, I am not completely clear on the rationale for the ROM management side. For my set up, there are games which I won't necessarily want in my "short list" (kiosk) but would be good for the kids to play, hence the enquiry.

                        Thanks all!

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @glastonberry
                          last edited by

                          @glastonberry I only jokingly added the suggestion to add a fix just be modifying the docs. Of course the code has to be corrected - a patch has been submitted for this.

                          thelostsoulT 1 Reply Last reply Reply Quote 0
                          • thelostsoulT
                            thelostsoul @mitu
                            last edited by

                            @mitu Seriously, I took it seriously.

                            📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @thelostsoul
                              last edited by mitu

                              @thelostsoul Gotcha. Sadly, I've seen this approach in other part of the code world.

                              1 Reply Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator
                                last edited by

                                Just to let you know, the patch that corrects this problem has been added to the -dev branch of Emulationstation. Which will probably become the -stable branch in the near future, so it will be available in an update.

                                1 Reply Last reply Reply Quote 1
                                • mituM
                                  mitu Global Moderator
                                  last edited by

                                  Since the new stable branch has now incorporated the latest developments, you can now update normally your Emulationstation package and get the fix committed on the dev branch.
                                  A minor glitch with the new version - if you're pictures/videos don't seem to show after the update, check if your GameList view style option in the Emulationstation's UI Settings menu are set to detailed/video.

                                  thelostsoulT 1 Reply Last reply Reply Quote 1
                                  • thelostsoulT
                                    thelostsoul @mitu
                                    last edited by

                                    @mitu Hey thank you for the update. :-) Next time I update my RetroPie, I will check it out.

                                    📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                                    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.