Installer counter-strike-v15-half-life-mod-in

files:
- csv15: 'N/A: Please manually download csv15full.exe (sha256: 2963e480b02e5e29b2577d897ce99355d863d7db580b5d670e070baa2be3a0e5)'
game:
  arch: win32
  args: -game cstrike -full -gl -gldrv Default -width 1920 -height 1080 -console
  exe: $GAMEDIR/$gamepath/hl.exe
  prefix: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      file="$1"; hash="$2"; echo "[INFO] Verifying $(basename "$file") sha256 checksum...";
      if [ $(sha256sum "$file" | cut -c 1-64) = "$hash" ]; then echo "[INFO] ...checksum
      OK!"; else echo "[ERROR] ...checksum FAILED!"; exit 1; fi

      '
    file: $CACHE/checkhash.sh
- execute:
    args: +x $CACHE/checkhash.sh
    file: chmod
- execute:
    args: csv15 $csv15_sha256
    file: $CACHE/checkhash.sh
- task:
    arch: win32
    executable: csv15
    name: wineexec
    prefix: $GAMEDIR
- write_file:
    content: GL_texturemode GL_Nearest
    file: $GAMEDIR/$gamepath/cstrike/autoexec.cfg
require-binaries: sha256sum
requires: half-life
variables:
  csv15_sha256: 2963e480b02e5e29b2577d897ce99355d863d7db580b5d670e070baa2be3a0e5
  gamepath: drive_c/SIERRA/Half-Life
wine:
  Desktop: true
  dgvoodoo2: true
description: This installs the last World Opponent Network (WON) non-Steam mod version
  of Counter-Strike (v1.5).
game_slug: counter-strike
gogslug: ''
humblestoreid: ''
installer_slug: counter-strike-v15-half-life-mod-in
name: Counter-Strike
notes: "Requires Half-Life v1.1.1.0 and optionally Half-Life: Opposing Force v1.1.0.9\
  \ to be installed, and assumes community resolution/FoV/mp3 patch v1.1.2 has been\
  \ applied.\r\nFor best results use Half-Life: Opposing Force - CD v1.0.0.x version\
  \ - lutris:half-life-opposing-force-cd-v100x (https://lutris.net/api/installers/half-life-opposing-force-cd-v100x).\r\
  \n\r\nRun the game with Default OpenGL driver and select resolution to match your\
  \ Desktop, e.g. run it with game args:\r\n-game cstrike -full -gl -gldrv Default\
  \ -width 1920 -height 1080 -console\r\n\r\nIf you want to use Direct3D then you\
  \ must run it in window mode, e.g.:\r\n-game cstrike -window -d3d -width 1920 -height\
  \ 1080 -console\r\nbecause it is unstable in fullscreen mode."
runner: wine
script:
  files:
  - csv15: 'N/A: Please manually download csv15full.exe (sha256: 2963e480b02e5e29b2577d897ce99355d863d7db580b5d670e070baa2be3a0e5)'
  game:
    arch: win32
    args: -game cstrike -full -gl -gldrv Default -width 1920 -height 1080 -console
    exe: $GAMEDIR/$gamepath/hl.exe
    prefix: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        file="$1"; hash="$2"; echo "[INFO] Verifying $(basename "$file") sha256 checksum...";
        if [ $(sha256sum "$file" | cut -c 1-64) = "$hash" ]; then echo "[INFO] ...checksum
        OK!"; else echo "[ERROR] ...checksum FAILED!"; exit 1; fi

        '
      file: $CACHE/checkhash.sh
  - execute:
      args: +x $CACHE/checkhash.sh
      file: chmod
  - execute:
      args: csv15 $csv15_sha256
      file: $CACHE/checkhash.sh
  - task:
      arch: win32
      executable: csv15
      name: wineexec
      prefix: $GAMEDIR
  - write_file:
      content: GL_texturemode GL_Nearest
      file: $GAMEDIR/$gamepath/cstrike/autoexec.cfg
  require-binaries: sha256sum
  requires: half-life
  variables:
    csv15_sha256: 2963e480b02e5e29b2577d897ce99355d863d7db580b5d670e070baa2be3a0e5
    gamepath: drive_c/SIERRA/Half-Life
  wine:
    Desktop: true
    dgvoodoo2: true
slug: counter-strike-v15-half-life-mod-in
steamid: 10
version: v1.5 Half-Life mod installer
year: 2000
{
  "game_slug": "counter-strike",
  "version": "v1.5 Half-Life mod installer",
  "description": "This installs the last World Opponent Network (WON) non-Steam mod version of Counter-Strike (v1.5).",
  "notes": "Requires Half-Life v1.1.1.0 and optionally Half-Life: Opposing Force v1.1.0.9 to be installed, and assumes community resolution/FoV/mp3 patch v1.1.2 has been applied.\r\nFor best results use Half-Life: Opposing Force - CD v1.0.0.x version - lutris:half-life-opposing-force-cd-v100x (https://lutris.net/api/installers/half-life-opposing-force-cd-v100x).\r\n\r\nRun the game with Default OpenGL driver and select resolution to match your Desktop, e.g. run it with game args:\r\n-game cstrike -full -gl -gldrv Default -width 1920 -height 1080 -console\r\n\r\nIf you want to use Direct3D then you must run it in window mode, e.g.:\r\n-game cstrike -window -d3d -width 1920 -height 1080 -console\r\nbecause it is unstable in fullscreen mode.",
  "name": "Counter-Strike",
  "year": 2000,
  "steamid": 10,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "counter-strike-v15-half-life-mod-in",
  "installer_slug": "counter-strike-v15-half-life-mod-in",
  "script": {
    "files": [
      {
        "csv15": "N/A: Please manually download csv15full.exe (sha256: 2963e480b02e5e29b2577d897ce99355d863d7db580b5d670e070baa2be3a0e5)"
      }
    ],
    "game": {
      "arch": "win32",
      "args": "-game cstrike -full -gl -gldrv Default -width 1920 -height 1080 -console",
      "exe": "$GAMEDIR/$gamepath/hl.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nfile=\"$1\"; hash=\"$2\"; echo \"[INFO] Verifying $(basename \"$file\") sha256 checksum...\"; if [ $(sha256sum \"$file\" | cut -c 1-64) = \"$hash\" ]; then echo \"[INFO] ...checksum OK!\"; else echo \"[ERROR] ...checksum FAILED!\"; exit 1; fi\n",
          "file": "$CACHE/checkhash.sh"
        }
      },
      {
        "execute": {
          "args": "+x $CACHE/checkhash.sh",
          "file": "chmod"
        }
      },
      {
        "execute": {
          "args": "csv15 $csv15_sha256",
          "file": "$CACHE/checkhash.sh"
        }
      },
      {
        "task": {
          "arch": "win32",
          "executable": "csv15",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_file": {
          "content": "GL_texturemode GL_Nearest",
          "file": "$GAMEDIR/$gamepath/cstrike/autoexec.cfg"
        }
      }
    ],
    "require-binaries": "sha256sum",
    "requires": "half-life",
    "variables": {
      "csv15_sha256": "2963e480b02e5e29b2577d897ce99355d863d7db580b5d670e070baa2be3a0e5",
      "gamepath": "drive_c/SIERRA/Half-Life"
    },
    "wine": {
      "Desktop": true,
      "dgvoodoo2": true
    }
  }
}
Back to game