Bug with auto-generated game IDs
|Reported by:||SF/abolishment||Owned by:||sev-|
The game IDs that are shown in the launcher GUI and used in the scummvm.ini file are auto-generated, but the generation code needs improvement.
Specifically, I had problems with the AGI driver. I downloaded lots of fan-made AGI games, and added them one by one. The first one was assigned the game ID "agi", then followed the IDs "agia", "agib", "agic" and so on. This worked just fine up to and including "agiz", which means I could add 27 games that were recognized as AGI games. However, adding one more after that closed/crashed(?) the launcher.
Since there are 14 original Sierra games plus very many fan-made games that use the AGI engine, game collectors or notorious downloaders could easily get more than 27 games using the AGI engine. Perhaps a numerical approach to the generated IDs would be a better idea?
Ticket imported from: #1562795. Ticket imported from: bugs/2837.