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/wines
cp --recursive "$HOME/Documents/ElementalWarrior-wine/wine-install" "/opt/wines/affinity-photo3-wine9.13-part3"
Create a Symlink for
wine64
The 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) forwine
aswine64
:ln -s /opt/wines/affinity-photo3-wine9.13-part3/bin/wine /opt/wines/affinity-photo3-wine9.13-part3/bin/wine64
Create Your Wineprefix:
Use
rum
to 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
.winmd
Files if Using Affinity Version Newer than 1.10.3:As mentioned in the preamble, you will need
winmd
files from a Windows install if you wish to use an Affinity version newer than1.10.3
. They are located inC:/windows/system32/WinMetadata
and 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
.exe
withrum
: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:
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"