mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 14:58:51 -06:00
refactor: split native model and review hashes
This commit is contained in:
1 parent
753e873472
commit
571a22d2b6
33 files changed
+658
-617
No files matched your search
@@ -9,7 +9,7 @@ every build, and an addition is written the same way.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from resolve.reconcile import NativeFile
|
||||
from resolve.nativemodel import NativeFile
|
||||
from .batocera_exporter import Exporter as BatoceraExporter
|
||||
|
||||
SOURCE_URL = (
|
||||
|
||||
@@ -12,7 +12,7 @@ from abc import ABC, abstractmethod
|
||||
from typing import Generic, TypeVar, Union
|
||||
|
||||
from model.profiles import core_key_index, platform_core_profiles
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
# What a produced file holds: text for every format, bytes besides for one
|
||||
# that also hands back an archive (MiSTer's bios_db.json.zip).
|
||||
|
||||
@@ -14,7 +14,7 @@ import re
|
||||
from scraper.batocera_scraper import comment_start, systems_span
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/batocera-linux/batocera.linux/master"
|
||||
|
||||
@@ -10,7 +10,7 @@ file is served as BizHawk wrote it, checked for its structure.
|
||||
from __future__ import annotations
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/TASEmulators/BizHawk/master"
|
||||
|
||||
@@ -19,7 +19,7 @@ from scraper.emudeck_scraper import FUNCTION_HASH_MAP, RE_FUNC, RE_LOCAL_HASHES
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from core.hashing import parse_hash_list
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/dragoonDorise/EmuDeck/main"
|
||||
|
||||
@@ -7,7 +7,8 @@ from dataclasses import dataclass, field
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from core.hashing import parse_hash_list
|
||||
from resolve.reconcile import HASH_FIELDS, NativeFile, single_size
|
||||
from resolve.reconcile import HASH_FIELDS
|
||||
from resolve.nativemodel import NativeFile, single_size
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
@@ -14,7 +14,7 @@ from collections import OrderedDict
|
||||
from typing import Union
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/ajgowans/BiosDB_MiSTer/db/bios_db.json.zip"
|
||||
|
||||
@@ -30,7 +30,8 @@ from model.registry import load_data_dir_registry, load_platform_registry
|
||||
from model.safeparse import yaml_load
|
||||
from packs.datadirs import hold_data_dirs
|
||||
from resolve.categories import removal_candidates
|
||||
from resolve.reconcile import Report, build_native_model
|
||||
from resolve.nativemodel import Report
|
||||
from resolve.reconcile import build_native_model
|
||||
from resolve.truth import generate_platform_truth
|
||||
|
||||
|
||||
|
||||
@@ -24,9 +24,8 @@ from core.hashing import parse_hash_list
|
||||
from model.safeparse import parse_untrusted_xml
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import (
|
||||
NativeFile, NativeSystem, Report, by_destination, by_name,
|
||||
)
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
from resolve.reconcile import by_destination, by_name
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://gitlab.com/recalbox/recalbox/-/raw/master/board/recalbox/fsoverlay"
|
||||
|
||||
@@ -11,7 +11,7 @@ import re
|
||||
from collections import OrderedDict
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/RetroBat-Official/emulatorlauncher/master"
|
||||
|
||||
@@ -15,7 +15,7 @@ from collections import OrderedDict
|
||||
from .base_exporter import BaseExporter
|
||||
from core.hashing import parse_hash_list
|
||||
from model.declarations import declared_components
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
COMPONENTS_REPO = "RetroDECK/components"
|
||||
COMPONENTS_BRANCH = "main"
|
||||
|
||||
@@ -23,7 +23,8 @@ from scraper.retropie_modules import module_fields
|
||||
from scraper.retropie_scraper import script_members
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report, search_order
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
from resolve.reconcile import search_order
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://codeload.github.com/RetroPie/RetroPie-Setup/tar.gz/refs/heads/master"
|
||||
|
||||
@@ -8,7 +8,7 @@ from __future__ import annotations
|
||||
|
||||
import re
|
||||
|
||||
from resolve.reconcile import NativeSystem, Report
|
||||
from resolve.nativemodel import NativeSystem, Report
|
||||
from .batocera_exporter import Exporter as BatoceraExporter
|
||||
|
||||
SOURCE_URL = (
|
||||
|
||||
@@ -19,7 +19,7 @@ from scraper.romm_scraper import SLUG_MAP
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from core.hashing import parse_hash_list
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/rommapp/romm/master/backend/models"
|
||||
|
||||
@@ -16,7 +16,7 @@ sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
||||
from scraper.dat_parser import parse_dat
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
from resolve.nativemodel import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/libretro/libretro-database/master/dat/System.dat"
|
||||
|
||||
Reference in new issue
Block a user