fix: add path fields for correct pack subdirectory placement

Cores that load files from system_dir subdirectories (same_cdi/bios/,
neocd/, cannonball/, Citra/sysdata/, mame2003/, etc.) need path: on
each file entry so cross-reference and pack generation place files at
the correct destination. Also fixes neocd.yml using non-standard dest:
field instead of path:.

Closes #41
This commit is contained in:
Abdessamad Derraz
2026-03-29 00:59:57 +01:00
parent 87d3c4c645
commit a37bf11524
9 changed files with 25 additions and 15 deletions

View File

@@ -31,6 +31,7 @@ notes: |
files:
- name: "hiscore.dat"
path: "fbalpha2012/hiscore.dat"
description: "High score persistence database"
required: false
source_ref: "src/burn/hiscore.c:228-232"

View File

@@ -37,6 +37,7 @@ files:
note: "high score definitions, loaded from ROM directory"
- name: cheat.dat
path: "mame2000/cheat/cheat.dat"
required: false
category: game_data
source_ref: "src/cheat.c:210,618,830"

View File

@@ -58,6 +58,7 @@ notes: |
files:
# Data files (system_dir/mame2015/)
- name: hiscore.dat
path: "mame2015/hiscore.dat"
required: false
category: game_data
source_ref: "src/emu/hiscore.c:335-337"

View File

@@ -33,6 +33,7 @@ notes: |
files:
- name: hiscore.dat
path: "mess2015/hiscore.dat"
required: false
category: game_data
source_ref: "src/emu/hiscore.c:335-337"

View File

@@ -38,7 +38,7 @@ files:
# --- Front Loader family ---
- name: neocd_f.rom
dest: neocd/neocd_f.rom
path: "neocd/neocd_f.rom"
system: snk-neogeo-cd
required: false
size: 524288
@@ -46,7 +46,7 @@ files:
source_ref: "src/bios.cpp:59 FRONT_LOADER_SEARCH_PATTERN at 0xC0006C"
- name: front-sp1.bin
dest: neocd/front-sp1.bin
path: "neocd/front-sp1.bin"
system: snk-neogeo-cd
required: false
size: 524288
@@ -54,7 +54,7 @@ files:
source_ref: "src/bios.cpp:59 FRONT_LOADER_SEARCH_PATTERN, src/bios.cpp:148-160 autoByteSwap"
- name: neocd_sf.rom
dest: neocd/neocd_sf.rom
path: "neocd/neocd_sf.rom"
system: snk-neogeo-cd
required: false
size: 524288
@@ -64,7 +64,7 @@ files:
# --- Top Loader family ---
- name: neocd_t.rom
dest: neocd/neocd_t.rom
path: "neocd/neocd_t.rom"
system: snk-neogeo-cd
required: false
size: 524288
@@ -72,7 +72,7 @@ files:
source_ref: "src/bios.cpp:60 TOP_LOADER_SEARCH_PATTERN at 0xC0006C"
- name: top-sp1.bin
dest: neocd/top-sp1.bin
path: "neocd/top-sp1.bin"
system: snk-neogeo-cd
required: false
size: 524288
@@ -80,7 +80,7 @@ files:
source_ref: "src/bios.cpp:60 TOP_LOADER_SEARCH_PATTERN, src/bios.cpp:148-160 autoByteSwap"
- name: neocd_st.rom
dest: neocd/neocd_st.rom
path: "neocd/neocd_st.rom"
system: snk-neogeo-cd
required: false
size: 524288
@@ -90,7 +90,7 @@ files:
# --- CDZ family ---
- name: neocd_z.rom
dest: neocd/neocd_z.rom
path: "neocd/neocd_z.rom"
system: snk-neogeo-cd
required: false
size: 524288
@@ -98,7 +98,7 @@ files:
source_ref: "src/bios.cpp:61 CDZ_SEARCH_PATTERN at 0xC0006C"
- name: neocd.bin
dest: neocd/neocd.bin
path: "neocd/neocd.bin"
system: snk-neogeo-cd
required: false
size: 524288
@@ -106,7 +106,7 @@ files:
source_ref: "src/bios.cpp:61 CDZ_SEARCH_PATTERN, src/bios.cpp:148-160 autoByteSwap"
- name: neocd_sz.rom
dest: neocd/neocd_sz.rom
path: "neocd/neocd_sz.rom"
system: snk-neogeo-cd
required: false
size: 524288
@@ -114,7 +114,7 @@ files:
source_ref: "src/bios.cpp:64 SMKDANBETA_CDZ_SEARCH_PATTERN at 0xC00004"
- name: uni-bioscd.rom
dest: neocd/uni-bioscd.rom
path: "neocd/uni-bioscd.rom"
system: snk-neogeo-cd
required: false
size: 524288

View File

@@ -36,6 +36,7 @@ notes: |
files:
- name: cdimono1.zip
path: "same_cdi/bios/cdimono1.zip"
category: bios_zip
system: cdi
required: true
@@ -69,6 +70,7 @@ files:
sha1: "56d0acd7caad51c7de703247cd6d842b36173079"
- name: cdimono2.zip
path: "same_cdi/bios/cdimono2.zip"
category: bios_zip
system: cdi
required: false
@@ -92,6 +94,7 @@ files:
sha1: "cf02d84977050c71e87a38f1249e83c43a93949b"
- name: cdibios.zip
path: "same_cdi/bios/cdibios.zip"
category: bios_zip
system: cdi
required: false
@@ -115,6 +118,7 @@ files:
sha1: "56d0acd7caad51c7de703247cd6d842b36173079"
- name: cdi910.zip
path: "same_cdi/bios/cdi910.zip"
category: bios_zip
system: cdi
required: false
@@ -153,6 +157,7 @@ files:
sha1: "153d1a977291bedb7420484a9f889325dbd3628e"
- name: cdi490a.zip
path: "same_cdi/bios/cdi490a.zip"
category: bios_zip
system: cdi
required: false

View File

@@ -64,6 +64,7 @@ notes: |
files:
# Data files (system_dir/ume2015/)
- name: hiscore.dat
path: "ume2015/hiscore.dat"
required: false
category: game_data
source_ref: "src/emu/hiscore.c:335-337"