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

    Hiding files where .m3u is used...

    Scheduled Pinned Locked Moved Help and Support
    m3ufolderstagshiddenhiding
    8 Posts 6 Posters 4.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.
    • C
      cdaters
      last edited by cdaters

      Pertinent info:

      RPi4 (armv7l)
      RetroPie 4.7.21
      EmulationStation V2.10.1RP (DEC 26 2021 - 16:24:56)
      System: Commodore 64
      Emulator in question: lr-vice
      gamelist.xml (pastebin)

      I have scoured the documentation and the discussion forums in an effort to find more information about my issue. I have discovered some interesting alternative ideas, such as moving said "additional" disks into a separated top-level directory outside of the system ROM folder and adjusting the .m3u file appropriately, etc. but I feel there has to be a simple solution...?

      I am trying to put together a C64 collection and am trying to consolidate all of the multi-disk/tape/carts into a single .m3u file per the documentation. In my gamelist.xml file, I am using the <hidden>true</hidden> attribute so that in the ES game list filter options, I can hide these in the frontend:

      20220317_102456.png
      20220317_114008.png
      However, this only works for the current "session!" If I restart ES, or shutdown and restart, that setting doesn't stick.

      20220317_114034.png

      So the system will show "1 Game Available" or 7" Games Available" respectively as a result in the system view.

      20220317_114345.png

      or,

      20220317_114408.png
      Because there will be a lot of titles, I am sorting them all into folders (i.e., a-k, l-r, s-z) respectively and have accommodated this in the gamelist.xml file too.

      All titles files, disks/tapes/carts, and .m3u files will sit alongside each other in their respective directories.

      Has this been solved, or am I going about this wrong?

      ectoE G 2 Replies Last reply Reply Quote 0
      • ectoE
        ecto @cdaters
        last edited by

        @cdaters I find the easiest solution is to hide the separate files. You do that by putting a . on front of the filename. So you have something like this in your c64 folder:

        Multidiskgame.m3u
        .Multidiskgame disk1.dsk
        .Multidiskgame disk2.dsk
        

        And in the m3u file you call the two hidden files.
        Emulationstation can't see the hidden files so it only picks up the m3u file.

        C 1 Reply Last reply Reply Quote 1
        • C
          cdaters @ecto
          last edited by

          @ecto, that is a brilliant solution! I am actually surprised I didn't think of that, thank you!

          I would be curious to see what @mitu, or another RPi veteran might have to say on the subject? I really thought that the filters were supposed to work the way I had been thinking initially and am curious if there is a different "preferred" method or mechanism in place for achieving the same functionality that isn't perhaps documented clearly...?

          mituM 1 Reply Last reply Reply Quote 0
          • G
            G30FF @cdaters
            last edited by

            @cdaters I think the hidden filter flag is reset every time ES is reloaded, so even if you set hidden to true on an item, it will show up on launch until you set the filter to hide hidden items again through ES settings.

            Another option if you want to keep the rom files in the same directory is to update es-systems.xml (copy the file into /opt/retropie/configs/emulationstation/ in order to override the default), and in the c64 system, remove the capitalized versions of the extensions (for example, if you have .dsk and .DSK, remove .DSK). Then rename all of the files that appear in your m3u to use .DSK as the extension. I personally use the "store items in a different top level folder" method for all of my disk based systems, and I know I've promoted that method on other threads asking similar questions.

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

              @cdaters Filters are not persistent in EmulationStation - one improvement which is sorely lacking.
              You can use a workaround like @ecto described - either use a hidden file for each disc or a hidden/separate folder to store them individually while keeping the .m3u visible.

              1 Reply Last reply Reply Quote 1
              • LolonoisL
                Lolonois
                last edited by

                Third workaround option to have hidden flag evaluated: set UI mode to Kiosk.

                C 1 Reply Last reply Reply Quote 2
                • C
                  cdaters @Lolonois
                  last edited by

                  @Lolonois I've not played around with kiosk mode. I will have to experiment with this.

                  LolonoisL 1 Reply Last reply Reply Quote 0
                  • LolonoisL
                    Lolonois @cdaters
                    last edited by

                    @cdaters These ES CLI switches may come in handy:

                    --force-kiosk: Volatile setting of Kiosk Mode when UI is set to Full mode.
                    --force-disable-filters: Disable Kiosk (and/or Kid) mode when UI mode is set to Kiosk (resp. Kid). Attn: This switch will be persisted if any change is made in the Settings via ES UI, otherwise it is volatile.

                    1 Reply Last reply Reply Quote 0
                    • nexusone13N nexusone13 referenced this topic on
                    • 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.