Installer affinity-by-canva-1018

files:
- setup: https://downloads.affinity.studio/Affinity%20x64.exe
- WinMetadata: https://archive.org/download/win-metadata/WinMetadata.zip
- Windows.winmd: https://github.com/microsoft/windows-rs/raw/master/crates/libs/bindgen/default/Windows.winmd
- Wintypes_Shim.dll.so: https://github.com/ElementalWarrior/wine-wintypes.dll-for-affinity/raw/refs/heads/master/wintypes_shim.dll.so
game:
  exe: $GAMEDIR/drive_c/Program Files/Affinity/Affinity/Affinity.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix...
    name: create_prefix
- merge:
    description: Copying WinMetadata package
    dst: $GAMEDIR
    src: WinMetadata
- extract:
    description: Extracting WinMetadata...
    dst: $GAMEDIR/drive_c/windows/system32/WinMetadata
    file: $GAMEDIR/WinMetadata.zip
    filename: WinMetadata.zip
- execute:
    command: mkdir -p "$GAMEDIR/drive_c/windows/system32/winmetadata" "$GAMEDIR/drive_c/Program
      Files/Affinity/Affinity"
    description: Preparing directories for helper files...
- task:
    app: --unattended --force vcrun2022 dotnet48 renderer=vulkan corefonts tahoma
      win11
    description: Installing necessary Winetricks packages...
    name: winetricks
- task:
    description: Running Affinity installer...
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- move:
    description: Placing Windows.winmd helper file (if provided)...
    dst: $GAMEDIR/drive_c/windows/system32/winmetadata/Windows.winmd
    src: Windows.winmd
- move:
    description: Placing Wintypes_Shim.dll.so helper file (if provided)...
    dst: $GAMEDIR/drive_c/Program Files/Affinity/Affinity/Wintypes_Shim.dll.so
    src: Wintypes_Shim.dll.so
metadata:
  banner_url: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Banner.png
  cover_url: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Cover.png
  icon_url: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Icons/Affinity-Canva.svg
  year: 2025
system:
  gamescope: false
  xephyr_fullscreen: false
wine:
  battleye: false
  d3d_extras: false
  dxvk: false
  dxvk_nvapi: false
  eac: false
  fsr: false
  version: null
  vkd3d: false
