gamelist.xml and subfolders
-
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! :)
-
@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 - thegamelist.xml
will be build on the new folder structure. -
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>
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.