From 68b1c575ae10fcf6e3871a1597e56eb2e3b2fe65 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Wed, 18 Mar 2026 15:56:50 +0100 Subject: [PATCH] feat: add data directory registry --- platforms/_data_dirs.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 platforms/_data_dirs.yml diff --git a/platforms/_data_dirs.yml b/platforms/_data_dirs.yml new file mode 100644 index 00000000..29e86748 --- /dev/null +++ b/platforms/_data_dirs.yml @@ -0,0 +1,38 @@ +# Data directory sources for libretro cores. +# Platforms reference entries by key via data_directories: [{ref: key, destination: path}]. +# Pack generator auto-refreshes from source. Use --offline to skip. +# Each entry cites the original emulator source code that requires the directory. + +data_directories: + # ref: DolphinLibretro/Boot.cpp:72-73 — system/dolphin-emu/Sys/ + dolphin-sys: + source_url: "https://github.com/libretro/dolphin/archive/{version}.tar.gz" + source_path: "dolphin-{version}/Data/Sys" + version: master + local_cache: data/dolphin-sys + exclude: [Themes] + description: "Dolphin system data (GameSettings, DSP, fonts, shaders)" + + # ref: ppsspp/ext/native/ui/ui_screen.cpp — system/PPSSPP/ + ppsspp-assets: + source_url: "https://github.com/hrydgard/ppsspp/archive/{version}.tar.gz" + source_path: "ppsspp-{version}/assets" + version: master + local_cache: data/ppsspp-assets + description: "PPSSPP fonts, backgrounds, shaders, lang files" + + # ref: bluemsx-libretro/system/ — system/Databases/ + bluemsx-databases: + source_url: "https://github.com/libretro/blueMSX-libretro/archive/{version}.tar.gz" + source_path: "blueMSX-libretro-{version}/system/Databases" + version: master + local_cache: data/bluemsx-databases + description: "blueMSX machine database" + + # ref: bluemsx-libretro/system/ — system/Machines/ + bluemsx-machines: + source_url: "https://github.com/libretro/blueMSX-libretro/archive/{version}.tar.gz" + source_path: "blueMSX-libretro-{version}/system/Machines" + version: master + local_cache: data/bluemsx-machines + description: "blueMSX machine ROM configs"