Installer stalker-call-of-pripyat-gog

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:
- installer_file: N/A:Select installer file from GOG
game:
  exe: drive_c/GOG Games/S.T.A.L.K.E.R. Call of Pripyat/Stalker-COP.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/GOG Games/S.T.A.L.K.E.R. Call of Pripyat/
installer:
- task:
    args: /DIR="C:/GOG Games/S.T.A.L.K.E.R. Call of Pripyat/" /SP- /SILENT /VERYSILENT
      /NORESTART /CLOSEAPPLICATIONS
    executable: installer_file
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: sed -i '/vid_mode/c\vid_mode $RESOLUTION' "$GAMEDIR/drive_c/users/$USER/My
      Documents/Stalker-COP/user.ltx"
    description: Set desktop resolution in game config file.
- execute:
    command: sed -i '/renderer/c\renderer renderer_r2' "$GAMEDIR/drive_c/users/$USER/My
      Documents/Stalker-COP/user.ltx"
    description: Enable dynamic renderer (DX9) in game config file
{
  "files": [
    {
      "installer_file": "N/A:Select installer file from GOG"
    }
  ],
  "game": {
    "exe": "drive_c/GOG Games/S.T.A.L.K.E.R. Call of Pripyat/Stalker-COP.exe",
    "prefix": "$GAMEDIR",
    "working_dir": "$GAMEDIR/drive_c/GOG Games/S.T.A.L.K.E.R. Call of Pripyat/"
  },
  "installer": [
    {
      "task": {
        "args": "/DIR=\"C:/GOG Games/S.T.A.L.K.E.R. Call of Pripyat/\" /SP- /SILENT /VERYSILENT /NORESTART /CLOSEAPPLICATIONS",
        "executable": "installer_file",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "sed -i '/vid_mode/c\\vid_mode $RESOLUTION' \"$GAMEDIR/drive_c/users/$USER/My Documents/Stalker-COP/user.ltx\"",
        "description": "Set desktop resolution in game config file."
      }
    },
    {
      "execute": {
        "command": "sed -i '/renderer/c\\renderer renderer_r2' \"$GAMEDIR/drive_c/users/$USER/My Documents/Stalker-COP/user.ltx\"",
        "description": "Enable dynamic renderer (DX9) in game config file"
      }
    }
  ]
}
Back to game