• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 17 Mar 2022, 18:52

    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?

    E G 2 Replies Last reply 17 Mar 2022, 22:46 Reply Quote 0
    • E
      ecto @cdaters
      last edited by 17 Mar 2022, 22:46

      @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 18 Mar 2022, 01:14 Reply Quote 1
      • C
        cdaters @ecto
        last edited by 18 Mar 2022, 01:14

        @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...?

        M 1 Reply Last reply 18 Mar 2022, 04:35 Reply Quote 0
        • G
          G30FF @cdaters
          last edited by 18 Mar 2022, 03:50

          @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
          • M
            mitu Global Moderator @cdaters
            last edited by 18 Mar 2022, 04:35

            @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
            • L
              Lolonois
              last edited by 18 Mar 2022, 12:56

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

              C 1 Reply Last reply 18 Mar 2022, 17:13 Reply Quote 2
              • C
                cdaters @Lolonois
                last edited by 18 Mar 2022, 17:13

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

                L 1 Reply Last reply 19 Mar 2022, 08:48 Reply Quote 0
                • L
                  Lolonois @cdaters
                  last edited by 19 Mar 2022, 08:48

                  @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
                  • N nexusone13 referenced this topic on 19 Mar 2022, 11:23
                  8 out of 8
                  • First post
                    8/8
                    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