description: AffinityOnLinux
game_slug: affinity-by-canva
gogslug: ''
humblestoreid: ''
installer_slug: affinity-by-canva-1018
name: Affinity-By-Canva
notes: "https://github.com/seapear/AffinityOnLinux/blob/main/Guides/Lutris/Guide.md\
  \ for more information.\r\nOfficial Runner Found here: https://github.com/seapear/AffinityOnLinux/releases/tag/v10.18-staged.\r\
  \n\r\nOverview =================================================================\r\
  \nThis YAML automates the installation of Affinity Suite on Linux using a portable,\
  \ custom Wine runner (GameDirectionWine-x86_64, based on Wine 10.18). It sets up\
  \ all required dependencies, prepares helper folders, and installs the Affinity\
  \ applications inside a managed Lutris prefix.\r\n=================\r\n\r\n1. Runner\
  \ Requirements\r\nThe YAML expects a local Wine runner located at:\r\n~/.local/share/lutris/runners/wine/GameDirectionWine-x86_64/\r\
  \nThis should contain the portable Wine 10.18 (Staged) build from:\r\nhttps://github.com/seapear/AffinityOnLinux/releases/tag/v10.18-staged\r\
  \n\r\nVerify that running:\r\nbin/wine64 --version\r\noutputs wine-10.18\r\n\r\n\
  If you rename or update the folder, adjust the YAML line:\r\nwine:\r\n  version:\
  \ GameDirectionWine-x86_64\r\nto match your folder name exactly.\r\n\r\n2. File\
  \ Inputs\r\nDuring installation, Lutris will prompt for or download these files:\r\
  \nsetup: Local Affinity Suite installer (select manually)\r\nWinMetadata.zip: https://archive.org/download/win-metadata/WinMetadata.zip\r\
  \nWindows.winmd: https://github.com/microsoft/windows-rs/raw/master/crates/libs/bindgen/default/Windows.winmd\r\
  \nWintypes_Shim.dll.so: https://github.com/ElementalWarrior/wine-wintypes.dll-for-affinity/raw/refs/heads/master/wintypes_shim.dll.so\r\
  \n\r\nYou can pre-download these to speed up installation or run offline by placing\
  \ them beside the YAML file before installing.\r\n\r\n3. Directory Structure\r\n\
  The installer will automatically ensure these directories exist:\r\n$GAMEDIR/\r\n\
  \ \u2514\u2500\u2500 drive_c/\r\n     \u251C\u2500\u2500 Program Files/\r\n    \
  \ \u2502    \u2514\u2500\u2500 Affinity/Affinity/\r\n     \u2502         \u251C\u2500\
  \u2500 Affinity.exe\r\n     \u2502         \u2514\u2500\u2500 Wintypes_Shim.dll.so\r\
  \n     \u2514\u2500\u2500 windows/system32/winmetadata/\r\n          \u251C\u2500\
  \u2500 Windows.winmd\r\n          \u2514\u2500\u2500 (other metadata files)\r\n\r\
  \n4. Post-Install Behavior\r\nAfter the setup completes, Lutris is configured to\
  \ launch:\r\n/home/$USER/Games/affinity-suite/drive_c/Program Files/Affinity/Affinity/Affinity.exe\r\
  \n\r\nIf the executable name differs (for example, Designer, Photo, or Publisher),\
  \ edit the path in the YAML or inside Lutris \u2192 Configure \u2192 Game Options\
  \ \u2192 Executable.\r\n\r\n5. Artwork and Metadata\r\nThis YAML includes metadata\
  \ for icon, banner, and cover art, but Lutris only auto-loads this when installed\
  \ from lutris.net. For local installs, manually set these once the game appears\
  \ in your library:\r\nIcon: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Icons/Affinity-Canva.svg?raw=true\r\
  \nCover: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Cover.png?raw=true\r\
  \nBanner: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Banner.png?raw=true\r\
  \n\r\n6. Common Adjustments\r\nDifferent Wine or Proton builds: set wine.version\
  \ to any installed runner name (for example, lutris-GE-Proton8-26-x86_64).\r\nOffline\
  \ operation: remove URLs in files: and use \u201CN/A:\u201D prompts so users select\
  \ local copies.\r\nTesting new builds: replace GameDirectionWine-x86_64 with newer\
  \ Wine versions or your own portable build.\r\n\r\n7. Troubleshooting\r\nRunner\
  \ not found: ensure folder name matches the version: value exactly.\r\nMissing icons:\
  \ add ?raw=true to all GitHub image URLs or re-link in Lutris manually.\r\nAffinity\
  \ fails to launch: re-run the installer, confirm helper files are in the proper\
  \ directories, and verify your prefix architecture matches win64."
runner: wine
script:
  files:
  - setup: https://downloads.affinity.studio/Affinity%20x64.exe
  - WinMetadata: https://archive.org/download/win-metadata/WinMetadata.zip
  - Windows.winmd: https://github.com/microsoft/windows-rs/raw/master/crates/libs/bindgen/default/Windows.winmd
  - Wintypes_Shim.dll.so: https://github.com/ElementalWarrior/wine-wintypes.dll-for-affinity/raw/refs/heads/master/wintypes_shim.dll.so
  game:
    exe: $GAMEDIR/drive_c/Program Files/Affinity/Affinity/Affinity.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating Wine prefix...
      name: create_prefix
  - merge:
      description: Copying WinMetadata package
      dst: $GAMEDIR
      src: WinMetadata
  - extract:
      description: Extracting WinMetadata...
      dst: $GAMEDIR/drive_c/windows/system32/WinMetadata
      file: $GAMEDIR/WinMetadata.zip
      filename: WinMetadata.zip
  - execute:
      command: mkdir -p "$GAMEDIR/drive_c/windows/system32/winmetadata" "$GAMEDIR/drive_c/Program
        Files/Affinity/Affinity"
      description: Preparing directories for helper files...
  - task:
      app: --unattended --force vcrun2022 dotnet48 renderer=vulkan corefonts tahoma
        win11
      description: Installing necessary Winetricks packages...
      name: winetricks
  - task:
      description: Running Affinity installer...
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - move:
      description: Placing Windows.winmd helper file (if provided)...
      dst: $GAMEDIR/drive_c/windows/system32/winmetadata/Windows.winmd
      src: Windows.winmd
  - move:
      description: Placing Wintypes_Shim.dll.so helper file (if provided)...
      dst: $GAMEDIR/drive_c/Program Files/Affinity/Affinity/Wintypes_Shim.dll.so
      src: Wintypes_Shim.dll.so
  metadata:
    banner_url: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Banner.png
    cover_url: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Cover.png
    icon_url: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Icons/Affinity-Canva.svg
    year: 2025
  system:
    gamescope: false
    xephyr_fullscreen: false
  wine:
    battleye: false
    d3d_extras: false
    dxvk: false
    dxvk_nvapi: false
    eac: false
    fsr: false
    version: null
    vkd3d: false
