Installer magic-the-gathering-online-regular

files:
- setup:
    filename: setup.exe
    url: http://mtgoclientdepot.onlinegaming.wizards.com/setup.exe
game:
  exe: $GAMEDIR/drive_c/MTGO/setup.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Simulating Windows reboot.
    executable: wineboot
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: sound=pulse
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: corefonts
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet46
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: win7
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: gdiplus
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: gdiplus
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: renderer=gdi
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win32
    args: -s
    description: Simulating Windows reboot.
    executable: wineboot
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    exclude_processes: dfsvc.exe
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: find $GAMEDIR/drive_c/ -name 'MTGO.exe' -exec sh -c 'ln -vs "$(dirname
      "$0")" "$1" | cut -c 2-' {} $GAMEDIR/drive_c/MTGO \;
- merge:
    dst: $GAMEDIR/drive_c/MTGO
    src: setup
system:
  single_cpu: true
description: null
game_slug: magic-the-gathering-online
gogslug: ''
humblestoreid: ''
installer_slug: magic-the-gathering-online-regular
name: Magic The Gathering Online
notes: "The file path to the exe includes what looks like randomly generated folders\
  \ and because of that Lutris can't set the exe for you. To do this manually you\
  \ must open the Lutris Config window, select the Game options tab, click browse\
  \ next to the executable field, and navigate to the exe located at:\r\n\r\n<tt>$HOME/Games/magic-the-gathering-online/drive_c/users/$USER/AppData/Local/Apps/2.0/Randomletters/Randomletters/mtgo...tionRandomletters/MGTO.exe</tt>"
runner: wine
script:
  files:
  - setup:
      filename: setup.exe
      url: http://mtgoclientdepot.onlinegaming.wizards.com/setup.exe
  game:
    exe: $GAMEDIR/drive_c/MTGO/setup.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win32
      description: Simulating Windows reboot.
      executable: wineboot
      name: wineexec
      prefix: $GAMEDIR
  - task:
      app: sound=pulse
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: corefonts
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: dotnet46
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: win7
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: gdiplus
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: gdiplus
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: renderer=gdi
      arch: win32
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win32
      args: -s
      description: Simulating Windows reboot.
      executable: wineboot
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win32
      exclude_processes: dfsvc.exe
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: find $GAMEDIR/drive_c/ -name 'MTGO.exe' -exec sh -c 'ln -vs "$(dirname
        "$0")" "$1" | cut -c 2-' {} $GAMEDIR/drive_c/MTGO \;
  - merge:
      dst: $GAMEDIR/drive_c/MTGO
      src: setup
  system:
    single_cpu: true
slug: magic-the-gathering-online-regular
steamid: null
version: Regular
year: 2002
{
  "game_slug": "magic-the-gathering-online",
  "version": "Regular",
  "description": null,
  "notes": "The file path to the exe includes what looks like randomly generated folders and because of that Lutris can't set the exe for you. To do this manually you must open the Lutris Config window, select the Game options tab, click browse next to the executable field, and navigate to the exe located at:\r\n\r\n<tt>$HOME/Games/magic-the-gathering-online/drive_c/users/$USER/AppData/Local/Apps/2.0/Randomletters/Randomletters/mtgo...tionRandomletters/MGTO.exe</tt>",
  "name": "Magic The Gathering Online",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "magic-the-gathering-online-regular",
  "installer_slug": "magic-the-gathering-online-regular",
  "script": {
    "files": [
      {
        "setup": {
          "filename": "setup.exe",
          "url": "http://mtgoclientdepot.onlinegaming.wizards.com/setup.exe"
        }
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/MTGO/setup.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Simulating Windows reboot.",
          "executable": "wineboot",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "sound=pulse",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "corefonts",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet46",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win7",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "gdiplus",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "gdiplus",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "renderer=gdi",
          "arch": "win32",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "args": "-s",
          "description": "Simulating Windows reboot.",
          "executable": "wineboot",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "exclude_processes": "dfsvc.exe",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "find $GAMEDIR/drive_c/ -name 'MTGO.exe' -exec sh -c 'ln -vs \"$(dirname \"$0\")\" \"$1\" | cut -c 2-' {} $GAMEDIR/drive_c/MTGO \\;"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/MTGO",
          "src": "setup"
        }
      }
    ],
    "system": {
      "single_cpu": true
    }
  }
}
Back to game