Can an OSX user please run the attached script on a (FAT/FAT32) card that has one or more of those hidden special files in one or more of the following folders:
/ (card root)
DCIM
CHDK/LANG
CHDK/HELP
CHDK/SCRIPTS
5 predefined folders can be chosen, the script will attempt to dump the directory into a binary file in the card root: ASLASH.BIN, LANG.BIN, HELP.BIN, DCIM.BIN, SCRIPTS.BIN.
Please upload those files (zipped, for example).
I'd like to see how OSX creates directory entries.
The script needs miscellaneous stuff -> enable lua native calls .
Sorry for the off-topic (2 Mac users here recently, perhaps they will notice), my plan is to make those files invisible in the CHDK file selector.
The extra files and folders created by OS X are marked with the DOS_ATTR_HIDDEN attribute in the filesystem.
The attached patch adds a menu option and code to the file browser to show/hide 'hidden' files on the SD card. They are shown by default (current functionality).
This should also hide the Windows recycle bin and system folders that can sometimes get created on the cards.
If there are no issues with this, I will added it to 1.5 later.
Phil.