Installer return-to-castle-wolfenstein-gog-rtcwcoop

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:
- gog: N/A:Select the Windows setup file downloaded from GOG
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- patch_data: https://github.com/rtcwcoop/rtcwcoop/releases/download/1.0.2/patch-data-141.zip
- rtcwcoop: https://github.com/rtcwcoop/rtcwcoop/releases/download/1.0.2/rtcwcoop-1.0.2-linux-x86_64.zip
game:
  exe: rtcwcoop.x86_64
installer:
- extract:
    dst: $CACHE
    file: inno
- execute:
    args: -d "$CACHE" "$gog"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/app
- move:
    dst: $GAMEDIR/main
    src: $GAMEDIR/Main
- extract:
    dst: $GAMEDIR
    file: patch_data
- extract:
    dst: $GAMEDIR
    file: rtcwcoop
{
  "files": [
    {
      "gog": "N/A:Select the Windows setup file downloaded from GOG"
    },
    {
      "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "patch_data": "https://github.com/rtcwcoop/rtcwcoop/releases/download/1.0.2/patch-data-141.zip"
    },
    {
      "rtcwcoop": "https://github.com/rtcwcoop/rtcwcoop/releases/download/1.0.2/rtcwcoop-1.0.2-linux-x86_64.zip"
    }
  ],
  "game": {
    "exe": "rtcwcoop.x86_64"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE",
        "file": "inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$CACHE\" \"$gog\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$CACHE/app"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/main",
        "src": "$GAMEDIR/Main"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR",
        "file": "patch_data"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR",
        "file": "rtcwcoop"
      }
    }
  ]
}
Back to game