mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-24 04:39:06 -05:00
Each OS publishes Batocera's systems dict (knulli-systems, and batocera-systems at AmberELEC's newest prerelease commit and EmuELEC v4.8), read with the shared parser. Cores come from each OS's own ES list. AmberELEC and EmuELEC declare neogeo/ and ports/ beside bios/ from /storage/roms, so their packs extract there and core_destination puts core files under bios/.
32 lines
837 B
Python
32 lines
837 B
Python
"""Exporter for KNULLI's knulli-systems.
|
|
|
|
A fork of Batocera's script, checked the same way: es_systems names a
|
|
libretro core under `libretro` and a standalone by itself, and entries carry
|
|
Batocera's emulator and core gates.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .batocera_exporter import Exporter as BatoceraExporter
|
|
|
|
SOURCE_URL = (
|
|
"https://raw.githubusercontent.com/knulli-cfw/knulli-linux/knulli-main"
|
|
"/package/system/knulli-scripts/scripts/knulli-systems"
|
|
)
|
|
|
|
|
|
class Exporter(BatoceraExporter):
|
|
"""Write KNULLI's knulli-systems, corrected."""
|
|
|
|
@staticmethod
|
|
def platform_name() -> str:
|
|
return "knulli"
|
|
|
|
@staticmethod
|
|
def native_filename() -> str:
|
|
return "knulli-systems"
|
|
|
|
@staticmethod
|
|
def native_sources() -> dict[str, str]:
|
|
return {"knulli-systems": SOURCE_URL}
|