Deal with dot-underscore files created by macOS when installing a game by drag and drop

I have had a few "bug reports" this week of my Daily Driver demo crashing, it trips over on ._ dot underscore files that are added by macOS when installing via drag and drop.

They have the same name as the file they are related to but with a ._ prefix, which means naïve code that uses playdate.file.listFiles() looking for files with specific extensions will pick them up. In my situation, they are mistaken for track data files.


  • Could such files could be ignored at an SDK level?
  • Or could they be nuked by the system when the playdate restarts?

Ah, apparently this has already been done and will be fixed in a future version of the SDK.

1 Like