Files
romm/backend/handler/filesystem
MMagTech ea8aac7d5d fix(ra): hash an arcade set by its archive, not the CHD beside it (#5747)
* fix(ra): hash an arcade set by its archive, not the CHD beside it

RetroAchievements identifies an arcade game by its set's name. A folder
holding a set and its disc was hashed by the CHD, which is named after the
disc (gdl-0018.chd beside azumanga.zip).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: code-review

Pass the arcade set's archive to RAHasher directly. RAHasher on Linux
does not expand a /* wildcard, so the arcade hash of <folder>/* is the
MD5 of an empty name. Prefer the archive named after the folder so a
larger BIOS or parent zip beside it does not win.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: plain-prose

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
2026-11-23 11:13:09 -05:00
..