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

    gamelist.xml and subfolders

    Scheduled Pinned Locked Moved Help and Support
    gamelistgamelist.xmlemulationstatioemulation statifolders
    3 Posts 2 Posters 2.0k 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.
    • T
      TigerKnee
      last edited by TigerKnee

      Assume I have a folder with 3 files:

      aaaa.zip
      bbbb.zip
      cccc.zip
      

      I create a gamelist.xml such as:

      <?xml version="1.0"?>
      <gameList>
      	<game>
      		<path>./aaaa.zip</path>
      	</game>
      	<game>
      		<path>./bbbb.zip</path>
      	</game>
      	<game>
      		<path>./cccc.zip</path>
      	</game>
      </gameList>
      

      Now I want to sort each file into folders for navigation purposes. I'd like Emulation Station to display something like:

      a
      b
      c
      

      Clicking into a, I would see

      aaaa.zip
      

      That's the goal, but is it possible?

      I can move each file into subfolders on the filesystem (a/aaaa.zip, b/bbbb.zip, c/cccc.zip) however this doesn't seem to work with "Parse Gamelists Only" enabled, which is what I'm using.

      I've tried setting each of the paths in gamelist.xml (<path>./a/aaaa.zip</path>, etc), but it doesn't work. It shows a . entry rather than each of the folders.

      Is what I want to do possible? I've seen the <folder> tag on the Gamelists page, however I'm not entirely sure how to use it, or even if it does what I want.

      Help! :)

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

        @tigerknee Disable the Parse gamelist only setting, then arrange the ROMs into sub-folders as you see fit. After you have all the ROMs added, then enable it again - the gamelist.xml will be build on the new folder structure.

        1 Reply Last reply Reply Quote 0
        • T
          TigerKnee
          last edited by

          I tried what you suggested but it didn't work. Not sure why.

          But I did come up with a solution that works.

          <?xml version="1.0"?>
          <gameList>
          	<folder>
          		<name>a</name>
          		<path>./a</path>
          	</folder>
          	<folder>
          		<name>b</name>
          		<path>./b</path>
          	</folder>
          	<folder>
          		<name>c</name>
          		<path>./c</path>
          	</folder>
          	<game>
          		<path>./a/aaaa.zip</path>
          	</game>
          	<game>
          		<path>./b/bbbb.zip</path>
          	</game>
          	<game>
          		<path>./c/cccc.zip</path>
          	</game>
          </gameList>
          
          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.