v2026.04.02/scripts
Abdessamad Derraz 5fd3b148df feat: platform-native verification with severity and cross-reference
verify.py now simulates each platform's exact BIOS check behavior:
- RetroArch: existence only (core_info.c path_is_valid)
- Batocera: MD5 + checkInsideZip, no required distinction
- Recalbox: MD5 + mandatory/hashMatchMandatory, 3-level severity

Per-file required/optional from platform YAMLs now affects severity:
- CRITICAL: required file missing or bad hash (md5 platforms)
- WARNING: optional missing or hash mismatch
- INFO: optional missing on existence-only platforms
- OK: verified

Cross-references emulator profiles to list undeclared files used by
cores available on each platform (420 for Batocera, 465 for RetroArch).

Verified against source code:
- Batocera: batocera-systems:967-1091 (BiosStatus, checkBios, checkInsideZip)
- Recalbox: Bios.cpp:109-130 (mandatory, hashMatchMandatory, Green/Yellow/Red)
- RetroArch: .info firmware_opt (existence check only)
2026-03-19 10:11:39 +01:00
..
scraper feat: core profiles, data_dirs buildbot, cross_ref fix 2026-03-18 21:20:02 +01:00
auto_fetch.py refactor: quality audit fixes, honest verification reporting 2026-03-17 15:35:30 +01:00
common.py feat: aliases support in resolve and db generation 2026-03-19 08:15:13 +01:00
cross_reference.py feat: core profiles, data_dirs buildbot, cross_ref fix 2026-03-18 21:20:02 +01:00
dedup.py refactor: fix code review findings across all scripts 2026-03-17 15:16:51 +01:00
download.py refactor: centralize hash logic, fix circular imports and perf bottlenecks 2026-03-18 11:51:12 +01:00
download.sh update all references from retroarch_system to retrobios 2026-03-17 11:17:50 +01:00
generate_db.py feat: aliases support in resolve and db generation 2026-03-19 08:15:13 +01:00
generate_pack.py fix: align status terminology with Batocera source code 2026-03-19 09:49:16 +01:00
generate_readme.py refactor: centralize hash logic, fix circular imports and perf bottlenecks 2026-03-18 11:51:12 +01:00
generate_site.py refactor: centralize hash logic, fix circular imports and perf bottlenecks 2026-03-18 11:51:12 +01:00
list_platforms.py refactor: fix code review findings across all scripts 2026-03-17 15:16:51 +01:00
migrate.py v2: automated BIOS platform with full pipeline 2026-03-17 10:54:39 +01:00
pipeline.py feat: unified pipeline script with consistency check 2026-03-19 09:33:50 +01:00
refresh_data_dirs.py feat: core profiles, data_dirs buildbot, cross_ref fix 2026-03-18 21:20:02 +01:00
validate_pr.py refactor: consolidate CI pipeline, remove third-party deps 2026-03-17 12:33:10 +01:00
verify.py feat: platform-native verification with severity and cross-reference 2026-03-19 10:11:39 +01:00