Skip to content

Latest commit

 

History

History
72 lines (47 loc) · 3.87 KB

File metadata and controls

72 lines (47 loc) · 3.87 KB

How to Set Up Wine for Affinity on Bottles

Before doing anything, make sure you have a .exe version of Affinity Photo, Affinity Designer, and/or Affinity Publisher downloaded from the official Affinity website: https://store.serif.com/en-us/account/downloads

1. Install Bottles

Visit the download page of Bottles' official website, and follow the instructions to download and install Bottles. Flatpak is recommended, as it is the only officially supported install method for Bottles.

Alternately, you may want to install Bottles using the unofficial AppImage.

2. Download and Extract a Wine Fork

Choose one of the following forks of Wine, and download and extract it:

  • ElementalWarriorWine (Recommended) — After downloading the ElementalWarriorWine-x86_64.tar.gz archive file, right click and extract the archive into an ElementalWarriorWine-x86_64 folder.

  • Wine-TKG-affinity — Download the wine-tkg-affinity-archbuilt.tar.zst archive file, then extract the usr/ folder from the archive and rename the folder to wine-tkg-affinity-x86_64.

3. Copy and Paste Wine Fork Binaries to Bottles

Copy and paste the extracted Wine fork folder from the previous step to Bottles' runners directory:

  • Flatpak: ~/.var/app/com.usebottles.bottles/data/bottles/runners
  • AppImage: ~/.local/share/bottles/runners

4. Add Bottle in Bottles

  1. Open Bottles and click on the plus icon.
  2. Name it "Affinity" or "Serif".
  3. Set the enviroment to Custom.
  4. Keep Architecture -> 64bit
  5. Set the runner to ElementalWarriorWine or wine-tkg-affinity, depending on your choice of Wine fork.
  6. Download the install script file for your Wine fork — Visit one of the following links based on your choice of Wine fork, then click the download button located on the top right of the file content to download the install script file, which is in YAML format.
  7. In Bottles, import the install script file for your Wine fork. Import Configuration -> Affinity-ew.yaml
  8. Click Create.
image

5. Extract WinMetadata

  1. Download the WinMetadata.zip archive file.
  2. Extract the WinMetadata folder from the archive into drive_c/windows/system32.

The Affinity app should now work inside that Bottle.

Additional Tips and Tricks

Common Location

The Affinity apps installed with Bottles are located at the following location:

  • Flatpak: ~/.var/app/com.usebottles.bottles/data/bottles/bottles/Affinity/drive_c

How to Fix Studdering

  • Bottles -> Settings -> # Performance | Toggle on Feral GameMode
  • Bottles -> Settings -> # Compatibility | Windows 10 -> Windows 11 *

Dark Theme for Wine

  1. Visit the wine-dark-theme registry file from this repository, and download the file by clicking the download button on the top right.
  2. In the folder where you downloaded the registry file into, run the following command:
    wine regedit wine-dark-theme.reg
  3. If you also want to enable dark theme for the Wine fork for your installed Affinity apps on Bottles, run the command:
    WINEPREFIX="$HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/Affinity" wine regedit wine-dark-theme.reg