mirror of
https://github.com/rommapp/romm.git
synced 2026-12-04 12:52:19 +01:00
* fix(feeds): send real content IDs and RAP keys in PKGi and PKGj feeds The rap column carried the SHA-1 of the .rap file. PKGi decodes it as the 16-byte license key, so it saved a wrong license. The content ID was always generated (UP9644-...), so even a correct license was saved under a name the game never looks for. Read the content ID from the package header, and the key from the rom's .rap file named after that content ID (or its only .rap file). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(feeds): read PSN licenses through the roms filesystem handler Move the package content ID and .rap license lookup from the feeds endpoint into FSRomsHandler, read at most 17 bytes of a .rap file, and trim the get_rap_data docstring. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * pr-ready: code-review Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * pr-ready: simplify Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * pr-ready: 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>