mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-20 00:28:09 -06:00
feat: place shadps4 files below the configs root
Batocera and KNULLI start shadPS4 from CONFIGS/shadps4, so its user folder sits below /userdata/system/configs. The scrapers read that root from batoceraPaths and write configs_root with its source_ref. The manifest names it configs_directory, and install.py honours it through the same checks as roms_directory: character rules, at most two ups, the ancestor match and the lexical bound.
This commit is contained in:
1 parent
9d955bb980
commit
7e22c38113
17 files changed
+275
-91
No files matched your search
@@ -49,7 +49,9 @@ from .batocera_scraper import (
|
||||
submodule_revision,
|
||||
)
|
||||
from .es_emulators import attach_system_cores
|
||||
from .batocera_launchers import configs_root
|
||||
from .knulli_launchers import BATOCERA_SUBMODULE, extract_launchers
|
||||
from .knulli_launchers import configgen as knulli_configgen
|
||||
|
||||
PLATFORM_NAME = "knulli"
|
||||
|
||||
@@ -167,6 +169,9 @@ class Scraper(BaseScraper):
|
||||
# Batocera's does: the systems each core runs for are its save folders.
|
||||
result["libretro_systems"] = es_systems_libretro_systems(es_systems, dropped)
|
||||
result["launchers"] = launchers
|
||||
result["configs_root"] = configs_root(
|
||||
knulli_configgen(lambda path: self._fetch_text(_RAW.format(ref=self.tag) + path))
|
||||
)
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user