Installer rollercoaster-tycoon-2-gog-openrct2-linux-6

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 2 - GOG - Linux 64 bits
files:
- orct2lin1: https://github.com/OpenRCT2/OpenRCT2/releases/download/v0.3.2/OpenRCT2-0.3.2-linux-x86_64.tar.gz
- orct2lin2: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%202/OpenRCT2_x64_portable_addons_files.tar.xz
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- gogsetup: N/A:Please select the Windows setup exe file downloaded from your GOG
    account.
game:
  exe: $GAMEDIR/OpenRCT2/OpenRCT2.sh
installer:
- extract:
    dst: $CACHE/
    src: inno
- execute:
    args: -d "$CACHE" "$gogsetup"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR/RCT2
    src: $CACHE/app
- extract:
    dst: $GAMEDIR/OpenRCT2
    file: orct2lin1
- extract:
    dst: $GAMEDIR/OpenRCT2
    file: orct2lin2
- chmodx: $GAMEDIR/OpenRCT2/OpenRCT2.sh
- write_config:
    data:
      general:
        drawing_engine: OPENGL
        fullscreen_height: $RESOLUTION_HEIGHT
        fullscreen_mode: 1
        fullscreen_width: $RESOLUTION_WIDTH
        game_path: $GAMEDIR/RCT2
        window_height: $RESOLUTION_HEIGHT
        window_width: $RESOLUTION_WIDTH
    file: $CACHE/config.ini
- merge:
    dst: $GAMEDIR/OpenRCT2/config/
    src: $CACHE/config.ini
- execute:
    command: cd $GAMEDIR/RCT2/ ; rm -f -r __support/ gog* webcache.zip RCT2.EXE
{
  "custom-name": "RollerCoaster Tycoon 2 - GOG - Linux 64 bits",
  "files": [
    {
      "orct2lin1": "https://github.com/OpenRCT2/OpenRCT2/releases/download/v0.3.2/OpenRCT2-0.3.2-linux-x86_64.tar.gz"
    },
    {
      "orct2lin2": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/RollerCoaster%20Tycoon%202/OpenRCT2_x64_portable_addons_files.tar.xz"
    },
    {
      "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
    },
    {
      "gogsetup": "N/A:Please select the Windows setup exe file downloaded from your GOG account."
    }
  ],
  "game": {
    "exe": "$GAMEDIR/OpenRCT2/OpenRCT2.sh"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/",
        "src": "inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$CACHE\" \"$gogsetup\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/RCT2",
        "src": "$CACHE/app"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/OpenRCT2",
        "file": "orct2lin1"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/OpenRCT2",
        "file": "orct2lin2"
      }
    },
    {
      "chmodx": "$GAMEDIR/OpenRCT2/OpenRCT2.sh"
    },
    {
      "write_config": {
        "data": {
          "general": {
            "drawing_engine": "OPENGL",
            "fullscreen_height": "$RESOLUTION_HEIGHT",
            "fullscreen_mode": 1,
            "fullscreen_width": "$RESOLUTION_WIDTH",
            "game_path": "$GAMEDIR/RCT2",
            "window_height": "$RESOLUTION_HEIGHT",
            "window_width": "$RESOLUTION_WIDTH"
          }
        },
        "file": "$CACHE/config.ini"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/OpenRCT2/config/",
        "src": "$CACHE/config.ini"
      }
    },
    {
      "execute": {
        "command": "cd $GAMEDIR/RCT2/ ; rm -f -r __support/ gog* webcache.zip RCT2.EXE"
      }
    }
  ]
}
Back to game