Run DNG4PS 1.1.4 under wine
From CHDK Wiki
DNG4PS run well under wine (xp) 0.9.50.
[FYI, no other Wiki page links to this Wiki page. Is something planned?]
Simply install wine, and after run:
> wine dng4ps_1.1.4d-setup.exe
The postprocess.bat that run exiftool.exe don't work.
For run exiftool you must change postprocess.bat in postprocess.exe in DNG4PS.exe:
> sed 's/postprocess.bat/postprocess.exe/' DNG4PS_1.1.4.exe > DNG4PS_1.1.4l.exe
and then put postprocess.exe in bin (near postprocess.bat):
#!/bin/sh # # postprocess.exe # File_Log="/dev/null" File_Log="/tmp/postprocess" echo "$1" > $File_Log echo "$2" >> $File_Log File_JPG=`winepath "$1" 2> /dev/null` File_DNG=`winepath "$2" 2> /dev/null` echo "exiftool -exif:All= -xmp:All= -MakerNotes:All= -IPTC:All= -AsShotWhiteXY= \ -OriginalRawFileName= -DNGLensInfo= -tagsfromfile $File_JPG -exif:all \ -subifd:all -all>xmp:all -overwrite_original $File_DNG" >> $File_Log exiftool -exif:All= -xmp:All= -MakerNotes:All= -IPTC:All= -AsShotWhiteXY= \ -OriginalRawFileName= -DNGLensInfo= -tagsfromfile "$File_JPG" -exif:all \ -subifd:all "-all>xmp:all" -overwrite_original "$File_DNG" >> $File_Log 2>&1
Now run:
> wine DNG4PS_1.1.4l.exe
