Pandafe's "prefix" RegEx/parser seems to have been made "too loose" (not strict enough) and it hence falsely matches the Apple double file representation (e.g. ._pcsx_rearmed.notaz) instead of the real program definition file (e.g. pcsx_rearmed.notaz).
It then loads the Apple Double file, which is a binary file which has no YAML syntax, and hence program invocation fails.
How Pandafe's platform + program definition files work by design
In a platform definition file like /your-sd-card/pandora/appdata/pandafe/Platform/playstation the lines:
ensure that this PND reference will still work also when you upgrade a PND like PCSX ReARMed:
The PNDs pnd_id remains the same (e.g. package.pcsx_rearmed.notaz) but its child id changes (e.g. from pcsx_rearmed.notaz.r22 to pcsx_rearmed.notaz.r23).
But the app-id-type: prefix ensures that as long as the prefix is the same, and only the suffix changes (e.g. .r22 to .r23) the reference still works.
What are Apple double files? Essentially file.txt + ._file.txt (sidecar file)
SD cards formatted as FAT or ExFAT used in a Mac, may result in so called Apple Double files.
If a file contains additional metadata which the filesystem of a "pass-through" medium (such as a USB thumb drive or SD card formatted as FAT or ExFAT) does not natively support (e.g Finder Tags, Spotlight comment, xattr, file icon, show/hide suffix flag, etc) then the Mac saves that metadata into a sidecar file.
Usually these are harmless: Dot files are usually invisible on Unix systems.
But in case of Pandafe it leads to a false positive match.
Proposed Fix
The prefix matches from the filename start. Nothing prior! Only that way it's an exact prefix match.
Workaround for Mac users: Clean invisible Mac Metadata files before unmounting your SD card
To see what Apple Double files you have on your SD card run this on your Mac Terminal:
Bug
._pcsx_rearmed.notaz
) instead of the real program definition file (e.g.pcsx_rearmed.notaz
).How Pandafe's platform + program definition files work by design
In a platform definition file like
/your-sd-card/pandora/appdata/pandafe/Platform/playstation
the lines:refer to the program definition file
/your-sd-card/pandora/appdata/
pandafe/data/Program/pcsx_rearmed.notaz whose lines:ensure that this PND reference will still work also when you upgrade a PND like PCSX ReARMed:
pnd_id
remains the same (e.g.package.pcsx_rearmed.notaz
) but its childid
changes (e.g. frompcsx_rearmed.notaz.r22
topcsx_rearmed.notaz.r23
).app-id-type: prefix
ensures that as long as the prefix is the same, and only the suffix changes (e.g..r22
to.r23
) the reference still works.What are Apple double files? Essentially
file.txt
+._file.txt
(sidecar file)Proposed Fix
Workaround for Mac users: Clean invisible Mac Metadata files before unmounting your SD card
To see what Apple Double files you have on your SD card run this on your Mac Terminal:
In my case I had:
Which got taken instead of the real program definition file:
To delete all invisible Mac metadata files from your SD card:
Close all Finder windows which have the SD card or any of its sub-folders open.
Close all apps which may have folders/files od that SD card open.
Now that nothing accesses the SD card anymore, scrub it from invisible Mac metadata files:
Unmount the SD card from your Mac.
Physically eject the SD card and put it into your Pandora.