Installer anno-1404-steam-dx9-esync-pba

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.

game:
  appid: 33350
  arch: win64
  prefix: $GAMEDIR/prefix
installer:
- input_menu:
    description: 'Select your display refresh rate:'
    id: REFRESHRATE
    options:
    - '60': 60 hz
    - '75': 75 hz
    - '120': 120 hz
    - '144': 144 hz
    preselect: '60'
- input_menu:
    description: 'Select how much VRAM (GPU memory) you want to allocate:'
    id: MEM
    options:
    - '256': 256MB
    - '512': 512MB
    - '1024': 1024MB
    - '2048': 2048MB
    - '4096': 4096MB
    preselect: '1024'
- task:
    app: corefonts d3dx9
    description: winetricks for Steam (corefonts) and d3d9
    name: winetricks
    prefix: $GAMEDIR/prefix
- write_file:
    content: '<InitFile>

      <RefreshRate>$INPUT_REFRESHRATE</RefreshRate>

      <DirectXVersion>9</DirectXVersion>

      </InitFile>

      '
    file: /tmp/Engine.ini
- merge:
    description: Copying user config for base game...
    dst: $GAMEDIR/prefix/drive_c/users/$USER/Application Data/Ubisoft/Anno1404/Config/
    src: /tmp/Engine.ini
- merge:
    description: Copying user config for addon...
    dst: $GAMEDIR/prefix/drive_c/users/$USER/Application Data/Ubisoft/Anno1404Addon/Config/
    src: /tmp/Engine.ini
system:
  env:
    PBA_ENABLE: '1'
    __GL_SHADER_DISK_CACHE: '1'
    __GL_THREADED_OPTIMIZATION: '1'
    __PBA_GEO_HEAP: $INPUT_MEM
    run_without_steam: true
winesteam:
  esync: true
  overrides:
    xaudio2_7: native
  version: esync-staging-pba-3.18-x86_64
{
  "installer": [
    {
      "input_menu": {
        "preselect": "60",
        "description": "Select your display refresh rate:",
        "id": "REFRESHRATE",
        "options": [
          {
            "60": "60 hz"
          },
          {
            "75": "75 hz"
          },
          {
            "120": "120 hz"
          },
          {
            "144": "144 hz"
          }
        ]
      }
    },
    {
      "input_menu": {
        "preselect": "1024",
        "description": "Select how much VRAM (GPU memory) you want to allocate:",
        "id": "MEM",
        "options": [
          {
            "256": "256MB"
          },
          {
            "512": "512MB"
          },
          {
            "1024": "1024MB"
          },
          {
            "2048": "2048MB"
          },
          {
            "4096": "4096MB"
          }
        ]
      }
    },
    {
      "task": {
        "description": "winetricks for Steam (corefonts) and d3d9",
        "prefix": "$GAMEDIR/prefix",
        "name": "winetricks",
        "app": "corefonts d3dx9"
      }
    },
    {
      "write_file": {
        "file": "/tmp/Engine.ini",
        "content": "<InitFile>\n<RefreshRate>$INPUT_REFRESHRATE</RefreshRate>\n<DirectXVersion>9</DirectXVersion>\n</InitFile>\n"
      }
    },
    {
      "merge": {
        "src": "/tmp/Engine.ini",
        "dst": "$GAMEDIR/prefix/drive_c/users/$USER/Application Data/Ubisoft/Anno1404/Config/",
        "description": "Copying user config for base game..."
      }
    },
    {
      "merge": {
        "src": "/tmp/Engine.ini",
        "dst": "$GAMEDIR/prefix/drive_c/users/$USER/Application Data/Ubisoft/Anno1404Addon/Config/",
        "description": "Copying user config for addon..."
      }
    }
  ],
  "system": {
    "env": {
      "run_without_steam": true,
      "__GL_THREADED_OPTIMIZATION": "1",
      "PBA_ENABLE": "1",
      "__PBA_GEO_HEAP": "$INPUT_MEM",
      "__GL_SHADER_DISK_CACHE": "1"
    }
  },
  "winesteam": {
    "esync": true,
    "overrides": {
      "xaudio2_7": "native"
    },
    "version": "esync-staging-pba-3.18-x86_64"
  },
  "game": {
    "prefix": "$GAMEDIR/prefix",
    "arch": "win64",
    "appid": 33350
  }
}
Back to game