Installer scrivener-3-v3

files:
- setup:
    filename: Scrivener-installer.exe
    url: https://www.literatureandlatte.com/download_action.php?url=https://scrivener.s3.amazonaws.com/Scrivener-installer.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files/Scrivener3/Scrivener.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine 64-bit prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Setting Windows 11 mode for Wine
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win11
- task:
    app: --self-update
    description: Updating Winetricks to latest version
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: corefonts
    arch: win64
    description: Installing fonts
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet48
    arch: win64
    description: Installing .NET 4.8
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: sapi
    arch: win64
    description: Installing SAPI (prevents text-to-speech folder issue on launch)
    name: winetricks
    prefix: $GAMEDIR
- task:
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
wine:
  dxvk: false
description: This installer has been tested on CachyOS and Debian 13.
game_slug: scrivener-3
gogslug: ''
humblestoreid: ''
installer_slug: scrivener-3-v3
name: Scrivener 3
notes: "The same pop-up will likely be shown three times, asking you to install .NET\
  \ Framework v4.8 on your system. You can select No every time.\r\n\r\nAfter installation,\
  \ pick the latest Wine version available on your system as Runner in Lutris game\
  \ settings.\r\n\r\nIn Wine Settings, under the Applications tab, change the Windows\
  \ version from Windows 7 to Windows 10 or preferably Windows 11, otherwise Scrivener\
  \ warns that your operating system is not supported.\r\n\r\nFor best interface rendering,\
  \ manually copy Segoe UI font files (segoeui.ttf, segoeuib.ttf, segoeuii.ttf, segoeuil.ttf,\
  \ segoeuisl.ttf, segoeuiz.ttf) from a Windows installation into the prefix's drive_c/windows/Fonts\
  \ folder.\r\n\r\nIf Scrivener does not start, run \"lutris\" in a terminal to see\
  \ the error output.\r\n\r\nKeep your system and Wine up-to-date for best results.\r\
  \n\r\n---\r\n\r\nIf you get this error: \"X Error of failed request:  GLXBadFBConfig\"\
  , you can fix it by adding the following environment variable : \r\n* Key = MESA_GL_VERSION_OVERRIDE\r\
  \n* Value = 4.5\r\n\r\nIf you get this error: \r\n\"Your wineserver binary was not\
  \ upgraded correctly,\r\nor you have an older one somewhere in your PATH.\r\nOr\
  \ maybe the wrong wineserver is still running?\"\r\nYou can fix it by killing still\
  \ running wine (\"pkill wine\" in a terminal should do the trick.)"
runner: wine
script:
  files:
  - setup:
      filename: Scrivener-installer.exe
      url: https://www.literatureandlatte.com/download_action.php?url=https://scrivener.s3.amazonaws.com/Scrivener-installer.exe
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/Program Files/Scrivener3/Scrivener.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine 64-bit prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Setting Windows 11 mode for Wine
      key: Version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine
      prefix: $GAMEDIR
      value: win11
  - task:
      app: --self-update
      description: Updating Winetricks to latest version
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: corefonts
      arch: win64
      description: Installing fonts
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: dotnet48
      arch: win64
      description: Installing .NET 4.8
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: sapi
      arch: win64
      description: Installing SAPI (prevents text-to-speech folder issue on launch)
      name: winetricks
      prefix: $GAMEDIR
  - task:
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  wine:
    dxvk: false
slug: scrivener-3-v3
steamid: null
version: v3
year: 2021
{
  "game_slug": "scrivener-3",
  "version": "v3",
  "description": "This installer has been tested on CachyOS and Debian 13.",
  "notes": "The same pop-up will likely be shown three times, asking you to install .NET Framework v4.8 on your system. You can select No every time.\r\n\r\nAfter installation, pick the latest Wine version available on your system as Runner in Lutris game settings.\r\n\r\nIn Wine Settings, under the Applications tab, change the Windows version from Windows 7 to Windows 10 or preferably Windows 11, otherwise Scrivener warns that your operating system is not supported.\r\n\r\nFor best interface rendering, manually copy Segoe UI font files (segoeui.ttf, segoeuib.ttf, segoeuii.ttf, segoeuil.ttf, segoeuisl.ttf, segoeuiz.ttf) from a Windows installation into the prefix's drive_c/windows/Fonts folder.\r\n\r\nIf Scrivener does not start, run \"lutris\" in a terminal to see the error output.\r\n\r\nKeep your system and Wine up-to-date for best results.\r\n\r\n---\r\n\r\nIf you get this error: \"X Error of failed request:  GLXBadFBConfig\", you can fix it by adding the following environment variable : \r\n* Key = MESA_GL_VERSION_OVERRIDE\r\n* Value = 4.5\r\n\r\nIf you get this error: \r\n\"Your wineserver binary was not upgraded correctly,\r\nor you have an older one somewhere in your PATH.\r\nOr maybe the wrong wineserver is still running?\"\r\nYou can fix it by killing still running wine (\"pkill wine\" in a terminal should do the trick.)",
  "name": "Scrivener 3",
  "year": 2021,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "scrivener-3-v3",
  "installer_slug": "scrivener-3-v3",
  "script": {
    "files": [
      {
        "setup": {
          "filename": "Scrivener-installer.exe",
          "url": "https://www.literatureandlatte.com/download_action.php?url=https://scrivener.s3.amazonaws.com/Scrivener-installer.exe"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/Program Files/Scrivener3/Scrivener.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine 64-bit prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Setting Windows 11 mode for Wine",
          "key": "Version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine",
          "prefix": "$GAMEDIR",
          "value": "win11"
        }
      },
      {
        "task": {
          "app": "--self-update",
          "description": "Updating Winetricks to latest version",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "corefonts",
          "arch": "win64",
          "description": "Installing fonts",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet48",
          "arch": "win64",
          "description": "Installing .NET 4.8",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "sapi",
          "arch": "win64",
          "description": "Installing SAPI (prevents text-to-speech folder issue on launch)",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "wine": {
      "dxvk": false
    }
  }
}
Back to game