Warning
You are on the v1 of the guide.
This version helps you build wine from scratch.
The up to date version of this guide is available at the bottom on the sidemenu as the v2.
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 "$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/wine64 -
Create Your Wineprefix:
Use
rumto create your WINEPREFIX ($HOME/.wineAffinity):rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wineboot --init -
Install Dependencies with winetricks:
rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity winetricks --unattended dotnet48 corefonts -
Set 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 win11 -
Copy
.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 [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].exe -
Launch Installed Affinity Software:
To launch the desired Affinity software, use the following commands:
Publisher
rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Publisher 2/Publisher.exe"Designer
rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Designer 2/Designer.exe"Photo
rum affinity-photo3-wine9.13-part3 $HOME/.wineAffinity wine "$HOME/.wineAffinity/drive_c/Program Files/Affinity/Photo 2/Photo.exe"