Installer quake-the-offering-quakespasm-spiked-go

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.

files:
- data: N/A:Select the game's setup file
- engine: http://triptohell.info/moodles/qss/quakespasm_spiked_linux64.zip
- quake_config: https://lutris.net/files/games/quake/config.cfg
- music_main: https://www.quaddicted.com/files/music/quake_campaign_soundtrack.zip
- music_ex1: https://www.quaddicted.com/files/music/quake_mp1_soundtrack.zip
- music_ex2: https://www.quaddicted.com/files/music/quake_mp2_soundtrack.zip
- innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  exe: $GAMEDIR/quakespasm-spiked-linux64
installer:
- extract:
    dst: $CACHE/innoextract
    file: innoextract
- execute:
    args: --lowercase -I pak0.pak -I pak1.pak --extract $data --output-dir $CACHE/data
    file: $CACHE/innoextract/innoextract
- copy:
    dst: $GAMEDIR/id1/
    src: $CACHE/data/app/id1/pak0.pak
- copy:
    dst: $GAMEDIR/id1/
    src: $CACHE/data/app/id1/pak1.pak
- copy:
    dst: $GAMEDIR/hipnotic/
    src: $CACHE/data/app/hipnotic/pak0.pak
- copy:
    dst: $GAMEDIR/rogue/
    src: $CACHE/data/app/rogue/pak0.pak
- extract:
    dst: $GAMEDIR/
    file: engine
- chmodx: $GAMEDIR/quakespasm-spiked-linux64
- extract:
    dst: $GAMEDIR/
    file: music_main
- extract:
    dst: $GAMEDIR/
    file: music_ex1
- extract:
    dst: $GAMEDIR/
    file: music_ex2
- copy:
    dst: $GAMEDIR/id1/
    src: quake_config
- write_file:
    content: '_cl_name Ranger

      cl_alwaysrun 1

      cl_backspeed 200

      cl_forwardspeed 200

      cl_movespeedkey 2.0

      cl_sidespeed 350

      cl_upspeed 200

      fov 100

      gl_polyblend 1

      gl_texture_anisotropy 1

      scr_menuscale 1.5

      scr_sbarscale 1.5

      scr_showfps 1

      scr_clock 1

      r_wateralpha 0.8

      r_waterwarp 1

      pr_checkextension 0

      vid_desktopfullscreen 1

      vid_fullscreen 1

      sensitivity 4

      viewsize 110

      +mlook

      '
    file: $GAMEDIR/id1/config.cfg
    mode: a
{
  "files": [
    {
      "data": "N/A:Select the game's setup file"
    },
    {
      "engine": "http://triptohell.info/moodles/qss/quakespasm_spiked_linux64.zip"
    },
    {
      "quake_config": "https://lutris.net/files/games/quake/config.cfg"
    },
    {
      "music_main": "https://www.quaddicted.com/files/music/quake_campaign_soundtrack.zip"
    },
    {
      "music_ex1": "https://www.quaddicted.com/files/music/quake_mp1_soundtrack.zip"
    },
    {
      "music_ex2": "https://www.quaddicted.com/files/music/quake_mp2_soundtrack.zip"
    },
    {
      "innoextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/quakespasm-spiked-linux64"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/innoextract",
        "file": "innoextract"
      }
    },
    {
      "execute": {
        "args": "--lowercase -I pak0.pak -I pak1.pak --extract $data --output-dir $CACHE/data",
        "file": "$CACHE/innoextract/innoextract"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/id1/",
        "src": "$CACHE/data/app/id1/pak0.pak"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/id1/",
        "src": "$CACHE/data/app/id1/pak1.pak"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/hipnotic/",
        "src": "$CACHE/data/app/hipnotic/pak0.pak"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/rogue/",
        "src": "$CACHE/data/app/rogue/pak0.pak"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/",
        "file": "engine"
      }
    },
    {
      "chmodx": "$GAMEDIR/quakespasm-spiked-linux64"
    },
    {
      "extract": {
        "dst": "$GAMEDIR/",
        "file": "music_main"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/",
        "file": "music_ex1"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/",
        "file": "music_ex2"
      }
    },
    {
      "copy": {
        "dst": "$GAMEDIR/id1/",
        "src": "quake_config"
      }
    },
    {
      "write_file": {
        "content": "_cl_name Ranger\ncl_alwaysrun 1\ncl_backspeed 200\ncl_forwardspeed 200\ncl_movespeedkey 2.0\ncl_sidespeed 350\ncl_upspeed 200\nfov 100\ngl_polyblend 1\ngl_texture_anisotropy 1\nscr_menuscale 1.5\nscr_sbarscale 1.5\nscr_showfps 1\nscr_clock 1\nr_wateralpha 0.8\nr_waterwarp 1\npr_checkextension 0\nvid_desktopfullscreen 1\nvid_fullscreen 1\nsensitivity 4\nviewsize 110\n+mlook\n",
        "file": "$GAMEDIR/id1/config.cfg",
        "mode": "a"
      }
    }
  ]
}
Back to game