Automatically generate PTR files for the LUCID project