Thank you for this script, it's great.
The script Firmar20(Unity20Project).bat worked for me after modifying it a little and it created the NSP and I successfully installed it using dbi mtp, but when I run it, it says corrupt data. I used prod.keys extracted with lockpickrcm.
Edit:
------
Since...