Files
libretro/scripts/exporter/knulli_exporter.py
T
Abdessamad Derraz 2bdac466a9 feat: add knulli, amberelec and emuelec platforms
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/.
2026-10-22 03:42:20 +02:00

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}