Currently, the only way to identify what a rom is to check rominfo.getromhash() or to check the filename, neither of which are going to work universally for every user (some ROMs have a variety of dumps, and ROMs can be renamed). Even some ROM formats that have an internal naming structure could potentially be inconsistent.
Add a few methods to the plugin API, one which returns a list of "desired" ROMs with human-readable names (we'll call "targets"), which the shuffler can then create a dialog box filled with dropdown menus, one per target, each populated with the list of files in the games/ folder. Once the user has selected which ROM corresponds to each target, that information can be sent to the plugin API to assist with identifying each ROM.
Currently, the only way to identify what a rom is to check
rominfo.getromhash()
or to check the filename, neither of which are going to work universally for every user (some ROMs have a variety of dumps, and ROMs can be renamed). Even some ROM formats that have an internal naming structure could potentially be inconsistent.Add a few methods to the plugin API, one which returns a list of "desired" ROMs with human-readable names (we'll call "targets"), which the shuffler can then create a dialog box filled with dropdown menus, one per target, each populated with the list of files in the
games/
folder. Once the user has selected which ROM corresponds to each target, that information can be sent to the plugin API to assist with identifying each ROM.