Installer rollercoaster-tycoon-2-cd

files:
- engine: https://github.com/OpenRCT2/OpenRCT2/releases/download/v0.3.4.1/OpenRCT2-0.3.4.1-linux-x86_64.tar.gz
- unshield: https://lutris.net/files/tools/unshield-1.3-x86_64.tar.gz
game:
  exe: $GAMEDIR/openrct2
installer:
- insert-disc:
    requires: data1.cab
- extract:
    file: engine
    format: tgz
- chmodx: $GAMEDIR/openrct2
- mkdir: $HOME/.config/OpenRCT2/
- write_config:
    file: $HOME/.config/OpenRCT2/config.ini
    key: game_path
    section: general
    value: $GAMEDIR
- extract:
    dst: $CACHE/tmp/unshield
    file: unshield
- execute:
    args: -d $CACHE/tmp/game_files/ x $DISC/data1.cab
    file: $CACHE/tmp/unshield/unshield
- merge:
    dst: $GAMEDIR/Data
    src: $CACHE/tmp/game_files/Minimum/Data/
- merge:
    dst: $GAMEDIR/Saved_Games
    src: $CACHE/tmp/game_files/Minimum/Saved_Games
- merge:
    dst: $GAMEDIR/ObjData
    src: $CACHE/tmp/game_files/Minimum/ObjData
- merge:
    dst: $GAMEDIR/Scenarios
    src: $CACHE/tmp/game_files/Minimum/Scenarios
- merge:
    dst: $GAMEDIR/Landscapes
    src: $CACHE/tmp/game_files/Minimum/Landscapes
- merge:
    dst: $GAMEDIR/Tracks
    src: $CACHE/tmp/game_files/Minimum/Tracks
description: "Requires the original CD-ROM.\r\nUses OpenRCT2"
game_slug: rollercoaster-tycoon-2
gogslug: rollercoaster_tycoon_bundle
humblestoreid: ''
installer_slug: rollercoaster-tycoon-2-cd
name: RollerCoaster Tycoon 2
notes: ''
runner: linux
script:
  files:
  - engine: https://github.com/OpenRCT2/OpenRCT2/releases/download/v0.3.4.1/OpenRCT2-0.3.4.1-linux-x86_64.tar.gz
  - unshield: https://lutris.net/files/tools/unshield-1.3-x86_64.tar.gz
  game:
    exe: $GAMEDIR/openrct2
  installer:
  - insert-disc:
      requires: data1.cab
  - extract:
      file: engine
      format: tgz
  - chmodx: $GAMEDIR/openrct2
  - mkdir: $HOME/.config/OpenRCT2/
  - write_config:
      file: $HOME/.config/OpenRCT2/config.ini
      key: game_path
      section: general
      value: $GAMEDIR
  - extract:
      dst: $CACHE/tmp/unshield
      file: unshield
  - execute:
      args: -d $CACHE/tmp/game_files/ x $DISC/data1.cab
      file: $CACHE/tmp/unshield/unshield
  - merge:
      dst: $GAMEDIR/Data
      src: $CACHE/tmp/game_files/Minimum/Data/
  - merge:
      dst: $GAMEDIR/Saved_Games
      src: $CACHE/tmp/game_files/Minimum/Saved_Games
  - merge:
      dst: $GAMEDIR/ObjData
      src: $CACHE/tmp/game_files/Minimum/ObjData
  - merge:
      dst: $GAMEDIR/Scenarios
      src: $CACHE/tmp/game_files/Minimum/Scenarios
  - merge:
      dst: $GAMEDIR/Landscapes
      src: $CACHE/tmp/game_files/Minimum/Landscapes
  - merge:
      dst: $GAMEDIR/Tracks
      src: $CACHE/tmp/game_files/Minimum/Tracks
slug: rollercoaster-tycoon-2-cd
steamid: 285330
version: CD
year: 2002
{
  "game_slug": "rollercoaster-tycoon-2",
  "version": "CD",
  "description": "Requires the original CD-ROM.\r\nUses OpenRCT2",
  "notes": "",
  "name": "RollerCoaster Tycoon 2",
  "year": 2002,
  "steamid": 285330,
  "gogslug": "rollercoaster_tycoon_bundle",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "rollercoaster-tycoon-2-cd",
  "installer_slug": "rollercoaster-tycoon-2-cd",
  "script": {
    "files": [
      {
        "engine": "https://github.com/OpenRCT2/OpenRCT2/releases/download/v0.3.4.1/OpenRCT2-0.3.4.1-linux-x86_64.tar.gz"
      },
      {
        "unshield": "https://lutris.net/files/tools/unshield-1.3-x86_64.tar.gz"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/openrct2"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "data1.cab"
        }
      },
      {
        "extract": {
          "file": "engine",
          "format": "tgz"
        }
      },
      {
        "chmodx": "$GAMEDIR/openrct2"
      },
      {
        "mkdir": "$HOME/.config/OpenRCT2/"
      },
      {
        "write_config": {
          "file": "$HOME/.config/OpenRCT2/config.ini",
          "key": "game_path",
          "section": "general",
          "value": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/tmp/unshield",
          "file": "unshield"
        }
      },
      {
        "execute": {
          "args": "-d $CACHE/tmp/game_files/ x $DISC/data1.cab",
          "file": "$CACHE/tmp/unshield/unshield"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Data",
          "src": "$CACHE/tmp/game_files/Minimum/Data/"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Saved_Games",
          "src": "$CACHE/tmp/game_files/Minimum/Saved_Games"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/ObjData",
          "src": "$CACHE/tmp/game_files/Minimum/ObjData"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Scenarios",
          "src": "$CACHE/tmp/game_files/Minimum/Scenarios"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Landscapes",
          "src": "$CACHE/tmp/game_files/Minimum/Landscapes"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Tracks",
          "src": "$CACHE/tmp/game_files/Minimum/Tracks"
        }
      }
    ]
  }
}
Back to game