1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 06:54:33 +00:00

checksums for ntsc 1.2 JP and US, accept both as baserom (#2030)

This commit is contained in:
Dragorn421 2024-08-15 00:53:39 +02:00 committed by GitHub
parent eaf955ad22
commit c8ec6042e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 37 additions and 14 deletions

View file

@ -20,6 +20,7 @@ PROJECT_ROOT = Path(__file__).parent.parent
class VersionConfig:
# Version name
version: str
checksums: list[str]
# ROM offset to start of DMA table
dmadata_start: int
# Whether the languages are PAL (EN/DE/FR) or not (JP/EN)
@ -89,6 +90,7 @@ def load_version_config(version: str) -> VersionConfig:
return VersionConfig(
version=version,
checksums=config.get("checksums", ["checksum"]),
dmadata_start=config["dmadata_start"],
text_lang_pal=config["text_lang_pal"],
dmadata_segments=load_dmadata_segments(version),