Installer garena-standard-tw-region

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- garena_installer: https://cdn.gxx.garenanow.com/gxx/pc/installer/Garena-v2.0-TW.exe
game:
  arch: win64
  args: --use-gl=osmesa
  exe: $GAMEDIR/drive_c/Program Files (x86)/Garena/Garena/Garena.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: vcrun2013
    description: Installing dependencies
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: $garena_installer
    description: Please close garena after installed!
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    key: GrabFullScreen
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: Y
- task:
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 40 40 40
system:
  env:
    DXVK_LOG_LEVEL: none
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    STAGING_SHARED_MEMORY: 1
    WINE_LARGE_ADDRESS_AWARE: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
  MouseWarpOverride: enable
  version: lutris-ge-lol-7.0-5-x86_64
{
  "files": [
    {
      "garena_installer": "https://cdn.gxx.garenanow.com/gxx/pc/installer/Garena-v2.0-TW.exe"
    }
  ],
  "game": {
    "arch": "win64",
    "args": "--use-gl=osmesa",
    "exe": "$GAMEDIR/drive_c/Program Files (x86)/Garena/Garena/Garena.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "vcrun2013",
        "description": "Installing dependencies",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "$garena_installer",
        "description": "Please close garena after installed!",
        "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
        "include_processes": "explorer.exe",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "key": "GrabFullScreen",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
        "prefix": "$GAMEDIR",
        "value": "Y"
      }
    },
    {
      "task": {
        "key": "background",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "40 40 40"
      }
    }
  ],
  "system": {
    "env": {
      "DXVK_LOG_LEVEL": "none",
      "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
      "STAGING_SHARED_MEMORY": 1,
      "WINE_LARGE_ADDRESS_AWARE": 1,
      "__GL_SHADER_DISK_CACHE": 1,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    }
  },
  "wine": {
    "MouseWarpOverride": "enable",
    "version": "lutris-ge-lol-7.0-5-x86_64"
  }
}
Back to game