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:
    app: corefonts
    arch: win64
    description: Installing dependencies (for the fonts)
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Setting Windows 10 mode for Wine
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win10
- task:
    app: dotnet48
    arch: win64
    description: Installing dependencies (.NET 4.8)
    name: winetricks
    prefix: $GAMEDIR
- task:
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
system:
  env:
    MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
  dxvk: false
description: This installer has been tested on Ubuntu 20.04 and Manjaro
game_slug: scrivener-3
gogslug: ''
humblestoreid: ''
installer_slug: scrivener-3-v3
name: Scrivener 3
notes: "After installation, go to Scrivener setting and change the runner to \"lutris-6.4-x86_64\"\
  \ in order to be able to activate your licence. \r\n\r\nYou will be prompt that\
  \ rundll32.exe could not be started, but it can be ignored.\r\n\r\nIf Scrivener\
  \ doesn't start after that, run \"lutris\" in a terminal in order to see what error\
  \ you get.\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:
      app: corefonts
      arch: win64
      description: Installing dependencies (for the fonts)
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Setting Windows 10 mode for Wine
      key: Version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine
      prefix: $GAMEDIR
      value: win10
  - task:
      app: dotnet48
      arch: win64
      description: Installing dependencies (.NET 4.8)
      name: winetricks
      prefix: $GAMEDIR
  - task:
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  system:
    env:
      MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $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 Ubuntu 20.04 and Manjaro",
  "notes": "After installation, go to Scrivener setting and change the runner to \"lutris-6.4-x86_64\" in order to be able to activate your licence. \r\n\r\nYou will be prompt that rundll32.exe could not be started, but it can be ignored.\r\n\r\nIf Scrivener doesn't start after that, run \"lutris\" in a terminal in order to see what error you get.\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": {
          "app": "corefonts",
          "arch": "win64",
          "description": "Installing dependencies (for the fonts)",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Setting Windows 10 mode for Wine",
          "key": "Version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine",
          "prefix": "$GAMEDIR",
          "value": "win10"
        }
      },
      {
        "task": {
          "app": "dotnet48",
          "arch": "win64",
          "description": "Installing dependencies (.NET 4.8)",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "MESA_GL_VERSION_OVERRIDE": "4.4COMPAT",
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      }
    },
    "wine": {
      "dxvk": false
    }
  }
}
Back to game