Installer rollercoaster-tycoon-2-cd

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.

files:
- engine: http://cdn.limetric.com/games/openrct2/0.2.2/master/298c9f5/9/OpenRCT2-0.2.2-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
{
  "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",
        "value": "$GAMEDIR",
        "key": "game_path",
        "section": "general"
      }
    },
    {
      "extract": {
        "file": "unshield",
        "dst": "$CACHE/tmp/unshield"
      }
    },
    {
      "execute": {
        "file": "$CACHE/tmp/unshield/unshield",
        "args": "-d $CACHE/tmp/game_files/ x $DISC/data1.cab"
      }
    },
    {
      "merge": {
        "src": "$CACHE/tmp/game_files/Minimum/Data/",
        "dst": "$GAMEDIR/Data"
      }
    },
    {
      "merge": {
        "src": "$CACHE/tmp/game_files/Minimum/Saved_Games",
        "dst": "$GAMEDIR/Saved_Games"
      }
    },
    {
      "merge": {
        "src": "$CACHE/tmp/game_files/Minimum/ObjData",
        "dst": "$GAMEDIR/ObjData"
      }
    },
    {
      "merge": {
        "src": "$CACHE/tmp/game_files/Minimum/Scenarios",
        "dst": "$GAMEDIR/Scenarios"
      }
    },
    {
      "merge": {
        "src": "$CACHE/tmp/game_files/Minimum/Landscapes",
        "dst": "$GAMEDIR/Landscapes"
      }
    },
    {
      "merge": {
        "src": "$CACHE/tmp/game_files/Minimum/Tracks",
        "dst": "$GAMEDIR/Tracks"
      }
    }
  ],
  "files": [
    {
      "engine": "http://cdn.limetric.com/games/openrct2/0.2.2/master/298c9f5/9/OpenRCT2-0.2.2-linux-x86_64.tar.gz"
    },
    {
      "unshield": "https://lutris.net/files/tools/unshield-1.3-x86_64.tar.gz"
    }
  ]
}
Back to game