Skip to content

Latest commit

 

History

History
105 lines (72 loc) · 4.7 KB

File metadata and controls

105 lines (72 loc) · 4.7 KB

How to Set Up Wine for Affinity on Heroic Games Launcher

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 Heroic Games Launcher

Visit the download page of Heroic Games Launcher's official website, and follow the instructions to download and install Heroic Games Launcher. Flatpak is recommended.

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 Heroic Games Launcher

Copy and paste the extracted Wine fork folder from the previous step to Heroic Games Launcher’s Wine directory:

  • Flatpak: ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine
  • Other Install Methods: ~/.config/heroic/tools/wine

4. Add Game in Heroic Games Launcher

  1. Open Heroic Games Launcher and click on Add Game.
  2. Name the game as you wish.
  3. Set the Wine version to ElementalWarriorWine or Wine-TKG-Affinity.
  4. Select the x64 setup .exe you downloaded from Affinity's website as the executable.
  5. Click Finish.

5. Initialize the Wine Prefix

  1. Run the setup file from Heroic to initialize the prefix.
    • It may crash. If it somehow runs successfully, close it manually.

6. Configure Dependencies with Winetricks

  1. Right-click on the game in Heroic and select Settings from the menu.
  2. On the WINE tab, scroll down and click on Winetricks.
  3. Search and install the following dependencies:
    • allfonts
    • dotnet48
    • vcrun2022
  4. Wait for the dependencies to install. Be patient, it's not stuck, just taking time.

7. Adjust Wine Settings

  1. Click on OPEN WINETRICKS GUI.
  2. Select Select the default wineprefix.
  3. Choose Change settings.
  4. Enable the following settings:
    • win11
    • renderer=vulkan
  5. Click OK and keep pressing Cancel until the Winetricks window closes.

8. Install WinMetadata

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

9. Complete the Setup

  1. Press Launch and complete the setup.
  2. Once installation is finished:
    • Right-click on the game in Heroic and select Details from the menu.
    • Click on the three dots at the top-right corner and select Edit App/Game.
    • Change the executable to:
      drive_c/Program Files/Affinity/APPNAMEHERE/APPNAMEHERE.exe
    • Click Finish and Launch the game.

Additional TIps and Tricks

Performance Settings

To optimize performance and reduce latency, right click on a game, select Settings from the menu, then adjust these settings:

  • Go to the Other tab, and check the Game Mode option.

Quote from darkside99:
"These are the best settings for improving performance and reducing latency."

Performance.png

Dark Theme for Wine

  1. Visit the repository's wine-dark-theme.reg file page to download the .reg file by clicking the download button on the top right.
  2. Save the file to your Downloads folder.
  3. Launch a terminal app to open the terminal, then type cd Downloads to change to your Downloads folder.
  4. Run the following command:
    wine regedit wine-dark-theme.reg
  5. Press Enter. You might get a message again saying "Wine could not find a wine-mono package...". Just click Install.

If you also want to enable dark theme for the Wine fork for your installed Affinity apps on Heroic Games Launcher:

  1. Launch Heroic Games Launcher.
  2. Click an Affinity app you installed. Under the INSTALL INFO section, check the WinePrefix folder path.
  3. Run the following command, and replace /path/to/wineprefix with the WinePrefix folder path:
    WINEPREFIX="/path/to/wineprefix/folder" wine regedit wine-dark-theme.reg