Yorick expects binary files to be in PDB format, but it can be trained to recognize any file whose format can be described using its Contents Log file description language. The basic idea is that if you can figure out how to compute the names, data types, dimensions, and disk addresses of the data in the file, you can train Yorick to open the file; once open, all of Yorick's machinery to manipulate the data will grind away as usual.
The following functions can be used to teach Yorick about a non-PDB file; use help to get complete details:
To write a plain text description of any binary file, use:
dump_clog, f, clogname write Contents Log for f