Installer the-settlers-online-air

files:
- setup: https://static3.cdn.ubi.com/TSO/The%20Settlers%20Online%20Installer.exe
game:
  arch: win64
  exe: drive_c/users/$USER/Local Settings/Application Data/Ubisoft/The Settlers Online/The
    Settlers Online.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: vcrun2015
    name: winetricks
    prefix: $GAMEDIR
- move:
    description: Moving the Game Setup
    dst: $GAMEDIR/drive_c/The%20Settlers%20Online%20Installer.exe
    src: setup
- task:
    description: Installing Game
    executable: $GAMEDIR/drive_c/The%20Settlers%20Online%20Installer.exe
    name: wineexec
    prefix: $GAMEDIR
description: This installer is for Adobe AIR client with Firefox web browser
game_slug: the-settlers-online
gogslug: ''
humblestoreid: ''
installer_slug: the-settlers-online-air
name: The Settlers Online
notes: 'Create .local/share/application/TSO.desktop inside your home directory with
  this content:

  [Desktop Entry]

  Name=TSO

  Comment=Play this game on Lutris

  Exec=lutris lutris:rungame/the-settlers-online

  #Icon=

  Terminal=false

  Type=Application

  Categories=Game

  MimeType=x-scheme-handler/tso;x-scheme-handler/tso;


  then execute:

  $xdg-settings set default-url-scheme-handler tso TSO.desktop


  You must not open the game directly from Lutris, instead you should open your browser
  and point to the following URL:

  https://www.thesettlersonline.com

  then login with your user account and choose the right handler for tso protocol.


  N.B. on Firefox you must open about:config page and set widget.use-xdg-desktop-portal
  to true in order to manage xdg handler correctly.'
runner: wine
script:
  files:
  - setup: https://static3.cdn.ubi.com/TSO/The%20Settlers%20Online%20Installer.exe
  game:
    arch: win64
    exe: drive_c/users/$USER/Local Settings/Application Data/Ubisoft/The Settlers
      Online/The Settlers Online.exe
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: vcrun2015
      name: winetricks
      prefix: $GAMEDIR
  - move:
      description: Moving the Game Setup
      dst: $GAMEDIR/drive_c/The%20Settlers%20Online%20Installer.exe
      src: setup
  - task:
      description: Installing Game
      executable: $GAMEDIR/drive_c/The%20Settlers%20Online%20Installer.exe
      name: wineexec
      prefix: $GAMEDIR
slug: the-settlers-online-air
steamid: 354640
version: AIR
year: 2015
{
  "game_slug": "the-settlers-online",
  "version": "AIR",
  "description": "This installer is for Adobe AIR client with Firefox web browser",
  "notes": "Create .local/share/application/TSO.desktop inside your home directory with this content:\n[Desktop Entry]\nName=TSO\nComment=Play this game on Lutris\nExec=lutris lutris:rungame/the-settlers-online\n#Icon=\nTerminal=false\nType=Application\nCategories=Game\nMimeType=x-scheme-handler/tso;x-scheme-handler/tso;\n\nthen execute:\n$xdg-settings set default-url-scheme-handler tso TSO.desktop\n\nYou must not open the game directly from Lutris, instead you should open your browser and point to the following URL:\nhttps://www.thesettlersonline.com\nthen login with your user account and choose the right handler for tso protocol.\n\nN.B. on Firefox you must open about:config page and set widget.use-xdg-desktop-portal to true in order to manage xdg handler correctly.",
  "name": "The Settlers Online",
  "year": 2015,
  "steamid": 354640,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-settlers-online-air",
  "installer_slug": "the-settlers-online-air",
  "script": {
    "files": [
      {
        "setup": "https://static3.cdn.ubi.com/TSO/The%20Settlers%20Online%20Installer.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/users/$USER/Local Settings/Application Data/Ubisoft/The Settlers Online/The Settlers Online.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2015",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "move": {
          "description": "Moving the Game Setup",
          "dst": "$GAMEDIR/drive_c/The%20Settlers%20Online%20Installer.exe",
          "src": "setup"
        }
      },
      {
        "task": {
          "description": "Installing Game",
          "executable": "$GAMEDIR/drive_c/The%20Settlers%20Online%20Installer.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game