Installer mechwarrior-online-standalone

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:
- installer:
    filename: MWOPortalInstaller.exe
    url: https://mwomercs.com/go/download?id=b1e91bce837ce37bf914b9a02f54f8a4&filename=MWOPortalInstaller.exe
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Piranha Games/MWO Portal/MWO Portal.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $CACHE/dxsetup
    file: dx2010
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- task:
    app: arial vcrun2010 dotnet471 win7
    arch: win64
    description: Installing .NET 4.7.1
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /q
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: 0
wine:
  dxvk: true
  esync: true
{
  "files": [
    {
      "installer": {
        "filename": "MWOPortalInstaller.exe",
        "url": "https://mwomercs.com/go/download?id=b1e91bce837ce37bf914b9a02f54f8a4&filename=MWOPortalInstaller.exe"
      }
    },
    {
      "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "drive_c/Program Files (x86)/Piranha Games/MWO Portal/MWO Portal.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/dxsetup",
        "file": "dx2010"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/silent",
        "executable": "$CACHE/dxsetup/DXSETUP.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "arial vcrun2010 dotnet471 win7",
        "arch": "win64",
        "description": "Installing .NET 4.7.1",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/q",
        "executable": "installer",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "env": {
      "DXVK_HUD": 0
    }
  },
  "wine": {
    "dxvk": true,
    "esync": true
  }
}
Back to game