Installer blood-omen-legacy-of-kain-cd-veroks-gl-patch

files:
- lok1mod: https://archive.org/download/kaingl_1.74/v1.75/KainGL_1.75_MULTI11_FullPackage.7z
game:
  exe: $GAMEDIR/drive_c/KAIN/kain.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert Blood Omen - Legacy of Kain CD
    requires: kain.exe
- merge:
    dst: $GAMEDIR/drive_c/KAIN
    src: $DISC
- extract:
    dst: $GAMEDIR/drive_c/KAIN/patch
    file: lok1mod
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +w KAIN ; cd KAIN ; find . -depth -print0
      | while IFS= read -r -d '' item; do dir=$(dirname "$item"); base=$(basename
      "$item"); lower=$(printf '%s' "$base" | perl -CS -Mutf8 -ne 'print lc'); if
      [ "$base" != "$lower" ]; then if [ -e "$dir/$lower" ]; then i=1; newname="${lower}_$i";
      while [ -e "$dir/$newname" ]; do i=$((i+1)); newname="${lower}_$i"; done; mv
      "$item" "$dir/$newname"; else mv "$item" "$dir/$lower"; fi; fi; done;
- merge:
    dst: $GAMEDIR/drive_c/KAIN
    src: $GAMEDIR/drive_c/KAIN/patch
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/KAIN/patch
wine:
  overrides:
    ddraw.dll: n,b
description: Play "Blood Omen - Legacy of Kain" CD edition on Linux!
game_slug: blood-omen-legacy-of-kain
gogslug: legacy_of_kain_bundle
humblestoreid: ''
installer_slug: blood-omen-legacy-of-kain-cd-veroks-gl-patch
name: 'Blood Omen: Legacy of Kain'
notes: "- You will need to mount your game CD before to execute this script installer\r\
  \n- Using Verok's GL Wrapper/Patch 1.75 version: graphic enhancements, multilingual:\
  \ English, French, German, Japanese, Russian, Spanish and more..."
runner: wine
script:
  files:
  - lok1mod: https://archive.org/download/kaingl_1.74/v1.75/KainGL_1.75_MULTI11_FullPackage.7z
  game:
    exe: $GAMEDIR/drive_c/KAIN/kain.exe
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert Blood Omen - Legacy of Kain CD
      requires: kain.exe
  - merge:
      dst: $GAMEDIR/drive_c/KAIN
      src: $DISC
  - extract:
      dst: $GAMEDIR/drive_c/KAIN/patch
      file: lok1mod
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +w KAIN ; cd KAIN ; find . -depth -print0
        | while IFS= read -r -d '' item; do dir=$(dirname "$item"); base=$(basename
        "$item"); lower=$(printf '%s' "$base" | perl -CS -Mutf8 -ne 'print lc'); if
        [ "$base" != "$lower" ]; then if [ -e "$dir/$lower" ]; then i=1; newname="${lower}_$i";
        while [ -e "$dir/$newname" ]; do i=$((i+1)); newname="${lower}_$i"; done;
        mv "$item" "$dir/$newname"; else mv "$item" "$dir/$lower"; fi; fi; done;
  - merge:
      dst: $GAMEDIR/drive_c/KAIN
      src: $GAMEDIR/drive_c/KAIN/patch
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/KAIN/patch
  wine:
    overrides:
      ddraw.dll: n,b
slug: blood-omen-legacy-of-kain-cd-veroks-gl-patch
steamid: null
version: CD + Verok's GL Patch
year: 1996
{
  "game_slug": "blood-omen-legacy-of-kain",
  "version": "CD + Verok's GL Patch",
  "description": "Play \"Blood Omen - Legacy of Kain\" CD edition on Linux!",
  "notes": "- You will need to mount your game CD before to execute this script installer\r\n- Using Verok's GL Wrapper/Patch 1.75 version: graphic enhancements, multilingual: English, French, German, Japanese, Russian, Spanish and more...",
  "name": "Blood Omen: Legacy of Kain",
  "year": 1996,
  "steamid": null,
  "gogslug": "legacy_of_kain_bundle",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "blood-omen-legacy-of-kain-cd-veroks-gl-patch",
  "installer_slug": "blood-omen-legacy-of-kain-cd-veroks-gl-patch",
  "script": {
    "files": [
      {
        "lok1mod": "https://archive.org/download/kaingl_1.74/v1.75/KainGL_1.75_MULTI11_FullPackage.7z"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/KAIN/kain.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert Blood Omen - Legacy of Kain CD",
          "requires": "kain.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/KAIN",
          "src": "$DISC"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/KAIN/patch",
          "file": "lok1mod"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +w KAIN ; cd KAIN ; find . -depth -print0 | while IFS= read -r -d '' item; do dir=$(dirname \"$item\"); base=$(basename \"$item\"); lower=$(printf '%s' \"$base\" | perl -CS -Mutf8 -ne 'print lc'); if [ \"$base\" != \"$lower\" ]; then if [ -e \"$dir/$lower\" ]; then i=1; newname=\"${lower}_$i\"; while [ -e \"$dir/$newname\" ]; do i=$((i+1)); newname=\"${lower}_$i\"; done; mv \"$item\" \"$dir/$newname\"; else mv \"$item\" \"$dir/$lower\"; fi; fi; done;"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/KAIN",
          "src": "$GAMEDIR/drive_c/KAIN/patch"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/KAIN/patch"
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw.dll": "n,b"
      }
    }
  }
}
Back to game