mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-27 05:02:48 +00:00
feat: re-profile 22 emulators, refactor validation to common.py
batch re-profiled nekop2 through pokemini. mupen64plus renamed to mupen64plus_next. new profiles: nes, mupen64plus_next. validation functions (_build_validation_index, check_file_validation) consolidated in common.py — single source of truth for verify.py and generate_pack.py. pipeline 100% consistent on all 6 platforms.
This commit is contained in:
parent
94000bdaef
commit
0543165ed2
33 changed files with 1449 additions and 783 deletions
|
|
@ -19,6 +19,7 @@ from __future__ import annotations
|
|||
import hashlib
|
||||
import struct
|
||||
import subprocess
|
||||
from collections.abc import Callable
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
|
|
@ -418,7 +419,7 @@ def verify_otp(
|
|||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Map from (filename, validation_type) to verification function
|
||||
_CRYPTO_VERIFIERS: dict[str, callable] = {
|
||||
_CRYPTO_VERIFIERS: dict[str, Callable] = {
|
||||
"SecureInfo_A": verify_secure_info_a,
|
||||
"LocalFriendCodeSeed_B": verify_local_friend_code_seed_b,
|
||||
"movable.sed": verify_movable_sed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue