Installer stalker-call-of-pripyat-gog

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/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/Documents/Stalker-COP/user.ltx"
    description: Enable dynamic renderer (DX9) in game config file
description: 'This is an installer for the GOG version of S.T.A.L.K.E.R. It is currently
  configured to run DX9 via DXVK.Compatible with Misery 2.2.1. If you want to install
  MISERY simply run the installer on top of this prefix.DISCLAIMER: Enhanced Full
  Dynamic Lighting may cause crashes in MISERY. Full dynamic lightning does not seem
  to have those issues.'
game_slug: stalker-call-of-pripyat
gogslug: stalker_call_of_pripyat
humblestoreid: ''
installer_slug: stalker-call-of-pripyat-gog
name: 'S.T.A.L.K.E.R.: Call of Pripyat'
notes: The GOG installer will not pop-up. This is intentional (be patient, it takes
  a minute).
runner: wine
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/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/Documents/Stalker-COP/user.ltx"
      description: Enable dynamic renderer (DX9) in game config file
slug: stalker-call-of-pripyat-gog
steamid: 41700
version: GOG
year: 2010
{
  "game_slug": "stalker-call-of-pripyat",
  "version": "GOG",
  "description": "This is an installer for the GOG version of S.T.A.L.K.E.R. It is currently configured to run DX9 via DXVK.Compatible with Misery 2.2.1. If you want to install MISERY simply run the installer on top of this prefix.DISCLAIMER: Enhanced Full Dynamic Lighting may cause crashes in MISERY. Full dynamic lightning does not seem to have those issues.",
  "notes": "The GOG installer will not pop-up. This is intentional (be patient, it takes a minute).",
  "name": "S.T.A.L.K.E.R.: Call of Pripyat",
  "year": 2010,
  "steamid": 41700,
  "gogslug": "stalker_call_of_pripyat",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "stalker-call-of-pripyat-gog",
  "installer_slug": "stalker-call-of-pripyat-gog",
  "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/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/Documents/Stalker-COP/user.ltx\"",
          "description": "Enable dynamic renderer (DX9) in game config file"
        }
      }
    ]
  }
}
Back to game