Installer quake-4-native-steam

files:
- binaries: https://lutris.net/files/games/quake-4/quake4-linux-1.4.2.x86.run
- steam-data: $STEAM:2210:q4base
game:
  exe: quake4
installer:
- merge:
    dst: $GAMEDIR/q4base
    src: steam-data
- chmodx: binaries
- execute:
    args: -- -i $GAMEDIR -b $GAMEDIR
    file: binaries
    terminal: true
description: Uses the Steam installed Quake 4 files to install the native version.
game_slug: quake-4
gogslug: quake_4
humblestoreid: ''
installer_slug: quake-4-native-steam
name: Quake 4
notes: "Click on the cog wheel in the game page and choose Manage -> CD keys and copy\
  \ to the clipboard.  Then paste the key in the file ~/.quake4/q4base/quake4key,\
  \ or type it by hand after starting the game.\r\nPackage libasound2-plugins:i386\
  \ (Debian based) needs to be installed for audio to work.\r\nIf you experience audio\
  \ lag, set padsp as the command prefix in the system options."
runner: linux
script:
  files:
  - binaries: https://lutris.net/files/games/quake-4/quake4-linux-1.4.2.x86.run
  - steam-data: $STEAM:2210:q4base
  game:
    exe: quake4
  installer:
  - merge:
      dst: $GAMEDIR/q4base
      src: steam-data
  - chmodx: binaries
  - execute:
      args: -- -i $GAMEDIR -b $GAMEDIR
      file: binaries
      terminal: true
slug: quake-4-native-steam
steamid: 2210
version: Native + Steam
year: 2005
{
  "game_slug": "quake-4",
  "version": "Native + Steam",
  "description": "Uses the Steam installed Quake 4 files to install the native version.",
  "notes": "Click on the cog wheel in the game page and choose Manage -> CD keys and copy to the clipboard.  Then paste the key in the file ~/.quake4/q4base/quake4key, or type it by hand after starting the game.\r\nPackage libasound2-plugins:i386 (Debian based) needs to be installed for audio to work.\r\nIf you experience audio lag, set padsp as the command prefix in the system options.",
  "name": "Quake 4",
  "year": 2005,
  "steamid": 2210,
  "gogslug": "quake_4",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "quake-4-native-steam",
  "installer_slug": "quake-4-native-steam",
  "script": {
    "files": [
      {
        "binaries": "https://lutris.net/files/games/quake-4/quake4-linux-1.4.2.x86.run"
      },
      {
        "steam-data": "$STEAM:2210:q4base"
      }
    ],
    "game": {
      "exe": "quake4"
    },
    "installer": [
      {
        "merge": {
          "dst": "$GAMEDIR/q4base",
          "src": "steam-data"
        }
      },
      {
        "chmodx": "binaries"
      },
      {
        "execute": {
          "args": "-- -i $GAMEDIR -b $GAMEDIR",
          "file": "binaries",
          "terminal": true
        }
      }
    ]
  }
}
Back to game