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

files:
- gogsetup: N/A:Select setup exe file downloaded from your GOG games library page.
- lok1mod: https://archive.org/download/kaingl_1.74/v1.75/KainGL_1.75_MULTI11_FullPackage.7z
game:
  exe: $GAMEDIR/drive_c/GOG Games/Blood Omen/KAIN.EXE
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Blood Omen
    file: $gogsetup
    format: gog
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Blood Omen/patch
    file: lok1mod
    format: 7z
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/Blood Omen" ; 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/GOG Games/Blood Omen
    src: $GAMEDIR/drive_c/GOG Games/Blood Omen/patch
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/GOG Games/Blood Omen/patch
wine:
  overrides:
    ddraw.dll: n,b
description: Play "Blood Omen - Legacy of Kain" GOG edition on Linux!
game_slug: blood-omen-legacy-of-kain
gogslug: legacy_of_kain_bundle
humblestoreid: ''
installer_slug: blood-omen-legacy-of-kain-gog-veroks-gl-patch
name: 'Blood Omen: Legacy of Kain'
notes: '- Using Verok''s GL Wrapper/Patch 1.75 version: graphic enhancements, multilingual:
  English, French, German, Japanese, Russian, Spanish and more...'
runner: wine
script:
  files:
  - gogsetup: N/A:Select setup exe file downloaded from your GOG games library page.
  - lok1mod: https://archive.org/download/kaingl_1.74/v1.75/KainGL_1.75_MULTI11_FullPackage.7z
  game:
    exe: $GAMEDIR/drive_c/GOG Games/Blood Omen/KAIN.EXE
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Blood Omen
      file: $gogsetup
      format: gog
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Blood Omen/patch
      file: lok1mod
      format: 7z
  - execute:
      command: cd "$GAMEDIR/drive_c/GOG Games/Blood Omen" ; 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/GOG Games/Blood Omen
      src: $GAMEDIR/drive_c/GOG Games/Blood Omen/patch
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/GOG Games/Blood Omen/patch
  wine:
    overrides:
      ddraw.dll: n,b
slug: blood-omen-legacy-of-kain-gog-veroks-gl-patch
steamid: null
version: GOG + Verok's GL Patch
year: 1996
{
  "game_slug": "blood-omen-legacy-of-kain",
  "version": "GOG + Verok's GL Patch",
  "description": "Play \"Blood Omen - Legacy of Kain\" GOG edition on Linux!",
  "notes": "- 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-gog-veroks-gl-patch",
  "installer_slug": "blood-omen-legacy-of-kain-gog-veroks-gl-patch",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Select setup exe file downloaded from your GOG games library page."
      },
      {
        "lok1mod": "https://archive.org/download/kaingl_1.74/v1.75/KainGL_1.75_MULTI11_FullPackage.7z"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/GOG Games/Blood Omen/KAIN.EXE",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Blood Omen",
          "file": "$gogsetup",
          "format": "gog"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Blood Omen/patch",
          "file": "lok1mod",
          "format": "7z"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/GOG Games/Blood Omen\" ; 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/GOG Games/Blood Omen",
          "src": "$GAMEDIR/drive_c/GOG Games/Blood Omen/patch"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/GOG Games/Blood Omen/patch"
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw.dll": "n,b"
      }
    }
  }
}
Back to game