Installer rollercoaster-tycoon-2-gog-openrct2

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:
- files_gog: N/A:Please select your GoG-installer
- Game: http://cdn.limetric.com/games/openrct2/0.2.2/master/298c9f5/9/OpenRCT2-0.2.2-linux-x86_64.tar.gz
- innoextract: http://constexpr.org/innoextract/files/innoextract-1.6-linux.tar.xz
game:
  exe: $GAMEDIR/openrct2
installer:
- extract:
    file: Game
    format: tgz
- chmodx: $GAMEDIR/openrct2
- mkdir: $HOME/.config/OpenRCT2/
- mkdir: $GAMEDIR/game_files/
- write_config:
    file: $HOME/.config/OpenRCT2/config.ini
    key: game_path
    section: general
    value: $GAMEDIR/game_files
- extract:
    dst: $CACHE/tmp/innoextract
    file: innoextract
- execute:
    args: --extract $files_gog --output-dir $CACHE/tmp/game_files/
    file: $CACHE/tmp/innoextract/innoextract
- merge:
    dst: $GAMEDIR/game_files
    src: $CACHE/tmp/game_files/app/
{
  "game": {
    "exe": "$GAMEDIR/openrct2"
  },
  "installer": [
    {
      "extract": {
        "file": "Game",
        "format": "tgz"
      }
    },
    {
      "chmodx": "$GAMEDIR/openrct2"
    },
    {
      "mkdir": "$HOME/.config/OpenRCT2/"
    },
    {
      "mkdir": "$GAMEDIR/game_files/"
    },
    {
      "write_config": {
        "file": "$HOME/.config/OpenRCT2/config.ini",
        "value": "$GAMEDIR/game_files",
        "key": "game_path",
        "section": "general"
      }
    },
    {
      "extract": {
        "file": "innoextract",
        "dst": "$CACHE/tmp/innoextract"
      }
    },
    {
      "execute": {
        "file": "$CACHE/tmp/innoextract/innoextract",
        "args": "--extract $files_gog --output-dir $CACHE/tmp/game_files/"
      }
    },
    {
      "merge": {
        "src": "$CACHE/tmp/game_files/app/",
        "dst": "$GAMEDIR/game_files"
      }
    }
  ],
  "files": [
    {
      "files_gog": "N/A:Please select your GoG-installer"
    },
    {
      "Game": "http://cdn.limetric.com/games/openrct2/0.2.2/master/298c9f5/9/OpenRCT2-0.2.2-linux-x86_64.tar.gz"
    },
    {
      "innoextract": "http://constexpr.org/innoextract/files/innoextract-1.6-linux.tar.xz"
    }
  ]
}
Back to game