Update Lensfun Windows

How can I update Lensfun in Windows please? I submitted some sample images for calibration which has now been done but I don’t know how to update the database. I tried to update my compact-panasonic.xml file with the updated data from Github but that didn’t work, it appears the database on Github is version 2 and the database in Rawtherapee is version 1.

Weird? That’s exactly what I do and it works, but I use Darktable. Are you sure you have updated the right lens and that it’s properly identified? I’ve had some issues with names

There is a python script in the lensfun repo that’ll convert v2 to v1 profiles, or you can grab the zip file from where the lensfun update looks for it.

https://lensfun.github.io/db/version_1.tar.bz2

You can see the URLs in this file: lensfun/apps/lensfun-update-data at master · lensfun/lensfun · GitHub

Thank you both. I have tried again and have got it working. I must have done something wrong the first two times I tried it.