Installer the-ultimate-doom-v19ud-doomwad

files:
- doomwad19ud: 'N/A: Please provide v1.9ud doom.wad (sha256: 6fdf361847b46228cfebd9f3af09cd844282ac75f3edbb61ca4cb27103ce2e7f)'
game:
  exe: $GAMEDIR/doom.sh
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
- merge:
    dst: $CACHE/doomwad19ud
    src: doomwad19ud
- execute:
    args: doomwad19ud $doomwad19ud_sha256
    file: $CACHE/checkhash.sh
- execute:
    args: -p $GAMEDIR/wads
    file: mkdir
- execute:
    args: -n doomwad19ud $GAMEDIR/wads/DOOM.WAD
    file: cp
- execute:
    args: -p $GAMEDIR/savegames/doom.wad
    file: mkdir
- write_file:
    content: '#!/bin/bash

      crispy-doom -config default.cfg -extraconfig crispy-doom.cfg -iwad wads/doom.wad
      -savedir savegames/doom.wad $@

      '
    file: $GAMEDIR/doom.sh
- execute:
    args: +x $GAMEDIR/doom.sh
    file: chmod
require-binaries: sha256sum, crispy-doom
variables:
  doomwad19ud_sha256: 6fdf361847b46228cfebd9f3af09cd844282ac75f3edbb61ca4cb27103ce2e7f
description: Creates launcher script that uses system's crispy-doom binary and stores
  persistent config in game directory.
game_slug: the-ultimate-doom
gogslug: doom_1993
humblestoreid: ''
installer_slug: the-ultimate-doom-v19ud-doomwad
name: The Ultimate Doom
notes: "Requires crispy-doom (https://github.com/fabiangreffrath/crispy-doom) package\
  \ for your Linux distribution to be installed.\r\n\r\nVersion 1.9ud of the Ultimate\
  \ Doom WAD is 12,408,292 bytes in size, is dated 1995-05-25, and contains 2,306\
  \ entries. It has the following hashes:\r\nHash type \tHash code\r\nMD5 \tc4fe9fd920207691a9f493668e0a2083\r\
  \nSHA-1 \t9b07b02ab3c275a6a7570c3f73cc20d63a0e3833\r\nCRC-32 \tbf0eaac0 \r\nSource:\
  \ https://doomwiki.org/wiki/DOOM.WAD"
runner: linux
script:
  files:
  - doomwad19ud: 'N/A: Please provide v1.9ud doom.wad (sha256: 6fdf361847b46228cfebd9f3af09cd844282ac75f3edbb61ca4cb27103ce2e7f)'
  game:
    exe: $GAMEDIR/doom.sh
  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
  - merge:
      dst: $CACHE/doomwad19ud
      src: doomwad19ud
  - execute:
      args: doomwad19ud $doomwad19ud_sha256
      file: $CACHE/checkhash.sh
  - execute:
      args: -p $GAMEDIR/wads
      file: mkdir
  - execute:
      args: -n doomwad19ud $GAMEDIR/wads/DOOM.WAD
      file: cp
  - execute:
      args: -p $GAMEDIR/savegames/doom.wad
      file: mkdir
  - write_file:
      content: '#!/bin/bash

        crispy-doom -config default.cfg -extraconfig crispy-doom.cfg -iwad wads/doom.wad
        -savedir savegames/doom.wad $@

        '
      file: $GAMEDIR/doom.sh
  - execute:
      args: +x $GAMEDIR/doom.sh
      file: chmod
  require-binaries: sha256sum, crispy-doom
  variables:
    doomwad19ud_sha256: 6fdf361847b46228cfebd9f3af09cd844282ac75f3edbb61ca4cb27103ce2e7f
slug: the-ultimate-doom-v19ud-doomwad
steamid: 2280
version: v1.9ud doom.wad
year: 1995
{
  "game_slug": "the-ultimate-doom",
  "version": "v1.9ud doom.wad",
  "description": "Creates launcher script that uses system's crispy-doom binary and stores persistent config in game directory.",
  "notes": "Requires crispy-doom (https://github.com/fabiangreffrath/crispy-doom) package for your Linux distribution to be installed.\r\n\r\nVersion 1.9ud of the Ultimate Doom WAD is 12,408,292 bytes in size, is dated 1995-05-25, and contains 2,306 entries. It has the following hashes:\r\nHash type \tHash code\r\nMD5 \tc4fe9fd920207691a9f493668e0a2083\r\nSHA-1 \t9b07b02ab3c275a6a7570c3f73cc20d63a0e3833\r\nCRC-32 \tbf0eaac0 \r\nSource: https://doomwiki.org/wiki/DOOM.WAD",
  "name": "The Ultimate Doom",
  "year": 1995,
  "steamid": 2280,
  "gogslug": "doom_1993",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "the-ultimate-doom-v19ud-doomwad",
  "installer_slug": "the-ultimate-doom-v19ud-doomwad",
  "script": {
    "files": [
      {
        "doomwad19ud": "N/A: Please provide v1.9ud doom.wad (sha256: 6fdf361847b46228cfebd9f3af09cd844282ac75f3edbb61ca4cb27103ce2e7f)"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/doom.sh"
    },
    "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"
        }
      },
      {
        "merge": {
          "dst": "$CACHE/doomwad19ud",
          "src": "doomwad19ud"
        }
      },
      {
        "execute": {
          "args": "doomwad19ud $doomwad19ud_sha256",
          "file": "$CACHE/checkhash.sh"
        }
      },
      {
        "execute": {
          "args": "-p $GAMEDIR/wads",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "-n doomwad19ud $GAMEDIR/wads/DOOM.WAD",
          "file": "cp"
        }
      },
      {
        "execute": {
          "args": "-p $GAMEDIR/savegames/doom.wad",
          "file": "mkdir"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\ncrispy-doom -config default.cfg -extraconfig crispy-doom.cfg -iwad wads/doom.wad -savedir savegames/doom.wad $@\n",
          "file": "$GAMEDIR/doom.sh"
        }
      },
      {
        "execute": {
          "args": "+x $GAMEDIR/doom.sh",
          "file": "chmod"
        }
      }
    ],
    "require-binaries": "sha256sum, crispy-doom",
    "variables": {
      "doomwad19ud_sha256": "6fdf361847b46228cfebd9f3af09cd844282ac75f3edbb61ca4cb27103ce2e7f"
    }
  }
}
Back to game