Installer stalker-call-of-pripyat-bench-benchmark

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:
- setup: https://files.gsc-game.com/st/bench/stkcop-bench-setup.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files (x86)/Call Of Pripyat Benchmark/Benchmark.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating 64-bit prefix ...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: vcrun2017
    arch: win64
    description: Visual C++ 2017 libraries ...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: win81
    arch: win64
    description: Windows version 8.1 ...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d3dx9_31
    arch: win64
    description: DirectX 9 ...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d3dx9_42
    arch: win64
    description: DirectX 9 ...
    name: winetricks
    prefix: $GAMEDIR
- move:
    dst: $GAMEDIR
    src: setup
- chmodx: $GAMEDIR/stkcop-bench-setup.exe
- task:
    description: S.T.A.L.K.E.R. Call Of Pripyat ...
    executable: $GAMEDIR/stkcop-bench-setup.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: echo "snd_volume_eff 0." >> $GAMEDIR/drive_c/Program\ Files\ \(x86\)/Call\
      Of\ Pripyat\ Benchmark/BenchCfg/base.cfg
    description: Adding sound device option ...
- execute:
    command: echo "snd_volume_music 0." >> $GAMEDIR/drive_c/Program\ Files\ \(x86\)/Call\
      Of\ Pripyat\ Benchmark/BenchCfg/base.cfg
    description: Adding sound device option ...
- execute:
    command: echo "rs_v_sync on" >> $$GAMEDIR/drive_c/Program\ Files\ \(x86\)/Call\
      Of\ Pripyat\ Benchmark/BenchCfg/base.cfg
    description: Adding video sync. option ...
- execute:
    command: echo "rs_constant_fps on" >> $GAMEDIR/drive_c/Program\ Files\ \(x86\)/Call\
      Of\ Pripyat\ Benchmark/BenchCfg/base.cfg
    description: Adding constant fps option ...
- execute:
    command: echo "rs_refresh_60hz off" >> $GAMEDIR/drive_c/Program\ Files\ \(x86\)/Call\
      Of\ Pripyat\ Benchmark/BenchCfg/base.cfg
    description: Adding refresh 60hz option ...
system:
  disable_compositor: true
wine:
  dxvk: true
  esync: false
{
  "files": [
    {
      "setup": "https://files.gsc-game.com/st/bench/stkcop-bench-setup.exe"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "$GAMEDIR/drive_c/Program Files (x86)/Call Of Pripyat Benchmark/Benchmark.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating 64-bit prefix ...",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "vcrun2017",
        "arch": "win64",
        "description": "Visual C++ 2017 libraries ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "win81",
        "arch": "win64",
        "description": "Windows version 8.1 ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "d3dx9_31",
        "arch": "win64",
        "description": "DirectX 9 ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "d3dx9_42",
        "arch": "win64",
        "description": "DirectX 9 ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR",
        "src": "setup"
      }
    },
    {
      "chmodx": "$GAMEDIR/stkcop-bench-setup.exe"
    },
    {
      "task": {
        "description": "S.T.A.L.K.E.R. Call Of Pripyat ...",
        "executable": "$GAMEDIR/stkcop-bench-setup.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "echo \"snd_volume_eff 0.\" >> $GAMEDIR/drive_c/Program\\ Files\\ \\(x86\\)/Call\\ Of\\ Pripyat\\ Benchmark/BenchCfg/base.cfg",
        "description": "Adding sound device option ..."
      }
    },
    {
      "execute": {
        "command": "echo \"snd_volume_music 0.\" >> $GAMEDIR/drive_c/Program\\ Files\\ \\(x86\\)/Call\\ Of\\ Pripyat\\ Benchmark/BenchCfg/base.cfg",
        "description": "Adding sound device option ..."
      }
    },
    {
      "execute": {
        "command": "echo \"rs_v_sync on\" >> $$GAMEDIR/drive_c/Program\\ Files\\ \\(x86\\)/Call\\ Of\\ Pripyat\\ Benchmark/BenchCfg/base.cfg",
        "description": "Adding video sync. option ..."
      }
    },
    {
      "execute": {
        "command": "echo \"rs_constant_fps on\" >> $GAMEDIR/drive_c/Program\\ Files\\ \\(x86\\)/Call\\ Of\\ Pripyat\\ Benchmark/BenchCfg/base.cfg",
        "description": "Adding constant fps option ..."
      }
    },
    {
      "execute": {
        "command": "echo \"rs_refresh_60hz off\" >> $GAMEDIR/drive_c/Program\\ Files\\ \\(x86\\)/Call\\ Of\\ Pripyat\\ Benchmark/BenchCfg/base.cfg",
        "description": "Adding refresh 60hz option ..."
      }
    }
  ],
  "system": {
    "disable_compositor": true
  },
  "wine": {
    "dxvk": true,
    "esync": false
  }
}
Back to game