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:
parent
eaf955ad22
commit
c8ec6042e1
8 changed files with 37 additions and 14 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue