batocera-linux/batocera-emulationstation

Dynamic Collection - Players tag treatment

Opened this issue · 0 comments

Issue description

I am currently familiar with the logic for dynamic collection, when it comes to the number of players. .xcc file with this content will filter all games that support up to 4 or more players, so players tags 1-4, 2-4, 4, 4+, 8, 16 etc. all satisfy the filter conditions.

<?xml version="1.0"?> <filter name="4players"> <players>4</players> </filter>

Is it possible to upgrade ES so that it is possible to filter games for dynamic collection, in which the players tag is exactly 2-2, or 4-4, etc ... (treat this like a string field, on example, similar how is functionik part in game name )?
By adding more filters to the .xcc, different player tags can be combined so that the game competes to enter the dynamic list.

<?xml version="1.0"?> <filter name="4players"> <players>1-2</players> <players>1-4</players> </filter>

Thank you for excellent distro (Batocera) and front end (Emulationstation) development . :)

P.S. In my collection games with players tag 2-2, 4-4, are games who allows 2, or 4 simultaneous players.