fix: correct type and path fields across 58 emulator profiles

49 libretro cores had type: game/utility/test instead of type: libretro,
breaking the all_libretro filtering in resolve_platform_cores and
excluding them from platform packs (e.g. cannonball missing from
RetroArch). core_classification already carries the descriptive role.

9 profiles with subdirectory-loading cores (cannonball/, nxengine/,
Citra/sysdata/, mame2003/, mame2003-plus/, mame2010/) now have path:
fields so cross-reference places files at the correct destination.

resolve_local_file now tries basename when name contains a path
separator (e.g. res/tilemap.bin -> tilemap.bin), fixing resolution
of files with subdirectory names.
This commit is contained in:
Abdessamad Derraz
2026-03-29 09:53:46 +02:00
parent 36f6ad1379
commit b7528a71e7
58 changed files with 125 additions and 49 deletions
+4
View File
@@ -62,24 +62,28 @@ notes: |
files:
# Data files (system_dir/mame2003-plus/)
- name: hiscore.dat
path: "mame2003-plus/hiscore.dat"
required: false
category: game_data
source_ref: "src/hiscore.c:15,248"
note: "high score definitions, compiled into binary and spawned on first run"
- name: cheat.dat
path: "mame2003-plus/cheat.dat"
required: false
category: game_data
source_ref: "src/cheat.c:383,8249-8255"
note: "cheat definitions, requires cheats core option enabled"
- name: history.dat
path: "mame2003-plus/history.dat"
required: false
category: game_data
source_ref: "src/datafile.c:327,608"
note: "game history and information database"
- name: mameinfo.dat
path: "mame2003-plus/mameinfo.dat"
required: false
category: game_data
source_ref: "src/datafile.c:327,638"