mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-12 04:53:52 -06:00
KNULLI's es_systems.yml is Batocera's model: it lists every emulator its configgen knows, and its Config.in selects many of them only on x86_64 boards, which KNULLI has none of. The platform list now holds what at least one board selects, read by the targets scraper, plus a program the launcher runs from the BIOS folder (lexaloffle). 59 cores and 44 standalone emulators leave the list, with their launcher records. The targets scraper follows Config.in and every file it sources, so a select a package declares itself counts (Batocera's mesa3d-rpi4 gives the Pi 4 OpenGL). A sourced file absent at the pin is named and read as empty: KNULLI 20260511 sources package/utils/vtree/Config.in, added in June.
46 lines
1.7 KiB
Python
46 lines
1.7 KiB
Python
"""Scraper for KNULLI per-board emulator availability.
|
|
|
|
KNULLI is a Buildroot external tree on Batocera's model, read with the
|
|
Batocera scraper's Kconfig resolution. Sources (knulli-cfw/knulli-linux, at
|
|
the tag platforms/knulli.yml names):
|
|
- configs/knulli-*.board -- board definitions, each sets
|
|
BR2_PACKAGE_BATOCERA_TARGET_* and includes knulli-board.common
|
|
- package/system/knulli-system/Config.in -- the system config, sourced by
|
|
the root Config.in in place of Batocera's batocera-system/Config.in
|
|
- package/emulationstation/knulli-es-system/es_systems.yml
|
|
-- emulator requireAnyOf flag mapping
|
|
- Config.in and what it sources, Batocera's packages read from the
|
|
batocera submodule at the commit the tag pins
|
|
Sources (knulli-cfw/buildroot, at the submodule commit the tag pins):
|
|
- arch/Config.in, package/mesa3d/Config.in, package/libglvnd/Config.in
|
|
|
|
The *_armhf_libs boards include knulli-board.libs, which builds 32-bit
|
|
libraries for the matching image and turns no system on: they are no target.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .batocera_targets_scraper import Scraper as BatoceraScraper
|
|
from .batocera_targets_scraper import main as batocera_main
|
|
|
|
PLATFORM_NAME = "knulli"
|
|
|
|
|
|
class Scraper(BatoceraScraper):
|
|
PLATFORM = PLATFORM_NAME
|
|
REPO = "knulli-cfw/knulli-linux"
|
|
BOARD_PREFIX = "knulli-"
|
|
CONFIG_IN_PATH = "package/system/knulli-system/Config.in"
|
|
ES_SYSTEMS_PATH = "package/emulationstation/knulli-es-system/es_systems.yml"
|
|
SYSTEM_SYMBOL = "BR2_PACKAGE_KNULLI_SYSTEM"
|
|
BUILDROOT_REPO = "knulli-cfw/buildroot"
|
|
SUBMODULES = {"batocera/": "batocera-linux/batocera.linux"}
|
|
|
|
|
|
def main() -> None:
|
|
batocera_main(Scraper)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|