mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 03:18:52 -06:00
refactor: read listxml through one streamer
scripts/scraper/listxml.py holds the element window, attribute reader, ROM member extraction and open_listxml that romset_dat_importer, mame_devices and arcade_parent_importer each wrote. On mame0289lx.zip and the 19 FBNeo DATs the three produce the same recipes, release and sets as before. Attribute values are entity-decoded everywhere: romset_dat_importer kept f&m.basic.bin where the archive member is f&m.basic.bin. The five comx_eb member names of recipes/mame.json are corrected to what a re-import now writes. A release zip with no or several .xml members is refused by name instead of raising StopIteration.
This commit is contained in:
1 parent
3505eaa835
commit
db1446079a
10 files changed
+317
-254
No files matched your search
@@ -49,12 +49,12 @@ from .mame_devices import (
|
||||
floppy_drives,
|
||||
floppy_sample_systems,
|
||||
locate_sources,
|
||||
open_listxml,
|
||||
platform_seeds,
|
||||
profile_seeds,
|
||||
scan_release,
|
||||
source_path,
|
||||
)
|
||||
from .listxml import open_listxml
|
||||
from .mame_parser import parse_mame_source_tree
|
||||
from core.paths import REPO_ROOT
|
||||
|
||||
|
||||
Reference in new issue
Block a user