mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
LaunchBox titles carry colons, diacritics and characters a filesystem forbids that a ROM filename cannot, so an exact-key lookup misses games the dump holds: "Burnout Revenge" against "Burnout: Revenge", "Asterix" against "Astérix", "AC-DC" against "AC/DC". Index every title under a folded form as well, and consult it only once every exact form has missed so an exact hit still wins. Measured over the 2585 Redump-style PlayStation 2 titles the dump names, this lifts matching from 89.8% to 96.7%. All five colliding folded keys are LaunchBox's own duplicate records for a single game. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>