Installer magic-the-gathering-arena-change-me-1

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:
- setup: https://mtgarena.downloads.wizards.com/Live/Windows32/versions/2182.781484/MTGAInstaller_0.1.2182.781484.msi
game:
  arch: win32
  exe: drive_c/Program Files/Wizards of the Coast/MTGA/MTGA.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    key: GrabFullscreen
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: Y
- task:
    arch: win32
    key: UseTakeFocus
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: N
- task:
    app: dotnet472
    arch: win32
    description: Installing .NET 4.7.2. This will take a while...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: xact arial win10
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- copy:
    dst: $CACHE/mtg-arena/
    src: setup
- task:
    arch: win32
    args: /i "$CACHE/mtg-arena/MTGAInstaller_0.1.2182.781484.msi" /q
    description: Installing Magic the Gathering Arena
    exclude_processes: mscorsvw.exe rundll32.exe MTGA.exe UnityCrashHandler32.exe
    executable: msiexec
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
wine:
  Desktop: true
  dxvk: false
  version: lutris-mtga-4.21-x86_64
{
  "files": [
    {
      "setup": "https://mtgarena.downloads.wizards.com/Live/Windows32/versions/2182.781484/MTGAInstaller_0.1.2182.781484.msi"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/Wizards of the Coast/MTGA/MTGA.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win32",
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win32",
        "key": "GrabFullscreen",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
        "prefix": "$GAMEDIR",
        "value": "Y"
      }
    },
    {
      "task": {
        "arch": "win32",
        "key": "UseTakeFocus",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
        "prefix": "$GAMEDIR",
        "value": "N"
      }
    },
    {
      "task": {
        "app": "dotnet472",
        "arch": "win32",
        "description": "Installing .NET 4.7.2. This will take a while...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "xact arial win10",
        "arch": "win32",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "copy": {
        "dst": "$CACHE/mtg-arena/",
        "src": "setup"
      }
    },
    {
      "task": {
        "arch": "win32",
        "args": "/i \"$CACHE/mtg-arena/MTGAInstaller_0.1.2182.781484.msi\" /q",
        "description": "Installing Magic the Gathering Arena",
        "exclude_processes": "mscorsvw.exe rundll32.exe MTGA.exe UnityCrashHandler32.exe",
        "executable": "msiexec",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "wine": {
    "Desktop": true,
    "dxvk": false,
    "version": "lutris-mtga-4.21-x86_64"
  }
}
Back to game