I wrote a function in R (see link) to import .D files. I worked out the ion counts and the M/z values. Does anyone knows how the scan times are stored? They also somehow seem to be in the binary file as import without the meta data text files still works correct in chemstation.
https://gist.github.com/lorenzgerber/f840249930d186b71a0b