Skip to content

Latest commit

 

History

History
84 lines (56 loc) · 4.8 KB

Guide.md

File metadata and controls

84 lines (56 loc) · 4.8 KB

How to Set Up Wine for Affinity on Bottles

Before doing anything, make sure you have a .exe version of Affinity apps. You can download Affinity apps from the official Affinity websites:

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:

  • ElementalWarrior-x86_64 (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

Bottles' Wine-related folders can be found in a hidden directory within your home folder. If you can't see hidden folders in your file browser, you can usually enable them by pressing Ctrl + H.

  • If you installed Bottles via Flatpak, navigate to /home/$USER/.var/app/com.usebottles.bottles/data/bottles/runners/
  • If you installed Bottles via AppImage, navigate to /home/$USER/.local/share/bottles/runners/

Copy and paste the Wine fork folder you extracted in the previous step to this folder.

This is also known as your Wine runner.

4. Add Bottle in Bottles

  1. Open Bottles and click on the plus icon.
  2. Name it "Affinity" or "Serif".
  3. Set the environment 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 Stuttering

  • 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