slug: affinity-by-canva-1018
steamid: null
version: '10.18'
year: 2025
{
  "game_slug": "affinity-by-canva",
  "version": "10.18",
  "description": "AffinityOnLinux",
  "notes": "https://github.com/seapear/AffinityOnLinux/blob/main/Guides/Lutris/Guide.md for more information.\r\nOfficial Runner Found here: https://github.com/seapear/AffinityOnLinux/releases/tag/v10.18-staged.\r\n\r\nOverview =================================================================\r\nThis YAML automates the installation of Affinity Suite on Linux using a portable, custom Wine runner (GameDirectionWine-x86_64, based on Wine 10.18). It sets up all required dependencies, prepares helper folders, and installs the Affinity applications inside a managed Lutris prefix.\r\n=================\r\n\r\n1. Runner Requirements\r\nThe YAML expects a local Wine runner located at:\r\n~/.local/share/lutris/runners/wine/GameDirectionWine-x86_64/\r\nThis should contain the portable Wine 10.18 (Staged) build from:\r\nhttps://github.com/seapear/AffinityOnLinux/releases/tag/v10.18-staged\r\n\r\nVerify that running:\r\nbin/wine64 --version\r\noutputs wine-10.18\r\n\r\nIf you rename or update the folder, adjust the YAML line:\r\nwine:\r\n  version: GameDirectionWine-x86_64\r\nto match your folder name exactly.\r\n\r\n2. File Inputs\r\nDuring installation, Lutris will prompt for or download these files:\r\nsetup: Local Affinity Suite installer (select manually)\r\nWinMetadata.zip: https://archive.org/download/win-metadata/WinMetadata.zip\r\nWindows.winmd: https://github.com/microsoft/windows-rs/raw/master/crates/libs/bindgen/default/Windows.winmd\r\nWintypes_Shim.dll.so: https://github.com/ElementalWarrior/wine-wintypes.dll-for-affinity/raw/refs/heads/master/wintypes_shim.dll.so\r\n\r\nYou can pre-download these to speed up installation or run offline by placing them beside the YAML file before installing.\r\n\r\n3. Directory Structure\r\nThe installer will automatically ensure these directories exist:\r\n$GAMEDIR/\r\n \u2514\u2500\u2500 drive_c/\r\n     \u251c\u2500\u2500 Program Files/\r\n     \u2502    \u2514\u2500\u2500 Affinity/Affinity/\r\n     \u2502         \u251c\u2500\u2500 Affinity.exe\r\n     \u2502         \u2514\u2500\u2500 Wintypes_Shim.dll.so\r\n     \u2514\u2500\u2500 windows/system32/winmetadata/\r\n          \u251c\u2500\u2500 Windows.winmd\r\n          \u2514\u2500\u2500 (other metadata files)\r\n\r\n4. Post-Install Behavior\r\nAfter the setup completes, Lutris is configured to launch:\r\n/home/$USER/Games/affinity-suite/drive_c/Program Files/Affinity/Affinity/Affinity.exe\r\n\r\nIf the executable name differs (for example, Designer, Photo, or Publisher), edit the path in the YAML or inside Lutris \u2192 Configure \u2192 Game Options \u2192 Executable.\r\n\r\n5. Artwork and Metadata\r\nThis YAML includes metadata for icon, banner, and cover art, but Lutris only auto-loads this when installed from lutris.net. For local installs, manually set these once the game appears in your library:\r\nIcon: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Icons/Affinity-Canva.svg?raw=true\r\nCover: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Cover.png?raw=true\r\nBanner: https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Banner.png?raw=true\r\n\r\n6. Common Adjustments\r\nDifferent Wine or Proton builds: set wine.version to any installed runner name (for example, lutris-GE-Proton8-26-x86_64).\r\nOffline operation: remove URLs in files: and use \u201cN/A:\u201d prompts so users select local copies.\r\nTesting new builds: replace GameDirectionWine-x86_64 with newer Wine versions or your own portable build.\r\n\r\n7. Troubleshooting\r\nRunner not found: ensure folder name matches the version: value exactly.\r\nMissing icons: add ?raw=true to all GitHub image URLs or re-link in Lutris manually.\r\nAffinity fails to launch: re-run the installer, confirm helper files are in the proper directories, and verify your prefix architecture matches win64.",
  "name": "Affinity-By-Canva",
  "year": 2025,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "affinity-by-canva-1018",
  "installer_slug": "affinity-by-canva-1018",
  "script": {
    "files": [
      {
        "setup": "https://downloads.affinity.studio/Affinity%20x64.exe"
      },
      {
        "WinMetadata": "https://archive.org/download/win-metadata/WinMetadata.zip"
      },
      {
        "Windows.winmd": "https://github.com/microsoft/windows-rs/raw/master/crates/libs/bindgen/default/Windows.winmd"
      },
      {
        "Wintypes_Shim.dll.so": "https://github.com/ElementalWarrior/wine-wintypes.dll-for-affinity/raw/refs/heads/master/wintypes_shim.dll.so"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Program Files/Affinity/Affinity/Affinity.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix...",
          "name": "create_prefix"
        }
      },
      {
        "merge": {
          "description": "Copying WinMetadata package",
          "dst": "$GAMEDIR",
          "src": "WinMetadata"
        }
      },
      {
        "extract": {
          "description": "Extracting WinMetadata...",
          "dst": "$GAMEDIR/drive_c/windows/system32/WinMetadata",
          "file": "$GAMEDIR/WinMetadata.zip",
          "filename": "WinMetadata.zip"
        }
      },
      {
        "execute": {
          "command": "mkdir -p \"$GAMEDIR/drive_c/windows/system32/winmetadata\" \"$GAMEDIR/drive_c/Program Files/Affinity/Affinity\"",
          "description": "Preparing directories for helper files..."
        }
      },
      {
        "task": {
          "app": "--unattended --force vcrun2022 dotnet48 renderer=vulkan corefonts tahoma win11",
          "description": "Installing necessary Winetricks packages...",
          "name": "winetricks"
        }
      },
      {
        "task": {
          "description": "Running Affinity installer...",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "move": {
          "description": "Placing Windows.winmd helper file (if provided)...",
          "dst": "$GAMEDIR/drive_c/windows/system32/winmetadata/Windows.winmd",
          "src": "Windows.winmd"
        }
      },
      {
        "move": {
          "description": "Placing Wintypes_Shim.dll.so helper file (if provided)...",
          "dst": "$GAMEDIR/drive_c/Program Files/Affinity/Affinity/Wintypes_Shim.dll.so",
          "src": "Wintypes_Shim.dll.so"
        }
      }
    ],
    "metadata": {
      "banner_url": "https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Banner.png",
      "cover_url": "https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Covers/Affinity-Canva-Cover.png",
      "icon_url": "https://github.com/seapear/AffinityOnLinux/blob/main/Assets/Icons/Affinity-Canva.svg",
      "year": 2025
    },
    "system": {
      "gamescope": false,
      "xephyr_fullscreen": false
    },
    "wine": {
      "battleye": false,
      "d3d_extras": false,
      "dxvk": false,
      "dxvk_nvapi": false,
      "eac": false,
      "fsr": false,
      "version": null,
      "vkd3d": false
    }
  }
}
Back to game