Installer city-of-heroes-sweet-tea-64-bit

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:
- launcher: http://files.thunderspygaming.net/sweet-tea/Sweet-Tea.zip
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Sweet Tea/Sweet-Tea.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Sweet Tea
    file: launcher
    format: zip
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: corefonts
    description: Installing Corefonts
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    app: tahoma
    description: Installing Tahoma
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    app: dotnet35
    description: Installing MS .NET 3.5
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    app: dinput8
    description: Installing DirectInput
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    arch: win64
    key: FontSmoothing
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '2'
- task:
    arch: win64
    key: FontSmoothingOrientation
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000001'
- task:
    arch: win64
    key: FontSmoothingType
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000002'
- task:
    arch: win64
    key: FontSmoothingGamma
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop
    prefix: $GAMEDIR
    type: REG_DWORD
    value: 00000578
- task:
    arch: win64
    key: GrabFullscreen
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    type: REG_SZ
    value: Y
- task:
    app: win7
    arch: win64
    description: Setting Windows version to 7
    name: winetricks
    prefix: $GAMEDIR
wine:
  Desktop: true
  WineDesktop: $RESOLUTION
{
  "files": [
    {
      "launcher": "http://files.thunderspygaming.net/sweet-tea/Sweet-Tea.zip"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "drive_c/Program Files (x86)/Sweet Tea/Sweet-Tea.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/Sweet Tea",
        "file": "launcher",
        "format": "zip"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "corefonts",
        "description": "Installing Corefonts",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "silent": true
      }
    },
    {
      "task": {
        "app": "tahoma",
        "description": "Installing Tahoma",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "silent": true
      }
    },
    {
      "task": {
        "app": "dotnet35",
        "description": "Installing MS .NET 3.5",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "silent": true
      }
    },
    {
      "task": {
        "app": "dinput8",
        "description": "Installing DirectInput",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "silent": true
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "FontSmoothing",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "2"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "FontSmoothingOrientation",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "00000001"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "FontSmoothingType",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "00000002"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "FontSmoothingGamma",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "00000578"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "GrabFullscreen",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "Y"
      }
    },
    {
      "task": {
        "app": "win7",
        "arch": "win64",
        "description": "Setting Windows version to 7",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "wine": {
    "Desktop": true,
    "WineDesktop": "$RESOLUTION"
  }
}
Back to game