authorblues / bizhawk-shuffler-2

A script to randomly shuffle between games played in Bizhawk, with plugins to enhance the experience
MIT License
58 stars 21 forks source link

Plugins: add non-hash method for selecting ROMs #4

Closed authorblues closed 3 years ago

authorblues commented 3 years ago

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.

authorblues commented 3 years ago

Technically this has been completed by the plugin overhaul.