Installer monkey-island-2-special-editi-gog-wine

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.

custom-name: "Monkey Island 2 - Special Edition - LeChuck\u2019s Revenge - GOG"
files:
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- gog: N/A:Select the game's setup file
game:
  exe: drive_c/GOG Games/Monkey Island 2 SE/Monkey2.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/innoextract
    file: inno
- execute:
    args: --extract $gog --output-dir "$CACHE/"
    file: $CACHE/innoextract/innoextract
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Monkey Island 2 SE/
    src: $CACHE/app
- task:
    app: d3dx9_42 d3dcompiler_42 xact
    name: winetricks
    prefix: $GAMEDIR
- input_menu:
    description: 'Choose your preferred language for game interface and subtitles:'
    id: LANG
    options:
    - 0: English
    - 1: French
    - 2: Italian
    - 3: German
    - 4: Spanish
    preselect: 0
- write_config:
    file: $GAMEDIR/drive_c/GOG Games/Monkey Island 2 SE/lang.ini
    key: language
    section: language
    value: $INPUT_LANG
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/Monkey Island 2 SE"; rm -f -r rm -f -r
      __support GameuxInstallHelper.dll goggame-1425039730.* language_setup.* webcache.zip;
wine:
  Desktop: true
{
  "wine": {
    "Desktop": true
  },
  "game": {
    "exe": "drive_c/GOG Games/Monkey Island 2 SE/Monkey2.exe",
    "prefix": "$GAMEDIR"
  },
  "files": [
    {
      "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "gog": "N/A:Select the game's setup file"
    }
  ],
  "installer": [
    {
      "task": {
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "arch": "win64",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "file": "inno",
        "dst": "$CACHE/innoextract"
      }
    },
    {
      "execute": {
        "file": "$CACHE/innoextract/innoextract",
        "args": "--extract $gog --output-dir \"$CACHE/\""
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/GOG Games/Monkey Island 2 SE/",
        "src": "$CACHE/app"
      }
    },
    {
      "task": {
        "app": "d3dx9_42 d3dcompiler_42 xact",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "input_menu": {
        "id": "LANG",
        "description": "Choose your preferred language for game interface and subtitles:",
        "options": [
          {
            "0": "English"
          },
          {
            "1": "French"
          },
          {
            "2": "Italian"
          },
          {
            "3": "German"
          },
          {
            "4": "Spanish"
          }
        ],
        "preselect": 0
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/drive_c/GOG Games/Monkey Island 2 SE/lang.ini",
        "value": "$INPUT_LANG",
        "key": "language",
        "section": "language"
      }
    },
    {
      "task": {
        "value": "0 0 0",
        "key": "background",
        "type": "REG_SZ",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "arch": "win64",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "value": "00000000",
        "key": "csmt",
        "type": "REG_DWORD",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
        "arch": "win64",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c/GOG Games/Monkey Island 2 SE\"; rm -f -r rm -f -r __support GameuxInstallHelper.dll goggame-1425039730.* language_setup.* webcache.zip;"
      }
    }
  ],
  "custom-name": "Monkey Island 2 - Special Edition - LeChuck\u2019s Revenge - GOG"
}
Back to game