Wineprefix Setup
Setting Up Your Build and Wineprefix
Refer to the "Wine User Guide documentation" for more information about using Wine.
Copy Your Build to the Default Directory
Since this guide uses
rum, you need to copy your custom Wine build to/opt/wines/, which is the default directory used byrum:mkdir /opt/winescp --recursive "$HOME/Documents/ElementalWarrior-wine/wine-install" "/opt/wines/affinity-photo3-wine9.13-part3"Create a Symlink for
wine64The custom version of Wine built here might not include a binary named
wine64, which can cause issues when using Winetricks. To avoid these problems, create a symbolic link (symlink) forwineaswine64:ln -s /opt/wines/affinity-photo3-wine9.13-part3/bin/wine /opt/wines/affinity-photo3-wine9.13-part3/bin/wine64Create Your Wineprefix:
Use
rumto create your WINEPREFIX ($HOME/.wineAffinity):rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wineboot --initInstall Dependencies with winetricks:
rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity winetricks --unattended dotnet48 corefontsSet the Wineprefix to Windows 11 if Needed:
Winetricks might set your prefix to Win7 after installing dotnet, so you may need to set it back to Win11 with the following command
rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine winecfg -v win11Copy
.winmdFiles if Using Affinity Version Newer than 1.10.3:As mentioned in the preamble, you will need
winmdfiles from a Windows install if you wish to use an Affinity version newer than1.10.3. They are located inC:/windows/system32/WinMetadataand need to go in$HOME/.wineAffinity/drive_c/windows/system32/WinMetadata.cp --recursive [WinMetadata folder path] "$HOME/.wineAffinity/drive_c/windows/system32/WinMetadata"Run Any Affinity Installer
.exewithrum:rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine [Path to the installer].exeLaunch Installed Affinity Software:
To launch the desired Affinity software, use the following commands:
rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Publisher 2/Publisher.exe"rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Designer 2/Designer.exe"rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Photo 2/Photo.exe"
