Installer rollercoaster-tycoon-deluxe-gog-ws

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: RollerCoaster Tycoon Deluxe - GOG
files:
- setup: N/A:Select the Windows installer downloaded from GOG
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%20Deluxe/rct_multi5_exe.zip
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%20Deluxe/resolang.sh
- config: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%20Deluxe/Game.cfg
game:
  exe: drive_c/GOG Games/RollerCoaster Tycoon Deluxe/RCT.EXE
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Preparing wineprefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SP- /SUPPRESSMSGBOXES
    description: Installing...
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/tmp
    src: patch
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - en: English
    - fr: French
    - ge: German
    - it: Italian
    - sp: Spanish
    preselect: en
- chmodx: script
- execute:
    args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT $INPUT_LANG
    file: script
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/RollerCoaster Tycoon Deluxe/Data
    src: config
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
wine:
  Desktop: true
{
  "custom-name": "RollerCoaster Tycoon Deluxe - GOG",
  "files": [
    {
      "setup": "N/A:Select the Windows installer downloaded from GOG"
    },
    {
      "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%20Deluxe/rct_multi5_exe.zip"
    },
    {
      "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%20Deluxe/resolang.sh"
    },
    {
      "config": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%20Deluxe/Game.cfg"
    }
  ],
  "game": {
    "exe": "drive_c/GOG Games/RollerCoaster Tycoon Deluxe/RCT.EXE",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Preparing wineprefix...",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "/SP- /SUPPRESSMSGBOXES",
        "description": "Installing...",
        "executable": "setup",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/tmp",
        "src": "patch"
      }
    },
    {
      "input_menu": {
        "description": "Choose the game's language:",
        "id": "LANG",
        "options": [
          {
            "en": "English"
          },
          {
            "fr": "French"
          },
          {
            "ge": "German"
          },
          {
            "it": "Italian"
          },
          {
            "sp": "Spanish"
          }
        ],
        "preselect": "en"
      }
    },
    {
      "chmodx": "script"
    },
    {
      "execute": {
        "args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT $INPUT_LANG",
        "file": "script"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/drive_c/GOG Games/RollerCoaster Tycoon Deluxe/Data",
        "src": "config"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "csmt",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "00000000"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "background",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    }
  ],
  "wine": {
    "Desktop": true
  }
}
Back to game