If .sdr dir doesn't exist generate APNX in the same directory
Give up if thumbnails dir doesn't exist.