Installer heretic-ii-cd-ws-patch

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.

custom-name: HERETIC II - Linux CD
files:
- patch106l: https://github.com/liflg/heretic.2_1.06c-english_x86/archive/master.zip
- scriptws: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/hereticiiws.sh
- scriptlocal: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/h2local.sh
- scriptconf: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/defconfig.sh
- gppreadme: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/gamepad%20profiles/h2_gamepad_readme.html
- gppx360: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/gamepad%20profiles/h2_x360.gamecontroller.amgp
- gppsc: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/gamepad%20profiles/h2_steam.sccprofile
game:
  args: +set vid_ref glx +set vid_mode 3 +set vid_fullscreen 1 +set gl_driver /usr/lib/i386-linux-gnu/libGL.so.1
  exe: HERETICIICDL/heretic2.sh
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Please insert "HERETIC II" Linux CD and press autodetect
    requires: base/video/bumper.mpg
- merge:
    description: Copying data from "HERETIC II" Linux CD, please wait
    dst: $GAMEDIR/HERETICIICDL
    src: $DISC/
- extract:
    dst: $GAMEDIR/HERETICIICDL/base
    src: $DISC/data.tar.gz
- extract:
    dst: $GAMEDIR/HERETICIICDL/tmp2
    src: patch106l
- extract:
    dst: $GAMEDIR/HERETICIICDL/
    src: $GAMEDIR/HERETICIICDL/tmp2/data/patch-1.06c.tar.xz
- extract:
    dst: $GAMEDIR/HERETICIICDL/
    src: $GAMEDIR/HERETICIICDL/tmp2/data/dm-maps.tar.xz
- copy:
    dst: $GAMEDIR/HERETICIICDL/
    src: $GAMEDIR/HERETICIICDL/tmp2/data/heretic2.sh
- chmodx: $GAMEDIR/HERETICIICDL/heretic2.sh
- chmodx: scriptws
- execute:
    args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT
    file: scriptws
- input_menu:
    description: 'Please choose wich language you would like to install this game:'
    id: LANG
    options:
    - keep: I prefer to use default install language
    - fr: French
    - ge: German
    - it: Italian
    - sp: Spanish
    preselect: keep
- chmodx: scriptlocal
- execute:
    args: $INPUT_LANG
    file: scriptlocal
- chmodx: scriptconf
- execute:
    file: scriptconf
- merge:
    dst: $GAMEDIR/HERETICIICDL/gamepad profiles
    src: gppreadme
- copy:
    dst: $GAMEDIR/HERETICIICDL/gamepad profiles
    src: gppx360
- merge:
    dst: $GAMEDIR/HERETICIICDL/gamepad profiles
    src: gppsc
- execute:
    command: cd $GAMEDIR/HERETICIICDL; rm -f -r tmp2 bin* Parches setup.* data.tar.gz
      win32/ autorun.inf heretic2.dynamic Soundtrack
{
  "files": [
    {
      "patch106l": "https://github.com/liflg/heretic.2_1.06c-english_x86/archive/master.zip"
    },
    {
      "scriptws": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/hereticiiws.sh"
    },
    {
      "scriptlocal": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/h2local.sh"
    },
    {
      "scriptconf": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/defconfig.sh"
    },
    {
      "gppreadme": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/gamepad%20profiles/h2_gamepad_readme.html"
    },
    {
      "gppx360": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/gamepad%20profiles/h2_x360.gamecontroller.amgp"
    },
    {
      "gppsc": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heretic%20II/gamepad%20profiles/h2_steam.sccprofile"
    }
  ],
  "custom-name": "HERETIC II - Linux CD",
  "installer": [
    {
      "insert-disc": {
        "description": "Please insert \"HERETIC II\" Linux CD and press autodetect",
        "requires": "base/video/bumper.mpg"
      }
    },
    {
      "merge": {
        "description": "Copying data from \"HERETIC II\" Linux CD, please wait",
        "dst": "$GAMEDIR/HERETICIICDL",
        "src": "$DISC/"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/HERETICIICDL/base",
        "src": "$DISC/data.tar.gz"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/HERETICIICDL/tmp2",
        "src": "patch106l"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/HERETICIICDL/",
        "src": "$GAMEDIR/HERETICIICDL/tmp2/data/patch-1.06c.tar.xz"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/HERETICIICDL/",
        "src": "$GAMEDIR/HERETICIICDL/tmp2/data/dm-maps.tar.xz"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/HERETICIICDL/",
        "src": "$GAMEDIR/HERETICIICDL/tmp2/data/heretic2.sh"
      }
    },
    {
      "chmodx": "$GAMEDIR/HERETICIICDL/heretic2.sh"
    },
    {
      "chmodx": "scriptws"
    },
    {
      "execute": {
        "args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT",
        "file": "scriptws"
      }
    },
    {
      "input_menu": {
        "description": "Please choose wich language you would like to install this game:",
        "options": [
          {
            "keep": "I prefer to use default install language"
          },
          {
            "fr": "French"
          },
          {
            "ge": "German"
          },
          {
            "it": "Italian"
          },
          {
            "sp": "Spanish"
          }
        ],
        "preselect": "keep",
        "id": "LANG"
      }
    },
    {
      "chmodx": "scriptlocal"
    },
    {
      "execute": {
        "args": "$INPUT_LANG",
        "file": "scriptlocal"
      }
    },
    {
      "chmodx": "scriptconf"
    },
    {
      "execute": {
        "file": "scriptconf"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/HERETICIICDL/gamepad profiles",
        "src": "gppreadme"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/HERETICIICDL/gamepad profiles",
        "src": "gppx360"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/HERETICIICDL/gamepad profiles",
        "src": "gppsc"
      }
    },
    {
      "execute": {
        "command": "cd $GAMEDIR/HERETICIICDL; rm -f -r tmp2 bin* Parches setup.* data.tar.gz win32/ autorun.inf heretic2.dynamic Soundtrack"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "args": "+set vid_ref glx +set vid_mode 3 +set vid_fullscreen 1 +set gl_driver /usr/lib/i386-linux-gnu/libGL.so.1",
    "exe": "HERETICIICDL/heretic2.sh"
  }
}
Back to game