Template:AdobeDngConverterLinux: Difference between revisions

From RawPedia
Jump to navigation Jump to search
(Added workaround for crash affecting Adobe DNG Converter >=11.2)
(Updated for AdobeDNGConverter 16.0.1)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
# Install [http://www.winehq.org/ Wine], preferably using your package manager.
# Install [http://www.winehq.org/ Wine], preferably using your package manager. At the time of writing, wine-8.21 is confirmed to work well with Adobe DNG Converter 16.0.1.
# [http://supportdownloads.adobe.com/product.jsp?product=106&platform=Windows Download Adobe DNG Converter for Windows].
# Download Adobe DNG Converter for Windows. Try the newest version first. If that doesn't work, try an older version. You can download the newest version from [https://helpx.adobe.com/camera-raw/using/adobe-dng-converter.html Adobe], or you can download older versions from [https://www.filehorse.com/download-adobe-dng-converter/old-versions/ FileHorse].
# Set Wine to Windows 10 mode:
#: <pre style="white-space:pre-wrap;">WINEPREFIX="$HOME/wine-dng" winecfg</pre>
#: Wine might ask you to install Mono. At the time of writing, it was not needed to run Adobe DNG Converter, so installing it is not required but not needed either.
#: In the "Applications" tab set "Windows Version" to "Windows 10". Hit "Ok" to close Wine configuration.
# Install Adobe DNG Converter:
# Install Adobe DNG Converter:
#: <pre style="white-space:pre-wrap;">WINEPREFIX="$HOME/wine-dng" wine /path/to/DNGConverter_version.exe</pre>
#: <pre style="white-space:pre-wrap;">WINEPREFIX="$HOME/wine-dng" wine ~/Downloads/AdobeDNGConverter_x64_16_0_1.exe</pre>
#: It will install to <code>"$HOME/wine-dng/drive_c/Program Files (x86)/Adobe/Adobe DNG Converter.exe"</code>
#: It will install to <code>$HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe</code>
# Adobe DNG Converter versions >= 11.2 will crash on startup (the issue affects all versions of wine, see wine bug [https://bugs.winehq.org/show_bug.cgi?id=46972 #46972]), but the cause of the crash can be easily circumvented.
# This step is optional. There is an issue affecting all versions of Wine older than 5.0-rc5 when using Adobe DNG Converter version 11.2 or newer. The issue results in Wine crashing on startup. The issue was fixed in Wine 5.0-rc5, see Wine bug [https://bugs.winehq.org/show_bug.cgi?id=46972 #46972]. If you use any version of Wine lower than 5.0-rc5, you can easily circumvent the issue.
#: Run Wine configuration:
#: Run Wine configuration:
#: <pre style="white-space:pre-wrap;">WINEPREFIX="$HOME/wine-dng" winecfg</pre>
#: <pre style="white-space:pre-wrap;">WINEPREFIX="$HOME/wine-dng" winecfg</pre>
#: Go to the "Libraries" tab, add a new override for <code>api-ms-win-core-winrt-error-l1-1-0</code>, then edit it and select "Disable". Done.
#: Go to the "Libraries" tab, add a new override for <code>api-ms-win-core-winrt-error-l1-1-0</code>, then edit it and select "Disable". Done.
# Run Adobe DNG Converter:
# Run Adobe DNG Converter:
#: <pre style="white-space:pre-wrap;">WINEPREFIX="$HOME/wine-dng" wine "$HOME/wine-dng/drive_c/Program Files (x86)/Adobe/Adobe DNG Converter.exe"</pre>
#: <pre style="white-space:pre-wrap;">WINEPREFIX="$HOME/wine-dng" wine "$HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe"</pre>
# Add an alias so that you can run Adobe DNG Converter from a console with ease:
# Add an alias so that you can run Adobe DNG Converter from a console with ease:
#: <pre style="white-space:pre-wrap;">echo "alias dng='WINEPREFIX=\"\$HOME/wine-dng\" wine \"\$HOME/wine-dng/drive_c/Program Files (x86)/Adobe/Adobe DNG Converter.exe\"'" >> ~/.bashrc && exec bash</pre>
#: <pre style="white-space:pre-wrap;">echo "alias dng='WINEPREFIX=\"\$HOME/wine-dng\" wine \"\$HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe\"'" >> ~/.bashrc && exec bash</pre>
# To run Adobe DNG Converter, just type <code>dng</code> in a console.
# To run Adobe DNG Converter, just type <code>dng</code> in a console.

Latest revision as of 00:45, 6 December 2023

  1. Install Wine, preferably using your package manager. At the time of writing, wine-8.21 is confirmed to work well with Adobe DNG Converter 16.0.1.
  2. Download Adobe DNG Converter for Windows. Try the newest version first. If that doesn't work, try an older version. You can download the newest version from Adobe, or you can download older versions from FileHorse.
  3. Set Wine to Windows 10 mode:
    WINEPREFIX="$HOME/wine-dng" winecfg
    Wine might ask you to install Mono. At the time of writing, it was not needed to run Adobe DNG Converter, so installing it is not required but not needed either.
    In the "Applications" tab set "Windows Version" to "Windows 10". Hit "Ok" to close Wine configuration.
  4. Install Adobe DNG Converter:
    WINEPREFIX="$HOME/wine-dng" wine ~/Downloads/AdobeDNGConverter_x64_16_0_1.exe
    It will install to $HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe
  5. This step is optional. There is an issue affecting all versions of Wine older than 5.0-rc5 when using Adobe DNG Converter version 11.2 or newer. The issue results in Wine crashing on startup. The issue was fixed in Wine 5.0-rc5, see Wine bug #46972. If you use any version of Wine lower than 5.0-rc5, you can easily circumvent the issue.
    Run Wine configuration:
    WINEPREFIX="$HOME/wine-dng" winecfg
    Go to the "Libraries" tab, add a new override for api-ms-win-core-winrt-error-l1-1-0, then edit it and select "Disable". Done.
  6. Run Adobe DNG Converter:
    WINEPREFIX="$HOME/wine-dng" wine "$HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe"
  7. Add an alias so that you can run Adobe DNG Converter from a console with ease:
    echo "alias dng='WINEPREFIX=\"\$HOME/wine-dng\" wine \"\$HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe\"'" >> ~/.bashrc && exec bash
  8. To run Adobe DNG Converter, just type dng in a console.