Installer world-of-tanks-all-regions

game:
  arch: win64
  exe: drive_c/ProgramData/Wargaming.net/GameCenter/wgc.exe
  prefix: $GAMEDIR
installer:
- input_menu:
    description: 'Please choose your preferred client localisation:'
    id: LOCAL
    options:
    - EU: Europe
    - NA: US
    - ASIA: Asia
    - RU: Russia
    preselect: EU
- execute:
    command: cd "$CACHE"; wget https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe
      -O Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe;
    disable_runtime: true
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: corefonts win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /SP- /SILENT
    description: Installing Wargaming center...
    exclude_processes: WargamingErrorMonitor.exe wgc.exe wgc_renderer_host.exe
    executable: $CACHE/Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe
    include_processes: Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe start.exe
      7za.exe
    name: wineexec
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- input_menu:
    description: Please choose your preferred game's language. You will find more
      languages choice in Wargaming.net Center general tab.
    id: LANG
    options:
    - en: English
    - fr: French
    - de: Deutsch
    - sp: Spanish
    - it: Italian
    - ru: Russian
    preselect: en
- write_file:
    content: '<?xml version="1.0" encoding="utf-8"?>

      <protocol version="3.19" name="preferences">

      <application>

      <localization_manager>

      <current_localization>$INPUT_LANG</current_localization>

      </localization_manager>

      </application>

      </protocol>'
    file: $GAMEDIR/drive_c/ProgramData/Wargaming.net/GameCenter/preferences.xml
system:
  env:
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  require-binaries: wget
description: ''
game_slug: world-of-tanks
gogslug: ''
humblestoreid: ''
installer_slug: world-of-tanks-all-regions
name: World of Tanks
notes: "It's important to verify you the latest driver for your graphics, Vulkan API\
  \ and other wine dependencies before installing Wargaming Game Center.\r\n\r\nhttps://github.com/lutris/docs/blob/master/InstallingDrivers.md\r\
  \nhttps://github.com/lutris/docs/blob/master/WineDependencies.md"
runner: wine
script:
  game:
    arch: win64
    exe: drive_c/ProgramData/Wargaming.net/GameCenter/wgc.exe
    prefix: $GAMEDIR
  installer:
  - input_menu:
      description: 'Please choose your preferred client localisation:'
      id: LOCAL
      options:
      - EU: Europe
      - NA: US
      - ASIA: Asia
      - RU: Russia
      preselect: EU
  - execute:
      command: cd "$CACHE"; wget https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe
        -O Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe;
      disable_runtime: true
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: corefonts win7
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      args: /SP- /SILENT
      description: Installing Wargaming center...
      exclude_processes: WargamingErrorMonitor.exe wgc.exe wgc_renderer_host.exe
      executable: $CACHE/Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe
      include_processes: Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe start.exe
        7za.exe
      name: wineexec
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  - input_menu:
      description: Please choose your preferred game's language. You will find more
        languages choice in Wargaming.net Center general tab.
      id: LANG
      options:
      - en: English
      - fr: French
      - de: Deutsch
      - sp: Spanish
      - it: Italian
      - ru: Russian
      preselect: en
  - write_file:
      content: '<?xml version="1.0" encoding="utf-8"?>

        <protocol version="3.19" name="preferences">

        <application>

        <localization_manager>

        <current_localization>$INPUT_LANG</current_localization>

        </localization_manager>

        </application>

        </protocol>'
      file: $GAMEDIR/drive_c/ProgramData/Wargaming.net/GameCenter/preferences.xml
  system:
    env:
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    require-binaries: wget
slug: world-of-tanks-all-regions
steamid: 1407200
version: All regions
year: 2010
{
  "game_slug": "world-of-tanks",
  "version": "All regions",
  "description": "",
  "notes": "It's important to verify you the latest driver for your graphics, Vulkan API and other wine dependencies before installing Wargaming Game Center.\r\n\r\nhttps://github.com/lutris/docs/blob/master/InstallingDrivers.md\r\nhttps://github.com/lutris/docs/blob/master/WineDependencies.md",
  "name": "World of Tanks",
  "year": 2010,
  "steamid": 1407200,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "world-of-tanks-all-regions",
  "installer_slug": "world-of-tanks-all-regions",
  "script": {
    "game": {
      "arch": "win64",
      "exe": "drive_c/ProgramData/Wargaming.net/GameCenter/wgc.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Please choose your preferred client localisation:",
          "id": "LOCAL",
          "options": [
            {
              "EU": "Europe"
            },
            {
              "NA": "US"
            },
            {
              "ASIA": "Asia"
            },
            {
              "RU": "Russia"
            }
          ],
          "preselect": "EU"
        }
      },
      {
        "execute": {
          "command": "cd \"$CACHE\"; wget https://redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe -O Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe;",
          "disable_runtime": true
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "corefonts win7",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SP- /SILENT",
          "description": "Installing Wargaming center...",
          "exclude_processes": "WargamingErrorMonitor.exe wgc.exe wgc_renderer_host.exe",
          "executable": "$CACHE/Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe",
          "include_processes": "Wargaming_Game_Center_Install_WoT_$INPUT_LOCAL.exe start.exe 7za.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "input_menu": {
          "description": "Please choose your preferred game's language. You will find more languages choice in Wargaming.net Center general tab.",
          "id": "LANG",
          "options": [
            {
              "en": "English"
            },
            {
              "fr": "French"
            },
            {
              "de": "Deutsch"
            },
            {
              "sp": "Spanish"
            },
            {
              "it": "Italian"
            },
            {
              "ru": "Russian"
            }
          ],
          "preselect": "en"
        }
      },
      {
        "write_file": {
          "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<protocol version=\"3.19\" name=\"preferences\">\n<application>\n<localization_manager>\n<current_localization>$INPUT_LANG</current_localization>\n</localization_manager>\n</application>\n</protocol>",
          "file": "$GAMEDIR/drive_c/ProgramData/Wargaming.net/GameCenter/preferences.xml"
        }
      }
    ],
    "system": {
      "env": {
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      },
      "require-binaries": "wget"
    }
  }
}
Back to game